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

Functions

template<typename Tsu >
Status setVoltage_iterative (Tsu *su, double Vset)
 
void write_data (std::ofstream &file, std::vector< double > &data, size_t N=1)
 
template<typename T >
size_t get_Ncells (T const &SU)
 
template<typename T >
auto get_V (T const &SU)
 
template<typename T >
auto get_T (T const &SU)
 
template<typename T >
auto get_Vmin (const T &SU)
 
template<typename T >
auto get_VMIN (const T &SU)
 
template<typename T >
auto get_Vmax (const T &SU)
 
template<typename T >
auto get_VMAX (const T &SU)
 
template<typename T >
auto get_Cap (const T &SU)
 
template<typename T >
auto get_OCV (const T &SU)
 
template<typename T >
auto get_I (const T &SU)
 
template<bool Print = settings::printBool::printCrit>
auto check_SOC (double SOCnew, double SOC_min=0, double SOC_max=1)
 
template<bool Print = settings::printBool::printCrit>
auto check_Cell_states (auto &su, bool checkV)
 
template<bool Print = true>
auto check_voltage (double &v, auto &su)
 
template<bool Print = settings::printBool::printCrit>
auto check_safety (double vi, auto &cyc)
 
template<bool Print = true>
auto check_current (bool checkV, auto &su)
 
std::ofstream openFile (auto &SU, const auto &folder, const std::string &prefix, const std::string &suffix)
 

Function Documentation

◆ check_Cell_states()

template<bool Print = settings::printBool::printCrit>
auto slide::free::check_Cell_states ( auto &  su,
bool  checkV 
)
inline

< check if valid state

< #TODO here add some type id.

< get the voltage Does not throw anymore!

Here is the caller graph for this function:

◆ check_current()

template<bool Print = true>
auto slide::free::check_current ( bool  checkV,
auto &  su 
)
inline

< TBC

Parameters
suCheck voltage.

◆ check_safety()

template<bool Print = settings::printBool::printCrit>
auto slide::free::check_safety ( double  vi,
auto &  cyc 
)
inline

< #TODO this requires some calculations!

< #TODO this requires some calculations!

< #TODO this requires some calculations!

Here is the caller graph for this function:

◆ check_SOC()

template<bool Print = settings::printBool::printCrit>
auto slide::free::check_SOC ( double  SOCnew,
double  SOC_min = 0,
double  SOC_max = 1 
)
inline

< check that the input argument is valid

Here is the caller graph for this function:

◆ check_voltage()

template<bool Print = true>
auto slide::free::check_voltage ( double &  v,
auto &  su 
)
inline

< print if the (global) verbose-setting is above the threshold

< print if the (global) verbose-setting is above the threshold

< Just to put this here, probably first if will be executed most of the time.

< upper limits

< #TODO

< #TODO should we also send Vmin/Vmax violations even we are not charging/discharging?

Parameters
suCheck voltage.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_Cap()

template<typename T >
auto slide::free::get_Cap ( const T &  SU)

◆ get_I()

template<typename T >
auto slide::free::get_I ( const T &  SU)

◆ get_Ncells()

template<typename T >
size_t slide::free::get_Ncells ( T const &  SU)

◆ get_OCV()

template<typename T >
auto slide::free::get_OCV ( const T &  SU)

◆ get_T()

template<typename T >
auto slide::free::get_T ( T const &  SU)

◆ get_V()

template<typename T >
auto slide::free::get_V ( T const &  SU)

◆ get_Vmax()

template<typename T >
auto slide::free::get_Vmax ( const T &  SU)

◆ get_VMAX()

template<typename T >
auto slide::free::get_VMAX ( const T &  SU)

◆ get_Vmin()

template<typename T >
auto slide::free::get_Vmin ( const T &  SU)

◆ get_VMIN()

template<typename T >
auto slide::free::get_VMIN ( const T &  SU)

◆ openFile()

std::ofstream slide::free::openFile ( auto &  SU,
const auto &  folder,
const std::string &  prefix,
const std::string &  suffix 
)
inline
Here is the caller graph for this function:

◆ setVoltage_iterative()

template<typename Tsu >
Status slide::free::setVoltage_iterative ( Tsu *  su,
double  Vset 
)
inline

< get cell voltages

< False-Position method.

Here is the caller graph for this function:

◆ write_data()

void slide::free::write_data ( std::ofstream &  file,
std::vector< double > &  data,
size_t  N = 1 
)
inline

< reset the index to 0 since we can overwrite the stored data

Here is the caller graph for this function: