AixLib.Fluid.Movers.PumpsPolynomialBased.BaseClasses.polynomial2D

# .AixLib.Fluid.Movers.PumpsPolynomialBased.BaseClasses.polynomial2D

computes the polynomial in two variables a and b: sum_ij( c[i, j] * a^i * b^j ) where c is the coefficient matrix.

## Information

#### History

In the original pump model the functions for pump pressure head, speed and electrical power consumption have been integrated directly as functions with hard coded coefficients. They were computed from volume flow rate, speed or pressure head. For example:

In the process of collecting all pump specific data into a single record the functions aproach has been discontinued. This generic function can now be used to compute the polynomial using two variables a and b and a matrix of coefficients c.

#### Interface

>     function polynomial2D
>       extends Modelica.Icons.Function;
>       import pow = AixLib.Fluid.Movers.PumpsPolynomialBased.BaseClasses.powerInt;
>       input Real c[:, :] "coefficient matrix";
>       input Real a "variable 1";
>       input Real b "variable 2";
>       output Real y "result";
>     end polynomial2D;

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