Skip to main content

MotorLoad

Struct MotorLoad 

Source
pub struct MotorLoad {
Show 38 fields pub id: String, pub peak_torque: f64, pub rms_torque: f64, pub cubic_mean_torque: f64, pub peak_speed: f64, pub utilisation: f64, pub thermal_utilisation: f64, pub rms_current: f64, pub peak_current: f64, pub winding_rise: f64, pub thermal_current: f64, pub load_angle: Option<f64>, pub iron_loss: f64, pub housing_rise: f64, pub drive_overload: f64, pub energy_in: f64, pub energy_regenerated: f64, pub peak_regenerated_power: f64, pub largest_regeneration: f64, pub regeneration_events: Vec<f64>, pub dc_link_account: Option<LinkAccount>, pub resistor_energy: f64, pub peak_resistor_power: f64, pub peak_dc_link_voltage: f64, pub mains_energy: f64, pub line_module_energy: f64, pub peak_line_module_power: f64, pub discharge_energy: f64, pub gearbox_torque: Option<(f64, f64)>, pub mean_speed: f64, pub gearbox_life_torque: Option<f64>, pub gearbox_torque_by_speed: Vec<f64>, pub gearbox_torque_spectrum: Vec<f64>, pub radial_load_equivalent: Option<f64>, pub radial_load_peak: Option<f64>, pub belt_wrap: Option<f64>, pub torque_parts: Option<[(f64, f64); 4]>, pub points: Vec<(f64, f64)>,
}
Expand description

The load on one motor over one pass of the cycle.

Fields§

§id: String

The motor’s id, whose own values (catalog::motor_config) its verdicts are judged with; “” for the shared ones.

§peak_torque: f64§rms_torque: f64§cubic_mean_torque: f64

The torque gearbox makers size a gearbox’s continuous rating with: the cube root of the mean of the torque cubed, weighted with the speed, so that a turn under load counts and standing still does not.

§peak_speed: f64§utilisation: f64

Highest ratio of the torque the velocity loop asks for to the torque the drive has available at that speed. Above 1 the cycle asks for more than the torque-speed curve gives.

§thermal_utilisation: f64

RMS torque over the torque the motor can give continuously. Above 1 the motor overheats on this cycle.

§rms_current: f64§peak_current: f64

Highest |current| over the pass, A: against the drive’s maximum output current. With the drive’s limit simulated (effects.drive_current_limit) the current the velocity loop’s torque asks for (Drive::torque_demand) where that is higher: a drive held at its limit delivers no more, and the check would never see the cycle beyond it (“motor-peak” judges the demand for the same reason).

§winding_rise: f64

Temperature rise the winding settles at when the cycle repeats for long.

§thermal_current: f64

RMS of the current that heats the winding (Drive::thermal_current): the phase current’s, an induction motor’s with its rotor’s copper loss.

§load_angle: Option<f64>

A stepper’s highest |load angle| over the pass, electrical rad (drive::Phases::load_angle): beyond pi / 2 it is past its pull-out angle, beyond pi it has lost steps. None for the other motors.

§iron_loss: f64

With effects.iron_loss: the stator’s mean iron loss over the pass, W (DriveParams::iron_loss_at); 0 without.

§housing_rise: f64

With effects.motor_thermal_nodes: the rise the stator and housing settle at, K, the winding’s times the housing’s share of the thermal resistance (drive::ThermalNodes); 0 without.

§drive_overload: f64

With effects.drive_overload: the highest the drive’s thermal image reaches when the cycle repeats for long (drive::Overload, 1 at the rated current held), judged against its trip level (“drive-overload”); 0 without.

§energy_in: f64

Electrical energy over the cycle: drawn from the DC link, and fed back into it while braking.

§energy_regenerated: f64§peak_regenerated_power: f64

Highest power fed back, and the most energy fed back in one go: what the DC link capacitors or a braking resistor have to take.

§largest_regeneration: f64§regeneration_events: Vec<f64>

