pvpumpingsystem.pump._curves_coeffs_Hamidat08¶
-
pvpumpingsystem.pump.
_curves_coeffs_Hamidat08
(specs, data_completeness)¶ Compute curve-fitting coefficient with method of Hamidat [1]. It uses a 3rd order polynomial to model P(Q) = a + b*Q + c*Q^2 + d*Q^3 and each corresponding coefficient depends on TDH through a 3rd order polynomial as well. This function needs to be reversed numerically to be used as Q(P).
Parameters: specs (pd.DataFrame) – DataFrame with specs. Returns: Coefficients resulting from linear regression under key ‘coeffs_f2’, and statistical figures on goodness of fit (keys: ‘rmse_f2’, ‘nrmse_f2’, ‘r_squared_f2’, ‘adjusted_r_squared_f2’) Return type: dict References
[1] Hamidat A., Benyoucef B., Mathematic models of photovoltaic motor-pump systems, 2008, Renewable Energy