![]() |
SLIDE
3.0.0
A simulator for lithium-ion battery pack degradation
|
#include <Model_SPM.hpp>
Public Member Functions | |
Model_SPM () | |
Static Public Member Functions | |
static Model_SPM * | makeModel () |
Public Attributes | |
std::array< double, 4 > | Input |
array with the input parameters of the MATLAB files More... | |
std::array< double, nch > | xch |
location of the Chebyshev nodes in the positive domain EXCLUDING centre and surface More... | |
std::array< double, nch > | Ap |
< cn = Cn*zpos + Dn*jn More... | |
std::array< double, nch > | An |
only main diagonal is non-zero, so only store those values More... | |
std::array< double, nch > | Bp |
std::array< double, nch > | Bn |
slide::Matrix< double, nch+1, nch > | Cp |
slide::Matrix< double, nch+1, nch > | Cn |
std::array< double, nch+1 > | Cc |
std::array< double, nch+1 > | Dp |
std::array< double, nch+1 > | Dn |
matrix to get the concentration at the centre node More... | |
slide::Matrix< double, nch, nch > | Vp |
slide::Matrix< double, nch, nch > | Vn |
inverse of the eigenvectors for the positive/negative electrode More... | |
slide::Matrix< double, 2 *nch+3, 2 *nch+3 > | Q |
Matrix for Chebyshev integration. More... | |
Static Public Attributes | |
static constexpr auto | nch = settings::nch |
< Define a structure with the matrices of the spatial discretisation of the solid diffusion PDE See the matlab script modelSetup.m This class has 326 elements. So it should be allocated in heap once.
|
inline |
< Read the data which have one column (arrays)
< Read the data which have multiple columns (matrices)
|
inlinestatic |
std::array<double, nch> slide::Model_SPM::An |
only main diagonal is non-zero, so only store those values
std::array<double, nch> slide::Model_SPM::Ap |
< cn = Cn*zpos + Dn*jn
std::array<double, nch> slide::Model_SPM::Bn |
std::array<double, nch> slide::Model_SPM::Bp |
std::array<double, nch + 1> slide::Model_SPM::Cc |
slide::Matrix<double, nch + 1, nch> slide::Model_SPM::Cn |
slide::Matrix<double, nch + 1, nch> slide::Model_SPM::Cp |
std::array<double, nch + 1> slide::Model_SPM::Dn |
matrix to get the concentration at the centre node
std::array<double, nch + 1> slide::Model_SPM::Dp |
std::array<double, 4> slide::Model_SPM::Input |
array with the input parameters of the MATLAB files
|
staticconstexpr |
slide::Matrix<double, 2 * nch + 3, 2 * nch + 3> slide::Model_SPM::Q |
Matrix for Chebyshev integration.
slide::Matrix<double, nch, nch> slide::Model_SPM::Vn |
inverse of the eigenvectors for the positive/negative electrode
slide::Matrix<double, nch, nch> slide::Model_SPM::Vp |
std::array<double, nch> slide::Model_SPM::xch |
location of the Chebyshev nodes in the positive domain EXCLUDING centre and surface
state space model