pub struct EquivalentBranchData {
pub mrid: String,
pub network_mrid: Option<String>,
pub r_ohm: f64,
pub x_ohm: f64,
pub r0_ohm: Option<f64>,
pub x0_ohm: Option<f64>,
pub r2_ohm: Option<f64>,
pub x2_ohm: Option<f64>,
pub from_bus: Option<u32>,
pub to_bus: Option<u32>,
}Expand description
External network branch equivalent — a pi-section branch representing the impedance of a reduced external network.
Impedances are stored in physical ohms (as in the CIM source); downstream code converts to per-unit when wiring into the admittance matrix.
Fields§
§mrid: StringCIM mRID.
network_mrid: Option<String>Parent EquivalentNetwork mRID.
r_ohm: f64Positive-sequence resistance (Ohm).
x_ohm: f64Positive-sequence reactance (Ohm).
r0_ohm: Option<f64>Zero-sequence resistance (Ohm), if available.
x0_ohm: Option<f64>Zero-sequence reactance (Ohm), if available.
r2_ohm: Option<f64>Negative-sequence resistance (Ohm), if available.
x2_ohm: Option<f64>Negative-sequence reactance (Ohm), if available.
from_bus: Option<u32>Resolved from-bus number.
to_bus: Option<u32>Resolved to-bus number.
Trait Implementations§
Source§impl Clone for EquivalentBranchData
impl Clone for EquivalentBranchData
Source§fn clone(&self) -> EquivalentBranchData
fn clone(&self) -> EquivalentBranchData
Returns a duplicate of the value. Read more
1.0.0 · 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 EquivalentBranchData
impl Debug for EquivalentBranchData
Source§impl<'de> Deserialize<'de> for EquivalentBranchData
impl<'de> Deserialize<'de> for EquivalentBranchData
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 EquivalentBranchData
impl RefUnwindSafe for EquivalentBranchData
impl Send for EquivalentBranchData
impl Sync for EquivalentBranchData
impl Unpin for EquivalentBranchData
impl UnsafeUnpin for EquivalentBranchData
impl UnwindSafe for EquivalentBranchData
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