pub struct ContinuationOptions {Show 16 fields
pub power_flow: PowerFlowOptions,
pub direction: LoadingDirection,
pub parametrization: Parametrization,
pub step: f64,
pub step_min: f64,
pub step_max: f64,
pub target_iterations: usize,
pub max_steps: usize,
pub stop: StopCriterion,
pub locate_events: bool,
pub event_tol: f64,
pub event_max_iter: usize,
pub locate_nose: bool,
pub nose_refine_iters: usize,
pub base_mva: f64,
pub allow_zip: bool,
}Expand description
What a continuation run needs to know.
Fields§
§power_flow: PowerFlowOptionsThe λ = 0 base-case solve and the shared knobs — tol, max_iter,
backend, init, enforce_q_limits. method must be
NewtonRaphson, and control_taps is refused: a tap move is a discrete
change to Y-bus values, needing its own event function and a
re-stamping mid-curve, and silently freezing the taps at their base-case
positions would be a wrong answer that looks right.
direction: LoadingDirection§parametrization: Parametrization§step: f64§step_min: f64§step_max: f64§target_iterations: usizeCorrector iterations at or below which the step grows.
max_steps: usize§stop: StopCriterion§locate_events: boolLocate the exact λ at which each generator saturates, rather than
switching at whatever λ a step happened to land on. Only meaningful with
power_flow.enforce_q_limits.
event_tol: f64§event_max_iter: usize§locate_nose: bool§nose_refine_iters: usize§base_mva: f64Reporting only — the crate’s internals carry no system base, and
Bus::u_rated is a voltage base. Used solely to turn the per-unit
margin into MW.
allow_zip: boolProceed despite voltage-dependent load terms the Jacobian does not
differentiate. Off by default: see ContinuationError::ZipTermsUnsupported.
Trait Implementations§
Source§impl Clone for ContinuationOptions
impl Clone for ContinuationOptions
Source§impl Debug for ContinuationOptions
impl Debug for ContinuationOptions
Auto Trait Implementations§
impl Freeze for ContinuationOptions
impl RefUnwindSafe for ContinuationOptions
impl Send for ContinuationOptions
impl Sync for ContinuationOptions
impl Unpin for ContinuationOptions
impl UnsafeUnpin for ContinuationOptions
impl UnwindSafe for ContinuationOptions
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