pub struct EnergyBudget {
pub supply: f64,
pub rows: Vec<BudgetRow>,
pub shaft_work: f64,
}Expand description
Where the energy drawn from the supply over the measured pass went (see analyse_cycle).
Fields§
§supply: f64Energy from the supply. Without the DC link simulated, what the drives drew less what they fed back; with it, what the rectifier (or the line module) drew from the line into the DC link.
rows: Vec<BudgetRow>§shaft_work: f64The work the motor torques did on the mechanics, integrated with the windings: where the electrical side hands over to the machine. Not a row: the machine’s rows say where it went.
Implementations§
Source§impl EnergyBudget
impl EnergyBudget
Sourcepub fn unaccounted(&self) -> f64
pub fn unaccounted(&self) -> f64
What the rows leave of the supply. Below BUDGET_TOLERANCE of the supply on every shipped machine and
config (the_energy_budget_closes_on_every_machine_and_config).
Sourcepub fn electrical_unaccounted(&self) -> f64
pub fn electrical_unaccounted(&self) -> f64
The electrical side on its own: the supply less copper loss, braking resistor, bleeder discharge, mains and line module, the
windings’ and the capacitors’ stored energy and the shaft work. Below ELECTRICAL_TOLERANCE of the supply on
every machine and config with the back-EMF on, loss-free ones included; the rest of unaccounted is the
machine’s own balance.
Trait Implementations§
Source§impl Clone for EnergyBudget
impl Clone for EnergyBudget
Source§fn clone(&self) -> EnergyBudget
fn clone(&self) -> EnergyBudget
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EnergyBudget
impl Debug for EnergyBudget
Source§impl PartialEq for EnergyBudget
impl PartialEq for EnergyBudget
Source§fn eq(&self, other: &EnergyBudget) -> bool
fn eq(&self, other: &EnergyBudget) -> bool
self and other values to be equal, and is used by ==.