Skip to main content

InductionMachine

Struct InductionMachine 

Source
pub struct InductionMachine {
Show 24 fields pub bus: u32, pub id: String, pub in_service: bool, pub mbase: f64, pub rate_kv: f64, pub pset: f64, pub h: f64, pub a: f64, pub b: f64, pub d: f64, pub e: f64, pub f_coeff: f64, pub ra: f64, pub xa: f64, pub xm: f64, pub r1: f64, pub x1: f64, pub r2: f64, pub x2: f64, pub x3: f64, pub area: u32, pub zone: u32, pub owner: u32, pub load_id: Option<String>,
}
Expand description

PSS/E induction machine (motor load) steady-state equivalent-circuit record.

Parsed from “INDUCTION MACHINE DATA” in PSS/E RAW v35+ files. Uses the standard T-circuit model: Ra+jXa (stator), jXm (magnetizing), R1+jX1 (rotor cage 1), R2+jX2 (rotor cage 2, double-cage only).

Source: PSS/E v35 Program Operation Manual §5.12.

Fields§

§bus: u32

Terminal bus number.

§id: String

Machine identifier (up to 2 characters).

§in_service: bool

In-service status.

§mbase: f64

Machine base MVA (0.0 → use system base).

§rate_kv: f64

Rated terminal kV.

§pset: f64

Active-power set-point (MW when pcode=1, power factor when pcode=2).

§h: f64

Inertia constant H (MW·s/MVA).

§a: f64

Speed-torque coefficient A (T = A + Bw + Dw^2 + E*w^3).

§b: f64

Speed-torque coefficient B.

§d: f64

Speed-torque coefficient D.

§e: f64

Speed-torque coefficient E.

§f_coeff: f64

Locked-rotor torque multiplier F.

§ra: f64

Stator resistance Ra (pu, machine base).

§xa: f64

Stator leakage reactance Xa (pu, machine base).

§xm: f64

Magnetizing reactance Xm (pu, machine base).

§r1: f64

Rotor resistance — first cage R1 (pu, machine base).

§x1: f64

Rotor reactance — first cage X1 (pu, machine base).

§r2: f64

Rotor resistance — second cage R2 (pu; 0 = single-cage).

§x2: f64

Rotor reactance — second cage X2 (pu; 0 = single-cage).

§x3: f64

Leakage reactance X3 (pu, machine base).

§area: u32

PSS/E area number.

§zone: u32

PSS/E zone number.

§owner: u32

PSS/E owner number.

§load_id: Option<String>

References Load.id on the same bus. None = bus-level (legacy).

Implementations§

Source§

impl InductionMachine

Source

pub fn effective_mbase(&self, system_base: f64) -> f64

Effective machine base MVA — falls back to system_base when mbase == 0.

Trait Implementations§

Source§

impl Clone for InductionMachine

Source§

fn clone(&self) -> InductionMachine

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for InductionMachine

Source§

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

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

impl<'de> Deserialize<'de> for InductionMachine

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for InductionMachine

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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 = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,