Function calc_impedance_rebase
pub fn calc_impedance_rebase(
value: f64,
from_voltage: f64,
from_power: f64,
to_voltage: f64,
to_power: f64,
order: RebaseOrder,
) -> f64Expand description
value taken from the per unit base (from_voltage, from_power) to the
base (to_voltage, to_power) when it is a per unit impedance, the factor
Z_base(from) / Z_base(to); with the bases swapped it takes a per unit
admittance from from to to. order picks the operation order
(RebaseOrder). The one per unit rebase: the SINCAL balanced
transformer’s series impedance, the PSS/E CM=2 magnetizing admittance
and the integrated transmission and distribution transformer lowering
read it.