SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
slide::Model_SPM Struct Reference

#include <Model_SPM.hpp>

Public Member Functions

 Model_SPM ()
 

Static Public Member Functions

static Model_SPMmakeModel ()
 

Public Attributes

std::array< double, 4 > Input
 array with the input parameters of the MATLAB files More...
 
std::array< double, nchxch
 location of the Chebyshev nodes in the positive domain EXCLUDING centre and surface More...
 
std::array< double, nchAp
 < cn = Cn*zpos + Dn*jn More...
 
std::array< double, nchAn
 only main diagonal is non-zero, so only store those values More...
 
std::array< double, nchBp
 
std::array< double, nchBn
 
slide::Matrix< double, nch+1, nchCp
 
slide::Matrix< double, nch+1, nchCn
 
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, nchVp
 
slide::Matrix< double, nch, nchVn
 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
 

Detailed Description

< 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.

Constructor & Destructor Documentation

◆ Model_SPM()

slide::Model_SPM::Model_SPM ( )
inline

< Read the data which have one column (arrays)

< Read the data which have multiple columns (matrices)

Here is the call graph for this function:

Member Function Documentation

◆ makeModel()

static Model_SPM * slide::Model_SPM::makeModel ( )
inlinestatic
Here is the caller graph for this function:

Member Data Documentation

◆ An

std::array<double, nch> slide::Model_SPM::An

only main diagonal is non-zero, so only store those values

◆ Ap

std::array<double, nch> slide::Model_SPM::Ap

< cn = Cn*zpos + Dn*jn

◆ Bn

std::array<double, nch> slide::Model_SPM::Bn

◆ Bp

std::array<double, nch> slide::Model_SPM::Bp

◆ Cc

std::array<double, nch + 1> slide::Model_SPM::Cc

◆ Cn

slide::Matrix<double, nch + 1, nch> slide::Model_SPM::Cn

◆ Cp

slide::Matrix<double, nch + 1, nch> slide::Model_SPM::Cp

◆ Dn

std::array<double, nch + 1> slide::Model_SPM::Dn

matrix to get the concentration at the centre node

◆ Dp

std::array<double, nch + 1> slide::Model_SPM::Dp

◆ Input

std::array<double, 4> slide::Model_SPM::Input

array with the input parameters of the MATLAB files

◆ nch

constexpr auto slide::Model_SPM::nch = settings::nch
staticconstexpr

◆ Q

slide::Matrix<double, 2 * nch + 3, 2 * nch + 3> slide::Model_SPM::Q

Matrix for Chebyshev integration.

◆ Vn

slide::Matrix<double, nch, nch> slide::Model_SPM::Vn

inverse of the eigenvectors for the positive/negative electrode

◆ Vp

slide::Matrix<double, nch, nch> slide::Model_SPM::Vp

◆ xch

std::array<double, nch> slide::Model_SPM::xch

location of the Chebyshev nodes in the positive domain EXCLUDING centre and surface

state space model


The documentation for this struct was generated from the following file: