AixLib.Fluid.Movers.PumpsPolynomialBased.BaseClasses.polynomialABC

# .AixLib.Fluid.Movers.PumpsPolynomialBased.BaseClasses.polynomialABC

calculates polynomial function of form z = c[1]*x^2 + c[2]*xy + c[3]*y^2

## Information

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.

#### Interface

>     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;

## Revisions

- 2017-11-16 by Peter Matthes:
  Implemented

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos