modelVolumeClosed

A constant compressible volume

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

Parameters

TypeNameDefaultDescription
Sizing
SI.VolumeV1e-6Nominal volume size (at atmospheric pressure)
Booleancompressibletrue=true if encclosure volume depends on pressure
SI.BulkModulusvolBulkMod1e7Bulk Modulus of the enclosure
Integern_ports (from NPort)Number of ports (min=1)
Initialization › Fluid
SI.AbsolutePressurep_init (from PartialFluidComponent)environment.p_ambientInitial temperature 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