pub struct DcAnalysisResult {
pub power_flow: DcPfSolution,
pub monitored_branch_indices: Vec<usize>,
pub ptdf: PtdfRows,
pub ptdf_bus_indices: Vec<usize>,
pub otdf: Option<OtdfResult>,
pub otdf_outage_branch_indices: Vec<usize>,
pub otdf_bus_indices: Vec<usize>,
pub lodf: Option<LodfResult>,
pub lodf_outage_branch_indices: Vec<usize>,
pub n2_lodf: Option<N2LodfBatchResult>,
pub n2_outage_pairs: Vec<(usize, usize)>,
}Expand description
Result of the canonical one-pass DC sensitivity workflow.
Fields§
§power_flow: DcPfSolutionBase DC power flow solution for the requested slack policy.
monitored_branch_indices: Vec<usize>Monitored branch set used by PTDF / LODF / N-2 outputs.
ptdf: PtdfRowsPTDF rows in monitored-branch order.
ptdf_bus_indices: Vec<usize>Bus order for ptdf.
otdf: Option<OtdfResult>Optional monitored-by-outage-by-bus OTDF tensor.
otdf_outage_branch_indices: Vec<usize>Outage order for otdf, when present.
otdf_bus_indices: Vec<usize>Bus order for otdf, when present.
lodf: Option<LodfResult>Optional rectangular monitored-by-outage LODF matrix.
lodf_outage_branch_indices: Vec<usize>Column order for lodf, when present.
n2_lodf: Option<N2LodfBatchResult>Optional monitored-by-outage-pair N-2 matrix.
n2_outage_pairs: Vec<(usize, usize)>Column order for n2_lodf, when present.
Trait Implementations§
Source§impl Clone for DcAnalysisResult
impl Clone for DcAnalysisResult
Source§fn clone(&self) -> DcAnalysisResult
fn clone(&self) -> DcAnalysisResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DcAnalysisResult
impl RefUnwindSafe for DcAnalysisResult
impl Send for DcAnalysisResult
impl Sync for DcAnalysisResult
impl Unpin for DcAnalysisResult
impl UnsafeUnpin for DcAnalysisResult
impl UnwindSafe for DcAnalysisResult
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more