This function is used in the Zugabe.Fluid.Movers.Pump model. It depends on the correct order of the coefficients in c and the respective assignment of x and y. For the computation of H = f(Q,n), for example x must be assigned n and y = Q in m3/h. The result will be the pump pressure head in m.
Be aware that the function will not check if the result is a positive number. Negative results have no sensible physical meaning in this case.
function polynomialABC extends Modelica.Icons.Function; input Real[3] c "coefficient vector"; input Real x "variable 1"; input Real y "variable 2"; output Real z "result"; end polynomialABC;