Force step

A force step at a given time.

  • translational
  • Modelica Standard Library
  • 1 port
  • 3 parameters
BlockForce stepKindforceStepLibraryTranslational

Description

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)
In Gradara, select a Force step block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:Fixed (translational)MassSpringDamperSpring-damperConstant forcePosition sensorVelocity sensorAcceleration sensor (linear)Force sensorRelative position sensor

Ports

Conserving terminals 1

  • shaftflange

    Flange the force acts on.

Parameters

  • StepstepForce1 N

    Height of the step, in newtons. Negative values act as a load.

  • OffsetoffsetForce0 N

    Force before the step, in newtons.

  • Step timestartTime0.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.0Modelica.Mechanics.Translational.Sources.ForceStep
MSL documentation

See also

Select a block in Gradara and press F1 to open its page offline.