modelExpSineCurrent

Damped sinusoidal current source of analog electrical library

Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).

Information

The damped sinusoidal current source is built in bondgraphic technology from a bond graph expsinSf element, a 1-junction, and three bonds. A-causal bonds must be used except at the source, because the causality depends on the embedding of the current source in its environment.


Parameters:

 I:          Amplitude of source current (default value = 1 Amp)

 phase:      Phase of damped sine wave to be generated (default value = 0 rad)

 freqHz:     Frequency of damped sine wave to be generated (default value = 2 Hz)

 damping:    Damping coefficient of damped sine wave to be generated (default value = 1 Hz)

 offset:     Offset of sine wave to be generated (default value = 0 Amp)

 startTime:  Start time of sine wave to be generated (default value = 0 sec)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.CurrentI1Amplitude of sine wave
Modelica.SIunits.Anglephase0Phase of sine wave
Modelica.SIunits.FrequencyfreqHz2Frequency of sine wave
Modelica.SIunits.Dampingdamping1Damping coefficient of sine wave
Modelica.SIunits.Currentoffset0Current offset
Modelica.SIunits.TimestartTime0Time offset

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePort)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePort)Current flowing from pin p to pin n