pub enum KeyBasis {
Explicit,
Capability,
Uniform,
}Expand description
How the shares were arrived at, so a reader can tell a considered split from an even one.
The fallback is wholesale, not per machine: one implausible capability
discards the whole basis rather than leaving a mixture of two rules, which
is what references/powsybl-open-loadflow’s Control.createReactiveKeys
does and for the same reason — a split half-derived from capability and half
from nothing is harder to defend than either.
Variants§
Explicit
The document stated a share for every machine.
Capability
Proportional to each machine’s own reactive range.
Uniform
Equal shares — no usable capability, so nothing distinguishes them.
Trait Implementations§
impl Copy for KeyBasis
impl Eq for KeyBasis
Source§impl Ord for KeyBasis
impl Ord for KeyBasis
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for KeyBasis
impl PartialOrd for KeyBasis
impl StructuralPartialEq for KeyBasis
Auto Trait Implementations§
impl Freeze for KeyBasis
impl RefUnwindSafe for KeyBasis
impl Send for KeyBasis
impl Sync for KeyBasis
impl Unpin for KeyBasis
impl UnsafeUnpin for KeyBasis
impl UnwindSafe for KeyBasis
Blanket Implementations§
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,
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