@@ -1414,11 +1414,13 @@ def _pvsyst_objfun(pvs_mod, cec_ivs, ee, tc, cs):
14141414def convert_cec_pvsyst (cec_model , cells_in_series , method = 'Nelder-Mead' ,
14151415 options = None ):
14161416 r"""
1417- Convert a CEC model to a PVsyst model.
1417+ Convert a set of CEC model parameters to an equivalent set of PVsyst model
1418+ parameters.
14181419
1419- Uses optimization to fit the PVsyst model to :math:`I_{sc}`,
1420- :math:`V_{oc}`, :math:`V_{mp}`, :math:`I_{mp}`, and :math:`P_{mp}`,
1421- calculated using the input CEC model at the IEC 61853-3 conditions [2]_.
1420+ Parameter conversion uses optimization as described in [1]_ to fit the
1421+ PVsyst model to :math:`I_{sc}`, :math:`V_{oc}`, :math:`V_{mp}`,
1422+ :math:`I_{mp}`, and :math:`P_{mp}`, calculated using the input CEC model
1423+ at the IEC 61853-3 conditions [2]_.
14221424
14231425 Parameters
14241426 ----------
@@ -1430,7 +1432,7 @@ def convert_cec_pvsyst(cec_model, cells_in_series, method='Nelder-Mead',
14301432 method : str, default 'Nelder-Mead'
14311433 Method for scipy.optimize.minimize.
14321434 options : dict, optional
1433- Solver options passed to scipy.optimize.minimize
1435+ Solver options passed to scipy.optimize.minimize.
14341436
14351437 Returns
14361438 -------
@@ -1479,7 +1481,7 @@ def convert_cec_pvsyst(cec_model, cells_in_series, method='Nelder-Mead',
14791481 .. [2] "IEC 61853-3 Photovoltaic (PV) module performance testing and energy
14801482 rating - Part 3: Energy rating of PV modules". IEC, Geneva, 2018.
14811483 """
1482- if options == None :
1484+ if options is None :
14831485 options = {'maxiter' : 5000 , 'maxfev' : 5000 , 'xatol' : 0.001 }
14841486
14851487 # calculate target IV curve values
@@ -1561,11 +1563,13 @@ def _cec_objfun(cec_mod, pvs_ivs, ee, tc, alpha_sc):
15611563
15621564def convert_pvsyst_cec (pvsyst_model , method = 'Nelder-Mead' , options = None ):
15631565 r"""
1564- Convert a PVsyst model to a CEC model.
1566+ Convert a set of PVsyst model parameters to an equivalent set of CEC model
1567+ parameters.
15651568
1566- Uses optimization to fit the CEC model to :math:`I_{sc}`,
1567- :math:`V_{oc}`, :math:`V_{mp}`, :math:`I_{mp}`, and :math:`P_{mp}`,
1568- calculated using the input PVsyst model at the IEC 61853-3 conditions [2]_.
1569+ Parameter conversion uses optimization as described in [1]_ to fit the
1570+ CEC model to :math:`I_{sc}`, :math:`V_{oc}`, :math:`V_{mp}`,
1571+ :math:`I_{mp}`, and :math:`P_{mp}`, calculated using the input PVsyst model
1572+ at the IEC 61853-3 conditions [2]_.
15691573
15701574 Parameters
15711575 ----------
@@ -1576,7 +1580,7 @@ def convert_pvsyst_cec(pvsyst_model, method='Nelder-Mead', options=None):
15761580 method : str, default 'Nelder-Mead'
15771581 Method for scipy.optimize.minimize.
15781582 options : dict, optional
1579- Solver options passed to scipy.optimize.minimize
1583+ Solver options passed to scipy.optimize.minimize.
15801584
15811585 Returns
15821586 -------
@@ -1622,7 +1626,7 @@ def convert_pvsyst_cec(pvsyst_model, method='Nelder-Mead', options=None):
16221626 rating - Part 3: Energy rating of PV modules". IEC, Geneva, 2018.
16231627 """
16241628
1625- if options == None :
1629+ if options is None :
16261630 options = {'maxiter' : 5000 , 'maxfev' : 5000 , 'xatol' : 0.001 }
16271631
16281632 # calculate target IV curve values
0 commit comments