Pressure relief valve

hydraulic.relief_valve

Opens from a to b when the pressure drop passes the set pressure. The opening x grows linearly to 1 over p_range, and the flow is (G_leak + G x) dp.

Ports

NameDomain
ahydraulic
bhydraulic

Parameters

NameUnitDefaultRangeDescription
p_setPa100000000 to ∞Set pressure
p_rangePa10000000 to ∞Pressure rise from opening to fully open
Gm3/s.Pa1e-100 to ∞Conductance when fully open
G_leakm3/s.Pa1e-150 to ∞Conductance when closed

Variables

NameUnit
dpPa
qm3/s
x1

Equations

dp = a.p - b.p
0 = a.q + b.q
q = a.q
x = if dp < p_set then 0 else if dp > p_set + p_range then 1 else (dp - p_set) / p_range
q = (G_leak + G * x) * dp