SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
CoolSystem_open.hpp
Go to the documentation of this file.
1/*
2 * CoolSystem_open.hpp
3 *
4 * This class is a coolsystem with an 'open' heat exchanger.
5 * I.e. there is no barrier between its child SUs and parent module.
6 * It is a 'pass through' cool system.
7 *
8 * This is implemented by having a very high convective cooling constant, such that its temperature is almost equal to the temperature of its children.
9 * Additionally the flowrate is 0, so there is no energy necessary to spin a fan.
10 *
11 * Note: in reality we would probably prefer the temperature to be close to the temperature of its parent instead of the children (i.e. the children access the air from the parent).
12 * This is however difficult to implement, since it requires the cooling constant of its parent to be very high.
13 * That violates the rules of object oriented programming, since the coolsystem of the parent should be independent of what we are implementing here.
14 * therefore, chose the opposite and say this coolsystem is behaving like an aggregation of its children, and the parent cools something which is at the temperature of its children.
15 *
16 * Created on: 5 Jun 2020
17 * Author(s): Jorn Reniers, Volkan Kumtepeli
18 */
19
20#pragma once
21
22#include "CoolSystem.hpp"
23
24namespace slide {
26{
27protected:
28 double h{ 90 };
29public:
32
33 double getH() override;
34 void control(double Thot_local, double Thot_global) override;
35
36 CoolSystem_open *copy() override { return new CoolSystem_open(*this); }
37};
38} // namespace slide
Definition: CoolSystem_open.hpp:26
CoolSystem_open * copy() override
Definition: CoolSystem_open.hpp:36
double h
cooling constant for perfect heat exchange
Definition: CoolSystem_open.hpp:28
CoolSystem_open()
Definition: CoolSystem_open.cpp:16
double getH() override
Definition: CoolSystem_open.cpp:25
void control(double Thot_local, double Thot_global) override
Definition: CoolSystem_open.cpp:27
Definition: CoolSystem.hpp:22
size_t Ncells
cooling system properties
Definition: CoolSystem.hpp:34
Slide namespace contains all the types, classes, and functions for the simulation framework.
Definition: Cell.hpp:27