Force step
A force step at a given time.
- translational
- Modelica Standard Library
- 1 port
- 3 parameters
forceStepLibraryTranslationalDescription
Applies an offset force that steps up by a fixed amount at the step time.
Example
Mass, spring, and damper Two 1 kg masses on 100 N/m springs and 2 N·s/m dampers, pushed by 1 N, with every translational sensor.
Force step 1 NApplied forceMass 1 kgSpring-damperWallPositionVelocityAccelerationForce 1 NMass 1 kg (lower)Spring 100 N/mDamper 2 N·s/mWall (lower)Spring compressionPosition (lower)
Also in this example:Fixed (translational)MassSpringDamperSpring-damperConstant forcePosition sensorVelocity sensorAcceleration sensor (linear)Force sensorRelative position sensor
Ports
Conserving terminals 1
-
shaft
flangeFlange the force acts on.
Parameters
-
Step
stepForce1 NHeight of the step, in newtons. Negative values act as a load.
-
Offset
offsetForce0 NForce before the step, in newtons.
-
Step time
startTime0.5 s≥ 0
Time of the step, in seconds.
Equations
Modelica
F = offsetForce + (0 for time < startTime, stepForce afterward) flange.f = −F
Implementation
Modelica Standard Library 4.1.0
MSL documentation Modelica.Mechanics.Translational.Sources.ForceStepSee also
Select a block in Gradara and press F1 to open its page offline.