
modelReliefValve
Simple equation model for a relief valve
Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).
Parameters
| Type | Name | Default | Description |
| Sizing |
| SI.Pressure | dp_relief | 1e7 | Relief pressure |
| SI.Pressure | dp_open | dp_relief*1.05 | Fully open pressure |
| SI.VolumeFlowRate | q_nom | 0.01 | Nominal flow rate when fully open |
| SI.Density | d_nom | 850 | Nominal density |
| Initialization › Fluid |
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial temperature of the component |
| Advanced |
| Real | timeConstant | 0.01 | |
| Boolean | from_dp | true | = true, use m_flow = f(dp) else dp = f(m_flow) |
| Boolean | use_Re | false | = true, if turbulent region is defined by Re, otherwise by dp_small or m_flow_small |
| SI.AbsolutePressure | dp_small | 1 | Turbulent flow if |dp| >= dp_small |
| SI.MassFlowRate | m_flow_small | 0.01 | Turbulent flow if |m_flow| >= m_flow_small |