| SimElectronics™ | ![]() |
SPICE-Compatible Sources

The Sinusoidal Current Source block represents a damped sinusoidal current source whose output current is independent of the voltage across the terminals of the source. The following equations describe the current through the source as a function of time:

where:
I0 is the Current offset, IO parameter value.
IA is the Sinusoidal amplitude, IA parameter value.
FREQ is the Sinusoidal frequency, FREQ parameter value.
TD is the Time delay, TD parameter value.
DF is the Damping factor, DF parameter value.
The block uses a small conductance internally to prevent numerical simulation issues. The conductance connects the + and - ports of the device and has a conductance GMIN:
By default, GMIN matches the Minimum conductance GMIN parameter of the SPICE Environment Parameters block, whose default value is 1e–12.
To change GMIN, add a SPICE Environment Parameters block to your model and set the Minimum conductance GMIN parameter to the desired value.

The magnitude of the time-independent part of the output current. The default value is 0 A.
The magnitude of the sinusoidal part of the output current. The default value is 0 A.
The frequency of the output sine wave. The default value is 1e+06 Hz. The value can be less than 0.
The time at which the sine wave first starts. The default value is 0 s. The value can be less than 0.
The amount by which to amplify or reduce the exponential damping term that multiples the sine wave to produce the output current. The default value is 0 1/s. The value must be greater than or equal to 0.
The block has the following ports:
Positive electrical voltage.
Negative electrical voltage.
![]() | Shunt Motor | Sinusoidal Voltage Source | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |