pub struct SvInjection<'a>(pub &'a Object);Expand description
The SvInjection is reporting 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.
Tuple Fields§
§0: &'a ObjectImplementations§
Source§impl<'a> SvInjection<'a>
impl<'a> SvInjection<'a>
Sourcepub fn topological_node(&self) -> Option<TypedRef<TopologicalNode<'static>>>
pub fn topological_node(&self) -> Option<TypedRef<TopologicalNode<'static>>>
The injection flows state variables associated with the topological node.
Sourcepub fn topological_node_in<'d>(
&self,
dataset: &'d Dataset,
) -> Option<TopologicalNode<'d>>
pub fn topological_node_in<'d>( &self, dataset: &'d Dataset, ) -> Option<TopologicalNode<'d>>
Resolve TopologicalNode through dataset.
Sourcepub fn p_injection(&self) -> Option<f64>
pub fn p_injection(&self) -> Option<f64>
The active power injected into the bus in addition to injections from equipment terminals. Positive sign means injection into the TopologicalNode (bus).
Unit: W, multiplier M.
Sourcepub fn q_injection(&self) -> Option<f64>
pub fn q_injection(&self) -> Option<f64>
The reactive power injected into the bus in addition to injections from equipment terminals. Positive sign means injection into the TopologicalNode (bus).
Unit: VAr, multiplier M.