modelPostPCValve
Simple equation model for a post PC valve
Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Pressure | p_margin | 100000 | |
| Real | time_constant | 0 | |
| Sizing | |||
| Modelica.Units.SI.Density | d_nom | 850 | Nominal density |
| Initialization › Fluid | |||
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial temperature of the component |
| Advanced | |||
| 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 |
| Modelica.Units.SI.AbsolutePressure | dp_small | 1 | Turbulent flow if |dp| >= dp_small |
| Modelica.Units.SI.MassFlowRate | m_flow_small | 0.01 | Turbulent flow if |m_flow| >= m_flow_small |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Interfaces.FluidPort | port_a | ||
| OpenHydraulics.Interfaces.FluidPort | port_b | ||
| OpenHydraulics.Interfaces.FluidPort | port_LS |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Fluids.BaseClasses.PartialFluid | oil (from PartialFluidComponent) | This model must be defined in each circuit; the type must be a subtype of PartialFluid | |
| Modelica.Units.SI.Pressure | dp | port_a.p - port_b.p | Pressure drop from port_a to port_b |
| OpenHydraulics.Basic.VariableRestriction | variableRestriction |