modelPressureSensor

Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).

Parameters

TypeNameDefaultDescription
BooleanabsolutetrueMeasure absolute pressure if true
Initialization › Fluid
SI.AbsolutePressurep_init (from PartialFluidComponent)environment.p_ambientInitial temperature of the component
Advanced
SI.VolumeV0Volume for non-ideal pressure sensor

Connectors

TypeNameDefaultDescription
OpenHydraulics.Interfaces.FluidPortport_a
Modelica.Blocks.Interfaces.RealOutputy

Components

TypeNameDefaultDescription
OpenHydraulics.Fluids.BaseClasses.PartialFluidoil (from PartialFluidComponent)This model must be defined in each circuit; the type must be a subtype of PartialFluid
Basic.VolumeClosedvolumeClosed