pub struct DcIslandReport {
pub bus_indices: Vec<usize>,
pub slack_indices: Vec<usize>,
pub status: DcIslandStatus,
pub slack_pickup: f64,
}Expand description
One connected component’s DC outcome.
Fields§
§bus_indices: Vec<usize>§slack_indices: Vec<usize>The Slack bus(es) found in this component before
mark_unreferenced_islands ran — empty for
NoReferenceBus.
status: DcIslandStatus§slack_pickup: f64Total active power this island’s reference bus(es) supply, per-unit.
Equal and opposite to the sum of every other bus’s injection, since
DC is lossless — which is what
slack_pickup_balances_injections_exactly asserts.
Trait Implementations§
Source§impl Clone for DcIslandReport
impl Clone for DcIslandReport
Auto Trait Implementations§
impl Freeze for DcIslandReport
impl RefUnwindSafe for DcIslandReport
impl Send for DcIslandReport
impl Sync for DcIslandReport
impl Unpin for DcIslandReport
impl UnsafeUnpin for DcIslandReport
impl UnwindSafe for DcIslandReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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,
impl<T, U> Imply<T> for U
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