pvpumpingsystem.pump._curves_coeffs_Kou98

pvpumpingsystem.pump._curves_coeffs_Kou98(specs, data_completeness)

Compute curve-fitting coefficient with method of Kou [1].

It uses a 3rd order multivariate polynomial with cross terms to model V(I, TDH) and Q(V, TDH) from the data.

Parameters:specs (pd.DataFrame) – DataFrame with specs.
Returns:Coefficients resulting from linear regression under keys ‘coeffs_f1’ and ‘coeffs_f2’, and statistical figures on goodness of fit (keys: ‘rmse_f1’, ‘nrmse_f1’, ‘r_squared_f1’, ‘adjusted_r_squared_f1’, ‘rmse_f2’, ‘nrmse_f2’, ‘r_squared_f2’, ‘adjusted_r_squared_f2’)
Return type:dict

References

[1] Kou Q, Klein S.A. & Beckman W.A., “A method for estimating the long-term performance of direct-coupled PV pumping systems”, 1998, Solar Energy