Skip to main content

calc_squared_voltage_impedance

Function calc_squared_voltage_impedance 

pub fn calc_squared_voltage_impedance<T>(voltage_squared: f64, power: T) -> T
where f64: Div<T, Output = T>,
Expand description

The impedance V² / S that draws the power power at a voltage whose squared magnitude is voltage_squared, formed as voltage_squared / power, for a real or a complex power (|V|² / conj(S) takes conj(S)). With an impedance in place of the power it is the power that impedance draws, the same quotient. Unchecked: the caller states what an unusable voltage or power means. The one voltage squared over a power: calc_branch_impedance_base (over V₁ V₂), the distribution ZIP coefficient and nominal power conversions and the OpenDSS rated reactor read it.