modelV_sin

Sinusoidal voltage source

Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n).

Information

Damped sinusoidal source

Note

  • All parameters of sources should be set explicitly.
  • since TSTEP and TSTOP are not available for modeling in Modelica, differences to SPICE may occur if not all parameters are set.

Parameters

TypeNameDefaultDescription
SI.VoltageVO0.0Offset
SI.VoltageVA0.0Amplitude
SI.FrequencyFREQFrequency
SI.TimeTD0.0Delay
SI.DampingTHETA0.0Damping factor

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