electricpy.conversions.phs_to_seq

electricpy.conversions.phs_to_seq(Mabc, reference='A')

Phase-System to Sequence-System Conversion.

Converts phase-based values to sequence components.

\[M_{\text{012}}=A_{\text{012}}\cdot M_{\text{ABC}}\]

Same as phs_to_seq.

Parameters:
Mabc : list of complex

Phase-based values to be converted.

reference : {'A', 'B', 'C'}

Single character denoting the reference, default=’A’

Returns:

M012 – Sequence-based values in order of 0-1-2

Return type:

numpy.array

See also

seq_to_abc

Sequence to Phase Conversion

sequence

Phase Impedance to Sequence Converter

Examples

>>> import electricpy as ep
>>> import electricpy.conversions as conv
>>> abc_matrix = [
...     ep.phasor(167, 0),
...     ep.phasor(167, -120),
...     ep.phasor(167, -240),
... ]
>>> conv.abc_to_seq(abc_matrix)
>>> # Will return a list approximately equal to: [0+0j, 167+0j, 0+0j]