#[non_exhaustive]pub enum SynthesizedLimitWindow {
Stated,
SelectedBounds,
}Expand description
Which angle difference interval a synthesized thermal limit
(Branch::synthesize_rate_a)
spans for a branch the source left unrated.
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.
Stated
The source’s stated angmin/angmax, the window every release
before this option used.
SelectedBounds
The angle difference bounds the preparation selects and carries in
angle_min/angle_max. PowerModels pads the bounds before
calc_thermal_limits!, so with
AngleDifferenceBounds::PowerModelsPad
this reproduces its limit for an unconstrained branch.
Implementations§
Source§impl SynthesizedLimitWindow
impl SynthesizedLimitWindow
Sourcepub const fn is_stated(&self) -> bool
pub const fn is_stated(&self) -> bool
Whether this is Self::Stated, the default.
Trait Implementations§
Source§impl Clone for SynthesizedLimitWindow
impl Clone for SynthesizedLimitWindow
impl Copy for SynthesizedLimitWindow
Source§impl Debug for SynthesizedLimitWindow
impl Debug for SynthesizedLimitWindow
Source§impl Default for SynthesizedLimitWindow
impl Default for SynthesizedLimitWindow
Source§impl<'de> Deserialize<'de> for SynthesizedLimitWindow
impl<'de> Deserialize<'de> for SynthesizedLimitWindow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SynthesizedLimitWindow
Source§impl PartialEq for SynthesizedLimitWindow
impl PartialEq for SynthesizedLimitWindow
Source§impl Serialize for SynthesizedLimitWindow
impl Serialize for SynthesizedLimitWindow
impl StructuralPartialEq for SynthesizedLimitWindow
Auto Trait Implementations§
impl Freeze for SynthesizedLimitWindow
impl RefUnwindSafe for SynthesizedLimitWindow
impl Send for SynthesizedLimitWindow
impl Sync for SynthesizedLimitWindow
impl Unpin for SynthesizedLimitWindow
impl UnsafeUnpin for SynthesizedLimitWindow
impl UnwindSafe for SynthesizedLimitWindow
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.