pvlib.ivtools.utils.astm_e1036#
- pvlib.ivtools.utils.astm_e1036(v, i, imax_limits=(0.75, 1.15), vmax_limits=(0.75, 1.15), voc_points=3, isc_points=3, mp_fit_order=4)[source]#
Extract photovoltaic IV parameters according to ASTM E1036. Assumes that the power producing portion of the curve is in the first quadrant.
- Parameters:
v (array-like) – Voltage points
i (array-like) – Current points
imax_limits (tuple, default (0.75, 1.15)) – Two-element tuple (low, high) specifying the fraction of estimated Imp within which to fit a polynomial for max power calculation
vmax_limits (tuple, default (0.75, 1.15)) – Two-element tuple (low, high) specifying the fraction of estimated Vmp within which to fit a polynomial for max power calculation
voc_points (int, default 3) – The number of points near open circuit to use for linear fit and Voc calculation
isc_points (int, default 3) – The number of points near short circuit to use for linear fit and Isc calculation
mp_fit_order (int, default 4) – The order of the polynomial fit of power vs. voltage near maximum power
- Returns:
dict – Results. The IV parameters are given by the keys ‘voc’, ‘isc’, ‘vmp’, ‘imp’, ‘pmp’, and ‘ff’. The key ‘mp_fit’ gives the numpy Polynomial object for the fit of power vs voltage near maximum power.
References