pub struct SvInjection {
pub id: String,
pub topological_node: Option<MridRef>,
pub p_injection: Option<f64>,
pub q_injection: Option<f64>,
}Expand description
The SvInjection reports the calculated bus injection minus the sum of the terminal flows. The terminal flow is positive out from the bus (load sign convention) and bus injection has positive flow into the bus. SvInjection may have the remainder after state estimation or slack after power flow calculation.
Fields§
§id: String§topological_node: Option<MridRef>The topological node associated with the flow injection state variable.
p_injection: Option<f64>The active power mismatch between calculated injection and initial injection. Positive sign means injection into the TopologicalNode (bus).
q_injection: Option<f64>The reactive power mismatch between calculated injection and initial injection. Positive sign means injection into the TopologicalNode (bus).
Implementations§
Source§impl SvInjection
impl SvInjection
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for SvInjection
impl CimElement for SvInjection
Source§impl Clone for SvInjection
impl Clone for SvInjection
Source§fn clone(&self) -> SvInjection
fn clone(&self) -> SvInjection
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 SvInjection
impl Debug for SvInjection
Source§impl Default for SvInjection
impl Default for SvInjection
Source§fn default() -> SvInjection
fn default() -> SvInjection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SvInjection
impl<'de> Deserialize<'de> for SvInjection
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 SvInjection
impl RefUnwindSafe for SvInjection
impl Send for SvInjection
impl Sync for SvInjection
impl Unpin for SvInjection
impl UnsafeUnpin for SvInjection
impl UnwindSafe for SvInjection
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