#[non_exhaustive]pub struct McAcOpfPreparation {
pub bases: McAcOpfAssemblyOptions,
pub terminals: Vec<McOpfTerminal>,
pub voltage_limits: Vec<McOpfVoltageLimit>,
pub angle_limits: Vec<McOpfAngleLimit>,
pub branches: Vec<McOpfBranch>,
pub shunts: Vec<McOpfShunt>,
pub devices: Vec<McOpfDevice>,
pub transformers: Vec<McOpfTransformer>,
pub load_law_projections: Vec<McOpfLoadLawProjection>,
}Expand description
Canonical IVR coefficients. These contain no optimizer or expression types.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bases: McAcOpfAssemblyOptionsExplicit physical bases used throughout this record.
terminals: Vec<McOpfTerminal>Global voltage axis in canonical bus and terminal storage order.
voltage_limits: Vec<McOpfVoltageLimit>Selected magnitude and sequence bounds.
angle_limits: Vec<McOpfAngleLimit>Selected supported angle windows.
branches: Vec<McOpfBranch>Conductor-current branch descriptors.
shunts: Vec<McOpfShunt>Terminal admittance descriptors.
devices: Vec<McOpfDevice>Loads, generators, IBRs and ideal-source injection descriptors.
transformers: Vec<McOpfTransformer>Winding-current descriptors with their own local current axes.
load_law_projections: Vec<McOpfLoadLawProjection>Loads whose bounded law was projected to its nominal law under
BoundedLoadLawPolicy::ProjectToNominal; empty by default.
Implementations§
Source§impl McAcOpfPreparation
impl McAcOpfPreparation
Sourcepub fn diagnostics(&self) -> Vec<Diagnostic>
pub fn diagnostics(&self) -> Vec<Diagnostic>
One warning per load whose bounded law was projected to its nominal law.
Trait Implementations§
Source§impl Clone for McAcOpfPreparation
impl Clone for McAcOpfPreparation
Source§impl Debug for McAcOpfPreparation
impl Debug for McAcOpfPreparation
Source§impl<'de> Deserialize<'de> for McAcOpfPreparation
impl<'de> Deserialize<'de> for McAcOpfPreparation
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 McAcOpfPreparation
impl RefUnwindSafe for McAcOpfPreparation
impl Send for McAcOpfPreparation
impl Sync for McAcOpfPreparation
impl Unpin for McAcOpfPreparation
impl UnsafeUnpin for McAcOpfPreparation
impl UnwindSafe for McAcOpfPreparation
Blanket Implementations§
impl<T> Allocation 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