#[non_exhaustive]pub struct BusSubset {
pub network: BalancedNetwork,
pub bus_rows: Vec<Option<usize>>,
pub load_rows: Vec<Option<usize>>,
pub shunt_rows: Vec<Option<usize>>,
pub static_var_compensator_rows: Vec<Option<usize>>,
pub branch_rows: Vec<Option<usize>>,
pub switch_rows: Vec<Option<usize>>,
pub generator_rows: Vec<Option<usize>>,
pub storage_rows: Vec<Option<usize>>,
pub hvdc_rows: Vec<Option<usize>>,
pub transformer_3w_rows: Vec<Option<usize>>,
pub area_rows: Vec<Option<usize>>,
}Expand description
A bus cut and its source-to-result row maps.
Each map has one entry per row of the corresponding source table.
Some(row) is a zero-based row in network; None means the source row
was removed. Bus IDs and component identities are preserved, not renumbered.
A dead winding’s retained stub has a bus row, but its excluded injections
have no result row. Service status does not otherwise filter the cut.
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.network: BalancedNetwork§bus_rows: Vec<Option<usize>>§load_rows: Vec<Option<usize>>§shunt_rows: Vec<Option<usize>>§static_var_compensator_rows: Vec<Option<usize>>§branch_rows: Vec<Option<usize>>§switch_rows: Vec<Option<usize>>§generator_rows: Vec<Option<usize>>§storage_rows: Vec<Option<usize>>§hvdc_rows: Vec<Option<usize>>§transformer_3w_rows: Vec<Option<usize>>§area_rows: Vec<Option<usize>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for BusSubset
impl RefUnwindSafe for BusSubset
impl Send for BusSubset
impl Sync for BusSubset
impl Unpin for BusSubset
impl UnsafeUnpin for BusSubset
impl UnwindSafe for BusSubset
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