SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
settings.hpp File Reference
#include "../utility/units.hpp"
#include "enum_definitions.hpp"
#include "constants.hpp"
#include "slide_paths.hpp"
#include "tolerances.hpp"
#include "derived_settings.hpp"
Include dependency graph for settings.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  slide
 Slide namespace contains all the types, classes, and functions for the simulation framework.
 
namespace  slide::settings
 < Non-user related settings, please do not change!
 
namespace  slide::settings::cool
 < Cooling System Settings.
 

Macros

#define DATASTORE_BATT   0
 temperature More...
 

Variables

constexpr double slide::settings::cool::flowrate_perCell { 0.0005 }
 flow rate m3/s, per cell value More...
 
constexpr bool slide::settings::isParallel { true }
 Parallelises the code if possible. More...
 
constexpr unsigned int slide::settings::numMaxParallelWorkers = 32
 Maximum number of threads to use if isParallel true. More...
 
constexpr size_t slide::settings::nch { 5 }
 
constexpr double slide::settings::Tmin_Cell_K { 0.0_degC }
 the minimum temperature allowed in the simulation [K] More...
 
constexpr double slide::settings::Tmax_Cell_K { 60.0_degC }
 the maximum temperature allowed in the simulation [K] More...
 
constexpr bool slide::settings::overwrite_data = true
 if this is false then folder overwriting is forbidden so you need to delete folders in results. More...
 
constexpr int slide::settings::DATASTORE_NHIST = 100
 length of the arrays with the histograms (if 1) More...
 
constexpr auto slide::settings::DATASTORE_CELL = cellDataStorageLevel::storeTimeData
 
constexpr auto slide::settings::DATASTORE_MODULE = moduleDataStorageLevel::noStorage
 See moduleDataStorageLevel for different options. More...
 
constexpr int slide::settings::DATASTORE_COOL = 0
 
constexpr int slide::settings::MODULE_NSUs_MAX = 100
 
constexpr double slide::settings::T_ENV = 15.0_degC
 environmental temperature More...
 
constexpr size_t slide::settings::CYCLER_NDATA_MAX { 10000 }
 
constexpr size_t slide::settings::CELL_NDATA_HIST_MAX = 10'000'000
 If histogram then write data every 10 millionth data. More...
 
constexpr size_t slide::settings::CELL_NDATA_INST_MAX = 100'000
 If it is storing every data then we should have much less storage. More...
 
constexpr size_t slide::settings::MODULE_NDATA_MAX { CYCLER_NDATA_MAX }
 if we store cell-level data, make the array as long as the one in Cycler More...
 
constexpr size_t slide::settings::CELL_NSTATE_MAX { 30 }
 maximum number of states of all types of cells //!< used to prepare arrays which are long enough for getStates() More...
 
constexpr int slide::settings::T_MODEL { 0 }
 Choose how much messages should be printed to the terminal. More...
 
constexpr int slide::settings::verbose { printLevel::printCrit }
 
constexpr bool slide::settings::printNumIterations { false }
 Prints number of iterations for improvement. Default is false. More...
 
constexpr auto slide::settings::CVcurrentFindingMethod = CVcurrentAlgorithm::falsePosition
 

Macro Definition Documentation

◆ DATASTORE_BATT

#define DATASTORE_BATT   0

temperature

< if 1, statistics about I, V and T are stored, as well as overall utilisation (throughput) if 2, current, voltage, temperature, soc is stored at every time step, as well as overall utilisation (throughput) if 0, no module-level data is stored if 2, current, voltage, temperature, soc is stored at every time step, as well as overall utilisation (throughput)