pub struct QvCurve {
pub bus: usize,
pub points: Vec<QvPoint>,
pub nose: Option<QvNose>,
pub status: QvStatus,
pub base_voltage: f64,
pub failed: Vec<f64>,
pub already_controlled: bool,
}Expand description
A bus’s Q-V curve.
Fields§
§bus: usize§points: Vec<QvPoint>Converged samples, in sweep order (highest setpoint first).
nose: Option<QvNose>§status: QvStatus§base_voltage: f64The bus’s voltage in the base case, for context: a curve is read relative to where the bus actually sits.
failed: Vec<f64>Setpoints that did not converge. Worth seeing — a gap in the middle of a curve is a different thing from a run of failures at the bottom.
already_controlled: boolThe bus was already voltage-controlled, so the curve describes moving an
existing machine’s setpoint rather than adding a condenser, and q
includes what that machine was already producing.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QvCurve
impl RefUnwindSafe for QvCurve
impl Send for QvCurve
impl Sync for QvCurve
impl Unpin for QvCurve
impl UnsafeUnpin for QvCurve
impl UnwindSafe for QvCurve
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