BuildingSystems.Fluid.Actuators.Valves.TwoWayPolynomial

# .BuildingSystems.Fluid.Actuators.Valves.TwoWayPolynomial

Two way valve with polynomial characteristic

## Information

Two way valve with polynomial opening characteristic. The polynomial coefficients are defined using parameter `c`. The elements of `c` are coefficients for increasing powers of `y`, starting with the power `0`, which corresponds to a fixed offset. This valve model can be used to implement valves with a custom opening characteristic, such as a combination of a linear and an equal percentage characteristic.

This model is based on the partial valve model BuildingSystems.Fluid.Actuators.BaseClasses.PartialTwoWayValve. Check this model for more information, such as the regularization near the origin.

## Revisions

- June 10, 2021, by Michael Wetter:
  Changed implementation of the filter and changed the parameter `order` to a constant as most users need not change this value.
  This is for #1498.
- August 7, 2020, by Ettore Zanetti:
  changed the computation of `phi` using `max(0.1*l, . )` to avoid phi=0. See issue 1376.
- November 9, 2019, by Filip Jorissen:
  Guarded the computation of `phi` using `max(0, . )` to avoid negative phi. See issue 1223.
- September 30, 2017 by Filip Jorissen:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos