SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
tolerances.hpp
Go to the documentation of this file.
1/*
2 * tolerances.hpp
3 *
4 * Author : Jorn Reniers, Volkan Kumtepeli
5 *
6 * Defines constants to be used in the program.
7 *
8 * Copyright (c) 2019, The Chancellor, Masters and Scholars of the University
9 * of Oxford, VITO nv, and the 'Slide' Developers.
10 * See the licence file LICENCE.txt for more information.
11 */
12
13#pragma once
14
15namespace slide {
16namespace tol {
18 constexpr double findCVcurrent = 0.001;
19 constexpr double findCVcurrent_bin = 0.001;
20} // namespace tol
21
22} // namespace slide
23
24namespace slide::settings
25{
26constexpr double MODULE_P_V_ABSTOL = 0.01;
28constexpr double MODULE_P_V_RELTOL = 0.001;
29constexpr double MODULE_P_I_ABSTOL = 0.005;
31constexpr double MODULE_P_I_RELTOL = 0.0005;
33} // namespace slide::settings
< Non-user related settings, please do not change!
Definition: derived_settings.hpp:13
constexpr double MODULE_P_V_RELTOL
tolerance on the relative difference between parallel-connected cells
Definition: tolerances.hpp:28
constexpr double MODULE_P_I_RELTOL
Definition: tolerances.hpp:31
constexpr double MODULE_P_V_ABSTOL
Definition: tolerances.hpp:26
constexpr double MODULE_P_I_ABSTOL
Definition: tolerances.hpp:29
constexpr double findCVcurrent_bin
Relative tolerance for finding CV phase current (False position method)
Definition: tolerances.hpp:19
constexpr double findCVcurrent
< Tolerance values for different functions.
Definition: tolerances.hpp:18
Slide namespace contains all the types, classes, and functions for the simulation framework.
Definition: Cell.hpp:27