Skip to main content

TapChangerControl

Struct TapChangerControl 

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

Describes behaviour specific to tap changers, e.g. how the voltage at the end of a line varies with the load level and compensation of the voltage drop by tap adjustment.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

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

The equipment that participates in this regulating control scheme.

Source

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

Resolve every RegulatingCondEq through dataset, skipping unresolved references.

Source

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

Schedule for this regulating control.

Source

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

Resolve every RegulationSchedule through dataset, skipping unresolved references.

Source

pub fn terminal(&self) -> Option<TypedRef<Terminal<'static>>>

The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.

Source

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

Resolve Terminal through dataset.

Source

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

The regulation is performed in a discrete mode. This applies to equipment with discrete controls, e.g. tap changers and shunt compensators.

Source

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

The flag tells if regulation is enabled.

Source

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

Maximum allowed target value (RegulatingControl.targetValue).

Source

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

Minimum allowed target value (RegulatingControl.targetValue).

Source

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

The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.

Source

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

This is a deadband used with discrete control to avoid excessive update of controls like tap changers and shunt compensator banks while regulating. The units of those appropriate for the mode. The attribute shall be a positive value or zero. If RegulatingControl.discrete is set to “false”, the RegulatingControl.targetDeadband is to be ignored. Note that for instance, if the targetValue is 100 kV and the targetDeadband is 2 kV the range is from 99 to 101 kV.

Source

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

The target value specified for case input. This value can be used for the target value without the use of schedules. The value has the units appropriate to the mode attribute.

Source

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

Specify the multiplier for used for the targetValue.

Source

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

The tap changers that participates in this regulating tap control scheme.

Source

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

Resolve every TapChanger through dataset, skipping unresolved references.

Trait Implementations§

Source§

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

Source§

impl<'a> Debug for TapChangerControl<'a>

Source§

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

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

impl<'a> TypedView<'a> for TapChangerControl<'a>

Source§

const CLASS: ClassId = classes::TapChangerControl

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

§

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

§

impl<'a> Move for TapChangerControl<'a>

§

impl<'a> RefUnwindSafe for TapChangerControl<'a>

§

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

§

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

§

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

§

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

§

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