#[non_exhaustive]pub struct IncidenceParts {
pub a: CsMat<f64>,
pub b: Vec<f64>,
pub p_shift: Vec<f64>,
pub branch_of_col: Vec<usize>,
}Expand description
The incidence factorization of a case under one DC convention.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.a: CsMat<f64>Signed incidence A, shape n × m.
b: Vec<f64>Branch susceptances b_e, length m.
p_shift: Vec<f64>Phase shift bus injection, length n. All zeros unless the MATPOWER
convention is used and shifters are present.
branch_of_col: Vec<usize>Column k → index into case.branches.
Implementations§
Trait Implementations§
Source§impl Clone for IncidenceParts
impl Clone for IncidenceParts
Source§fn clone(&self) -> IncidenceParts
fn clone(&self) -> IncidenceParts
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 IncidenceParts
impl RefUnwindSafe for IncidenceParts
impl Send for IncidenceParts
impl Sync for IncidenceParts
impl Unpin for IncidenceParts
impl UnsafeUnpin for IncidenceParts
impl UnwindSafe for IncidenceParts
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