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 AixLib.Fluid.Actuators.BaseClasses.PartialTwoWayValve for details regarding the valve implementation.
dp
.riseTime
to valves. The value is not used as the filter is disabled,
but it will show in the result file. Having a consistent value for all these parameters in the result filter
helps during debugging.
homotopyInitialization
to a constant.filteredInput
to use_inputFilter
.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.
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.
m_flow_nominal
.
dp_nominal
to dpValve_nominal
,
and added new parameter dpFixed_nominal=0
.
See
AixLib.Fluid.Actuators.UsersGuide.