#[non_exhaustive]pub enum CurrentLimitPolicy {
Skip,
Stated,
DeriveFromRateA,
}Expand description
The calculation types used by solver consumers. The full problem
vocabulary lives in powerio_prob; these types sit at the facade root so
a consumer does not need a second PowerIO dependency to name its boundary.
Which branch current limits the instance carries. Current limits are
separate from the MVA thermal limits the base AC OPF selects.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Skip
No current limits.
Stated
The explicit BranchCurrentLimit records.
DeriveFromRateA
The limits PowerModels’ calc_current_limits! derives from the
active voltage, angle difference, and thermal limits.
Implementations§
Trait Implementations§
Source§impl Clone for CurrentLimitPolicy
impl Clone for CurrentLimitPolicy
Source§fn clone(&self) -> CurrentLimitPolicy
fn clone(&self) -> CurrentLimitPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CurrentLimitPolicy
Source§impl Debug for CurrentLimitPolicy
impl Debug for CurrentLimitPolicy
Source§impl Default for CurrentLimitPolicy
impl Default for CurrentLimitPolicy
Source§fn default() -> CurrentLimitPolicy
fn default() -> CurrentLimitPolicy
Returns the “default value” for a type. Read more
impl Eq for CurrentLimitPolicy
Source§impl PartialEq for CurrentLimitPolicy
impl PartialEq for CurrentLimitPolicy
impl StructuralPartialEq for CurrentLimitPolicy
Auto Trait Implementations§
impl Freeze for CurrentLimitPolicy
impl RefUnwindSafe for CurrentLimitPolicy
impl Send for CurrentLimitPolicy
impl Sync for CurrentLimitPolicy
impl Unpin for CurrentLimitPolicy
impl UnsafeUnpin for CurrentLimitPolicy
impl UnwindSafe for CurrentLimitPolicy
Blanket Implementations§
impl<T> Allocation for T
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.