modelAirChamber

Extends from Modelica.Mechanics.Translational.Interfaces.PartialCompliant (Compliant connection of two translational 1D flanges).

Parameters

TypeNameDefaultDescription
SI.AreaA1Area of piston
SI.AbsolutePressurep_precharge1e6precharge pressure
SI.VolumeV_precharge0.5initial precharge volume
SI.VolumeresidualVolume0Volume when chamber is fully compressed
RealstopStiffness1e9stiffness when piston reaches stop
Initialization
BooleaninitializePressuretruetrue = pressure; false = volume
SI.AbsolutePressurep_initInitial pressure
SI.VolumeV_initV_prechargeInitial volume

Connectors

TypeNameDefaultDescription
Flange_aflange_a (from PartialTwoFlanges)(left) driving flange (flange axis directed into cut plane, e. g. from left to right)
Flange_bflange_b (from PartialTwoFlanges)(right) driven flange (flange axis directed out of cut plane)

Components

TypeNameDefaultDescription
SI.Positions_rel (from PartialCompliant)Relative distance (= flange_b.s - flange_a.s)
SI.Forcef (from PartialCompliant)Force between flanges (positive in direction of flange axis R)
SI.AbsolutePressureppressure of air in chamber
SI.VolumeVVolume of air in chamber