-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Issue #2245 Infinite sheds beam fraction on ground zenith guardrail syntax bug #2359
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
Changes from 5 commits
62045a5
23dd57e
59d6581
fb84dfc
dae7326
dbb8afc
7bd91b3
eb88655
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -260,8 +260,10 @@ def get_irradiance_poa(surface_tilt, surface_azimuth, solar_zenith, | |||||||||||||||
Returns | ||||||||||||||||
------- | ||||||||||||||||
output : dict or DataFrame | ||||||||||||||||
Output is a DataFrame when input ghi is a Series. See Notes for | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now that I read this, I think I should have suggested following the type of |
||||||||||||||||
descriptions of content. | ||||||||||||||||
Output is a "pandas.DataFrame" when "ghi" is a Series. | ||||||||||||||||
Otherwise it is a dict of "numpy.ndarray" | ||||||||||||||||
See Issue #2245 | ||||||||||||||||
|
See Issue #2245 |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output is a "pandas.DataFrame" when "ghi" is a Series. | |
Otherwise it is a dict of "numpy.ndarray" | |
See Issue #2245 | |
See Notes for descriptions of content. | |
Output is a ``pandas.DataFrame`` when ``ghi`` is a Series. | |
Otherwise it is a dict of ``numpy.ndarray``. | |
See Notes for descriptions of content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that double recommendation, it's my company firewall getting in the way of following links.
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -87,7 +87,8 @@ def _unshaded_ground_fraction(surface_tilt, surface_azimuth, solar_zenith, | |||||||||
surface_azimuth) | ||||||||||
f_gnd_beam = 1.0 - np.minimum( | ||||||||||
1.0, gcr * np.abs(cosd(surface_tilt) + sind(surface_tilt) * tan_phi)) | ||||||||||
np.where(solar_zenith > max_zenith, 0., f_gnd_beam) # [1], Eq. 4 | ||||||||||
f_gnd_beam = np.where(solar_zenith > max_zenith, 0., f_gnd_beam) | ||||||||||
# [1], Eq. 4 | ||||||||||
|
f_gnd_beam = np.where(solar_zenith > max_zenith, 0., f_gnd_beam) | |
# [1], Eq. 4 | |
# [1], Eq. 4 | |
f_gnd_beam = np.where(solar_zenith > max_zenith, 0., f_gnd_beam) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.