Skip to main content

apply_angle_reference

Function apply_angle_reference 

Source
pub fn apply_angle_reference(
    angles: &mut [f64],
    network: &Network,
    reference_bus_idx: usize,
    reference_angle0_rad: f64,
    mode: AngleReference,
)
Expand description

Apply an output angle reference convention to all buses in the network.