Skip to main content

calc_transformer_winding_admittance

Function calc_transformer_winding_admittance 

Source
pub fn calc_transformer_winding_admittance(
    transformer: &DistTransformer,
) -> Result<Option<Vec<Vec<Complex<f64>>>>, Error>
Expand description

The winding domain admittance Y_1Volt of a multiwinding transformer, siemens at a one volt winding base (OpenDSS CalcY_Terminal): the pairwise nameplate leakage impedances of calc_transformer_leakage_impedances scaled by phases / S_1, reduced against the last winding (calc_reduced_leakage), inverted, and lifted back through the winding difference incidence A (row i is u_i - u_n): Y_1Volt = Aᵀ ZB⁻¹ A. A two winding unit reduces to y · [[1, -1], [-1, 1]]. None when the reduced matrix is exactly singular or not finite: one volt base impedances of high rating units sit far below any fixed pivot threshold, so only exact singularity is refused.

§Errors

The leakage data calc_transformer_leakage_impedances refuses, or a phase count of zero.