pub struct CapacityFadingModel {
pub q0: f64,
pub k_sei: f64,
pub k_cal: f64,
pub cycle_exp: f64,
}Expand description
Capacity fading model for Li-ion batteries under cycling.
Fields§
§q0: f64Initial capacity (A·h).
k_sei: f64SEI growth rate constant k_sei (s⁻¹·⁰·⁵).
k_cal: f64Calendar aging coefficient k_cal.
cycle_exp: f64Cycle aging exponent.
Implementations§
Source§impl CapacityFadingModel
impl CapacityFadingModel
Sourcepub fn capacity_after_cycles(&self, n_cycles: f64) -> f64
pub fn capacity_after_cycles(&self, n_cycles: f64) -> f64
Capacity after n_cycles under standard cycling conditions.
Sourcepub fn capacity_calendar(&self, t_hours: f64) -> f64
pub fn capacity_calendar(&self, t_hours: f64) -> f64
Capacity after time t_hours of calendar aging.
Sourcepub fn state_of_health(&self, q_current: f64) -> f64
pub fn state_of_health(&self, q_current: f64) -> f64
State of health (SOH) from current capacity.
Sourcepub fn cycle_life_80pct(&self) -> f64
pub fn cycle_life_80pct(&self) -> f64
Cycle life (number of cycles to 80% SOH).
Trait Implementations§
Source§impl Clone for CapacityFadingModel
impl Clone for CapacityFadingModel
Source§fn clone(&self) -> CapacityFadingModel
fn clone(&self) -> CapacityFadingModel
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 CapacityFadingModel
impl RefUnwindSafe for CapacityFadingModel
impl Send for CapacityFadingModel
impl Sync for CapacityFadingModel
impl Unpin for CapacityFadingModel
impl UnsafeUnpin for CapacityFadingModel
impl UnwindSafe for CapacityFadingModel
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