pub struct PqLinearLink {
pub q_at_p_zero_pu: f64,
pub beta: f64,
}Expand description
Coefficients for a linear p-q linking constraint of the form
q ⨀ q_at_p_zero_pu + beta * p where ⨀ is =, ≤, or ≥ depending
on the variant of ReactiveCapability::pq_linear_* that holds it.
All values are in per-unit on the device’s machine base. The full GO
formulation also references the active_indicator (u^on + Σ u^su + Σ u^sd) on the constant term, but in single-period AC reconcile the
commitment is fixed and the indicator collapses to a constant 0 or
1 that the AC OPF can fold into the row’s constant offset.
Fields§
§q_at_p_zero_pu: f64Reactive power intercept at p = 0 in per-unit.
beta: f64Slope dq/dp in per-unit (pu/pu).
Trait Implementations§
Source§impl Clone for PqLinearLink
impl Clone for PqLinearLink
Source§fn clone(&self) -> PqLinearLink
fn clone(&self) -> PqLinearLink
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 PqLinearLink
impl Debug for PqLinearLink
Source§impl<'de> Deserialize<'de> for PqLinearLink
impl<'de> Deserialize<'de> for PqLinearLink
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
Source§impl PartialEq for PqLinearLink
impl PartialEq for PqLinearLink
Source§impl Serialize for PqLinearLink
impl Serialize for PqLinearLink
impl Copy for PqLinearLink
impl StructuralPartialEq for PqLinearLink
Auto Trait Implementations§
impl Freeze for PqLinearLink
impl RefUnwindSafe for PqLinearLink
impl Send for PqLinearLink
impl Sync for PqLinearLink
impl Unpin for PqLinearLink
impl UnsafeUnpin for PqLinearLink
impl UnwindSafe for PqLinearLink
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