pub struct PowerSystemResource<'a>(pub &'a Object);Expand description
A power system resource (PSR) can be an item of equipment such as a switch, an equipment container containing many individual items of equipment such as a substation, or an organisational entity such as sub-control area. Power system resources can have measurements associated.
Tuple Fields§
§0: &'a ObjectImplementations§
Source§impl<'a> PowerSystemResource<'a>
impl<'a> PowerSystemResource<'a>
Sourcepub fn diagram_objects(
&self,
) -> impl Iterator<Item = TypedRef<DiagramObject<'static>>> + use<'a>
pub fn diagram_objects( &self, ) -> impl Iterator<Item = TypedRef<DiagramObject<'static>>> + use<'a>
The diagram objects that are associated with the domain object.
Sourcepub fn diagram_objects_in<'d>(
&self,
dataset: &'d Dataset,
) -> impl Iterator<Item = DiagramObject<'d>> + use<'a, 'd>
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.
Sourcepub fn description(&self) -> Option<&'a str>
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.
Sourcepub fn m_rid(&self) -> Option<&'a str>
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.
Sourcepub fn name(&self) -> Option<&'a str>
pub fn name(&self) -> Option<&'a str>
The name is any free human readable and possibly non unique text naming the object.
Sourcepub fn energy_ident_code_eic(&self) -> Option<&'a str>
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.
Sourcepub fn short_name(&self) -> Option<&'a str>
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.
Sourcepub fn controls(
&self,
) -> impl Iterator<Item = TypedRef<Control<'static>>> + use<'a>
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.
Sourcepub fn controls_in<'d>(
&self,
dataset: &'d Dataset,
) -> impl Iterator<Item = Control<'d>> + use<'a, 'd>
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.
Sourcepub fn location(&self) -> Option<TypedRef<Location<'static>>>
pub fn location(&self) -> Option<TypedRef<Location<'static>>>
Location of this power system resource.
Sourcepub fn location_in<'d>(&self, dataset: &'d Dataset) -> Option<Location<'d>>
pub fn location_in<'d>(&self, dataset: &'d Dataset) -> Option<Location<'d>>
Resolve Location through dataset.
Sourcepub fn measurements(
&self,
) -> impl Iterator<Item = TypedRef<Measurement<'static>>> + use<'a>
pub fn measurements( &self, ) -> impl Iterator<Item = TypedRef<Measurement<'static>>> + use<'a>
The measurements associated with this power system resource.
Sourcepub fn measurements_in<'d>(
&self,
dataset: &'d Dataset,
) -> impl Iterator<Item = Measurement<'d>> + use<'a, 'd>
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.