pub struct ConditionalRating {
pub condition_id: String,
pub rating_a_mva: f64,
pub rating_c_mva: f64,
}Expand description
A condition-dependent thermal rating for a branch.
From CGMES ConditionalLimit: when the named condition is active,
the branch’s rate_a and/or rate_c should be replaced with the
values in this struct.
Fields§
§condition_id: StringCondition identifier (CGMES mRID of the condition reference).
rating_a_mva: f64Normal (PATL) rating under this condition (MVA). 0.0 = no override.
rating_c_mva: f64Emergency (TATL) rating under this condition (MVA). 0.0 = no override.
Trait Implementations§
Source§impl Clone for ConditionalRating
impl Clone for ConditionalRating
Source§fn clone(&self) -> ConditionalRating
fn clone(&self) -> ConditionalRating
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConditionalRating
impl Debug for ConditionalRating
Source§impl<'de> Deserialize<'de> for ConditionalRating
impl<'de> Deserialize<'de> for ConditionalRating
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
Auto Trait Implementations§
impl Freeze for ConditionalRating
impl RefUnwindSafe for ConditionalRating
impl Send for ConditionalRating
impl Sync for ConditionalRating
impl Unpin for ConditionalRating
impl UnsafeUnpin for ConditionalRating
impl UnwindSafe for ConditionalRating
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
Mutably borrows from an owned value. Read more