model SimplePlunger
import HydraulicsByFluidon.Media.Base.FluidInterface;
import SI = Modelica.SIunits;
extends PartialCylinder;
equation
fHydA = pA * areaRodB;
fHydB = environment.pAmbient * areaRodB;
mFluid = stroke * areaA * rhoA;
volumeA = stroke * areaA + (cylinderLength - stroke) * areaB + deadVolume;
annotation (
defaultComponentName = "simplePlunger",
Documentation(info = "<html>\n <p>\n Simple model of a plunger cylinder with Stribeck friction, gravitational forces\n and consideration of dynamic fluid mass.\n </p>\n </html>"));
end SimplePlunger;