Skip to main content

SynchronousMachineEquivalentCircuit

Struct SynchronousMachineEquivalentCircuit 

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

The electrical equations for all variations of the synchronous models are based on the SynchronousEquivalentCircuit diagram for the direct- and quadrature- axes. Equations for conversion between equivalent circuit and time constant reactance forms: Xd = Xad + Xl X’d = Xl + Xad x Xfd / (Xad + Xfd) X”d = Xl + Xad x Xfd x X1d / (Xad x Xfd + Xad x X1d + Xfd x X1d) Xq = Xaq + Xl X’q = Xl + Xaq x X1q / (Xaq + X1q) X”q = Xl + Xaq x X1q x X2q / (Xaq x X1q + Xaq x X2q + X1q x X2q) T’do = (Xad + Xfd) / (omega0 x Rfd) T”do = (Xad x Xfd + Xad x X1d + Xfd x X1d) / (omega0 x R1d x (Xad + Xfd) T’qo = (Xaq + X1q) / (omega0 x R1q) T”qo = (Xaq x X1q + Xaq x X2q + X1q x X2q) / (omega0 x R2q x (Xaq + X1q) Same equations using CIM attributes from SynchronousMachineTimeConstantReactance class on left of “=” and SynchronousMachineEquivalentCircuit class on right (except as noted): xDirectSync = xad + RotatingMachineDynamics.statorLeakageReactance xDirectTrans = RotatingMachineDynamics.statorLeakageReactance + xad x xfd / (xad + xfd) xDirectSubtrans = RotatingMachineDynamics.statorLeakageReactance + xad x xfd x x1d / (xad x xfd + xad x x1d + xfd x x1d) xQuadSync = xaq + RotatingMachineDynamics.statorLeakageReactance xQuadTrans = RotatingMachineDynamics.statorLeakageReactance + xaq x x1q / (xaq+ x1q) xQuadSubtrans = RotatingMachineDynamics.statorLeakageReactance + xaq x x1q x x2q / (xaq x x1q + xaq x x2q + x1q x x2q) tpdo = (xad + xfd) / (2 x pi x nominal frequency x rfd) tppdo = (xad x xfd + xad x x1d + xfd x x1d) / (2 x pi x nominal frequency x r1d x (xad + xfd) tpqo = (xaq + x1q) / (2 x pi x nominal frequency x r1q) tppqo = (xaq x x1q + xaq x x2q + x1q x x2q) / (2 x pi x nominal frequency x r2q x (xaq + x1q) These are only valid for a simplified model where “Canay” reactance is zero.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

impl<'a> SynchronousMachineEquivalentCircuit<'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 enabled(&self) -> Option<bool>

Function block used indicator. true = use of function block is enabled false = use of function block is disabled.

Source

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

Damping torque coefficient (D) (>= 0). A proportionality constant that, when multiplied by the angular velocity of the rotor poles with respect to the magnetic field (frequency), results in the damping torque. This value is often zero when the sources of damping torques (generator damper windings, load damping effects, etc.) are modelled in detail. Typical value = 0.

Source

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

Inertia constant of generator or motor and mechanical load (H) (> 0). This is the specification for the stored energy in the rotating mass when operating at rated speed. For a generator, this includes the generator plus all other elements (turbine, exciter) on the same shaft and has units of MW x s. For a motor, it includes the motor plus its mechanical load. Conventional units are PU on the generator MVA base, usually expressed as MW x s / MVA or just s. This value is used in the accelerating power reference frame for operator training simulator solutions. Typical value = 3.

Unit: s.

Source

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

Saturation factor at rated terminal voltage (S1) (>= 0). Not used by simplified model. Defined by defined by S(E1) in the SynchronousMachineSaturationParameters diagram. Typical value = 0,02.

Source

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

Saturation factor at 120% of rated terminal voltage (S12) (>= RotatingMachineDynamics.saturationFactor). Not used by the simplified model, defined by S(E2) in the SynchronousMachineSaturationParameters diagram. Typical value = 0,12.

Source

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

Stator leakage reactance (Xl) (>= 0). Typical value = 0,15.

Unit: none.

Source

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

Stator (armature) resistance (Rs) (>= 0). Typical value = 0,005.

Unit: none.

Source

pub fn cross_compound_turbine_governor_dyanmics( &self, ) -> Option<TypedRef<CrossCompoundTurbineGovernorDynamics<'static>>>

The cross-compound turbine governor with which this high-pressure synchronous machine is associated.

Source

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

Resolve CrossCompoundTurbineGovernorDyanmics through dataset.

Source

pub fn cross_compound_turbine_governor_dynamics( &self, ) -> Option<TypedRef<CrossCompoundTurbineGovernorDynamics<'static>>>

The cross-compound turbine governor with which this low-pressure synchronous machine is associated.

Source

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

Resolve CrossCompoundTurbineGovernorDynamics through dataset.

Source

pub fn excitation_system_dynamics( &self, ) -> Option<TypedRef<ExcitationSystemDynamics<'static>>>

Excitation system model associated with this synchronous machine model.

Source

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

Resolve ExcitationSystemDynamics through dataset.

Source

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

Compensation of voltage compensator’s generator for current flow out of this generator.

Source

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

Resolve every GenICompensationForGenJ through dataset, skipping unresolved references.

Source

pub fn mechanical_load_dynamics( &self, ) -> Option<TypedRef<MechanicalLoadDynamics<'static>>>

Mechanical load model associated with this synchronous machine model.

Source

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

Resolve MechanicalLoadDynamics through dataset.

Source

pub fn synchronous_machine( &self, ) -> Option<TypedRef<SynchronousMachine<'static>>>

Synchronous machine to which synchronous machine dynamics model applies.

Source

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

Resolve SynchronousMachine through dataset.

Source

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

Turbine-governor model associated with this synchronous machine model. Multiplicity of greater than one is intended to support hydro units that have multiple turbines on one generator.

Source

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

Resolve every TurbineGovernorDynamics through dataset, skipping unresolved references.

Source

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

Ratio (exciter voltage/generator voltage) of Efd bases of exciter and generator models (> 0). Typical value = 1.

Source

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

Excitation base system mode. It should be equal to the value of WLMDV given by the user. WLMDV is the PU ratio between the field voltage and the excitation current: Efd = WLMDV x Ifd. Typical value = ifag.

Source

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

Quadrature-axis saturation factor at 120% of rated terminal voltage (S12q) (>= SynchonousMachineDetailed.saturationFactorQAxis). Typical value = 0,12.

Source

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

Quadrature-axis saturation factor at rated terminal voltage (S1q) (>= 0). Typical value = 0,02.

Source

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

Direct-axis damper 1 winding resistance.

Unit: none.

Source

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

Quadrature-axis damper 1 winding resistance.

Unit: none.

Source

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

Quadrature-axis damper 2 winding resistance.

Unit: none.

Source

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

Field winding resistance.

Unit: none.

Source

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

Direct-axis damper 1 winding leakage reactance.

Unit: none.

Source

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

Quadrature-axis damper 1 winding leakage reactance.

Unit: none.

Source

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

Quadrature-axis damper 2 winding leakage reactance.

Unit: none.

Source

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

Direct-axis mutual reactance.

Unit: none.

Source

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

Quadrature-axis mutual reactance.

Unit: none.

Source

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

Differential mutual (“Canay”) reactance.

Unit: none.

Source

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

Field winding leakage reactance.

Unit: none.

Trait Implementations§

Source§

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

Source§

impl<'a> Debug for SynchronousMachineEquivalentCircuit<'a>

Source§

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

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

impl<'a> TypedView<'a> for SynchronousMachineEquivalentCircuit<'a>

Source§

const CLASS: ClassId = classes::SynchronousMachineEquivalentCircuit

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§

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.