Skip to main content

SynchronousMachine

Struct SynchronousMachine 

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

An electromechanical device that operates with shaft rotating synchronously with the network. It is a single machine operating either as a generator or synchronous condenser or pump.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

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

Regulating device governed by this control output.

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 power system resource that contains the measurement.

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 single instance of equipment represents multiple pieces of equipment that have been modeled together as an aggregate. Examples would be power transformers or synchronous machines operating in parallel modeled as a single aggregate power transformer or aggregate synchronous machine. This is not to be used to indicate equipment that is part of a group of interdependent equipment produced by a network production program.

Source

pub fn base_voltage(&self) -> Option<TypedRef<BaseVoltage<'static>>>

All conducting equipment with this base voltage. Use only when there is no voltage level container used and only one base voltage applies. For example, not used for transformers.

Source

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

Resolve BaseVoltage through dataset.

Source

pub fn sv_status(&self) -> Option<TypedRef<SvStatus<'static>>>

The status state variable associated with this conducting equipment.

Source

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

Resolve SvStatus through dataset.

Source

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

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

Source

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

Resolve every Terminals through dataset, skipping unresolved references.

Source

pub fn regulating_control(&self) -> Option<TypedRef<RegulatingControl<'static>>>

The regulating control scheme in which this equipment participates.

Source

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

Resolve RegulatingControl through dataset.

Source

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

Specifies the regulation status of the equipment. True is regulating, false is not regulating.

Source

pub fn generating_unit(&self) -> Option<TypedRef<GeneratingUnit<'static>>>

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

Source

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

Resolve GeneratingUnit through dataset.

Source

pub fn hydro_pump(&self) -> Option<TypedRef<HydroPump<'static>>>

The synchronous machine drives the turbine which moves the water from a low elevation to a higher elevation. The direction of machine rotation for pumping may or may not be the same as for generating.

Source

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

Resolve HydroPump through dataset.

Source

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

Active power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.

Unit: W, multiplier M.

Source

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

Reactive power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.

Unit: VAr, multiplier M.

Source

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

Power factor (nameplate data). It is primarily used for short circuit data exchange according to IEC 60909.

Unit: none.

Source

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

Nameplate apparent power rating for the unit. The attribute shall have a positive value.

Unit: VA, multiplier M.

Source

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

Rated voltage (nameplate data, Ur in IEC 60909-0). It is primarily used for short circuit data exchange according to IEC 60909.

Unit: V, multiplier k.

Source

pub fn initial_reactive_capability_curve( &self, ) -> Option<TypedRef<ReactiveCapabilityCurve<'static>>>

Synchronous machines using this curve as default.

Source

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

Resolve InitialReactiveCapabilityCurve through dataset.

Source

pub fn synchronous_machine_dynamics( &self, ) -> Option<TypedRef<SynchronousMachineDynamics<'static>>>

Synchronous machine dynamics model used to describe dynamic behavior of this synchronous machine.

Source

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

Resolve SynchronousMachineDynamics through dataset.

Source

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

Indicates whether or not the generator is earthed. Used for short circuit data exchange according to IEC 60909

Source

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

Generator star point earthing resistance (Re). Used for short circuit data exchange according to IEC 60909

Unit: ohm.

Source

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

Generator star point earthing reactance (Xe). Used for short circuit data exchange according to IEC 60909

Unit: ohm.

Source

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

Steady-state short-circuit current (in A for the profile) of generator with compound excitation during 3-phase short circuit.

  • Ikk=0: Generator with no compound excitation.
  • Ikk?0: Generator with compound excitation. Ikk is used to calculate the minimum steady-state short-circuit current for generators with compound excitation (Section 4.6.1.2 in the IEC 60909-0) Used only for single fed short circuit on a generator. (Section 4.3.4.2. in the IEC 60909-0)

Unit: A.

Source

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

Maximum reactive power limit. This is the maximum (nameplate) limit for the unit.

Unit: VAr, multiplier M.

Source

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

Minimum reactive power limit for the unit.

Unit: VAr, multiplier M.

Source

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

Factor to calculate the breaking current (Section 4.5.2.1 in the IEC 60909-0). Used only for single fed short circuit on a generator (Section 4.3.4.2. in the IEC 60909-0).

Unit: none.

Source

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

Current mode of operation.

Source

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

Percent of the coordinated reactive control that comes from this machine.

Unit: none.

Source

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

Equivalent resistance (RG) of generator. RG is considered for the calculation of all currents, except for the calculation of the peak current ip. Used for short circuit data exchange according to IEC 60909

Unit: ohm.

Source

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

Zero sequence resistance of the synchronous machine.

Unit: none.

Source

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

Negative sequence resistance.

Unit: none.

Source

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

Priority of unit for use as powerflow voltage phase angle reference bus selection. 0 = don t care (default) 1 = highest priority. 2 is less than 1 and so on.

Source

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

Direct-axis subtransient reactance saturated, also known as Xd“sat.

Unit: none.

Source

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

Direct-axes saturated synchronous reactance (xdsat); reciprocal of short-circuit ration. Used for short circuit data exchange, only for single fed short circuit on a generator. (Section 4.3.4.2. in the IEC 60909-0).

Unit: none.

Source

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

Saturated Direct-axis transient reactance. The attribute is primarily used for short circuit calculations according to ANSI.

Unit: none.

Source

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

Type of rotor, used by short circuit applications, only for single fed short circuit according to IEC 60909.

Source

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

Modes that this synchronous machine can operate in.

Source

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

Range of generator voltage regulation (PG in the IEC 60909-0) used for calculation of the impedance correction factor KG defined in IEC 60909-0 This attribute is used to describe the operating voltage of the generating unit.

Unit: none.

Source

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

Zero sequence reactance of the synchronous machine.

Unit: none.

Source

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

Negative sequence reactance.

Unit: none.

Trait Implementations§

Source§

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

Source§

impl<'a> Debug for SynchronousMachine<'a>

Source§

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

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

impl<'a> TypedView<'a> for SynchronousMachine<'a>

Source§

const CLASS: ClassId = classes::SynchronousMachine

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

§

impl<'a> Freeze for SynchronousMachine<'a>

§

impl<'a> Move for SynchronousMachine<'a>

§

impl<'a> RefUnwindSafe for SynchronousMachine<'a>

§

impl<'a> Send for SynchronousMachine<'a>

§

impl<'a> Sync for SynchronousMachine<'a>

§

impl<'a> Unpin for SynchronousMachine<'a>

§

impl<'a> UnsafeUnpin for SynchronousMachine<'a>

§

impl<'a> UnwindSafe for SynchronousMachine<'a>

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.