pub enum Invalidates {
Nothing,
Pattern,
Admittances,
}Expand description
What a loop invalidated when it reported OuterLoopStatus::Unstable.
Returned by OuterLoop::invalidates and acted on by the driver — see the
module docs for why the loop does not act on it itself.
Variants§
Nothing
Only bus values moved (p_spec, q_spec). The Jacobian’s pattern and
its cached admittances are both still valid. Distributed slack.
Pattern
bus_type moved, so n_unknowns and the Jacobian’s sparsity pattern
did too. Forces a full PersistentSolver::reset. Reactive limits.
Admittances
Transformer::tap moved, so the Y-bus values did. The pattern
survives, so the symbolic factorization is kept and only the cached
admittances are re-derived — the same position a switch flip is in.
Both tap loops.
Trait Implementations§
Source§impl Clone for Invalidates
impl Clone for Invalidates
impl Copy for Invalidates
Source§impl Debug for Invalidates
impl Debug for Invalidates
impl Eq for Invalidates
Source§impl PartialEq for Invalidates
impl PartialEq for Invalidates
impl StructuralPartialEq for Invalidates
Auto Trait Implementations§
impl Freeze for Invalidates
impl RefUnwindSafe for Invalidates
impl Send for Invalidates
impl Sync for Invalidates
impl Unpin for Invalidates
impl UnsafeUnpin for Invalidates
impl UnwindSafe for Invalidates
Blanket Implementations§
impl<T> Boilerplate for T
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