Sinusoidal Current Source
A sinusoidal current source with attenuation.
blockType: AcausalElectricPowerSystems.SPICE.Sources.SinusoidalCurrent
Path in the library:
|
Description
The Sinusoidal Current Source block is a sinusoidal current source whose output current is independent of the voltage at the source terminals. The following equations describe the current through the source as a function of time:
where
-
- corresponds to the value of the parameter Current offset, IO;
-
- corresponds to the value of the parameter Sinusoidal amplitude, IA;
-
- corresponds to the value of the parameter Sinusoidal frequency, FREQ;
-
- corresponds to the value of the Time delay parameter, TD;
-
- corresponds to the Damping factor, DF parameters.
To prevent problems in numerical modelling, the block uses a small internal conductor. The conductor connects the + and - terminals of the device and has the conductivity GMIN:
By default, the value of GMIN is 1e-12 1/ohm.
Ports
Conserving
#
+
—
positive terminal
scalar
Details
An electrical port connected to the positive terminal of a sinusoidal current source.
| Program usage name |
|
#
-
—
negative terminal
scalar
Details
An electrical port connected to the negative terminal of a sinusoidal current source.
| Program usage name |
|
Parameters
Parameters
#
Current offset, IO —
current offset
A | pA | nA | uA | mA | kA | MA
Details
Current offset, independent of time.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Sinusoidal amplitude, IA —
sinusoidal amplitude
A | pA | nA | uA | mA | kA | MA
Details
The amplitude of the sinusoidal part of the output current.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Sinusoidal frequency, FREQ —
sinusoidal frequency
Hz | kHz | MHz | GHz
Details
The frequency of the sinusoidal part of the output current. The value may be less than 0.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Time delay, TD —
sinusoidal delay time
s | ns | us | ms | min | hr | d
Details
The start time of a sine wave. A value less than 0 indicates a 180 degree phase shift.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Damping factor, DF —
damping factor
Hz | kHz | MHz | GHz | 1/s
Details
The exponential damping factor of a sinusoidal signal to produce an output voltage. If DF is greater than 0, the exponential part of the equation always dampens for a time greater than TD. The value must be greater than or equal to 0.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Include parallel conductance, GMIN — parallel conduction inclusion
Details
Specify whether the current source includes parallel conductivity. By default, the parallel conductivity value GMIN is 1e-12 1/ohm.
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |