Extends from Modelica.Icons.VariantsPackage
(Icon for package containing variants).
Name | Description |
---|---|
BaseClasses … | Base classes used in the Valves package (only of interest to build new component models) |
ValveCompressible | Valve for compressible fluids, accounts for choked flow conditions |
ValveDiscrete | Valve for water/steam flows with linear pressure drop |
ValveIncompressible | Valve for (almost) incompressible fluids |
ValveLinear | Valve for water/steam flows with linear pressure drop |
ValveVaporizing | Valve for possibly vaporizing (almost) incompressible fluids, accounts for choked flow conditions |
Valve model according to the IEC 534/ISA S.75 standards for valve sizing, incompressible fluids.
The parameters of this model are explained in detail in PartialValve (the base model for valves).
This model assumes that the fluid has a low compressibility, which is always the case for liquids. It can also be used with gases, provided that the pressure drop is lower than 0.2 times the absolute pressure at the inlet, so that the fluid density does not change much inside the valve.
If checkValve
is false, the valve supports reverse flow, with a symmetric flow characteristic curve. Otherwise, reverse flow is stopped (check valve behaviour).
The treatment of parameters Kv and Cv is explained in detail in the User's Guide.
Extends from Modelica.Fluid.Valves.BaseClasses.PartialValve
(Base model for valves).
Type | Name | Default | Description |
---|---|---|---|
Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
AbsolutePressure | dp_start | dp_nominal | Guess value of dp = port_a.p - port_b.p |
MassFlowRate | m_flow_start | m_flow_nominal | Guess value of m_flow = port_a.m_flow |
MassFlowRate | m_flow_small | if system.use_eps_Re then system.eps_m_flow * m_flow_nominal else system.m_flow_small | Small mass flow rate for regularization of zero flow |
Boolean | show_T | true | = true, if temperatures at port_a and port_b are computed |
Boolean | show_V_flow | true | = true, if volume flow rate at inflowing port is computed |
CvTypes | CvData | Modelica.Fluid.Types.CvTypes.OpPoint | Selection of flow coefficient |
Area | Av | Av (metric) flow coefficient | |
Real | Kv | 0 | Kv (metric) flow coefficient [m3/h] |
Real | Cv | 0 | Cv (US) flow coefficient [USG/min] |
Pressure | dp_nominal | Nominal pressure drop | |
MassFlowRate | m_flow_nominal | Nominal mass flowrate | |
Density | rho_nominal | Medium.density_pTX(Medium.p_default, Medium.T_default, Medium.X_default) | Nominal inlet density |
Real | opening_nominal | 1 | Nominal opening |
Boolean | filteredOpening | false | = true, if opening is filtered with a 2nd order CriticalDamping filter |
Time | riseTime | 1 | Rise time of the filter (time to reach 99.6 % of an opening step) |
Real | leakageOpening | 0.001 | The opening signal is limited by leakageOpening (to improve the numerics) |
Boolean | checkValve | false | Reverse flow stopped |
Boolean | use_Re | system.use_eps_Re | = true, if turbulent region is defined by Re, otherwise by m_flow_small |
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
input RealInput | opening | Valve position in the range 0..1 |
output RealOutput | opening_filtered | Filtered valve position in the range 0..1 |
Valve model according to the IEC 534/ISA S.75 standards for valve sizing, incompressible fluid at the inlet, and possibly two-phase fluid at the outlet, including choked flow conditions.
The parameters of this model are explained in detail in PartialValve (the base model for valves).
The model operating range includes choked flow operation, which takes place for low outlet pressures due to flashing in the vena contracta; otherwise, non-choking conditions are assumed.
This model requires a two-phase medium model, to describe the liquid and (possible) two-phase conditions.
The default liquid pressure recovery coefficient Fl
is constant and given by the parameter Fl_nominal
. The relative change (per unit) of the recovery coefficient can be specified as a given function of the valve opening by replacing the FlCharacteristic
function.
If checkValve
is false, the valve supports reverse flow, with a symmetric flow characteristic curve. Otherwise, reverse flow is stopped (check valve behaviour).
The treatment of parameters Kv and Cv is explained in detail in the User's Guide.
Extends from Modelica.Fluid.Valves.BaseClasses.PartialValve
(Base model for valves).
Type | Name | Default | Description |
---|---|---|---|
Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
AbsolutePressure | dp_start | dp_nominal | Guess value of dp = port_a.p - port_b.p |
MassFlowRate | m_flow_start | m_flow_nominal | Guess value of m_flow = port_a.m_flow |
MassFlowRate | m_flow_small | if system.use_eps_Re then system.eps_m_flow * m_flow_nominal else system.m_flow_small | Small mass flow rate for regularization of zero flow |
Boolean | show_T | true | = true, if temperatures at port_a and port_b are computed |
Boolean | show_V_flow | true | = true, if volume flow rate at inflowing port is computed |
CvTypes | CvData | Modelica.Fluid.Types.CvTypes.OpPoint | Selection of flow coefficient |
Area | Av | Av (metric) flow coefficient | |
Real | Kv | 0 | Kv (metric) flow coefficient [m3/h] |
Real | Cv | 0 | Cv (US) flow coefficient [USG/min] |
Pressure | dp_nominal | Nominal pressure drop | |
MassFlowRate | m_flow_nominal | Nominal mass flowrate | |
Density | rho_nominal | Medium.density_pTX(Medium.p_default, Medium.T_default, Medium.X_default) | Nominal inlet density |
Real | opening_nominal | 1 | Nominal opening |
Boolean | filteredOpening | false | = true, if opening is filtered with a 2nd order CriticalDamping filter |
Time | riseTime | 1 | Rise time of the filter (time to reach 99.6 % of an opening step) |
Real | leakageOpening | 0.001 | The opening signal is limited by leakageOpening (to improve the numerics) |
Boolean | checkValve | false | Reverse flow stopped |
Real | Fl_nominal | 0.9 | Liquid pressure recovery factor |
Boolean | use_Re | system.use_eps_Re | = true, if turbulent region is defined by Re, otherwise by m_flow_small |
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
input RealInput | opening | Valve position in the range 0..1 |
output RealOutput | opening_filtered | Filtered valve position in the range 0..1 |
Valve model according to the IEC 534/ISA S.75 standards for valve sizing, compressible fluid, no phase change, also covering choked-flow conditions.
The parameters of this model are explained in detail in PartialValve (the base model for valves).
This model can be used with gases and vapours, with arbitrary pressure ratio between inlet and outlet.
The product Fk*xt is given by the parameter Fxt_full
, and is assumed constant by default. The relative change (per unit) of the xt coefficient with the valve opening can be specified by replacing the xtCharacteristic
function.
If checkValve
is false, the valve supports reverse flow, with a symmetric flow characteristic curve. Otherwise, reverse flow is stopped (check valve behaviour).
The treatment of parameters Kv and Cv is explained in detail in the User's Guide.
Extends from Modelica.Fluid.Valves.BaseClasses.PartialValve
(Base model for valves).
Type | Name | Default | Description |
---|---|---|---|
Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
AbsolutePressure | dp_start | dp_nominal | Guess value of dp = port_a.p - port_b.p |
MassFlowRate | m_flow_start | m_flow_nominal | Guess value of m_flow = port_a.m_flow |
MassFlowRate | m_flow_small | if system.use_eps_Re then system.eps_m_flow * m_flow_nominal else system.m_flow_small | Small mass flow rate for regularization of zero flow |
Boolean | show_T | true | = true, if temperatures at port_a and port_b are computed |
Boolean | show_V_flow | true | = true, if volume flow rate at inflowing port is computed |
CvTypes | CvData | Modelica.Fluid.Types.CvTypes.OpPoint | Selection of flow coefficient |
Area | Av | Av (metric) flow coefficient | |
Real | Kv | 0 | Kv (metric) flow coefficient [m3/h] |
Real | Cv | 0 | Cv (US) flow coefficient [USG/min] |
Pressure | dp_nominal | Nominal pressure drop | |
MassFlowRate | m_flow_nominal | Nominal mass flowrate | |
Density | rho_nominal | Medium.density_pTX(Medium.p_default, Medium.T_default, Medium.X_default) | Nominal inlet density |
Real | opening_nominal | 1 | Nominal opening |
Boolean | filteredOpening | false | = true, if opening is filtered with a 2nd order CriticalDamping filter |
Time | riseTime | 1 | Rise time of the filter (time to reach 99.6 % of an opening step) |
Real | leakageOpening | 0.001 | The opening signal is limited by leakageOpening (to improve the numerics) |
Boolean | checkValve | false | Reverse flow stopped |
AbsolutePressure | p_nominal | Nominal inlet pressure | |
Real | Fxt_full | 0.5 | Fk*xt critical ratio at full opening |
Boolean | use_Re | system.use_eps_Re | = true, if turbulent region is defined by Re, otherwise by m_flow_small |
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
input RealInput | opening | Valve position in the range 0..1 |
output RealOutput | opening_filtered | Filtered valve position in the range 0..1 |
This very simple model provides a pressure drop which is proportional to the flowrate and to the opening
input, without computing any fluid property. It can be used for testing purposes, when
a simple model of a variable pressure loss is needed.
A medium model must be nevertheless be specified, so that the fluid ports can be connected to other components using the same medium model.
The model is adiabatic (no heat losses to the ambient) and neglects changes in kinetic energy from the inlet to the outlet.
Extends from Modelica.Fluid.Interfaces.PartialTwoPortTransport
(Partial element transporting fluid between two ports without storage of mass or energy).
Type | Name | Default | Description |
---|---|---|---|
Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
AbsolutePressure | dp_start | 0.01 * system.p_start | Guess value of dp = port_a.p - port_b.p |
MassFlowRate | m_flow_start | system.m_flow_start | Guess value of m_flow = port_a.m_flow |
MassFlowRate | m_flow_small | if system.use_eps_Re then system.eps_m_flow * system.m_flow_nominal else system.m_flow_small | Small mass flow rate for regularization of zero flow |
Boolean | show_T | true | = true, if temperatures at port_a and port_b are computed |
Boolean | show_V_flow | true | = true, if volume flow rate at inflowing port is computed |
AbsolutePressure | dp_nominal | Nominal pressure drop at full opening | |
MassFlowRate | m_flow_nominal | Nominal mass flowrate at full opening | |
final HydraulicConductance | k | m_flow_nominal / dp_nominal | Hydraulic conductance at full opening |
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
input RealInput | opening | =1: completely open, =0: completely closed |
This very simple model provides a (small) pressure drop which is proportional to the flowrate if the Boolean open signal is true. Otherwise, the mass flow rate is zero. If opening_min > 0, a small leakage mass flow rate occurs when open = false.
This model can be used for simplified modelling of on-off valves, when it is not important to accurately describe the pressure loss when the valve is open. Although the medium model is not used to determine the pressure loss, it must be nevertheless be specified, so that the fluid ports can be connected to other components using the same medium model.
The model is adiabatic (no heat losses to the ambient) and neglects changes in kinetic energy from the inlet to the outlet.
In a diagram animation, the valve is shown in "green", when it is open.
Extends from Modelica.Fluid.Interfaces.PartialTwoPortTransport
(Partial element transporting fluid between two ports without storage of mass or energy).
Type | Name | Default | Description |
---|---|---|---|
Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
AbsolutePressure | dp_start | 0.01 * system.p_start | Guess value of dp = port_a.p - port_b.p |
MassFlowRate | m_flow_start | system.m_flow_start | Guess value of m_flow = port_a.m_flow |
MassFlowRate | m_flow_small | if system.use_eps_Re then system.eps_m_flow * system.m_flow_nominal else system.m_flow_small | Small mass flow rate for regularization of zero flow |
Boolean | show_T | true | = true, if temperatures at port_a and port_b are computed |
Boolean | show_V_flow | true | = true, if volume flow rate at inflowing port is computed |
AbsolutePressure | dp_nominal | Nominal pressure drop at full opening=1 | |
MassFlowRate | m_flow_nominal | Nominal mass flowrate at full opening=1 | |
final HydraulicConductance | k | m_flow_nominal / dp_nominal | Hydraulic conductance at full opening=1 |
Real | opening_min | 0 | Remaining opening if closed, causing small leakage flow |
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
input BooleanInput | open |   |
Generated 2018-12-12 12:13:25 EST by MapleSim.