Skip to main content

PowerTransformerEnd

Struct PowerTransformerEnd 

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

A PowerTransformerEnd is associated with each Terminal of a PowerTransformer. The impedance values r, r0, x, and x0 of a PowerTransformerEnd represents a star equivalent as follows

  1. for a two Terminal PowerTransformer the high voltage PowerTransformerEnd has non zero values on r, r0, x, and x0 while the low voltage PowerTransformerEnd has zero values for r, r0, x, and x0.
  2. for a three Terminal PowerTransformer the three PowerTransformerEnds represents a star equivalent with each leg in the star represented by r, r0, x, and x0 values.
  3. for a PowerTransformer with more than three Terminals the PowerTransformerEnd impedance values cannot be used. Instead use the TransformerMeshImpedance or split the transformer into multiple PowerTransformers.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

impl<'a> PowerTransformerEnd<'a>

Source

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

The object’s master resource identifier.

Source

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

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

The domain object to which this diagram object is associated.

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 globally 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 Edition 1, 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 base_voltage(&self) -> Option<TypedRef<BaseVoltage<'static>>>

Base voltage of the transformer end. This is essential for PU calculation.

Source

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

Resolve BaseVoltage through dataset.

Source

pub fn phase_tap_changer(&self) -> Option<TypedRef<PhaseTapChanger<'static>>>

Transformer end to which this phase tap changer belongs.

Source

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

Resolve PhaseTapChanger through dataset.

Source

pub fn ratio_tap_changer(&self) -> Option<TypedRef<RatioTapChanger<'static>>>

Transformer end to which this ratio tap changer belongs.

Source

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

Resolve RatioTapChanger through dataset.

Source

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

Terminal of the power transformer to which this transformer end belongs.

Source

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

Resolve Terminal through dataset.

Source

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

Number for this transformer end, corresponding to the end’s order in the power transformer vector group or phase angle clock number. Highest voltage winding should be 1. Each end within a power transformer should have a unique subsequent end number. Note the transformer end number need not match the terminal sequence number.

Source

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

(for Yn and Zn connections) True if the neutral is solidly grounded.

Source

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

(for Yn and Zn connections) Resistance part of neutral impedance where ‘grounded’ is true.

Unit: ohm.

Source

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

(for Yn and Zn connections) Reactive part of neutral impedance where ‘grounded’ is true.

Unit: ohm.

Source

pub fn power_transformer(&self) -> Option<TypedRef<PowerTransformer<'static>>>

The ends of this power transformer.

Source

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

Resolve PowerTransformer through dataset.

Source

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

Magnetizing branch susceptance (B mag). The value can be positive or negative.

Unit: S.

Source

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

Zero sequence magnetizing branch susceptance.

Unit: S.

Source

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

Kind of connection.

Source

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

Magnetizing branch conductance.

Unit: S.

Source

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

Zero sequence magnetizing branch conductance (star-model).

Unit: S.

Source

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

Terminal voltage phase angle displacement where 360 degrees are represented with clock hours. The valid values are 0 to 11. For example, for the secondary side end of a transformer with vector group code of ‘Dyn11’, specify the connection kind as wye with neutral and specify the phase angle of the clock as 11. The clock value of the transformer end number specified as 1, is assumed to be zero. Note the transformer end number is not assumed to be the same as the terminal sequence number.

Source

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

Resistance (star-model) of the transformer end. The attribute shall be equal or greater than zero for non-equivalent transformers.

Unit: ohm.

Source

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

Zero sequence series resistance (star-model) of the transformer end.

Unit: ohm.

Source

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

Normal apparent power rating. The attribute shall be a positive value. For a two-winding transformer the values for the high and low voltage sides shall be identical.

Unit: VA, multiplier M.

Source

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

Rated voltage: phase-phase for three-phase windings, and either phase-phase or phase-neutral for single-phase windings. A high voltage side, as given by TransformerEnd.endNumber, shall have a ratedU that is greater or equal than ratedU for the lower voltage sides.

Unit: V, multiplier k.

Source

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

Positive sequence series reactance (star-model) of the transformer end.

Unit: ohm.

Source

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

Zero sequence series reactance of the transformer end.

Unit: ohm.

Trait Implementations§

Source§

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

Source§

impl<'a> Debug for PowerTransformerEnd<'a>

Source§

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

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

impl<'a> TypedView<'a> for PowerTransformerEnd<'a>

Source§

const CLASS: ClassId = classes::PowerTransformerEnd

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

§

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

§

impl<'a> Move for PowerTransformerEnd<'a>

§

impl<'a> RefUnwindSafe for PowerTransformerEnd<'a>

§

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

§

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

§

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

§

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

§

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