pub struct LinDist3FlowOpfInstance { /* 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.
Matrix-free LinDist3Flow OPF instance.
Implementations§
Source§impl LinDist3FlowOpfInstance
impl LinDist3FlowOpfInstance
Sourcepub fn from_network(
network: MulticonductorNetwork,
options: LinDist3FlowBuildOptions,
) -> Result<LinDist3FlowOpfInstance, Error>
pub fn from_network( network: MulticonductorNetwork, options: LinDist3FlowBuildOptions, ) -> Result<LinDist3FlowOpfInstance, Error>
Build a LinDist3Flow instance directly from a multiconductor network.
§Errors
Sourcepub fn from_mc_ac(
base: McAcOpfInstance,
options: LinDist3FlowBuildOptions,
) -> Result<LinDist3FlowOpfInstance, Error>
pub fn from_mc_ac( base: McAcOpfInstance, options: LinDist3FlowBuildOptions, ) -> Result<LinDist3FlowOpfInstance, Error>
Compile formulation semantics from a multiconductor AC OPF instance.
§Errors
The applicability report contains an error, or the selected voltage reference is absent, incomplete, non-finite, or zero magnitude.
pub fn base_instance(&self) -> &McAcOpfInstance
pub fn 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
Trait Implementations§
Source§impl Clone for LinDist3FlowOpfInstance
impl Clone for LinDist3FlowOpfInstance
Source§fn clone(&self) -> LinDist3FlowOpfInstance
fn clone(&self) -> LinDist3FlowOpfInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinDist3FlowOpfInstance
impl Debug for LinDist3FlowOpfInstance
Source§impl From<LinDist3FlowOpfInstance> for PioValue
impl From<LinDist3FlowOpfInstance> for PioValue
Source§fn from(value: LinDist3FlowOpfInstance) -> Self
fn from(value: LinDist3FlowOpfInstance) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinDist3FlowOpfInstance
impl RefUnwindSafe for LinDist3FlowOpfInstance
impl Send for LinDist3FlowOpfInstance
impl Sync for LinDist3FlowOpfInstance
impl Unpin for LinDist3FlowOpfInstance
impl UnsafeUnpin for LinDist3FlowOpfInstance
impl UnwindSafe for LinDist3FlowOpfInstance
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more