pub struct CgmesExternalNetworkInjectionSource {
pub mrid: String,
pub name: Option<String>,
pub bus: u32,
pub p_mw: f64,
pub q_mvar: f64,
pub in_service: bool,
pub reference_priority: Option<u32>,
pub control_enabled: bool,
pub regulation_status: bool,
pub target_voltage_kv: Option<f64>,
pub min_q_mvar: Option<f64>,
pub max_q_mvar: Option<f64>,
}Expand description
Original CGMES ExternalNetworkInjection preserved across import/export.
Fields§
§mrid: StringSource mRID.
name: Option<String>Source IdentifiedObject.name, when present.
bus: u32Connected bus number.
p_mw: f64Imported operating-point active power (MW).
q_mvar: f64Imported operating-point reactive power (MVAr).
in_service: boolImported in-service status.
reference_priority: Option<u32>Imported slack-selection priority.
control_enabled: boolRegulatingCondEq.controlEnabled.
regulation_status: boolExternalNetworkInjection.regulationStatus.
target_voltage_kv: Option<f64>RegulatingControl.targetValue in kV, when present.
min_q_mvar: Option<f64>Imported minimum reactive limit in MVAr, when present.
max_q_mvar: Option<f64>Imported maximum reactive limit in MVAr, when present.
Trait Implementations§
Source§impl Clone for CgmesExternalNetworkInjectionSource
impl Clone for CgmesExternalNetworkInjectionSource
Source§fn clone(&self) -> CgmesExternalNetworkInjectionSource
fn clone(&self) -> CgmesExternalNetworkInjectionSource
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<'de> Deserialize<'de> for CgmesExternalNetworkInjectionSource
impl<'de> Deserialize<'de> for CgmesExternalNetworkInjectionSource
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 CgmesExternalNetworkInjectionSource
impl RefUnwindSafe for CgmesExternalNetworkInjectionSource
impl Send for CgmesExternalNetworkInjectionSource
impl Sync for CgmesExternalNetworkInjectionSource
impl Unpin for CgmesExternalNetworkInjectionSource
impl UnsafeUnpin for CgmesExternalNetworkInjectionSource
impl UnwindSafe for CgmesExternalNetworkInjectionSource
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