modelVolumeOpen

An open constant-pressure volume
Diagram of VolumeOpen

Extends from OpenHydraulics.Interfaces.NPort (Two horizontally oriented fluid ports).

Parameters

TypeNameDefaultDescription
Sizing
SI.VolumeV_max1Tank Volume
Integern_ports (from NPort)Number of ports (min=1)
Initialization
SI.AbsolutePressurep_constenvironment.p_ambientpreload pressure
SI.VolumeV_init0.1Initial Volume
Initialization › Fluid
SI.AbsolutePressurep_init (from PartialFluidComponent)environment.p_ambientInitial pressure of the component

Connectors

TypeNameDefaultDescription
OpenHydraulics.Interfaces.FluidPort[n_ports]port (from NPort)

Components

TypeNameDefaultDescription
SI.VolumeV_actualVolume size
SI.MassmV_actual*oil.density(p_vol)Mass of fluid
SI.AbsolutePressurep_volPressure in the volume
OpenHydraulics.Fluids.BaseClasses.PartialFluidoil (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