Skip to content

Commit f0320cf

Browse files
cwhansekandersolar
andauthored
Apply suggestions from code review
Co-authored-by: Kevin Anderson <[email protected]>
1 parent e485738 commit f0320cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pvlib/pvsystem.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,13 +2535,13 @@ def singlediode(photocurrent, saturation_current, resistance_series,
25352535
25362536
If the method is ``'newton'`` then the root-finding Newton-Raphson method
25372537
is used. It should be safe for well-behaved IV curves, otherwise the
2538-
``'chandralupta``` or ``'brentq'`` methods are recommended for reliability.
2538+
``'chandrupatla``` or ``'brentq'`` methods are recommended for reliability.
25392539
25402540
If the method is ``'brentq'`` then Brent's bisection search method is used
25412541
that guarantees convergence by bounding the voltage between zero and
25422542
open-circuit. ``'brentq'`` is generally slower than the other options.
25432543
2544-
If the method is ``'chandralupta'`` then Chandralupta's method is used
2544+
If the method is ``'chandrupatla'`` then Chandrupatla's method is used
25452545
that guarantees convergence.
25462546
25472547
References
@@ -2573,7 +2573,7 @@ def singlediode(photocurrent, saturation_current, resistance_series,
25732573
points = out[:7]
25742574
else:
25752575
# Calculate points on the IV curve using Bishop's algorithm and solving
2576-
# with 'newton', 'brentq' or 'chandralupta' method.
2576+
# with 'newton', 'brentq' or 'chandrupatla' method.
25772577
# Voltages are determined by first solving the single diode
25782578
# equation for the diode voltage V_d then backing out voltage
25792579
v_oc = _singlediode.bishop88_v_from_i(

0 commit comments

Comments
 (0)