Skip to main content

ac_ots_solution

Function ac_ots_solution 

Source
pub fn ac_ots_solution(
    module: &PioModule<PioValue>,
    instance: &AcOtsInstance,
    branch_closed: Vec<bool>,
    ac_solution: AcOpfSolution,
) -> Result<PioModule<AcOtsSolution>, Error>
Expand description

Attach the AC optimal power flow solution of instance’s fixed-topology problem (AcOtsSolution::new). module is the module instance belongs to; its records carry over to the result.

§Errors

As AcOtsSolution::new.