modelMassWithGravity

Extends from Modelica.Blocks.Interfaces.BlockIcon.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Massm0.005Mass of body connected to spring
Modelica.SIunits.Positionx02Initial position of mass over ground

Components

TypeNameDefaultDescription
Modelica.Mechanics.Translational.Components.Massmass
Modelica.Mechanics.Translational.Sources.Forceforce
Modelica.Blocks.Sources.RealExpressiongravity
Utilities.TransFlangeToSflangeToS
Modelica.Blocks.Interfaces.RealOutputxFlange moves with position s due to force f
Modelica.Blocks.Interfaces.RealOutputvFlange moves with speed v due to force f
Modelica.Blocks.Interfaces.RealInputfForce to drive the flange