pub struct QvOptions {
pub pf: PowerFlowOptions,
pub v_max: f64,
pub v_min: f64,
pub step: f64,
pub refine: bool,
}Expand description
Everything a Q-V sweep needs to know.
Fields§
§pf: PowerFlowOptionsThe solve at every point. method must be NewtonRaphson.
v_max: f64Highest setpoint to try, per-unit.
v_min: f64Lowest. The nose is typically well above 0.4 on a healthy bus; a bus
whose curve is still falling at v_min reports NoseNotReached rather
than pretending the last sample is a minimum.
step: f64Setpoint decrement, per-unit.
refine: boolRefine the minimum by fitting a parabola through the three samples around it. Exact for a locally-quadratic curve, which this is near a smooth minimum, and free — no extra solves.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QvOptions
impl RefUnwindSafe for QvOptions
impl Send for QvOptions
impl Sync for QvOptions
impl Unpin for QvOptions
impl UnsafeUnpin for QvOptions
impl UnwindSafe for QvOptions
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