pub struct FunctionRow {
pub d_active: Vec<f64>,
pub d_reactive: Vec<f64>,
pub d_ratio: Vec<f64>,
pub d_phase: Vec<f64>,
}Expand description
How one function responds to injection at every bus.
Fields§
§d_active: Vec<f64>df/dP per bus. Zero at a slack bus.
d_reactive: Vec<f64>df/dQ per bus. Zero anywhere the voltage magnitude is held.
d_ratio: Vec<f64>df/dk per branch — the response to each transformer’s ratio. Zero for a line.
One adjoint solve yields this alongside the injection sensitivities, so “which tap relieves this overload?” costs nothing beyond “which injection does”.
d_phase: Vec<f64>df/dα per branch — the response to each phase shifter’s angle, in radians. Zero for a line.
Trait Implementations§
Source§impl Clone for FunctionRow
impl Clone for FunctionRow
Auto Trait Implementations§
impl Freeze for FunctionRow
impl RefUnwindSafe for FunctionRow
impl Send for FunctionRow
impl Sync for FunctionRow
impl Unpin for FunctionRow
impl UnsafeUnpin for FunctionRow
impl UnwindSafe for FunctionRow
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
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,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more