Struct ThermalState
pub struct ThermalState {
pub temperature: f64,
pub beta_multiplier: f64,
pub is_multiplier: f64,
pub vt: f64,
}Expand description
Temperature-dependent parameters that change as the circuit warms up.
Fields§
§temperature: f64Current junction temperature in deg C.
beta_multiplier: f64BJT current gain multiplier (relative to nominal at 25 deg C).
1.0 when warm, < 1.0 when cold.
is_multiplier: f64Diode saturation current multiplier (relative to nominal at 25 deg C).
1.0 when warm (Is doubles every ~10 deg C).
vt: f64Thermal voltage at current temperature (V). Vt = k*T/q where T is in Kelvin. ~25.85 mV at 20 deg C.
Trait Implementations§
§impl Clone for ThermalState
impl Clone for ThermalState
§fn clone(&self) -> ThermalState
fn clone(&self) -> ThermalState
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 moreimpl Copy for ThermalState
Auto Trait Implementations§
impl Freeze for ThermalState
impl RefUnwindSafe for ThermalState
impl Send for ThermalState
impl Sync for ThermalState
impl Unpin for ThermalState
impl UnsafeUnpin for ThermalState
impl UnwindSafe for ThermalState
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