Skip to main content

mix_verdicts_with

Function mix_verdicts_with 

Source
pub fn mix_verdicts_with(
    heats: &[MixHeat],
    runs: &[(f64, CycleLoad, Vec<Verdict>)],
) -> Vec<Verdict>
Expand description

The verdicts of a duty mix, (weight, cycle, verdicts) per duty, each motor’s heat with heats (in the order of the cycles’ motors): per check and motor the worst duty’s (failing before passing, then the highest utilisation), but the heat over the mix, as the duties take turns, each for its weight times its cycle time and in the order given, over and over (the periodic state, periodic_peak): “motor-thermal” the highest winding rise, the winding’s model driven by each duty’s (winding_stretch, with its iron loss); “drive-current” the root of the highest of the drive’s thermal image driven by each duty’s mean square current, where the config has its time constant (else the time-weighted RMS, mix_rms); “motor-s1” the highest S1 utilisation, each duty’s RMS torque over its S1 limit squared into the motor’s one node (motor.thermal_time_constant_s), shown as that share of the time-weighted mean of the duties’ limits. Duties much shorter than the time constants give the heat of the mix’s mean, much longer ones the worst duty’s own. The values are the duties’ verdicts’, so worst-corner verdicts mix the same way (robust_ranking).