pub struct ThermalFeedback {
pub ambient: f64,
pub reference: f64,
pub viscosity_slope: f64,
pub gearbox_viscous_share: f64,
pub belt_coefficient: f64,
pub efficiency: f64,
pub seal_exponent: f64,
}Expand description
With effects.thermal_feedback: what the temperatures of the parts do to friction, gearbox losses and belt
stiffness. The config’s values hold at reference (gearbox makers quote their no-load torque at 20 °C); the
machine stands in air at ambient, and a part is at ambient plus its rise (effects.part_heating; without it the
rises stay 0).
- Lubricant viscosity (Arrhenius/Andrade): nu(T) / nu_ref = exp(B (1/T - 1/T_ref)), T in K. A mineral oil of viscosity index about 100 has B = 3470 K (ISO VG 32: 32 and 5.4 mm²/s at 40 and 100 °C) to 4730 K (VG 220: 220 and 19.4 mm²/s); VG 68 (68 and 8.7) gives 4000 K.
- Guide: its viscous coefficient follows the viscosity; Coulomb and stiction levels (rolling contact, seals) stay as they are.
- Gearbox: a share s of its loss (1 - eta_ref) is churning and bearing drag, which follows the viscosity; the rest, tooth friction, does not: 1 - eta = (1 - eta_ref) (1 - s + s nu / nu_ref).
- Gearbox with effects.gearbox_drag: its churning and bearing drag is the no-load running torque (
GearDrag), which follows the viscosity by its own law; the efficiency then is the teeth’s alone, and s is taken as 0. - Shaft seals: the motor shaft’s Coulomb and breakaway levels (
ShaftFriction) follow (nu / nu_ref)^m, mseal_viscosity_exponent: a lip seal runs on a lubricant film whose shear grows with the viscosity, less than in proportion. - Belt: polyurethane loses modulus as it warms, but the steel cords carry EA: EA (1 - alpha (T - T_ref)), alpha a few 1e-4 per K (steel’s own modulus falls by about 2.5e-4 per K). The belt is taken at ambient: it has no loss of its own in the model, and a stiffness that changed while running would change its stored energy.
Fields§
§ambient: f64K.
reference: f64§viscosity_slope: f64B of the viscosity law, K.
belt_coefficient: f64alpha, 1/K.
efficiency: f64The gearbox’s efficiency at the reference temperature (1 with effects.gearbox_efficiency off).
seal_exponent: f64m of the seals’ law.
Implementations§
Source§impl ThermalFeedback
impl ThermalFeedback
Sourcepub fn from_config(cfg: &Config) -> Result<Option<Self>, ConfigError>
pub fn from_config(cfg: &Config) -> Result<Option<Self>, ConfigError>
None with the effect off.
Sourcepub fn viscosity_factor(&self, rise: f64) -> f64
pub fn viscosity_factor(&self, rise: f64) -> f64
nu / nu_ref of a lubricant rise above ambient.
Sourcepub fn gearbox_efficiency(&self, rise: f64) -> f64
pub fn gearbox_efficiency(&self, rise: f64) -> f64
The gearbox’s efficiency rise above ambient. Not below 0.01: a gearbox far below its reference temperature
would otherwise lose more than it transmits.
Sourcepub fn belt_stiffness_factor(&self) -> f64
pub fn belt_stiffness_factor(&self) -> f64
Factor on the belt’s EA at ambient.
Trait Implementations§
Source§impl Clone for ThermalFeedback
impl Clone for ThermalFeedback
Source§fn clone(&self) -> ThermalFeedback
fn clone(&self) -> ThermalFeedback
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ThermalFeedback
impl RefUnwindSafe for ThermalFeedback
impl Send for ThermalFeedback
impl Sync for ThermalFeedback
impl Unpin for ThermalFeedback
impl UnsafeUnpin for ThermalFeedback
impl UnwindSafe for ThermalFeedback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more