Function calc_branch_impedance_base
pub fn calc_branch_impedance_base(
from_voltage: f64,
to_voltage: f64,
power: f64,
) -> Option<f64>Expand description
The impedance base V₁ V₂ / S of a branch between two voltage bases at
a power base, formed as from_voltage · to_voltage / power, in
consistent units: the base on which a line joining two nominal voltages
(an IIDM line between voltage levels) states its per unit series
impedance. With from_voltage == to_voltage it is
calc_impedance_base. None unless all three bases are positive and
finite and the quotient is positive and finite.