Skip to main content

LoadMotor

Struct LoadMotor 

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

Aggregate induction motor load. This model is used to represent a fraction of an ordinary load as “induction motor load”. It allows a load that is treated as an ordinary constant power in power flow analysis to be represented by an induction motor in dynamic simulation. This model is intended for representation of aggregations of many motors dispersed through a load represented at a high voltage bus but where there is no information on the characteristics of individual motors. Either a “one-cage” or “two-cage” model of the induction machine can be modelled. Magnetic saturation is not modelled. This model treats a fraction of the constant power part of a load as a motor. During initialisation, the initial power drawn by the motor is set equal to Pfrac times the constant P part of the static load. The remainder of the load is left as a static load. The reactive power demand of the motor is calculated during initialisation as a function of voltage at the load bus. This reactive power demand can be less than or greater than the constant Q component of the load. If the motor’s reactive demand is greater than the constant Q component of the load, the model inserts a shunt capacitor at the terminal of the motor to bring its reactive demand down to equal the constant Q reactive load. If an induction motor load model and a static load model are both present for a load, the motor Pfrac is assumed to be subtracted from the power flow constant P load before the static load model is applied. The remainder of the load, if any, is then represented by the static load model.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

impl<'a> LoadMotor<'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 load_aggregate(&self) -> Option<TypedRef<LoadAggregate<'static>>>

Aggregate load to which this aggregate motor (dynamic) load belongs.

Source

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

Resolve LoadAggregate through dataset.

Source

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

Damping factor (D). Unit = delta P/delta speed. Typical value = 2.

Source

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

Inertia constant (H) (>= 0). Typical value = 0,4.

Unit: s.

Source

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

Loading factor (Lfac). The ratio of initial P to motor MVA base. Typical value = 0,8.

Source

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

Transient reactance (Lp). Typical value = 0,15.

Unit: none.

Source

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

Subtransient reactance (Lpp). Typical value = 0,15.

Unit: none.

Source

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

Synchronous reactance (Ls). Typical value = 3,2.

Unit: none.

Source

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

Fraction of constant-power load to be represented by this motor model (Pfrac) (>= 0,0 and <= 1,0). Typical value = 0,3.

Source

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

Stator resistance (Ra). Typical value = 0.

Unit: none.

Source

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

Circuit breaker operating time (Tbkr) (>= 0). Typical value = 0,08.

Unit: s.

Source

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

Transient rotor time constant (Tpo) (>= 0). Typical value = 1.

Unit: s.

Source

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

Subtransient rotor time constant (Tppo) (>= 0). Typical value = 0,02.

Unit: s.

Source

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

Voltage trip pickup time (Tv) (>= 0). Typical value = 0,1.

Unit: s.

Source

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

Voltage threshold for tripping (Vt). Typical value = 0,7.

Unit: none.

Trait Implementations§

Source§

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

Source§

impl<'a> Debug for LoadMotor<'a>

Source§

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

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

impl<'a> TypedView<'a> for LoadMotor<'a>

Source§

const CLASS: ClassId = classes::LoadMotor

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

§

impl<'a> Freeze for LoadMotor<'a>

§

impl<'a> Move for LoadMotor<'a>

§

impl<'a> RefUnwindSafe for LoadMotor<'a>

§

impl<'a> Send for LoadMotor<'a>

§

impl<'a> Sync for LoadMotor<'a>

§

impl<'a> Unpin for LoadMotor<'a>

§

impl<'a> UnsafeUnpin for LoadMotor<'a>

§

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