Skip to main content

calc_impedance_from_ratio

Function calc_impedance_from_ratio 

pub fn calc_impedance_from_ratio(
    magnitude: f64,
    ratio: f64,
    form: ImpedanceRatioForm,
) -> (f64, f64)
Expand description

The resistance and reactance (R, X) of an impedance of magnitude magnitude with the given R / X or X / R ratio, split as form states over calc_impedance_ratio_divisor. The one impedance from a magnitude and a ratio: the SINCAL multiconductor transformer, source and rated shunt readers and the OpenDSS source’s short circuit impedance read it.