#[non_exhaustive]pub struct SocwrOpfDuals {
pub bus_active_power_marginal: Option<Vec<f64>>,
pub bus_reactive_power_marginal: Option<Vec<f64>>,
pub branch_from_thermal_limit_multiplier: Option<Vec<f64>>,
pub branch_to_thermal_limit_multiplier: Option<Vec<f64>>,
}Expand description
Optional dual quantities reported by a SOCWR AC OPF solve.
None means the producer did not report that column. Present bus columns
follow bus table order; present branch columns follow branch table order.
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.bus_active_power_marginal: Option<Vec<f64>>Objective derivative per added MW of active demand.
bus_reactive_power_marginal: Option<Vec<f64>>Objective derivative per added MVAr of reactive demand.
branch_from_thermal_limit_multiplier: Option<Vec<f64>>Multiplier on the from terminal apparent power limit.
branch_to_thermal_limit_multiplier: Option<Vec<f64>>Multiplier on the to terminal apparent power limit.
Trait Implementations§
Source§impl Clone for SocwrOpfDuals
impl Clone for SocwrOpfDuals
Source§fn clone(&self) -> SocwrOpfDuals
fn clone(&self) -> SocwrOpfDuals
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 moreSource§impl Debug for SocwrOpfDuals
impl Debug for SocwrOpfDuals
Source§impl Default for SocwrOpfDuals
impl Default for SocwrOpfDuals
Source§fn default() -> SocwrOpfDuals
fn default() -> SocwrOpfDuals
Returns the “default value” for a type. Read more
Source§impl PartialEq for SocwrOpfDuals
impl PartialEq for SocwrOpfDuals
Source§fn eq(&self, other: &SocwrOpfDuals) -> bool
fn eq(&self, other: &SocwrOpfDuals) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SocwrOpfDuals
Auto Trait Implementations§
impl Freeze for SocwrOpfDuals
impl RefUnwindSafe for SocwrOpfDuals
impl Send for SocwrOpfDuals
impl Sync for SocwrOpfDuals
impl Unpin for SocwrOpfDuals
impl UnsafeUnpin for SocwrOpfDuals
impl UnwindSafe for SocwrOpfDuals
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