# Current Source

Ideal three-phase current source

Sources

## Description

The Current Source block models an ideal three-phase current source that maintains sinusoidal currents of the specified magnitude through its terminals, independent of the voltage across the source.

The output current is defined by the following equations:

`${I}_{0}=\sqrt{2}{i}_{phase_rms}$`
`${i}_{a}={I}_{0}\mathrm{sin}\left(2\pi ft+\phi \right)$`
`${i}_{b}={I}_{0}\mathrm{sin}\left(2\pi ft+\phi -{120}^{\circ }\right)$`
`${i}_{c}={I}_{0}\mathrm{sin}\left(2\pi ft+\phi +{120}^{\circ }\right),$`

where:

• I0 is the peak phase current.

• iphase_rms is the RMS phase current.

• ia, ib, ic are the respective phase currents.

• f is the frequency.

• φ is the phase shift.

• t is the time.

The arrow indicates the positive direction of the current flow. The source has a wye configuration, and port n provides a connection to the center of the wye. Port `~` is an expandable three-phase port representing the three phases, a, b, and c.

## Parameters

Current (phase RMS)

RMS phase current. The default value is `100/sqrt(2)`, or 70.7107, `A`.

Phase shift

Phase shift in angular units. The default value is `0` `deg`.

Frequency

Current frequency, specified in Hz or units directly convertible to Hz (where Hz is defined as 1/s). For example, `kHz` and `MHz` are valid units, but `rad/s` is not. The default value is `60` `Hz`.

## Ports

The block has the following ports:

`~`

Expandable three-phase port

`n`

Electrical conserving port associated with the center of the wye