modelHorizontalTwoPort
Two horizontally oriented fluid ports
Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).
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 | ||
| OpenHydraulics.Interfaces.FluidPort | port_b |
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 | port_a.m_flow/oil.density(p_a) | |
| SI.VolumeFlowRate | q_flow_b | port_b.m_flow/oil.density(p_b) | |
| SI.Pressure | dp | port_a.p - port_b.p | Pressure drop (negative for pumps) |
| SI.AbsolutePressure | p_a | Oil properties at the inlet | |
| SI.AbsolutePressure | p_b | Oil properties at the inlet |