Skip to main content

ExternalNetworkInjection

Struct ExternalNetworkInjection 

Source
pub struct ExternalNetworkInjection {
Show 19 fields pub base: RegulatingCondEq, pub governor_scd: Option<f64>, pub ik_second: Option<bool>, pub max_initial_sym_sh_c_current: Option<f64>, pub max_p: Option<f64>, pub max_q: Option<f64>, pub max_r0to_x0ratio: Option<f64>, pub max_r1to_x1ratio: Option<f64>, pub max_z0to_z1ratio: Option<f64>, pub min_initial_sym_sh_c_current: Option<f64>, pub min_p: Option<f64>, pub min_q: Option<f64>, pub min_r0to_x0ratio: Option<f64>, pub min_r1to_x1ratio: Option<f64>, pub min_z0to_z1ratio: Option<f64>, pub p: Option<f64>, pub q: Option<f64>, pub reference_priority: Option<i64>, pub voltage_factor: Option<f64>,
}
Expand description

This class represents the external network and it is used for IEC 60909 calculations.

Fields§

§base: RegulatingCondEq§governor_scd: Option<f64>

Power Frequency Bias. This is the change in power injection divided by the change in frequency and negated. A positive value of the power frequency bias provides additional power injection upon a drop in frequency.

§ik_second: Option<bool>

Indicates whether initial symmetrical short-circuit current and power have been calculated according to IEC (Ik’). Used only if short circuit calculations are done according to superposition method.

§max_initial_sym_sh_c_current: Option<f64>

Maximum initial symmetrical short-circuit currents (Ik’ max) in A (Ik’ = Sk’/(SQRT(3) Un)). Used for short circuit data exchange according to IEC 60909.

§max_p: Option<f64>

Maximum active power of the injection.

§max_q: Option<f64>

Maximum reactive power limit. It is used for modelling of infeed for load flow exchange and not for short circuit modelling.

§max_r0to_x0ratio: Option<f64>

Maximum ratio of zero sequence resistance of Network Feeder to its zero sequence reactance (R(0)/X(0) max). Used for short circuit data exchange according to IEC 60909.

§max_r1to_x1ratio: Option<f64>

Maximum ratio of positive sequence resistance of Network Feeder to its positive sequence reactance (R(1)/X(1) max). Used for short circuit data exchange according to IEC 60909.

§max_z0to_z1ratio: Option<f64>

Maximum ratio of zero sequence impedance to its positive sequence impedance (Z(0)/Z(1) max). Used for short circuit data exchange according to IEC 60909.

§min_initial_sym_sh_c_current: Option<f64>

Minimum initial symmetrical short-circuit currents (Ik’ min) in A (Ik’ = Sk’/(SQRT(3) Un)). Used for short circuit data exchange according to IEC 60909.

§min_p: Option<f64>

Minimum active power of the injection.

§min_q: Option<f64>

Minimum reactive power limit. It is used for modelling of infeed for load flow exchange and not for short circuit modelling.

§min_r0to_x0ratio: Option<f64>

Indicates whether initial symmetrical short-circuit current and power have been calculated according to IEC (Ik’). Used for short circuit data exchange according to IEC 6090.

§min_r1to_x1ratio: Option<f64>

Minimum ratio of positive sequence resistance of Network Feeder to its positive sequence reactance (R(1)/X(1) min). Used for short circuit data exchange according to IEC 60909.

§min_z0to_z1ratio: Option<f64>

Minimum ratio of zero sequence impedance to its positive sequence impedance (Z(0)/Z(1) min). Used for short circuit data exchange according to IEC 60909.

§p: Option<f64>

Active power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions.

§q: Option<f64>

Reactive power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions.

§reference_priority: Option<i64>

Priority of unit for use as powerflow voltage phase angle reference bus selection. 0 = don t care (default) 1 = highest priority. 2 is less than 1 and so on.

§voltage_factor: Option<f64>

Voltage factor in pu, which was used to calculate short-circuit current Ik’ and power Sk’. Used only if short circuit calculations are done according to superposition method.

Implementations§

Trait Implementations§

Source§

impl CimElement for ExternalNetworkInjection

Source§

fn mrid(&self) -> &str

Source§

fn type_name(&self) -> &'static str

Source§

fn as_any(&self) -> &dyn Any

Source§

fn to_json_value(&self) -> Value

Source§

fn to_block(&self) -> RdfBlock

Source§

impl Clone for ExternalNetworkInjection

Source§

fn clone(&self) -> ExternalNetworkInjection

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ExternalNetworkInjection

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ExternalNetworkInjection

Source§

fn default() -> ExternalNetworkInjection

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for ExternalNetworkInjection

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for ExternalNetworkInjection

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.