modelCurrentSource

Interface for current sources

Extends from Modelica.Electrical.Analog.Icons.CurrentSource (Icon for current sources), OnePort (Component with two electrical pins p and n and current i from p to n).

Information

The CurrentSource partial model prepares current sources by providing the pins, and the offset and startTime parameters, which are the same at all current sources. The source behavior is taken from Modelica.Blocks signal sources by inheritance and usage of the replaceable possibilities.

Parameters

TypeNameDefaultDescription
SI.Currentoffset0Current offset
SI.TimestartTime0Time 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

Revisions

  • 1998 by Christoph Clauss
    initially implemented