pub enum ContinuationError {
BackendUnsupported(JacobianBackend),
TapControlUnsupported,
ZipTermsUnsupported {
buses: Vec<usize>,
},
MethodUnsupported(PowerFlowMethod),
EmptyDirection,
DirectionLengthMismatch {
got: usize,
want: usize,
},
}Expand description
A request continuation will not attempt, stated rather than approximated.
Variants§
BackendUnsupported(JacobianBackend)
JacobianBackend::Block groups each bus’s two unknowns into a 2×2
block and has no home for a scalar λ. Refused rather than silently
substituted.
TapControlUnsupported
A tap move is a discrete change to Y-bus values; continuing with the taps frozen at their base-case positions would be a different question than the one asked.
ZipTermsUnsupported
The Jacobian carries no ∂s_eff/∂|V| term for ZIP loads. An ordinary
solve survives that — the mismatch is exact, so only the step direction
is off — but here the Jacobian’s singularity is the answer, so a
missing term puts the nose in the wrong place while still looking
entirely plausible. Set allow_zip to proceed with a warning.
MethodUnsupported(PowerFlowMethod)
EmptyDirection
Nothing moves, so there is no curve to trace.
DirectionLengthMismatch
Trait Implementations§
Source§impl Clone for ContinuationError
impl Clone for ContinuationError
Source§impl Debug for ContinuationError
impl Debug for ContinuationError
Source§impl PartialEq for ContinuationError
impl PartialEq for ContinuationError
impl StructuralPartialEq for ContinuationError
Auto Trait Implementations§
impl Freeze for ContinuationError
impl RefUnwindSafe for ContinuationError
impl Send for ContinuationError
impl Sync for ContinuationError
impl Unpin for ContinuationError
impl UnsafeUnpin for ContinuationError
impl UnwindSafe for ContinuationError
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
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> ⓘ
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> ⓘ
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