modelRampCurrent

Ramp current source

Extends from Interfaces.CurrentSource (Interface for current sources).

Information

This current source uses the corresponding signal source of the Modelica.Blocks.Sources package. Care for the meaning of the parameters in the Blocks package. Furthermore, an offset parameter is introduced, which is added to the value calculated by the blocks source. The startTime parameter allows to shift the blocks source behavior on the time axis.

RampCurrent.png

Parameters

TypeNameDefaultDescription
SI.CurrentIHeight of ramp
SI.TimedurationDuration of ramp
SI.Currentoffset (from CurrentSource)0Current offset
SI.TimestartTime (from CurrentSource)0Time offset

Connectors

TypeNameDefaultDescription
PositivePinp (from TwoPin)Positive electrical pin
NegativePinn (from TwoPin)Negative electrical pin

Components

TypeNameDefaultDescription
SI.Voltagev (from TwoPin)Voltage drop of the two pins (= p.v - n.v)
SI.Currenti (from OnePort)Current flowing from pin p to pin n
Modelica.Blocks.Interfaces.SignalSourcesignalSource (from CurrentSource)

Revisions

  • 1998 by Christoph Clauss
    initially implemented