Skip to main content

winding_stretch

Function winding_stretch 

Source
pub fn winding_stretch(
    p: &DriveParams,
    len: f64,
    rise: f64,
    iron: f64,
) -> Stretch
Expand description

The winding’s model (Drive::warm) held for len at a duty that settles it at rise with the mean iron loss iron (W, effects.iron_loss): in rises it would settle at alone, q the copper heating at no rise and h the iron’s, the copper’s resistance rising by c per kelvin: one node tau T’ = q (1 + c T) + h - T, or with effects.motor_thermal_nodes the winding tau_w T_w’ = s q (1 + c T_w) - (T_w - T_h) and the housing tau_h T_h’ = (T_w - T_h) / s - T_h / (1 - s) + h, tau_h = tau - tau_w / s. Both settle at T_w = (q + h_w) / (1 - c q) (DriveParams::settled_rise; h_w = h, or (1 - s) h with two nodes), so q = (rise - h_w) / (1 + c rise).