Based on the work of Afjej and Wetter, 1997 [1] and the TRNYS Type 401 heat pump model, this function uses a six-coefficient polynom to calculate the electrical power and the heat flow to the condenser. The coefficients are calculated based on the data in DIN EN 14511 with a minimization-problem in python using the root-mean-square-error.
The normalized input temperatures are calculated with the formular:
T_n = (T/273.15) + 1
The coefficients for the polynomal functions are stored inside the record for heat pumps in AixLib.Obsolete.Year2024.DataBase.HeatPump.
[1]: https://www.trnsys.de/download/en/ts_type_401_en.pdf
function PolynomalApproach extends PartialBaseFct; parameter Modelica.Units.SI.Power p[6] = {0, 0, 0, 0, 0, 0} "Polynomal coefficient for the electrical power"; parameter Modelica.Units.SI.HeatFlowRate q[6] = {0, 0, 0, 0, 0, 0} "Polynomal coefficient for the condenser heat flow"; end PolynomalApproach;