Spool Valve
Spool valve with an input signal that controls the orifice area
Description
Equations
Variables
Connections
Parameters
The Spool Valve component models a spool valve controlled by a signal that sets the orifice area.
The pressure-flow characteristic is based on the equations of the Orifice component.
Formulation Approaches
One of two approaches can be selected for modeling the flow in the device. When the boolean parameter Use constant Cd is true, a constant coefficient of discharge (Cd) is used, otherwise a variable coefficient of discharge with maximum value (Cd⁡max) and a critical flow number (Critno) are used.
Optional Volumes
The boolean parameters Use volume A and Use volume B, when true, add optional volumes VA and VB to ports A and B, respectively. See Port Volumes for details.
If two orifices or valves are connected, enabling a volume at the common port reduces the stiffness of the system and improves the solvability.
p=pA−pB
Orifice Fluid Equations
{p=π4⁢ρ⁢ν⁢qCd2⁢Acs⁢π⁢Acs⁢16⁢q4π2⁢Acs2⁢ν4+ReCr414Use constant Cd=trueq=Cd⁡max⁢tanh⁡4⁢Acsπ⁢2⁢pρν⁢Critno⁢Acs⁢2⁢pρ⁢sign⁡potherwise
Acs=max⁡AreaAunit,Amin
Optional Volume Equations
VfA={Va⁢1+pAElUse volume A=true0otherwiseVfB={Vb⁢1+pBElUse volume B=true0otherwise
q=qA−qVA=−qB−qVB
qVA={dVfAdtUse volume A=true0otherwiseqVB={dVfBdtUse volume B=true0otherwise
Name
Units
Modelica ID
Acs
m2
Cross-sectional area of orifice
qVX
m3s
Flow rate into port X's optional volume
VfX
m3
Effective volume at port X
portA
Upstream hydraulic port
portB
Downstream hydraulic port
Area
Real input; area of orifice in selected units
Orifice
Default
Use constant Cd
true
True (checked) means a constant coefficient of discharge is implemented, otherwise a variable Cd is used in flow calculations
UseConstantCd
Cd
0.7
Flow-discharge coefficient; used when Use constant Cd is true
ReCr
12
Reynolds number at critical flow; used when Use constant Cd is true
Cd⁡max
Maximum flow-discharge coefficient; used when Use constant Cd is false
Cd_max
Critno
1000
Critical flow number; used when Use constant Cd is false
Crit_no
General
Area unit
1
mm2
Unit of area used in input signal
areaUnit
Use volume A
false
True (checked) means a hydraulic volume chamber is added to portA
useVolumeA
VA
1·10−6
Volume of chamber A
Va
Use volume B
True (checked) means a hydraulic volume chamber is added to portB
useVolumeB
VB
Volume of chamber B
Vb
For more information see Port Volumes.
See Also
Hydraulics Library
Valves
Download Help Document