pub enum ContinuationEvent {
QLimit {
bus: usize,
limit: QLimitKind,
lambda: f64,
iterations: usize,
},
MissedQLimit {
bus: usize,
lambda: f64,
},
StepRejected {
lambda: f64,
step: f64,
},
}Expand description
Something discrete that happened at a particular λ.
Variants§
QLimit
A PV bus reached a reactive limit and was switched to PQ, pinned at
that limit. lambda is the located crossing, not the step that
straddled it.
MissedQLimit
The safety net fired: an accepted point violated a limit the locator did not bracket. The switch is applied anyway, so the curve stays outer-loop-consistent, but the λ is the step’s, not the true crossing.
StepRejected
A corrector failed and the step was halved.
Trait Implementations§
Source§impl Clone for ContinuationEvent
impl Clone for ContinuationEvent
Source§impl Debug for ContinuationEvent
impl Debug for ContinuationEvent
Source§impl PartialEq for ContinuationEvent
impl PartialEq for ContinuationEvent
impl StructuralPartialEq for ContinuationEvent
Auto Trait Implementations§
impl Freeze for ContinuationEvent
impl RefUnwindSafe for ContinuationEvent
impl Send for ContinuationEvent
impl Sync for ContinuationEvent
impl Unpin for ContinuationEvent
impl UnsafeUnpin for ContinuationEvent
impl UnwindSafe for ContinuationEvent
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