Valve
Simple valve
Description
Equations
Variables
Connections
Parameters
Modelica Standard Library
The Valve component is a two-port thermal-fluid component that models a simple valve controlled by a real input. A boolean parameter selects one of two characteristics: linear or exponential.
The Medium parameter specifies the name of a Thermal-Fluid Media record, which must be in the model at the same or higer level.
The Use default medium boolean parameter, when true, sets the name of the Medium parameter to fluidMedium1, which corresponds to the default name of a fluid medium record. To use a different name, uncheck the box and enter the name in the parameter input that appears.
Qflow=fL⁢Vflow⁢Δp
Tq=T
h=cp⁢T
KvKv1={kv0+1−kv0⁢ylimy1LinearCharacteristickv0⁢exp⁡log⁡1kv0⁢ylimy1otherwise
ΔpΔp0=ρρ0⁢VflowKv⁢VflowKv
ylim=max⁡min⁡y,y1,0
Name
Units
Modelica ID
Δp
Pa
Pressure drop a->b
dp
Qflow
W
Heat exchange with ambient
Q_flow
ΔT
K
Temperature increase of coolant in flow direction
dT
T
Outlet temperature of medium
Ta
Temperature at flowPort_a
T_a
Tb
Temperature at flowPort_b
T_b
Vflow
m3s
Volume flow a->b
V_flow
flowPorta
Thermal-Fluid FlowPort
flowPort_a
flowPortb
flowPort_b
y
Real input signal that controls valve
Default
fix T0
false
True (checked) means T0 is enforced, otherwise it is a guess
T0fixed
fL
0
1
Part of friction losses fed to medium
frictionLoss
Linear Characteristic
true
Type of characteristic
LinearCharacteristic
Kv1
Maximum flow at y = y1
kv0
0.01
Leakage flow / maximum flow at y = 0
m
kg
Mass of medium
medium
fluidMedium
Thermal-Fluid Media
Δp0
Standard pressure drop
dp0
ρ0
10
kgm3
Standard medium's density
rho0
T0
293.15
Initial temperature of medium
y1
Maximum valve opening
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Pipes and Valves
Thermal Overview
Download Help Document