pub struct IslandPtdf {
pub island_label: usize,
pub bus_indices: Vec<usize>,
pub branch_indices: Vec<usize>,
pub ptdf: CsMat<f64>,
}Expand description
PTDF rows and columns for one connected component of a network.
ptdf has shape (branch_indices.len(), bus_indices.len()). The index
vectors map its local rows and columns back to the source IndexedNetwork:
branch indices refer to case.branches(), and bus indices are dense bus
indices. Only in-service branches accepted by the DC incidence builder are
included. island_label is the representative dense bus index returned by
IndexedNetwork::calc_island_labels.
Fields§
§island_label: usizeRepresentative dense bus index identifying this connected component.
bus_indices: Vec<usize>Dense source-network bus indices in local PTDF column order.
branch_indices: Vec<usize>Source-network branch indices in local PTDF row order.
ptdf: CsMat<f64>Component-local PTDF matrix, with local branches by local buses.
Trait Implementations§
Source§impl Clone for IslandPtdf
impl Clone for IslandPtdf
Auto Trait Implementations§
impl Freeze for IslandPtdf
impl RefUnwindSafe for IslandPtdf
impl Send for IslandPtdf
impl Sync for IslandPtdf
impl Unpin for IslandPtdf
impl UnsafeUnpin for IslandPtdf
impl UnwindSafe for IslandPtdf
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