Skip to main content

materialize_ac_ots_solution

Function materialize_ac_ots_solution 

Source
pub fn materialize_ac_ots_solution(
    module: &PioModule<PioValue>,
    solution: &AcOtsSolution,
) -> Result<PioModule<BalancedNetwork>, Error>
Expand description

The network an AC optimal transmission switching solution states: the final branch statuses, with the AC solution’s bus voltages, generator dispatch, and branch flows applied. Emit this network to write the solved case; the solution’s own network keeps the initial statuses. module is the module solution belongs to.

§Errors

A record the derived module cannot carry.