SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
cool_data.hpp
Go to the documentation of this file.
1/*
2 * cool_data.hpp
3 *
4 * Created on: 02 Jun 2022
5 * Author(s): Jorn Reniers, Volkan Kumtepeli
6 */
7
8#pragma once
9
10#include "../../types/Histogram.hpp"
11#include "../../settings/settings.hpp"
12
13#include <type_traits>
14#include <vector>
15
16namespace slide {
17struct Empty
18{
19};
20
22{
23 double Qevac{ 0 };
24 double Qevac_life{ 0 };
25 double Qabs_life{ 0 };
26 double t_life{ 0 };
27 double E{ 0 };
28 double Eoperate{ 0 };
29 double time{ 0 };
30 double time_life{ 0 };
31};
32
34{
35 double time{};
36 double Q{};
37 double E{};
38 double flr{};
39};
40
42{
46};
47
49using CoolSystemInst_t = std::vector<CoolSystemInst>;
51
53 std::conditional_t<settings::DATASTORE_COOL == 1, CoolSystemHist_t, std::conditional_t<settings::DATASTORE_COOL == 2, CoolSystemInst_t, Empty>>;
54//-------------------------------------------------------------------------
55
57{
58 double Eac{ 0 };
59 double QcoolAC{ 0 };
60};
61
63{
67};
68
70{
71 double Qac;
72 double Eac;
73};
74
76using CoolSystem_HVACInst_t = std::vector<CoolSystem_HVACInst>;
77
79 std::conditional_t<settings::DATASTORE_COOL == 1, CoolSystem_HVACHist_t, std::conditional_t<settings::DATASTORE_COOL == 2, CoolSystem_HVACInst_t, Empty>>;
80
81} // namespace slide
Definition: Histogram.hpp:31
Slide namespace contains all the types, classes, and functions for the simulation framework.
Definition: Cell.hpp:27
std::vector< CoolSystemInst > CoolSystemInst_t
Definition: cool_data.hpp:49
std::conditional_t< settings::DATASTORE_COOL==1, CoolSystemHist_t, std::conditional_t< settings::DATASTORE_COOL==2, CoolSystemInst_t, Empty > > CoolSystemData_t
Definition: cool_data.hpp:53
std::conditional_t< settings::DATASTORE_COOL==1, CoolSystem_HVACHist_t, std::conditional_t< settings::DATASTORE_COOL==2, CoolSystem_HVACInst_t, Empty > > CoolSystem_HVACData_t
Definition: cool_data.hpp:79
std::vector< CoolSystem_HVACInst > CoolSystem_HVACInst_t
Definition: cool_data.hpp:76
Definition: cool_data.hpp:22
double Qevac_life
variable for unit testing, total heat evacuated from child SUs over the entire lifetime [J]
Definition: cool_data.hpp:24
double Eoperate
total energy required to operate the coolsystem [J]
Definition: cool_data.hpp:28
double Qevac
heat evacuated from the child SUs in the past data-collection period [J]
Definition: cool_data.hpp:23
double time
total time in the past data-collection period [s]
Definition: cool_data.hpp:29
double Qabs_life
variable for unit testing, total heat absorbed by heating up the coolant [J]
Definition: cool_data.hpp:25
double time_life
total time since start of simulations
Definition: cool_data.hpp:30
double E
total energy required to run the fans of the cooling system in the past data-collection period [J]
Definition: cool_data.hpp:27
double t_life
total time in the module's life [s]
Definition: cool_data.hpp:26
Data storage.
Definition: cool_data.hpp:42
Histogram Q
Definition: cool_data.hpp:45
Histogram T
Definition: cool_data.hpp:45
Histogram E
Definition: cool_data.hpp:45
Histogram flr
Definition: cool_data.hpp:45
< Instantenous data.
Definition: cool_data.hpp:34
double flr
flow rate
Definition: cool_data.hpp:38
double Q
cooling power
Definition: cool_data.hpp:36
double E
operating energy
Definition: cool_data.hpp:37
double time
total time
Definition: cool_data.hpp:35
Definition: cool_data.hpp:57
double QcoolAC
total heat evacuated by the AC system [J]
Definition: cool_data.hpp:59
double Eac
total operating power for the AC unit in the present data collection time interval
Definition: cool_data.hpp:58
Definition: cool_data.hpp:63
Histogram Eac
Definition: cool_data.hpp:66
Histogram Qac
Definition: cool_data.hpp:66
< #TODO -> in future try to combine.
Definition: cool_data.hpp:70
double Qac
cooling power of the AC unit
Definition: cool_data.hpp:71
double Eac
operating energy of the AC unit
Definition: cool_data.hpp:72
Definition: cool_data.hpp:18