Skip to content

Commit fc8eebb

Browse files
authored
fit_pvefficiency_adr compatibility with scipy 1.11.2 (#1866)
1 parent ccfee19 commit fc8eebb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pvlib/pvarray.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ def fit_pvefficiency_adr(effective_irradiance, temp_cell, eta,
192192

193193
P_NAMES = ['k_a', 'k_d', 'tc_d', 'k_rs', 'k_rsh']
194194
P_MAX = [+np.inf, 0, +0.1, 1, 1] # noQA: E221
195-
P_MIN = [0, -12, -0.1, 0, 0] # noQA: E221
196-
P0 = [eta_max, -6, 0.0, 0, 0] # noQA: E221
197-
P_SCALE = [eta_max, 10, 0.1, 1, 1]
195+
P_MIN = [0, -12, -0.1, 0.0, 0.0] # noQA: E221
196+
P0 = [eta_max, -6, 0.0, 1e-3, 1e-3] # noQA: E221
197+
P_SCALE = [eta_max, 10, 0.1, 1.0, 1.0]
198198

199199
SIGMA = 1 / np.sqrt(irradiance / 1000)
200200

0 commit comments

Comments
 (0)