Skip to main content

Terminal

Struct Terminal 

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

An AC electrical connection point to a piece of conducting equipment. Terminals are connected at physical connection points called connectivity nodes.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

impl<'a> Terminal<'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 bus_name_marker(&self) -> Option<TypedRef<BusNameMarker<'static>>>

The bus name marker used to name the bus (topological node).

Source

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

Resolve BusNameMarker through dataset.

Source

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

Measurements associated with this terminal defining where the measurement is placed in the network topology. It may be used, for instance, to capture the sensor position, such as a voltage transformer (PT) at a busbar or a current transformer (CT) at the bar between a breaker and an isolator.

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

The operational limit sets at the terminal.

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 connected(&self) -> Option<bool>

The connected status is related to a bus-branch model and the topological node to terminal relation. True implies the terminal is connected to the related topological node and false implies it is not. In a bus-branch model, the connected status is used to tell if equipment is disconnected without having to change the connectivity described by the topological node to terminal relation. A valid case is that conducting equipment can be connected in one end and open in the other. In particular for an AC line segment, where the reactive line charging can be significant, this is a relevant case.

Source

pub fn sequence_number(&self) -> Option<i64>

The orientation of the terminal connections for a multiple terminal conducting equipment. The sequence numbering starts with 1 and additional terminals should follow in increasing order. The first terminal is the “starting point” for a two terminal branch.

Source

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

The auxiliary equipment connected to the terminal.

Source

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

Resolve every AuxiliaryEquipment through dataset, skipping unresolved references.

Source

pub fn conducting_equipment( &self, ) -> Option<TypedRef<ConductingEquipment<'static>>>

The conducting equipment of the terminal. Conducting equipment have terminals that may be connected to other conducting equipment terminals via connectivity nodes or topological nodes.

Source

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

Resolve ConductingEquipment through dataset.

Source

pub fn connectivity_node(&self) -> Option<TypedRef<ConnectivityNode<'static>>>

The connectivity node to which this terminal connects with zero impedance.

Source

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

Resolve ConnectivityNode through dataset.

Source

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

All converters’ DC sides linked to this point of common coupling terminal.

Source

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

Resolve every ConverterDCSides through dataset, skipping unresolved references.

Source

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

Mutual couplings associated with the branch as the first branch.

Source

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

Resolve every HasFirstMutualCoupling through dataset, skipping unresolved references.

Source

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

Mutual couplings with the branch associated as the first branch.

Source

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

Resolve every HasSecondMutualCoupling through dataset, skipping unresolved references.

Source

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

The controls regulating this terminal.

Source

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

Resolve every RegulatingControl through dataset, skipping unresolved references.

Source

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

Input signal coming from this terminal.

Source

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

Resolve every RemoteInputSignal through dataset, skipping unresolved references.

Source

pub fn sv_power_flow(&self) -> Option<TypedRef<SvPowerFlow<'static>>>

The power flow state variable associated with the terminal.

Source

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

Resolve SvPowerFlow through dataset.

Source

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

The control area tie flows to which this terminal associates.

Source

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

Resolve every TieFlow through dataset, skipping unresolved references.

Source

pub fn topological_node(&self) -> Option<TypedRef<TopologicalNode<'static>>>

The topological node associated with the terminal. This can be used as an alternative to the connectivity node path to topological node, thus making it unnecessary to model connectivity nodes in some cases. Note that the if connectivity nodes are in the model, this association would probably not be used as an input specification.

Source

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

Resolve TopologicalNode through dataset.

Source

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

All transformer ends connected at this terminal.

Source

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

Resolve every TransformerEnd through dataset, skipping unresolved references.

Source

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

Represents the normal network phasing condition. If the attribute is missing, three phases (ABC) shall be assumed, except for terminals of grounding classes (specializations of EarthFaultCompensator, GroundDisconnector, and Ground) which will be assumed to be N. Therefore, phase code ABCN is explicitly declared when needed, e.g. for star point grounding equipment. The phase code on terminals connecting same ConnectivityNode or same TopologicalNode as well as for equipment between two terminals shall be consistent.

Trait Implementations§

Source§

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

Source§

impl<'a> Debug for Terminal<'a>

Source§

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

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

impl<'a> TypedView<'a> for Terminal<'a>

Source§

const CLASS: ClassId = classes::Terminal

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

§

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

§

impl<'a> Move for Terminal<'a>

§

impl<'a> RefUnwindSafe for Terminal<'a>

§

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

§

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

§

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

§

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

§

impl<'a> UnwindSafe for Terminal<'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.