|
| Cell () |
|
| Cell (const std::string &ID_) |
|
virtual | ~Cell ()=default |
|
double | Cap () const final override |
|
void | setCapacity (double capacity) |
|
constexpr double | Vmin () const override |
| lower voltage limit of the cell More...
|
|
constexpr double | VMIN () const override |
| safety cut off More...
|
|
constexpr double | VMAX () const override |
| safety cut off More...
|
|
constexpr double | Vmax () const override |
| upper voltage limit of the cell More...
|
|
constexpr double | Tmax () |
|
constexpr double | Tmin () |
|
double | getVhigh () final |
| return the voltage of the cell with the highest voltage More...
|
|
double | getVlow () final |
| return the voltage of the cell with the lowest voltage More...
|
|
virtual Status | setSOC (double SOCnew, bool checkV=true, bool print=true)=0 |
|
virtual double | SOC ()=0 |
|
virtual double | getThotSpot () override |
| the T of the hottest element in the SU More...
|
|
size_t | getNcells () override final |
| this is a single cell More...
|
|
virtual Status | checkCurrent (bool checkV, bool print) noexcept |
|
virtual Status | checkVoltage (double &v, bool print) noexcept override |
| Check the voltage status of the cell. More...
|
|
virtual double | thermalModel (int Nneighb, double Tneighb[], double Kneighb[], double Aneighb[], double tim) override |
| Calculate the thermal model of the cell. More...
|
|
virtual void | storeData () override |
| Add another data point in the array. More...
|
|
virtual void | writeData (const std::string &prefix) override |
|
virtual ThroughputData | getThroughputs () |
|
virtual std::array< double, 4 > | getVariations () const noexcept |
|
| StorageUnit ()=default |
| < basic getters and setters More...
|
|
| StorageUnit (std::string_view ID_) |
|
| StorageUnit (std::string_view ID_, StorageUnit *parent_, bool blockDegAndTherm_) |
|
virtual | ~StorageUnit ()=default |
|
const std::string & | getID () |
|
void | setID (std::string IDi) |
| Return the full ID string, including the ID of the parent module. More...
|
|
virtual std::string | getFullID () |
|
virtual double | Cap () const =0 |
|
auto * | getParent () |
|
virtual double | I () const =0 |
|
virtual double | getRtot ()=0 |
|
virtual size_t | getNcells ()=0 |
| return the number of single cells connected to this SU More...
|
|
bool | isCharging () |
| negative means charge. More...
|
|
bool | isDischarging () |
| positive means discharge. More...
|
|
virtual void | getStates (getStates_t s)=0 |
| returns one long array with the states More...
|
|
virtual viewStates_t | viewStates () |
| Only for cells to see individual states. More...
|
|
void | setBlockDegAndTherm (bool block) |
|
virtual void | setParent (StorageUnit *p) |
| set the parent More...
|
|
virtual Status | setCurrent (double Inew, bool checkV=true, bool print=true)=0 |
|
virtual Status | setVoltage (double Vnew, bool checkI=true, bool print=true) |
|
virtual Status | setStates (setStates_t s, bool checkStates=true, bool print=true)=0 |
| opposite of getStates, check the states are valid? More...
|
|
virtual void | backupStates () |
| Back-up states. More...
|
|
virtual void | restoreStates () |
| restore backed-up states. More...
|
|
virtual double | getOCV ()=0 |
|
virtual double | V ()=0 |
| print is an optional argument More...
|
|
virtual Status | checkVoltage (double &v, bool print) noexcept=0 |
| get the voltage and check if it is valid More...
|
|
virtual double | getVhigh ()=0 |
| return the voltage of the cell with the highest voltage More...
|
|
virtual double | getVlow ()=0 |
| return the voltage of the cell with the lowest voltage More...
|
|
virtual double | Vmin () const =0 |
| lower voltage limit of the cell More...
|
|
virtual double | VMIN () const =0 |
| safety cut off More...
|
|
virtual double | Vmax () const =0 |
| upper voltage limit of the cell More...
|
|
virtual double | VMAX () const =0 |
| safety cut off More...
|
|
virtual double | T ()=0 |
|
virtual double | getThotSpot ()=0 |
| the T of the hottest element in the SU More...
|
|
virtual double | getThermalSurface ()=0 |
| return the 'A' for the thermal model of this SU (Q = hA*dT) More...
|
|
virtual double | thermalModel (int Nneighb, double Tneighb[], double Kneighb[], double Aneighb[], double tim)=0 |
| calculate the thermal model of this SU More...
|
|
virtual void | setT (double Tnew)=0 |
| functionality More...
|
|
virtual bool | validStates (bool print=true)=0 |
| checks if a state array is valid More...
|
|
virtual StorageUnit * | copy ()=0 |
| copy this SU to a new object More...
|
|
virtual void | timeStep_CC (double dt, int steps=1)=0 |
| take a number of time steps More...
|
|
virtual void | storeData ()=0 |
|
virtual void | writeData (const std::string &prefix)=0 |
|
Abstract Class representing a single battery cell.