SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
OCVcurves.hpp
Go to the documentation of this file.
1/*
2 * OCV_curves.hpp
3 *
4 * Created on: 27 Jun 2022
5 * Author(s): Jorn Reniers, Volkan Kumtepeli
6 */
7
8#pragma once
9
10#include "XYdata.hpp"
11#include "../utility/slide_aux.hpp"
12#include "../settings/settings.hpp"
13
14namespace slide {
16{
17protected:
18public:
21
22 OCVcurves(const std::string &_namepos, const std::string &_nameneg,
23 const std::string &_nameentropicC, const std::string &_nameentropicCell)
24 {
25
26 OCV_neg.setCurve(PathVar::data / _nameneg);
27 OCV_pos.setCurve(PathVar::data / _namepos);
28 dOCV_neg.setCurve(PathVar::data / _nameentropicC);
29 dOCV_tot.setCurve(PathVar::data / _nameentropicCell);
30 }
31
32 OCVcurves() = default;
33
35 {
36 if (tp != cellType::KokamNMC) {
37 std::cerr << "NOT IMPLEMENTED cellType\n";
38 throw "NOT IMPLEMENTED cellType";
39 }
40
41 OCVcurves M(settings::path::Kokam::namepos, settings::path::Kokam::nameneg, settings::path::Kokam::nameentropicC, settings::path::Kokam::nameentropicCell);
42 return M;
43 }
44
49
52};
53
54} // namespace slide
void setCurve(Tpath &&path)
Definition: XYdata.hpp:77
Slide namespace contains all the types, classes, and functions for the simulation framework.
Definition: Cell.hpp:27
cellType
Definition: enum_definitions.hpp:43
@ KokamNMC
Definition: enum_definitions.hpp:48
Definition: OCVcurves.hpp:16
slide::XYdata_ss OCV_neg
voltage vs lithium fractions li/li+ of the points of the cathode/anode OCV curve [V]
Definition: OCVcurves.hpp:19
static OCVcurves makeOCVcurves(cellType tp)
Definition: OCVcurves.hpp:34
OCVcurves(const std::string &_namepos, const std::string &_nameneg, const std::string &_nameentropicC, const std::string &_nameentropicCell)
Definition: OCVcurves.hpp:22
OCVcurves()=default
slide::XYdata_ss dOCV_neg
Definition: OCVcurves.hpp:20
slide::XYdata_ss dOCV_tot
entropic coefficient curve / the entire cell's entropic coefficient vs li fractions [V K-1]
Definition: OCVcurves.hpp:20
slide::XYdata_ss OCV_pos
Definition: OCVcurves.hpp:19