Skip to main content

WindProtectionIEC

Struct WindProtectionIEC 

Source
pub struct WindProtectionIEC<'a>(pub &'a Object);
Expand description

The grid protection model includes protection against over- and under-voltage, and against over- and under-frequency. Reference: IEC 61400-27-1:2015, 5.6.6.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

impl<'a> WindProtectionIEC<'a>

Source

pub fn mrid(&self) -> &'a Mrid

The object’s master resource identifier.

Source

pub fn diagram_objects( &self, ) -> impl Iterator<Item = TypedRef<DiagramObject<'static>>> + use<'a>

The diagram objects that are associated with the domain object.

Source

pub fn diagram_objects_in<'d>( &self, dataset: &'d Dataset, ) -> impl Iterator<Item = DiagramObject<'d>> + use<'a, 'd>

Resolve every DiagramObjects through dataset, skipping unresolved references.

Source

pub fn description(&self) -> Option<&'a str>

The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy.

Source

pub fn m_rid(&self) -> Option<&'a str>

Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended. For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements.

Source

pub fn name(&self) -> Option<&'a str>

The name is any free human readable and possibly non unique text naming the object.

Source

pub fn energy_ident_code_eic(&self) -> Option<&'a str>

The attribute is used for an exchange of the EIC code (Energy identification Code). The length of the string is 16 characters as defined by the EIC code. For details on EIC scheme please refer to ENTSO-E web site.

Source

pub fn short_name(&self) -> Option<&'a str>

The attribute is used for an exchange of a human readable short name with length of the string 12 characters maximum.

Source

pub fn wind_dynamics_lookup_table( &self, ) -> impl Iterator<Item = TypedRef<WindDynamicsLookupTable<'static>>> + use<'a>

The wind dynamics lookup table associated with this grid protection model.

Source

pub fn wind_dynamics_lookup_table_in<'d>( &self, dataset: &'d Dataset, ) -> impl Iterator<Item = WindDynamicsLookupTable<'d>> + use<'a, 'd>

Resolve every WindDynamicsLookupTable through dataset, skipping unresolved references.

Source

pub fn wind_turbine_type1or2_iec( &self, ) -> Option<TypedRef<WindTurbineType1or2IEC<'static>>>

Wind generator type 1 or type 2 model with which this wind turbine protection model is associated.

Source

pub fn wind_turbine_type1or2_iec_in<'d>( &self, dataset: &'d Dataset, ) -> Option<WindTurbineType1or2IEC<'d>>

Resolve WindTurbineType1or2IEC through dataset.

Source

pub fn wind_turbine_type3or4_iec( &self, ) -> Option<TypedRef<WindTurbineType3or4IEC<'static>>>

Wind generator type 3 or type 4 model with which this wind turbine protection model is associated.

Source

pub fn wind_turbine_type3or4_iec_in<'d>( &self, dataset: &'d Dataset, ) -> Option<WindTurbineType3or4IEC<'d>>

Resolve WindTurbineType3or4IEC through dataset.

Source

pub fn dfimax(&self) -> Option<f64>

Maximum rate of change of frequency (dFmax). It is a type-dependent parameter.

Unit: none.

Source

pub fn fover(&self) -> Option<f64>

Wind turbine over frequency protection activation threshold (fover). It is a project-dependent parameter.

Unit: none.

Source

pub fn funder(&self) -> Option<f64>

Wind turbine under frequency protection activation threshold (funder). It is a project-dependent parameter.

Unit: none.

Source

pub fn mzc(&self) -> Option<bool>

Zero crossing measurement mode (Mzc). It is a type-dependent parameter. true = WT protection system uses zero crossings to detect frequency (1 in the IEC model) false = WT protection system does not use zero crossings to detect frequency (0 in the IEC model).

Source

pub fn tfma(&self) -> Option<f64>

Time interval of moving average window (TfMA) (>= 0). It is a type-dependent parameter.

Unit: s.

Source

pub fn uover(&self) -> Option<f64>

Wind turbine over voltage protection activation threshold (uover). It is a project-dependent parameter.

Unit: none.

Source

pub fn uunder(&self) -> Option<f64>

Wind turbine under voltage protection activation threshold (uunder). It is a project-dependent parameter.

Unit: none.

Trait Implementations§

Source§

impl<'a> Clone for WindProtectionIEC<'a>

Source§

fn clone(&self) -> Self

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<'a> Copy for WindProtectionIEC<'a>

Source§

impl<'a> Debug for WindProtectionIEC<'a>

Source§

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

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

impl<'a> TypedView<'a> for WindProtectionIEC<'a>

Source§

const CLASS: ClassId = classes::WindProtectionIEC

The class this view represents.
Source§

fn from_object(o: &'a Object) -> Self

Wrap an object without checking its class.
Source§

fn object(&self) -> &'a Object

The underlying object.
Source§

fn try_from_object(schema: &Schema, object: &'a Object) -> Option<Self>

Wrap an object only if its class matches, including subclasses.
Source§

fn mrid(&self) -> &'a Mrid

The object’s master resource identifier.

Auto Trait Implementations§

§

impl<'a> Forget for WindProtectionIEC<'a>

§

impl<'a> Freeze for WindProtectionIEC<'a>

§

impl<'a> Move for WindProtectionIEC<'a>

§

impl<'a> RefUnwindSafe for WindProtectionIEC<'a>

§

impl<'a> Send for WindProtectionIEC<'a>

§

impl<'a> Sync for WindProtectionIEC<'a>

§

impl<'a> Unpin for WindProtectionIEC<'a>

§

impl<'a> UnsafeUnpin for WindProtectionIEC<'a>

§

impl<'a> UnwindSafe for WindProtectionIEC<'a>

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