Current Source AC

Purpose

Generate sinusoidal current

Library

Electrical / Sources

Description

../../_images/i_ac.svg

The AC Current Source generates a sinusoidal current between its two electrical terminals. The direction of a positive current is marked with an arrow. The momentary current \(i\) is determined by the equation:

\[i = A \cdot \sin(\omega \cdot t + \varphi)\]

where \(t\) is the simulation time.

If a variable-step solver is used, the solver step size is automatically limited to ensure that a smooth current waveform is produced.

Note

A current source may not be open-circuited or connected in series to an inductor or any other current source.

Parameters

Each of the following parameters may either be a scalar or a vector corresponding to the implicit width of the component:

Amplitude

The amplitude \(A\) of the current, in amperes \((\mathrm{A})\). The default is 1.

Frequency

The angular frequency \(\omega\), in radians per second \(\left( \frac{\mathrm{rad}}{\mathrm{s}} \right)\). The default is 2*pi*50 which corresponds to \(50\,\mathrm{Hz}\).

Phase

The phase shift \(\varphi\), in radians. The default is 0.

Probe Signals

Source current

The source current in amperes \((\mathrm{A})\).

Source voltage

The voltage measured across the source, in volts \((\mathrm{V})\).

Source power

The instantaneous output power of the source, in watts \((\mathrm{W})\).