functionpolynomial
Polynomial characteristic: rc = c[1] + c[2]*pos + c[3]*pos^2 + ....
Extends from baseFunc (Base class for valve characteristics).
Information
Evaluate a polynomial using Horner's scheme.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pos (from baseFunc) | Opening position (0: closed, 1: fully open) | |
| Real[:] | c | Polynomial coefficients |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | rc (from baseFunc) | Relative flow coefficient (per unit) |