10#include "../Histogram.hpp"
12#include "../../settings/enum_definitions.hpp"
21template <settings::cellDataStorageLevel N>
24 template <
typename Cell_t>
27 template <
typename Cell_t>
34 std::array<Histogram<>, 3>
data;
36 template <
typename Cell_t>
44 template <
typename Cell_t>
47 data[0].add(cell.I());
48 data[1].add(cell.V());
49 data[2].add(cell.T());
58 template <
typename Cell_t>
61 template <
typename Cell_t>
64 const auto throughputs = cell.getThroughputs();
66 data.push_back(cell.I());
67 data.push_back(cell.V());
68 data.push_back(cell.SOC());
69 data.push_back(cell.T());
70 data.push_back(throughputs.time());
71 data.push_back(throughputs.Ah());
72 data.push_back(throughputs.Wh());
Definition: Histogram.hpp:31
Slide namespace contains all the types, classes, and functions for the simulation framework.
Definition: Cell.hpp:27
Default settings
Definition: simulate_ECM_modules.m:8
std::array< Histogram<>, 3 > data
Definition: CellDataStorage.hpp:34
void initialise(Cell_t &cell)
Definition: CellDataStorage.hpp:37
void storeData(Cell_t &cell)
Definition: CellDataStorage.hpp:45
void initialise(Cell_t &)
Do nothing.
Definition: CellDataStorage.hpp:59
void storeData(Cell_t &cell)
Definition: CellDataStorage.hpp:62
std::vector< double > data
Common data.
Definition: CellDataStorage.hpp:56
Definition: CellDataStorage.hpp:23
void initialise(Cell_t &)
Do nothing.
Definition: CellDataStorage.hpp:25
void storeData(Cell_t &)
Do nothing.
Definition: CellDataStorage.hpp:28