Skip to content

Commit 4dd10da

Browse files
kandersolarcwhanse
andauthored
Apply suggestions from code review
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
1 parent 8f529c8 commit 4dd10da

1 file changed

Lines changed: 25 additions & 30 deletions

File tree

docs/sphinx/source/user_guide/modeling_topics/singlediode.rst

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,11 @@ is to compute the auxiliary equations using one of the following functions:
2020
* De Soto SDM: :py:func:`~pvlib.pvsystem.calcparams_desoto`
2121

2222
The second step is to use the output of these functions to compute points on
23-
the SDE's I-V curve, as described in the following sections.
24-
25-
Computing key SDE I-V points
26-
----------------------------
27-
Three points on the SDE I-V curve are typically of special interest for PV modeling:
28-
the maximum power (MP), open circuit (OC), and short circuit (SC) points.
29-
Unfortunately, computing them is complicated by the SDE being an implicit transcendental
30-
equation. pvlib provides several algorithms for computing these points.
31-
32-
The most accurate and convenient function is :py:func:`pvlib.pvsystem.singlediode`.
33-
It provides several methods of computing these points:
23+
the SDE's I-V curve. Three points on the SDE I-V curve are typically of special
24+
interest for PV modeling: the maximum power (MP), open circuit (OC), and
25+
short circuit (SC) points. The most convenient function for computing these
26+
points is :py:func:`pvlib.pvsystem.singlediode`. It provides several methods
27+
for solving the SDE:
3428

3529
+------------------+------------+-----------+-------------------------+
3630
| Method | Type | Speed | Guaranteed convergence? |
@@ -44,7 +38,7 @@ It provides several methods of computing these points:
4438
| ``lambertw`` | explicit | medium | yes |
4539
+------------------+------------+-----------+-------------------------+
4640

47-
If lower accuracy (within ~1%) is allowable, these points can be estimated
41+
If lower accuracy (within ~1%) is allowable, the special points can be estimated
4842
much more quickly using :py:func:`pvlib.singlediode.batzelis_keypoints`.
4943

5044

@@ -53,43 +47,44 @@ Computing full I-V curves
5347

5448
Full I-V curves can be computed using
5549
:py:func:`pvlib.pvsystem.i_from_v` and :py:func:`pvlib.pvsystem.v_from_i`, which
56-
calculate either current or voltage from the other. It is often useful to
50+
calculate either current or voltage from the other, with the methods listed
51+
above. It is often useful to
5752
first compute the open-circuit or short-circuit values using
5853
:py:func:`pvlib.pvsystem.singlediode` and then compute a range
5954
of voltages/currents from zero to those extreme points. This range can then
6055
be used with the above functions to compute the I-V curve.
6156

6257

63-
Special thin film parameters
64-
----------------------------
58+
IV curves in reverse bias
59+
-------------------------
6560

66-
The PVsyst SDM has two additional, optional parameters to better represent
67-
the behavior of CdTe and a-Si modules. As these parameters are not included
68-
in the standard SDE, special methods are needed to account for them.
69-
The functions :py:func:`pvlib.pvsystem.max_power_point`,
61+
The standard SDE does not account for diode breakdown at reverse bias. The
62+
following functions can optionally include an extra term for modeling it:
63+
:py:func:`pvlib.pvsystem.max_power_point`,
7064
:py:func:`pvlib.singlediode.bishop88_i_from_v`,
71-
and :py:func:`pvlib.singlediode.bishop88_v_from_i`
72-
can compute the key points and full I-V curves using these parameters.
65+
and :py:func:`pvlib.singlediode.bishop88_v_from_i`.
7366

7467

75-
Reverse bias breakdown
76-
----------------------
68+
Recombination current for thin film cells
69+
-----------------------------------------
7770

78-
Although the standard SDE does not account for reverse bias breakdown, the
79-
following functions can optionally include an extra term for modeling it:
71+
The PVsyst SDM optionally modifies the SDE to better represent recombination
72+
current in CdTe and a-Si modules. The modified SDE requires two additional
73+
parameters. pvlib functions can compute the key points or full I-V curves using
74+
the modified SDE:
8075
:py:func:`pvlib.pvsystem.max_power_point`,
8176
:py:func:`pvlib.singlediode.bishop88_i_from_v`,
82-
and :py:func:`pvlib.singlediode.bishop88_v_from_i`.
83-
77+
and :py:func:`pvlib.singlediode.bishop88_v_from_i`.
8478

8579
Model parameter values
8680
----------------------
8781

8882
Despite some models having parameters with similar names, parameter values are
89-
specific to the model and thus must be produced with the intended model in mind.
90-
Sometimes sets of parameter values can be read in from external sources, for example:
83+
specific to each model and thus must be produced with the intended model in mind.
84+
For some models, sets of parameter values can be read from external sources,
85+
for example:
9186

92-
* CEC SDM parameter database available from :py:func:`~pvlib.pvsystem.retrieve_sam`
87+
* CEC SDM parameter database can be read using :py:func:`~pvlib.pvsystem.retrieve_sam`
9388
* PAN files, which can be read using :py:func:`~pvlib.iotools.read_panond`
9489

9590
pvlib also provides a set of functions that can estimate SDM parameter values

0 commit comments

Comments
 (0)