modelVolumeOpen
An open constant-pressure volume
Extends from OpenHydraulics.Interfaces.NPort (Two horizontally oriented fluid ports).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Sizing | |||
| SI.Volume | V_max | 1 | Tank Volume |
| Integer | n_ports (from NPort) | Number of ports (min=1) | |
| Initialization | |||
| SI.AbsolutePressure | p_const | environment.p_ambient | preload pressure |
| SI.Volume | V_init | 0.1 | Initial Volume |
| Initialization › Fluid | |||
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial pressure of the component |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Interfaces.FluidPort[n_ports] | port (from NPort) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Volume | V_actual | Volume size | |
| SI.Mass | m | V_actual*oil.density(p_vol) | Mass of fluid |
| SI.AbsolutePressure | p_vol | Pressure in the volume | |
| OpenHydraulics.Fluids.BaseClasses.PartialFluid | oil (from PartialFluidComponent) | This model must be defined in each circuit; the type must be a subtype of PartialFluid | |
| SI.AbsolutePressure[n_ports] | p (from NPort) | Oil properties at each port |