pub struct SvInjection<'a>(pub &'a Object);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.
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 topological node associated with the flow injection state variable.
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 mismatch between calculated injection and initial injection. 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 mismatch between calculated injection and initial injection. Positive sign means injection into the TopologicalNode (bus).
Unit: VAr, multiplier M.
Trait Implementations§
Source§impl<'a> Clone for SvInjection<'a>
impl<'a> Clone for SvInjection<'a>
impl<'a> Copy for SvInjection<'a>
Source§impl<'a> Debug for SvInjection<'a>
impl<'a> Debug for SvInjection<'a>
Source§impl<'a> TypedView<'a> for SvInjection<'a>
impl<'a> TypedView<'a> for SvInjection<'a>
Source§fn from_object(o: &'a Object) -> Self
fn from_object(o: &'a Object) -> Self
Wrap an object without checking its class.
Auto Trait Implementations§
impl<'a> Forget for SvInjection<'a>
impl<'a> Freeze for SvInjection<'a>
impl<'a> Move for SvInjection<'a>
impl<'a> RefUnwindSafe for SvInjection<'a>
impl<'a> Send for SvInjection<'a>
impl<'a> Sync for SvInjection<'a>
impl<'a> Unpin for SvInjection<'a>
impl<'a> UnsafeUnpin for SvInjection<'a>where
&'a Object: UnsafeUnpin,
impl<'a> UnwindSafe for SvInjection<'a>where
&'a Object: UnwindSafe,
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