![]() |
SLIDE
3.0.0
A simulator for lithium-ion battery pack degradation
|
< #TODO how can we make this so it takes 29=N_states from enum? More...
#include <State_SPM.hpp>
Public Types | |
enum | Index : size_t { i_I , i_V , i_T , i_delta , i_LLI , i_thickp , i_thickn , i_ep , i_en , i_ap , i_an , i_CS , i_Dp , i_Dn , i_delta_pl , i_zp , i_zn = i_zp + nch , i_rDCp = i_zn + nch , i_rDCn , i_rDCcc , i_SOC , N_states , N_save = i_zp } |
using | z_type = std::array< value_type, nch > |
using | states_type = std::array< value_type, N_states > |
![]() | |
enum | Index |
Public Member Functions | |
auto & | zp (size_t i) |
z_type, transformed li concentration at the positive inner nodes of the positive particle More... | |
auto & | zn (size_t i) |
z_type, transformed li concentration at the positive inner nodes of the negative particle More... | |
auto & | z (size_t i) |
Both z_p and z_n;. More... | |
auto | zp () |
auto | zn () |
auto | z () |
auto & | T () |
cell temperature [K] More... | |
auto & | delta () |
thickness of the SEI layer [m] More... | |
auto & | LLI () |
lost lithium [As] More... | |
auto & | thickp () |
thickness of the cathode [m] More... | |
auto & | thickn () |
thickness of the anode [m] More... | |
auto & | ep () |
volume fraction of active material in the cathode [-] More... | |
auto & | en () |
volume fraction of active material in the anode [-] More... | |
auto & | ap () |
effective surface area of the cathode [m2 m-3] More... | |
auto & | an () |
effective surface area of the anode [m2 m-3] More... | |
auto & | CS () |
surface area of the cracks at the surface of the negative particle [m2] More... | |
auto & | Dp () |
diffusion constant at reference temperature of the cathode [m s-1] More... | |
auto & | Dn () |
diffusion constant at reference temperature of the anode [m s-1] More... | |
auto & | rDCp () |
specific resistance (resistance times real surface area of the combined electrodes) [Ohm m2] More... | |
auto & | rDCn () |
specific resistance (resistance times real surface area of the combined electrodes) [Ohm m2] More... | |
auto & | rDCcc () |
specific resistance (resistance times real surface area of the combined electrodes) [Ohm m2] More... | |
auto & | delta_pl () |
thickness of the plated lithium layer [m] More... | |
auto & | SOC () |
thickness of the plated lithium layer [m] More... | |
auto & | I () |
current [A] More... | |
auto & | V () |
voltage [V] More... | |
void | overwriteGeometricStates (double thickpi, double thickni, double epi, double eni, double api, double ani) |
overwrite the states related to the geometry of a cell More... | |
void | overwriteCharacterisationStates (double Dpi, double Dni, double ri) |
overwrite the states related to the characterisation of a cell More... | |
std::span< double > | viewGeometricStates () |
#Check and fix. Why this also checks SOC? More... | |
auto | I () const |
current [A] More... | |
![]() | |
auto | time () const |
time [s] More... | |
auto & | time () |
time [s] More... | |
auto | Ah () const |
Current throughput [Ah]. More... | |
auto & | Ah () |
Current throughput [Ah]. More... | |
auto | Wh () const |
Energy throughput [Wh]. More... | |
auto & | Wh () |
Energy throughput [Wh]. More... | |
auto | reset () |
Static Public Attributes | |
static constexpr auto | nch = settings::nch |
Additional Inherited Members | |
![]() | |
static constexpr auto | description (size_t i) |
< #TODO how can we make this so it takes 29=N_states from enum?
using slide::State_SPM::states_type = std::array<value_type, N_states> |
State() = default; //!< Default constructor which DOESN'T initialise the states. All states are set to 0 State(const slide::states_type &s) : x{s} {}
using slide::State_SPM::z_type = std::array<value_type, nch> |
enum slide::State_SPM::Index : size_t |
|
inline |
effective surface area of the anode [m2 m-3]
|
inline |
effective surface area of the cathode [m2 m-3]
|
inline |
surface area of the cracks at the surface of the negative particle [m2]
|
inline |
thickness of the SEI layer [m]
|
inline |
thickness of the plated lithium layer [m]
|
inline |
diffusion constant at reference temperature of the anode [m s-1]
|
inline |
diffusion constant at reference temperature of the cathode [m s-1]
|
inline |
volume fraction of active material in the anode [-]
|
inline |
volume fraction of active material in the cathode [-]
|
inline |
current [A]
|
inline |
current [A]
|
inline |
lost lithium [As]
|
inline |
overwrite the states related to the characterisation of a cell
< Set the states
< Considering both anode and cathode r is same.
< #TODO -> r was //!< the specific resistance (resistance times real surface area of the combined electrodes) [Ohm m2]
|
inline |
overwrite the states related to the geometry of a cell
< set the states
|
inline |
specific resistance (resistance times real surface area of the combined electrodes) [Ohm m2]
|
inline |
specific resistance (resistance times real surface area of the combined electrodes) [Ohm m2]
|
inline |
specific resistance (resistance times real surface area of the combined electrodes) [Ohm m2]
|
inline |
thickness of the plated lithium layer [m]
|
inline |
cell temperature [K]
|
inline |
thickness of the anode [m]
|
inline |
thickness of the cathode [m]
|
inline |
voltage [V]
void setT(double Ti); //!< set the temperature
|
inline |
#Check and fix. Why this also checks SOC?
|
inline |
|
inline |
Both z_p and z_n;.
|
inline |
|
inline |
z_type, transformed li concentration at the positive inner nodes of the negative particle
|
inline |
|
inline |
z_type, transformed li concentration at the positive inner nodes of the positive particle
|
staticconstexpr |