Skip to content

Commit d2fbfb2

Browse files
reepoicwhansekandersolar
authored
Update singlediode.bishop88 parameter types in docs (#1821)
* updating bishop88 docs * switch PVSyst params from float back to numeric * update whatsnew * Update docs/sphinx/source/whatsnew/v0.10.2.rst Co-authored-by: Cliff Hansen <[email protected]> --------- Co-authored-by: Cliff Hansen <[email protected]> Co-authored-by: Kevin Anderson <[email protected]>
1 parent 29074f5 commit d2fbfb2

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ Documentation
4242
(:issue:`1811`, :pull:`1812`)
4343
* Removed Stickler-CI integration as the service has ceased June 2023.
4444
(:issue:`1722`, :pull:`1723`)
45+
* Specified that :py:func:`pvlib.singlediode.bishop88`,
46+
:py:func:`pvlib.singlediode.bishop88_i_from_v`, and
47+
:py:func:`pvlib.singlediode.bishop88_v_from_i` parameters `breakdown_factor`,
48+
`breakdown_voltage`, and `breakdown_exp` should be floats.
49+
(:issue:`1820`, :pull:`1821`)
4550
* Fix and update example in :py:func:`pvlib.pvsystem.retrieve_sam`.
4651
(:issue:`1741`, :pull:`1833`)
4752
* Fix error in :py:func:`pvlib.iotools.get_pvgis_hourly` documentation of `surface_azimuth`.

pvlib/singlediode.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ def bishop88(diode_voltage, photocurrent, saturation_current,
109109
(a-Si) modules that is the product of the PV module number of series
110110
cells :math:`N_{s}` and the builtin voltage :math:`V_{bi}` of the
111111
intrinsic layer. [V].
112-
breakdown_factor : numeric, default 0
112+
breakdown_factor : float, default 0
113113
fraction of ohmic current involved in avalanche breakdown :math:`a`.
114114
Default of 0 excludes the reverse bias term from the model. [unitless]
115-
breakdown_voltage : numeric, default -5.5
115+
breakdown_voltage : float, default -5.5
116116
reverse breakdown voltage of the photovoltaic junction :math:`V_{br}`
117117
[V]
118-
breakdown_exp : numeric, default 3.28
118+
breakdown_exp : float, default 3.28
119119
avalanche breakdown exponent :math:`m` [unitless]
120120
gradients : bool
121121
False returns only I, V, and P. True also returns gradients
@@ -238,13 +238,13 @@ def bishop88_i_from_v(voltage, photocurrent, saturation_current,
238238
(a-Si) modules that is the product of the PV module number of series
239239
cells ``Ns`` and the builtin voltage ``Vbi`` of the intrinsic layer.
240240
[V].
241-
breakdown_factor : numeric, default 0
241+
breakdown_factor : float, default 0
242242
fraction of ohmic current involved in avalanche breakdown :math:`a`.
243243
Default of 0 excludes the reverse bias term from the model. [unitless]
244-
breakdown_voltage : numeric, default -5.5
244+
breakdown_voltage : float, default -5.5
245245
reverse breakdown voltage of the photovoltaic junction :math:`V_{br}`
246246
[V]
247-
breakdown_exp : numeric, default 3.28
247+
breakdown_exp : float, default 3.28
248248
avalanche breakdown exponent :math:`m` [unitless]
249249
method : str, default 'newton'
250250
Either ``'newton'`` or ``'brentq'``. ''method'' must be ``'newton'``
@@ -373,13 +373,13 @@ def bishop88_v_from_i(current, photocurrent, saturation_current,
373373
(a-Si) modules that is the product of the PV module number of series
374374
cells ``Ns`` and the builtin voltage ``Vbi`` of the intrinsic layer.
375375
[V].
376-
breakdown_factor : numeric, default 0
376+
breakdown_factor : float, default 0
377377
fraction of ohmic current involved in avalanche breakdown :math:`a`.
378378
Default of 0 excludes the reverse bias term from the model. [unitless]
379-
breakdown_voltage : numeric, default -5.5
379+
breakdown_voltage : float, default -5.5
380380
reverse breakdown voltage of the photovoltaic junction :math:`V_{br}`
381381
[V]
382-
breakdown_exp : numeric, default 3.28
382+
breakdown_exp : float, default 3.28
383383
avalanche breakdown exponent :math:`m` [unitless]
384384
method : str, default 'newton'
385385
Either ``'newton'`` or ``'brentq'``. ''method'' must be ``'newton'``

0 commit comments

Comments
 (0)