pub struct CurvePoint {
pub lambda: f64,
pub arclength: f64,
pub voltage_mag: Vec<f64>,
pub voltage_ang: Vec<f64>,
pub bus_type: Vec<BusType>,
pub tangent_lambda: f64,
pub corrector_iterations: usize,
pub branch: CurveBranch,
}Expand description
One converged point on the curve.
Fields§
§lambda: f64§arclength: f64Cumulative arclength — the parameter the walk actually advances in, and the one that stays meaningful through the nose where λ does not.
voltage_mag: Vec<f64>§voltage_ang: Vec<f64>§bus_type: Vec<BusType>Bus types change along the curve as generators saturate, so each point carries its own.
tangent_lambda: f64dλ/dσ. Its sign flip is the nose.
corrector_iterations: usize§branch: CurveBranchTrait Implementations§
Source§impl Clone for CurvePoint
impl Clone for CurvePoint
Auto Trait Implementations§
impl Freeze for CurvePoint
impl RefUnwindSafe for CurvePoint
impl Send for CurvePoint
impl Sync for CurvePoint
impl Unpin for CurvePoint
impl UnsafeUnpin for CurvePoint
impl UnwindSafe for CurvePoint
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