Annex60.Fluid.Actuators.BaseClasses.PartialThreeWayValve

# .Annex60.Fluid.Actuators.BaseClasses.PartialThreeWayValve

Partial three way valve

## Information

Partial model of a three way valve. This is the base model for valves with different opening characteristics, such as linear, equal percentage or quick opening. The three way valve model consists of a mixer where valves are placed in two of the flow legs. The third flow leg has no friction. The flow coefficient `Kv` for flow from `port_1 → port_2` is a parameter. The flow coefficient for the bypass flow from `port_3 → port_2` is computed as

             Kv(port_3 → port_2)
      fraK = ----------------------
             Kv(port_1 → port_2)

where `0 < fraK ≤ 1` is a parameter with a default value of `fraK=0.7`.

Since this model uses two way valves to construct a three way valve, see Annex60.Fluid.Actuators.BaseClasses.PartialTwoWayValve for details regarding the valve implementation.

## Revisions

- January 22, 2016, by Michael Wetter:
  Corrected type declaration of pressure difference. This is for #404.
- December 17, 2015, by Michael Wetter:
  Removed assignment `redeclare final package Medium=Medium` as this is now done in the base class. This is for https://github.com/lbl-srg/modelica-buildings/issues/475.
- November 23, 2015 by Filip Jorissen:
  Corrected valve leakage value to avoid warnings.
- February 28, 2013, by Michael Wetter:
  Reformulated assignment of parameters. Removed default value for `dpValve_nominal`, as this parameter has the attribute `fixed=false` for some values of `CvData`. In this case, assigning a value is not allowed. Corrected wrong documentation of parameter `fraK(min=0, max=1) = 0.7`. The documenation was Fraction Kv(port_1→port_2)/Kv(port_3→port_2) instead of Fraction Kv(port_3→port_2)/Kv(port_1→port_2). Because the parameter set correctly its attributes `min=0` and `max=1`, instances of this model used the correct value.
- April 12, 2012 by Michael Wetter:
  Removed duplicate declaration of `m_flow_nominal`.
- February 20, 2012 by Michael Wetter:
  Renamed parameter `dp_nominal` to `dpValve_nominal`, and added new parameter `dpFixed_nominal=0`. See Annex60.Fluid.Actuators.UsersGuide.
- March 25, 2011, by Michael Wetter:
  Added homotopy method.
- June 3, 2008 by Michael Wetter:
  First implementation.

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