Struct iec60909::NetworkFeeder

source ·
pub struct NetworkFeeder<N: Default> {
    pub node: N,
    pub ur: f64,
    pub ikss: f64,
    pub rx: Option<f64>,
    pub tr: Option<f64>,
    pub r0x: f64,
    pub x0x: f64,
}
Expand description

An external grid connection.

Fields§

§node: N§ur: f64

Rated voltage of the feeder (kV).

§ikss: f64

Initial symmetrical short-circuit current (kA).

§rx: Option<f64>

R/X ratio of short-circuit impedance.

§tr: Option<f64>

Rated transformation ratio at which the on-load tap-changer is in the main position (>= 1).

§r0x: f64§x0x: f64

Implementations§

source§

impl<N: Clone + Default + Eq + Hash> NetworkFeeder<N>

source

pub fn new() -> NetworkFeederBuilder<N>

source

pub fn impedance( &self, ohl: bool, busbar_index: &BusbarIndex<'_, N> ) -> Result<Complex64>

Trait Implementations§

source§

impl<N: Clone + Default> Clone for NetworkFeeder<N>

source§

fn clone(&self) -> NetworkFeeder<N>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl<N: Debug + Default> Debug for NetworkFeeder<N>

source§

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

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

impl<N: Default + Default> Default for NetworkFeeder<N>

source§

fn default() -> NetworkFeeder<N>

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

impl<'de, N> Deserialize<'de> for NetworkFeeder<N>where N: Deserialize<'de> + Default,

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<N: PartialEq + Default> PartialEq<NetworkFeeder<N>> for NetworkFeeder<N>

source§

fn eq(&self, other: &NetworkFeeder<N>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<N> Serialize for NetworkFeeder<N>where N: Serialize + Default,

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
source§

impl<N: Default> StructuralPartialEq for NetworkFeeder<N>

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for NetworkFeeder<N>where N: RefUnwindSafe,

§

impl<N> Send for NetworkFeeder<N>where N: Send,

§

impl<N> Sync for NetworkFeeder<N>where N: Sync,

§

impl<N> Unpin for NetworkFeeder<N>where N: Unpin,

§

impl<N> UnwindSafe for NetworkFeeder<N>where N: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere 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 Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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.
source§

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