pub fn to_dc_pf_instance(
module: &PioModule<PioValue>,
) -> Result<PioModule<DcPfInstance>, Error>Expand description
Construct a DC power flow calculation from a balanced network module. Module diagnostics, source descriptions, provenance, and prior history are preserved. Retained source bytes and value locators are cleared because they describe the network rather than the calculation instance.