Skip to main content

calc_phase_matrix_from_sequence

Function calc_phase_matrix_from_sequence 

Source
pub fn calc_phase_matrix_from_sequence(
    diagonal: [Complex64; 3],
    rotation: SequenceRotation,
) -> [[Complex64; 3]; 3]
Expand description

The three phase matrix A diag(d₀, d₁, d₂) A⁻¹ of an element whose sequence networks are uncoupled, with sequence values diagonal = [d₀, d₁, d₂] (impedances or admittances), under rotation. For an operator whose inverse is conj(A)ᵀ / 3 entry (i, j) is (d₀ + d₁ f + d₂ conj(f)) / 3 with f = p_i conj(p_j) and p = [1, a², a]; for SequenceRotation::OpenDssMathutil it is Σₛ A_is dₛ A⁻¹_sj over its exact inverse. The one sequence diagonal to phase expansion: the SINCAL multiconductor transformer ports (SequenceRotation::Rectangular) and the OpenDSS IndMach012a motor (SequenceRotation::OpenDssMathutil) read it.