pub struct StatedBusFlags(/* private fields */);Expand description
Equipment at a bus that a stated-state residual is commonly traced to.
A set of named bits; combine them with |.
Implementations§
Source§impl StatedBusFlags
impl StatedBusFlags
Sourcepub const GENERATOR_ON_PQ_BUS: Self
pub const GENERATOR_ON_PQ_BUS: Self
An in service generator on a bus the case types as PQ.
Sourcepub const MERGED_GROUP: Self
pub const MERGED_GROUP: Self
The bus that survived a bus merge
(StatedStateOptions::merged_buses).
Sourcepub const VOLTAGE_DEPENDENT_LOAD: Self
pub const VOLTAGE_DEPENDENT_LOAD: Self
An in service load with a constant current or constant impedance part, or an exponential voltage model.
Sourcepub const SWITCHED_SHUNT: Self
pub const SWITCHED_SHUNT: Self
An in service switched shunt.
Sourcepub const LOW_IMPEDANCE_BRANCH: Self
pub const LOW_IMPEDANCE_BRANCH: Self
A terminal of an in service branch or winding whose series impedance
magnitude is below StatedStateOptions::low_impedance_threshold. The
flow such a branch carries is the small difference of two stored
voltages divided by a small impedance, so the rounding of the stored
values alone can leave a residual here.
Sourcepub const fn intersects(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
Whether any flag in other is set.
Trait Implementations§
Source§impl BitOr for StatedBusFlags
impl BitOr for StatedBusFlags
Source§impl BitOrAssign for StatedBusFlags
impl BitOrAssign for StatedBusFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for StatedBusFlags
impl Clone for StatedBusFlags
impl Copy for StatedBusFlags
Source§impl Debug for StatedBusFlags
impl Debug for StatedBusFlags
Source§impl Default for StatedBusFlags
impl Default for StatedBusFlags
impl Eq for StatedBusFlags
Source§impl Hash for StatedBusFlags
impl Hash for StatedBusFlags
Source§impl PartialEq for StatedBusFlags
impl PartialEq for StatedBusFlags
impl StructuralPartialEq for StatedBusFlags
Auto Trait Implementations§
impl Freeze for StatedBusFlags
impl RefUnwindSafe for StatedBusFlags
impl Send for StatedBusFlags
impl Sync for StatedBusFlags
impl Unpin for StatedBusFlags
impl UnsafeUnpin for StatedBusFlags
impl UnwindSafe for StatedBusFlags
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate 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
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.