modelRestrictionInterface
Extends from OpenHydraulics.Interfaces.HorizontalTwoPort (Two horizontally oriented fluid ports).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Initialization › Fluid | |||
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial temperature of the component |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Interfaces.FluidPort | port_a (from HorizontalTwoPort) | ||
| OpenHydraulics.Interfaces.FluidPort | port_b (from HorizontalTwoPort) |
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 | |
| SI.VolumeFlowRate | q_flow_a (from HorizontalTwoPort) | port_a.m_flow/oil.density(p_a) | |
| SI.VolumeFlowRate | q_flow_b (from HorizontalTwoPort) | port_b.m_flow/oil.density(p_b) | |
| SI.Pressure | dp (from HorizontalTwoPort) | port_a.p - port_b.p | Pressure drop (negative for pumps) |
| SI.AbsolutePressure | p_a (from HorizontalTwoPort) | Oil properties at the inlet | |
| SI.AbsolutePressure | p_b (from HorizontalTwoPort) | Oil properties at the inlet |