Skip to main content

GeneratingUnit

Struct GeneratingUnit 

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

A single or set of synchronous machines for converting mechanical power into alternating-current power. For example, individual machines within a set may be defined for scheduling purposes while a single control signal is derived for the set. In this case there would be a GeneratingUnit for each member of the set and an additional GeneratingUnit corresponding to the set.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

impl<'a> GeneratingUnit<'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 controls( &self, ) -> impl Iterator<Item = TypedRef<Control<'static>>> + use<'a>

The controller outputs used to actually govern a regulating device, e.g. the magnetization of a synchronous machine or capacitor bank breaker actuator.

Source

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

Resolve every Controls through dataset, skipping unresolved references.

Source

pub fn location(&self) -> Option<TypedRef<Location<'static>>>

Location of this power system resource.

Source

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

Resolve Location through dataset.

Source

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

The measurements associated with this power system resource.

Source

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

Resolve every Measurements through dataset, skipping unresolved references.

Source

pub fn equipment_container( &self, ) -> Option<TypedRef<EquipmentContainer<'static>>>

Container of this equipment.

Source

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

Resolve EquipmentContainer through dataset.

Source

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

The operational limit sets associated with this equipment.

Source

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

Resolve every OperationalLimitSet through dataset, skipping unresolved references.

Source

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

The aggregate flag provides an alternative way of representing an aggregated (equivalent) element. It is applicable in cases when the dedicated classes for equivalent equipment do not have all of the attributes necessary to represent the required level of detail. In case the flag is set to “true” the single instance of equipment represents multiple pieces of equipment that have been modelled together as an aggregate equivalent obtained by a network reduction procedure. Examples would be power transformers or synchronous machines operating in parallel modelled as a single aggregate power transformer or aggregate synchronous machine. The attribute is not used for EquivalentBranch, EquivalentShunt and EquivalentInjection.

Source

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

Specifies the availability of the equipment. True means the equipment is available for topology processing, which determines if the equipment is energized or not. False means that the equipment is treated by network applications as if it is not in the model.

Source

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

Specifies the availability of the equipment under normal operating conditions. True means the equipment is available for topology processing, which determines if the equipment is energized or not. False means that the equipment is treated by network applications as if it is not in the model.

Source

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

ControlArea specifications for this generating unit.

Source

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

Resolve every ControlAreaGeneratingUnit through dataset, skipping unresolved references.

Source

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

A generating unit may have a gross active power to net active power curve, describing the losses and auxiliary power requirements of the unit.

Source

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

Resolve every GrossToNetActivePowerCurves through dataset, skipping unresolved references.

Source

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

A synchronous machine may operate as a generator and as such becomes a member of a generating unit.

Source

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

Resolve every RotatingMachine through dataset, skipping unresolved references.

Source

pub fn gen_control_source(&self) -> Option<EnumValueId>

The source of controls for a generating unit. Defines the control status of the generating unit.

Source

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

Governor Speed Changer Droop. This is the change in generator power output divided by the change in frequency normalized by the nominal power of the generator and the nominal frequency and expressed in percent and negated. A positive value of speed change droop provides additional generator output upon a drop in frequency.

Unit: none.

Source

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

Generating unit long term economic participation factor.

Source

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

This is the maximum operating active power limit the dispatcher can enter for this unit.

Unit: W, multiplier M.

Source

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

Maximum allowable spinning reserve. Spinning reserve will never be considered greater than this value regardless of the current operating point.

Unit: W, multiplier M.

Source

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

This is the minimum operating active power limit the dispatcher can enter for this unit.

Unit: W, multiplier M.

Source

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

The nominal power of the generating unit. Used to give precise meaning to percentage based attributes such as the governor speed change droop (governorSCD attribute). The attribute shall be a positive value equal to or less than RotatingMachine.ratedS.

Unit: W, multiplier M.

Source

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

Generating unit economic participation factor. The sum of the participation factors across generating units does not have to sum to one. It is used for representing distributed slack participation factor. The attribute shall be a positive value or zero.

Source

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

The unit’s gross rated maximum capacity (book value). The attribute shall be a positive value.

Unit: W, multiplier M.

Source

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

The gross rated minimum generation level which the unit can safely operate at while delivering power to the transmission grid. The attribute shall be a positive value.

Unit: W, multiplier M.

Source

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

The net rated maximum capacity determined by subtracting the auxiliary power used to operate the internal plant machinery from the rated gross maximum capacity. The attribute shall be a positive value.

Unit: W, multiplier M.

Source

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

Generating unit short term economic participation factor.

Source

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

The initial startup cost incurred for each start of the GeneratingUnit.

Unit: none.

Source

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

Time it takes to get the unit on-line, from the time that the prime mover mechanical power is applied.

Unit: s.

Source

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

The efficiency of the unit in converting the fuel into electrical energy.

Unit: none.

Source

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

The variable cost component of production per unit of ActivePower.

Unit: none.

Trait Implementations§

Source§

impl<'a> Clone for GeneratingUnit<'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 GeneratingUnit<'a>

Source§

impl<'a> Debug for GeneratingUnit<'a>

Source§

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

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

impl<'a> TypedView<'a> for GeneratingUnit<'a>

Source§

const CLASS: ClassId = classes::GeneratingUnit

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 GeneratingUnit<'a>

§

impl<'a> Freeze for GeneratingUnit<'a>
where &'a Object: Freeze,

§

impl<'a> Move for GeneratingUnit<'a>

§

impl<'a> RefUnwindSafe for GeneratingUnit<'a>

§

impl<'a> Send for GeneratingUnit<'a>
where &'a Object: Send,

§

impl<'a> Sync for GeneratingUnit<'a>
where BoxRaw<str>: Sync, RawVecInner: Sync, BoxRaw<(f64, Box<str>)>: Sync, BoxRaw<Compound>: Sync,

§

impl<'a> Unpin for GeneratingUnit<'a>
where &'a Object: Unpin,

§

impl<'a> UnsafeUnpin for GeneratingUnit<'a>
where &'a Object: UnsafeUnpin,

§

impl<'a> UnwindSafe for GeneratingUnit<'a>
where &'a Object: UnwindSafe,

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.