Skip to content

Commit ff20bef

Browse files
committed
format
1 parent facdd7e commit ff20bef

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pvlib/ivtools/convert.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def _pvsyst_objfun(pvs_mod, cec_ivs, ee, tc, cs):
5858

5959
pvsyst_ivs = singlediode(*pvs_params)
6060

61-
6261
# calculate error metric, mean absolute relative error for PVsyst model as
6362
# the target
6463
isc_diff = np.abs((pvsyst_ivs['i_sc'] - cec_ivs['i_sc']) /
@@ -77,7 +76,6 @@ def _pvsyst_objfun(pvs_mod, cec_ivs, ee, tc, cs):
7776
return mean_abs_diff
7877

7978

80-
8179
def convert_cec_pvsyst(cec_model, cells_in_series, initial=None,
8280
method='Nelder-Mead',
8381
bounds=None, options=None):
@@ -242,7 +240,7 @@ def _cec_objfun(cec_mod, pvs_ivs, ee, tc, alpha_sc):
242240
return mean_diff
243241

244242

245-
def convert_pvsyst_cec(pvsyst_model, initial=None, method='Nelder-Mead',
243+
def convert_pvsyst_cec(pvsyst_model, initial=None, method='Nelder-Mead',
246244
bounds=None, options=None,
247245
EgRef=1.121, dEgdT=-0.0002677):
248246
r"""

0 commit comments

Comments
 (0)