electricpy.conversions.sequencez

electricpy.conversions.sequencez(Zabc, reference='A', resolve=False, diag=False, rounds=3)[source]

Sequence Impedance Calculator.

Accepts the phase (ABC-domain) impedances for a system and calculates the sequence (012-domain) impedances for the same system. If the argument resolve is set to true, the function will combine terms into the set of [Z0, Z1, Z2].

When resolve is False:

\[Z_{\text{012-M}}=A_{\text{012}}^{-1}Z_{\text{ABC}}A_{\text{012}}\]

When resolve is True:

\[Z_{\text{012}}=A_{\text{012}}Z_{\text{ABC}}A_{\text{012}}^{-1}\]
Parameters:
  • Zabc (numpy.array of complex) – 2-D (3x3) matrix of complex values representing the pharo impedance in the ABC-domain.

  • reference ({'A', 'B', 'C'}) – Single character denoting the reference, default=’A’

  • resolve (bool, optional) – Control argument to force the function to evaluate the individual sequence impedance [Z0, Z1, Z2], default=False

  • diag (bool, optional) – Control argument to force the function to reduce the matrix to its diagonal terms.

  • rounds (int, optional) – Integer denoting number of decimal places resulting matrix should be rounded to. default=3

Returns:

Z012 – 2-D (3x3) matrix of complex values representing the sequence impedance in the 012-domain

Return type:

numpy.array of complex

See also

seq_to_abc

Sequence to Phase Conversion

abc_to_seq

Phase to Sequence Conversion