pub fn correct_angle_difference_bounds(
angle_min: f64,
angle_max: f64,
) -> (f64, f64)Expand description
Correct one branch angle difference interval using the same ±60 degree
rule as PowerModels’ correct_voltage_angle_differences!.
A lower bound at or below −90 degrees becomes −60 degrees, an upper bound at or above 90 degrees becomes 60 degrees, and the MATPOWER 0/0 spelling becomes ±60 degrees. If correcting one side would invert the interval, the result is also ±60 degrees. Inputs and outputs are radians.