pub struct SvPowerFlow {
pub id: String,
pub terminal: Option<MridRef>,
pub p: Option<f64>,
pub q: Option<f64>,
}Expand description
State variable for power flow. Load convention is used for flow direction. This means flow out from the TopologicalNode into the equipment is positive.
Fields§
§id: String§terminal: Option<MridRef>The terminal associated with the power flow state variable.
p: Option<f64>The active power flow. Load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment.
q: Option<f64>The reactive power flow. Load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment.
Implementations§
Source§impl SvPowerFlow
impl SvPowerFlow
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for SvPowerFlow
impl CimElement for SvPowerFlow
Source§impl Clone for SvPowerFlow
impl Clone for SvPowerFlow
Source§fn clone(&self) -> SvPowerFlow
fn clone(&self) -> SvPowerFlow
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 SvPowerFlow
impl Debug for SvPowerFlow
Source§impl Default for SvPowerFlow
impl Default for SvPowerFlow
Source§fn default() -> SvPowerFlow
fn default() -> SvPowerFlow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SvPowerFlow
impl<'de> Deserialize<'de> for SvPowerFlow
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 SvPowerFlow
impl RefUnwindSafe for SvPowerFlow
impl Send for SvPowerFlow
impl Sync for SvPowerFlow
impl Unpin for SvPowerFlow
impl UnsafeUnpin for SvPowerFlow
impl UnwindSafe for SvPowerFlow
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