Valve
Simple valve
Library
Modelica/Thermal/FluidHeatFlow/Components
Description
Simple controlled valve.
Standard characteristic Kv=f (y) is given at standard conditions (dp0, rho0),
- either linear :
Kv/Kv1 = Kv0/Kv1 + (1-Kv0/Kv1) * y/Y1
- or exponential:
Kv/Kv1 = Kv0/Kv1 * exp[log(Kv1/Kv0) * y/Y1]
where:
Kv0 ... min. flow @ y = 0
Y1 .... max. valve opening
Kv1 ... max. flow @ y = Y1
Flow resistance under real conditions is calculated by
V_flow**2 * rho / dp = Kv(y)**2 * rho0 / dp0
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_medium | medium | Medium in the component | FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Medium') | |
mo_m | m | Mass of medium | Scalar | |
mo_T0 | T0 | Initial temperature of medium | Scalar | |
mo_T0fixed | T0fixed | Initial temperature guess value or fixed | Scalar | true |
mo_tapT | tapT | Defines temperature of heatPort between inlet and outlet temperature | Scalar | |
mo_LinearCharacteristic | LinearCharacteristic | Type of characteristic | Scalar | true |
mo_y1 | y1 | Max. valve opening | Scalar | |
mo_Kv1 | Kv1 | Max. flow @ y = y1 | Scalar | |
mo_kv0 | kv0 | Leakage flow / max.flow @ y = 0 | Scalar | |
mo_dp0 | dp0 | Standard pressure drop | Scalar | |
mo_rho0 | rho0 | Standard medium's density | Scalar | |
mo_frictionLoss | frictionLoss | Part of friction losses fed to medium | Scalar | |
mo_unitVolumeFlowRate | unitVolumeFlowRate | Scalar | ||
mo_small | small | Scalar | ||
mo_smallVolumeFlowRate | smallVolumeFlowRate | Scalar | ||
mo_eps | eps | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_dp | dp | dp | Structure | |
mo_dp/fixed | fixed | Cell of scalars | true | |
mo_dp/start | start | Cell of scalars | ||
mo_V_flow | V_flow | V_flow | Structure | |
mo_V_flow/fixed | fixed | Cell of scalars | true | |
mo_V_flow/start | start | Cell of scalars | ||
mo_Q_flow | Q_flow | Q_flow | Structure | |
mo_Q_flow/fixed | fixed | Cell of scalars | true | |
mo_Q_flow/start | start | Cell of scalars | ||
mo_T | T | T | Structure | |
mo_T/fixed | fixed | Cell of scalars | true | |
mo_T/start | start | Cell of scalars | ||
mo_T_a | T_a | T_a | Structure | |
mo_T_a/fixed | fixed | Cell of scalars | true | |
mo_T_a/start | start | Cell of scalars | ||
mo_T_b | T_b | T_b | Structure | |
mo_T_b/fixed | fixed | Cell of scalars | true | |
mo_T_b/start | start | Cell of scalars | ||
mo_dT | dT | dT | Structure | |
mo_dT/fixed | fixed | Cell of scalars | true | |
mo_dT/start | start | Cell of scalars | ||
mo_T_q | T_q | T_q | Structure | |
mo_T_q/fixed | fixed | Cell of scalars | true | |
mo_T_q/start | start | Cell of scalars | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of scalars | true | |
mo_y/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
flowPort_a | implicit | output | 1 | |
flowPort_b | implicit | output | 2 | |
y | implicit | input | 1 |