electricpy.conversions.seq_to_phs

electricpy.conversions.seq_to_phs(M012, reference='A')

Sequence-System to Phase-System Conversion.

Converts sequence-based values to phase components.

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

Same as seq_to_phs.

Parameters:
M012 : list of complex

Sequence-based values to convert.

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

Single character denoting the reference, default=’A’

Returns:

Mabc – Phase-based values in order of A-B-C

Return type:

numpy.array

See also

abc_to_seq

Phase to Sequence 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),
... ]
>>> seq_quantities = conv.abc_to_seq(abc_matrix)
>>> # Will return a list approximately equal to: [0+0j, 167+0j, 0+0j]
>>> phs_quantities = conv.seq_to_abc(seq_quantities)
>>> # Returned Phase Quantities will Approximately Equal the Original Values