modelsinI

Sinusoidal current ramping source for Spice

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

Information

The sinusoidal current ramping source for Spice is built from two superposed sources, a sinusoidal source and a ramping source placed in parallel.


Parameters:

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

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

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

 rampTime:    Initial ramping period (default value = 0 sec)

 settleTime:  Initial settling period (default value = 0 sec)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.CurrentI1Amplitude of sine wave
Modelica.SIunits.FrequencyfreqHz1Frequency of sine wave
Modelica.SIunits.Currentoffset0Current offset
Modelica.SIunits.TimerampTime0Ramping period
Modelica.SIunits.TimesettleTime0Settling period

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