blockReferencePosition

Source of reference position

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Information

Define reference position:

  • Constant
  • Step
  • Sine
  • Pulse
  • Sawtooth
  • trapezoid

Parameters

TypeNameDefaultDescription
RefPosrefPosMagLev.Types.RefPos.Constant
SI.Positionoffset-0.02Offset
SI.Lengthamplitude0.005Amplitude
SI.TimestartTimeif refPos == RefPos.Step then 0.5 else 0.25Output y = offset for time < startTime
SI.Frequencyf2Frequency resp. ramp duration

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Sources.Rampramp
Modelica.Blocks.Sources.Sinesine
Modelica.Blocks.Sources.Pulsepulse
Modelica.Blocks.Sources.SawToothsawTooth
Modelica.Blocks.Sources.Trapezoidtrapezoid