pub struct MotorParams {
pub h: f64,
pub ra: f64,
pub xs: f64,
pub x0p: f64,
pub t0p: f64,
pub mbase: f64,
pub lfac: f64,
}Expand description
Single-phase induction motor / AC compressor — 2nd-order (PSS/E MOTOR).
Simplified model capturing the dominant dynamics of residential AC compressors and single-phase induction motors.
PSS/E params: h ra xs x0p t0p mbase lfac
Fields§
§h: f64Inertia constant (s).
ra: f64Stator resistance (pu machine base).
xs: f64Stator+rotor synchronous reactance (pu machine base).
x0p: f64Transient reactance (pu machine base).
t0p: f64Transient time constant (s).
mbase: f64MVA base.
lfac: f64Load fraction at this bus (0..1].
Trait Implementations§
Source§impl Clone for MotorParams
impl Clone for MotorParams
Source§fn clone(&self) -> MotorParams
fn clone(&self) -> MotorParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MotorParams
impl Debug for MotorParams
Source§impl<'de> Deserialize<'de> for MotorParams
impl<'de> Deserialize<'de> for MotorParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MotorParams
impl RefUnwindSafe for MotorParams
impl Send for MotorParams
impl Sync for MotorParams
impl Unpin for MotorParams
impl UnsafeUnpin for MotorParams
impl UnwindSafe for MotorParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more