Function calc_impedance_base
pub fn calc_impedance_base(voltage: f64, power: f64) -> Option<f64>Expand description
The impedance base V² / S of a voltage base and a power base in
consistent units (volts and volt amperes give ohms, kilovolts and
megavolt amperes give ohms as well). None unless both bases are
positive and finite and the quotient is finite; the caller states what an
unusable base means for its own quantity. The same quantity as
calc_branch_impedance_base with one voltage at both ends.