pub struct MachineDispatch {
pub id: String,
pub at_bus: usize,
pub controls_bus: usize,
pub q: f64,
pub q_min: f64,
pub q_max: f64,
pub at_limit: bool,
pub share: f64,
}Expand description
One machine’s share of the reactive power its bus produced.
Fields§
§id: StringThe source document’s own identifier.
at_bus: usize§controls_bus: usize§q: f64The allocated reactive output, per-unit.
q_min: f64§q_max: f64§at_limit: boolThis machine is at one of its own limits — which the bus-level clamp cannot tell you, because the bus may be well inside its summed range while this machine sits on the edge of its own.
Its normalized share of the split, before limits were applied.
Trait Implementations§
Source§impl Clone for MachineDispatch
impl Clone for MachineDispatch
Source§impl Debug for MachineDispatch
impl Debug for MachineDispatch
Source§impl PartialEq for MachineDispatch
impl PartialEq for MachineDispatch
impl StructuralPartialEq for MachineDispatch
Auto Trait Implementations§
impl Freeze for MachineDispatch
impl RefUnwindSafe for MachineDispatch
impl Send for MachineDispatch
impl Sync for MachineDispatch
impl Unpin for MachineDispatch
impl UnsafeUnpin for MachineDispatch
impl UnwindSafe for MachineDispatch
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