Skip to main content

to_ac_ots_instance_with_options

Function to_ac_ots_instance_with_options 

Source
pub fn to_ac_ots_instance_with_options(
    module: &PioModule<PioValue>,
    options: AcOtsOptions,
) -> Result<PioModule<AcOtsInstance>, Error>
Expand description

Construct, or reconfigure, an AC optimal transmission switching calculation with explicit switching options. The module holds a balanced network, an AC optimal power flow calculation, or an AC optimal transmission switching calculation, whose base problem and objective are kept and whose options are replaced. The objective gains the switching cost term once.

ยงErrors

A value of another kind, or options AcOtsInstance::new refuses.