pub struct DCLineSegment {
pub base: DCConductingEquipment,
pub capacitance: Option<f64>,
pub inductance: Option<f64>,
pub length: Option<f64>,
pub resistance: Option<f64>,
}Expand description
A wire or combination of wires not insulated from one another, with consistent electrical characteristics, used to carry direct current between points in the DC region of the power system.
Fields§
§base: DCConductingEquipment§capacitance: Option<f64>Capacitance of the DC line segment. Significant for cables only.
inductance: Option<f64>Inductance of the DC line segment. Negligible compared with DCSeriesDevice used for smoothing.
length: Option<f64>Segment length for calculating line section capabilities.
resistance: Option<f64>Resistance of the DC line segment.
Implementations§
Source§impl DCLineSegment
impl DCLineSegment
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for DCLineSegment
impl CimElement for DCLineSegment
Source§impl Clone for DCLineSegment
impl Clone for DCLineSegment
Source§fn clone(&self) -> DCLineSegment
fn clone(&self) -> DCLineSegment
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 DCLineSegment
impl Debug for DCLineSegment
Source§impl Default for DCLineSegment
impl Default for DCLineSegment
Source§fn default() -> DCLineSegment
fn default() -> DCLineSegment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DCLineSegment
impl<'de> Deserialize<'de> for DCLineSegment
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 DCLineSegment
impl RefUnwindSafe for DCLineSegment
impl Send for DCLineSegment
impl Sync for DCLineSegment
impl Unpin for DCLineSegment
impl UnsafeUnpin for DCLineSegment
impl UnwindSafe for DCLineSegment
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