pub fn to_ac_ots_instance(
module: &PioModule<PioValue>,
) -> Result<PioModule<AcOtsInstance>, Error>Expand description
Construct an AC optimal transmission switching calculation with the
default switching options: every initially in-service branch may switch,
at zero cost, with no budget, no islands, and no current limits, and the
objective gains the switching cost term. The module holds a balanced
network (the AC optimal power flow base is
AcOpfInstance::from_network)
or an AC optimal power flow calculation. An AC optimal transmission
switching module comes back unchanged.
ยงErrors
A value of another kind, or a base the defaults cannot build on.