Skip to content

Commit 964dc43

Browse files
mikofskicwhansekandersolar
authored
Correct infinite_sheds view factor from row to sky and ground; expose vf functions in bifacial.utils (#1666)
* correct view factor from row to sky and ground * update latex math in vf_row_gnd * revise vf_row_sky and test * remake tests for vf_row_ground * fix my mistakes * fix row_ground_integ * new vf functions in utils * stickler * use functions from utils * documents * revise whatsnew * add technical document * doc edits * move fns to utils * more fcn shuffling * update docs * reorder arguments * docstring edits * add defaults to _integ functions * fix whatsnew formatting issues --------- Co-authored-by: Hansen <cwhanse> Co-authored-by: Cliff Hansen <[email protected]> Co-authored-by: Kevin Anderson <[email protected]>
1 parent 209376e commit 964dc43

File tree

10 files changed

+451
-388
lines changed

10 files changed

+451
-388
lines changed
Binary file not shown.

docs/sphinx/source/reference/bifacial.rst

+12
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ Functions for calculating front and back surface irradiance
1111
bifacial.pvfactors.pvfactors_timeseries
1212
bifacial.infinite_sheds.get_irradiance
1313
bifacial.infinite_sheds.get_irradiance_poa
14+
15+
Utility functions for bifacial modeling
16+
17+
.. autosummary::
18+
:toctree: generated/
19+
20+
bifacial.utils.vf_row_sky_2d
21+
bifacial.utils.vf_row_sky_2d_integ
22+
bifacial.utils.vf_row_ground_2d
23+
bifacial.utils.vf_row_ground_2d_integ
24+
bifacial.utils.vf_ground_sky_2d
25+
bifacial.utils.vf_ground_sky_2d_integ

docs/sphinx/source/reference/effects_on_pv_system_output/shading.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Shading
66
.. autosummary::
77
:toctree: ../generated/
88

9+
shading.ground_angle
910
shading.masking_angle
1011
shading.masking_angle_passias
1112
shading.sky_diffuse_passias

docs/sphinx/source/whatsnew/v0.9.6.rst

+17
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ Deprecations
5252

5353
Enhancements
5454
~~~~~~~~~~~~
55+
* Exposes several functions useful for bifacial and shading calculations (:pull:`1666`):
56+
57+
* :py:func:`pvlib.bifacial.utils.vf_row_sky_2d`
58+
* :py:func:`pvlib.bifacial.utils.vf_row_sky_2d_integ`
59+
* :py:func:`pvlib.bifacial.utils.vf_row_ground_2d`
60+
* :py:func:`pvlib.bifacial.utils.vf_row_ground_2d_integ`
61+
* :py:func:`pvlib.bifacial.utils.vf_ground_sky_2d`
62+
* :py:func:`pvlib.bifacial.utils.vf_ground_sky_2d_integ`
63+
* :py:func:`pvlib.shading.ground_angle`
64+
5565
* Added a function :py:func:`pvlib.spectrum.spectral_factor_caballero`
5666
to estimate spectral mismatch modifiers from atmospheric conditions. (:pull:`1296`)
5767
* Added a new irradiance decomposition model :py:func:`pvlib.irradiance.louche`. (:pull:`1705`)
@@ -72,6 +82,11 @@ Enhancements
7282

7383
Bug fixes
7484
~~~~~~~~~
85+
* Corrects an error in view factor calculations which are part of
86+
:py:func:`pvlib.bifacial.infinite_sheds.get_irradiance`. The error
87+
affects rear surface irradiance by a few W/m2. As part of the correction,
88+
average view factors are now computed by exact formulas rather than by
89+
numerical integration. (:issue:`1665`, :pull:`1666`)
7590
* `data` can no longer be left unspecified in
7691
:py:meth:`pvlib.modelchain.ModelChain.run_model_from_effective_irradiance`. (:issue:`1713`, :pull:`1720`)
7792
* ``d2mutau`` and ``NsVbi`` were hardcoded in :py:func:`pvlib.pvsystem.max_power_point` instead of
@@ -103,6 +118,8 @@ Requirements
103118

104119
Contributors
105120
~~~~~~~~~~~~
121+
* Mark Mikofski (:ghuser:`mikofski`)
122+
* Cliff Hansen (:ghuser:`cwhanse`)
106123
* Lakshya Garg (:ghuser:`Lakshyadevelops`)
107124
* Adam R. Jensen (:ghuser:`adamrjensen`)
108125
* Ben Pierce (:ghuser:`bgpierc`)

0 commit comments

Comments
 (0)