The cycle’s electrical energy in stretches of one sign, J, in their order: positive for a braking event (one run of negative power) fed back, negative for the energy drawn between two, which empties the DC link’s capacitors first. What the resistor takes above the link’s room (resistor_excess), where the link is not simulated. For a load built by hand: a run keeps its account online instead (dc_link_account) and leaves this empty.

§dc_link_account: Option<LinkAccount>

A run’s running account of these stretches for the motor’s DC link room (LinkAccount), where its config gives the capacitance and the braking threshold; judged instead of regeneration_events where the room is the same.

§resistor_energy: f64

With the DC link simulated: the energy the braking resistor burned (over the cycle’s duration its mean power), the most power it took and the highest DC link voltage. For a drive that tripped on overvoltage, the voltage it tripped at.

§peak_resistor_power: f64§peak_dc_link_voltage: f64§mains_energy: f64

With the regenerative supply (effects.regenerative_supply): the energy fed back into the mains (what arrives there), and the line module’s load: the energy through it either way (drawn into the DC link, and fed back as the DC link gives it) and its highest power either way.

§line_module_energy: f64§peak_line_module_power: f64§discharge_energy: f64

With the DC link simulated: what the drive’s bleeder took out of the DC link while disabled (Drive::disabled_step; each drive its own share of a shared link), J.

§gearbox_torque: Option<(f64, f64)>

The torque at the gearbox output, where the machine reports it (signal gearbox.<motor>.output_torque): its peak, and its cubic mean weighted with the speed. Not the motor torque times the ratio: the rotor’s own acceleration does not pass through the gearbox, and its losses come off or on top.

§mean_speed: f64

Mean of the motor’s |speed| over the pass, rad/s: for the lives in hours.

§gearbox_life_torque: Option<f64>

Where the machine reports the gearbox output torque: its mean with the exponent 10/3, weighted with the speed, the equivalent torque of Siemens’ life formula for the planet bearings (gearbox_life_h).

§gearbox_torque_by_speed: Vec<f64>

Where the machine reports the gearbox output torque: its peak in each band of SPEED_BAND rad/s of the motor’s |speed| (band i from i to i + 1 times it), every step. For the belt’s tooth load, whose rating falls with speed.

§gearbox_torque_spectrum: Vec<f64>

Where the machine reports the gearbox output torque: the gearing’s load spectrum, the motor’s |speed| in rad/s while the output torque was in each band (band i from torque_band_floor(i) to torque_band_floor(i + 1)), summed every step over the steps: what each band adds to mean_speed. For gearbox_gearing_life_h.

§radial_load_equivalent: Option<f64>

Where the machine reports the radial load on this motor’s pulley shaft (pulley.<motor>.radial_load): its cubic mean weighted with the speed, the equivalent load P of the bearings’ rating life (ISO 281), once per millisecond.

§radial_load_peak: Option<f64>

Where the machine reports that radial load: its highest over the pass, N, sampled as CycleLoad::radial_load_peak is. Judged per motor against that motor’s ratings.shaft_max_radial_load_n (“gearbox-radial-load”).

§belt_wrap: Option<f64>

With effects.belt_wrap, where the machine gives its belt geometry (Machine::belt_wraps): the smallest angle by which the belt wrapped this motor’s pulley over the pass, rad, once per millisecond. For the teeth in mesh.

§torque_parts: Option<[(f64, f64); 4]>

Peak and RMS of each part of the motor torque, in the order of TORQUE_PARTS, where the machine reports them (signals motor.<id>.torque_<part>). Looked at every step. The parts add up to the torque at every moment; their peaks and RMS values do not add up, as they come at different times.

§points: Vec<(f64, f64)>

(speed, torque) once per millisecond, for plotting over the torque-speed curve.

Trait Implementations§

Source§

impl Clone for MotorLoad

Source§

fn clone(&self) -> MotorLoad

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 Debug for MotorLoad

Source§

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

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

impl Default for MotorLoad

Source§

fn default() -> MotorLoad

Returns the “default value” for a type. 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, 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.