Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Agrivoltaics - PAR diffuse fraction model #2048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
90dd1e0
New PAR module with spitters_relationship
echedey-ls May 3, 2024
8cc7ffc
Merge branch 'main' into par-diffuse-fraction-of-global-par
echedey-ls May 6, 2024
ae63127
Update v0.11.0.rst
echedey-ls May 12, 2024
5880453
linter
echedey-ls May 12, 2024
5af860a
API update
echedey-ls May 12, 2024
bdc2303
Example rendering
echedey-ls May 12, 2024
aec7870
Update test_par.py
echedey-ls May 12, 2024
02ebe81
Apply suggestions from code review (Adam)
echedey-ls May 24, 2024
c5d133d
Update par.py
echedey-ls May 24, 2024
149961e
Move function to spectrum (mismatch.py)
echedey-ls May 24, 2024
eff3a25
Improve units formatting
echedey-ls May 24, 2024
d18827e
Split legends
echedey-ls May 24, 2024
18619a4
Remove api page, move to spectrum index
echedey-ls May 24, 2024
feded95
Update v0.11.0.rst
echedey-ls May 24, 2024
b9aa23e
Merge branch 'main' into par-diffuse-fraction-of-global-par
echedey-ls May 25, 2024
1c6d416
Move to ``irradiance.py``
echedey-ls May 30, 2024
899844c
Flake8 :knife:
echedey-ls May 30, 2024
9268a44
Fix trigonometry - double testing with a spreadsheet
echedey-ls Jun 14, 2024
bce50b6
Move section of PAR
echedey-ls Jun 14, 2024
2825e2c
Merge branch 'main' into par-diffuse-fraction-of-global-par
echedey-ls Jun 14, 2024
764bf8b
I should read more carefully
echedey-ls Jun 14, 2024
0e0f836
Update decomposition.rst
echedey-ls Jun 18, 2024
0d23fe0
Apply suggestions from code review (Cliff)
echedey-ls Jun 18, 2024
a7c84b5
Merge branch 'par-diffuse-fraction-of-global-par' of https://github.c…
echedey-ls Jun 18, 2024
d1bb64b
More docs refurbishment
echedey-ls Jun 18, 2024
eeef154
Rename to `diffuse_par_spitters`
echedey-ls Jun 18, 2024
6082fe7
`global` -> `broadband`
echedey-ls Jun 18, 2024
94df738
Merge branch 'main' into par-diffuse-fraction-of-global-par
echedey-ls Jun 18, 2024
ac9d45c
Code review from Adam, first batch
echedey-ls Jun 19, 2024
77f3ba8
Apply trigonometric property
echedey-ls Jun 19, 2024
a6c3c6b
Merge branch 'main' into par-diffuse-fraction-of-global-par
echedey-ls Jun 19, 2024
f5449d7
Fix merge - linter
echedey-ls Jun 19, 2024
bafe63b
Forgot to apply this comment
echedey-ls Jun 19, 2024
1a5d0d9
Remove model from eq
echedey-ls Jun 19, 2024
189efe5
Dailies, insolation instead of instant, irradiance values
echedey-ls Jun 20, 2024
7c28be6
More docs refurbishment
echedey-ls Jun 20, 2024
59faee0
Review from Cliff
AdamRJensen Jun 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review (Adam)
Co-authored-by: Adam R. Jensen <39184289+AdamRJensen@users.noreply.github.com>
  • Loading branch information
echedey-ls and AdamRJensen authored May 24, 2024
commit 02ebe8127141c66ae92167723bdfc2d3aebf6efa
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
=========================================================

This example demonstrates how to calculate the diffuse photosynthetically
active radiation (PAR) using Spitter's relationship.
active radiation (PAR) from total PAR using Spitter's relationship.
echedey-ls marked this conversation as resolved.
Show resolved Hide resolved
"""

# %%
# The photosynthetically active radiation (PAR) is a key component in the
# photosynthesis process of plants. As in photovoltaic systems, the PAR is
# photosynthesis process of plants. As in photovoltaic systems, PAR can be
echedey-ls marked this conversation as resolved.
Show resolved Hide resolved
# divided into direct and diffuse components. The diffuse fraction of PAR
# with respect to the total PAR is important in agrivoltaic systems, where
# crops are grown under solar panels. The diffuse fraction of PAR can be
Expand Down
2 changes: 1 addition & 1 deletion 2 pvlib/par.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def spitters_relationship(solar_zenith, global_diffuse_fraction):
Parameters
----------
solar_zenith : numeric
Solar zenith angle in degrees :math:`^{\circ}`.
Solar zenith angle. Degrees.

global_diffuse_fraction : numeric
Fraction of the global radiation that is diffuse. Unitless.
Expand Down
1 change: 0 additions & 1 deletion 1 pvlib/tests/test_par.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"""

from pvlib import par

import numpy as np
from numpy.testing import assert_allclose

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.