pub struct LinDist3FlowPfInstance { /* private fields */ }Expand description
The calculation types used by solver consumers. The full problem
vocabulary lives in powerio_prob; these types sit at the facade root so
a consumer does not need a second PowerIO dependency to name its boundary.
Fixed-dispatch LinDist3Flow instance.
Generator/IBR active and reactive powers are fixed by nominal values or equal lower/upper bounds. Line thermal limits are monitored after a converged solve instead of entering the conic feasibility problem. Voltage and generator-capability selections remain active.
Implementations§
Source§impl LinDist3FlowPfInstance
impl LinDist3FlowPfInstance
Sourcepub fn from_network(
network: MulticonductorNetwork,
options: LinDist3FlowBuildOptions,
) -> Result<LinDist3FlowPfInstance, Error>
pub fn from_network( network: MulticonductorNetwork, options: LinDist3FlowBuildOptions, ) -> Result<LinDist3FlowPfInstance, Error>
Build a fixed-dispatch instance from a multiconductor network.
§Errors
As LinDist3FlowOpfInstance::from_network, or a generator/IBR states
a dispatch range rather than fixed active and reactive power.
Sourcepub fn from_mc_ac(
base: McAcOpfInstance,
options: LinDist3FlowBuildOptions,
) -> Result<LinDist3FlowPfInstance, Error>
pub fn from_mc_ac( base: McAcOpfInstance, options: LinDist3FlowBuildOptions, ) -> Result<LinDist3FlowPfInstance, Error>
Build from a multiconductor OPF container while discarding its objective and monitoring, rather than enforcing, conductor limits.
§Errors
As LinDist3FlowOpfInstance::from_mc_ac, or dispatch is not fixed.
Sourcepub fn from_formulation(
formulation: LinDist3FlowOpfInstance,
) -> Result<LinDist3FlowPfInstance, Error>
pub fn from_formulation( formulation: LinDist3FlowOpfInstance, ) -> Result<LinDist3FlowPfInstance, Error>
Restore a fixed-dispatch instance from its canonical formulation.
§Errors
The formulation carries an objective, enforces conductor limits, or contains dispatch ranges rather than fixed active/reactive powers.
Sourcepub const fn formulation(&self) -> &LinDist3FlowOpfInstance
pub const fn formulation(&self) -> &LinDist3FlowOpfInstance
The internal zero-objective formulation used by matrix builders.
pub fn network(&self) -> &MulticonductorNetwork
pub fn source_network(&self) -> &MulticonductorNetwork
pub const fn topology(&self) -> &LinDist3FlowTopology
pub const fn reference(&self) -> &LinDist3FlowReferenceState
pub const fn applicability(&self) -> &LinDist3FlowApplicability
pub const fn options(&self) -> LinDist3FlowBuildOptions
pub const fn preparation(&self) -> &LinDist3FlowPreparationReport
Trait Implementations§
Source§impl Clone for LinDist3FlowPfInstance
impl Clone for LinDist3FlowPfInstance
Source§fn clone(&self) -> LinDist3FlowPfInstance
fn clone(&self) -> LinDist3FlowPfInstance
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more