modelVoltageSource

Interface for voltage sources

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

Information

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

Parameters

TypeNameDefaultDescription
SI.Voltageoffset0Voltage 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