Skip to main content

warmed

Function warmed 

Source
pub fn warmed(worm: &WormNode, loss_factor: f64) -> WormNode
Expand description

The worm’s efficiencies loss_factor times as lossy as at the reference temperature: 1 - eta becomes (1 - eta) f both ways, the gearbox’s law (mech::ThermalFeedback::gearbox_efficiency) applied to the worm’s own efficiencies. Forward not below 0.01, as the gearbox’s; a self-locking worm stays locked (back efficiency at most 0) and one that turns back keeps turning back (above 0, at least 0.01).