pub struct Induction {Show 13 fields
pub pole_pairs: f64,
pub rotor_resistance: f64,
pub magnetizing: f64,
pub stator: f64,
pub rotor: f64,
pub rated_voltage: f64,
pub rated_frequency: f64,
pub rated_slip: f64,
pub field_oriented: bool,
pub boost: f64,
pub slip_compensation: bool,
pub slip_filter: f64,
pub rated_flux: f64,
}Fields§
§pole_pairs: f64§rotor_resistance: f64§magnetizing: f64§stator: f64L_s and L_r, magnetizing plus leakage.
rotor: f64§rated_voltage: f64Rated phase voltage’s amplitude, rated electrical speed (2 pi f_N), rated slip’s electrical speed.
rated_frequency: f64§rated_slip: f64§field_oriented: boolField-oriented control ("foc"), else V/f.
boost: f64V/f: the boost’s phase amplitude at 0 Hz, and whether the slip is compensated.
slip_compensation: bool§slip_filter: f64V/f slip compensation: the time constant of the filter on the estimated torque, s. drive.slip_compensation_filter_s;
absent, the rotor’s own time constant L_r / R_r (the estimate then does not swing with the rotor).
rated_flux: f64The rotor flux at the rated voltage and frequency, unloaded: the field-oriented drive’s setpoint.
Implementations§
Source§impl Induction
impl Induction
pub fn from_config(cfg: &Config) -> Result<Self, ConfigError>
Sourcepub fn currents(&self, x: &[f64; 4]) -> ([f64; 2], [f64; 2])
pub fn currents(&self, x: &[f64; 4]) -> ([f64; 2], [f64; 2])
The model’s currents from its fluxes [psi_sd, psi_sq, psi_rd, psi_rq]: (i_s, i_r) as [d, q].
Sourcepub fn stored_energy(&self, x: &[f64; 4]) -> f64
pub fn stored_energy(&self, x: &[f64; 4]) -> f64
The magnetic energy, 3/4 (psi_s . i_s + psi_r . i_r).
Sourcepub fn steady(&self, rs: f64, u: [f64; 2], w_k: f64, w_r: f64) -> [f64; 4]
pub fn steady(&self, rs: f64, u: [f64; 2], w_k: f64, w_r: f64) -> [f64; 4]
The fluxes of a steady state in a frame turning at w_k with the rotor at the electrical speed w_r, under the
voltage u [d, q]: the equivalent circuit.
Sourcepub fn breakdown(&self, rs: f64, u: f64, w_e: f64) -> f64
pub fn breakdown(&self, rs: f64, u: f64, w_e: f64) -> f64
The breakdown torque at the electrical speed w_e with the phase amplitude u, from the equivalent circuit’s
Thevenin form (R_s kept): 3/2 p / w_e U_th^2 / (2 (R_th + sqrt(R_th^2 + (X_th + X_sr)^2))).
Sourcepub fn torque_curve(
&self,
p: &DriveParams,
speed: f64,
dc_voltage: f64,
) -> (f64, f64)
pub fn torque_curve( &self, p: &DriveParams, speed: f64, dc_voltage: f64, ) -> (f64, f64)
(lowest, highest) torque at a speed with the DC link dc_voltage, as DriveParams::torque_curve: the breakdown
curve. V/f: the most the stator frequency can make of it, motoring (above the rotor’s electrical speed) and
generating (below it) apart, each the maximum over the slip of the circuit’s torque at the voltage V/f gives at
that frequency (vf_extreme): the breakdown torque at a fixed frequency is the one at the speed that frequency
belongs to only. Field-oriented the current limit at the flux the control sets (flux_setpoint), 3/2 p (L_m / L_r)
psi sqrt(I^2 - (psi / L_m)^2) for the amplitude I of the smaller of the motor’s and the drive’s maximum current,
within what the voltage circle leaves at that flux (voltage_iq), and the breakdown; and the peak torque.
Sourcepub fn rated_copper_loss(&self, resistance: f64) -> f64
pub fn rated_copper_loss(&self, resistance: f64) -> f64
The copper loss at the rated point of the name plate, from the equivalent circuit at the rated voltage, frequency
and slip, with the stator at resistance (warm): what brings the motor to its rated rise.