Go to the documentation of this file.
38 #ifndef __SIM_THERMAL_MODEL_HH__
39 #define __SIM_THERMAL_MODEL_HH__
50 struct ThermalCapacitorParams;
51 struct ThermalModelParams;
52 struct ThermalReferenceParams;
53 struct ThermalResistorParams;
63 typedef ThermalResistorParams
Params;
72 double step)
const override;
89 typedef ThermalCapacitorParams
Params;
93 double step)
const override;
124 double step)
const override;
ThermalResistorParams Params
A ThermalDomain is used to group objects under that operate under the same temperature.
std::vector< ThermalCapacitor * > capacitors
std::vector< ThermalDomain * > domains
A ThermalNode is used to connect thermal entities, such as resistors, capacitors, references and doma...
void addReference(ThermalReference *r)
This class describes a linear equation with constant coefficients.
void setNode(ThermalNode *n)
A ThermalReference is a thermal domain with fixed temperature.
ThermalResistor(const Params &p)
ThermalResistor.
ThermalCapacitorParams Params
LinearEquation getEquation(ThermalNode *tn, unsigned n, double step) const override
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
The class stores temperatures in Kelvin and provides helper methods to convert to/from Celsius.
std::vector< ThermalResistor * > resistors
ThermalCapacitor(const Params &p)
ThermalCapacitor.
ClockedObjectParams Params
Parameters of ClockedObject.
ThermalModelParams Params
LinearEquation getEquation(ThermalNode *tn, unsigned n, double step) const override
const double _capacitance
void addNode(ThermalNode *n)
LinearEquation getEquation(ThermalNode *tn, unsigned n, double step) const override
void setNodes(ThermalNode *n1, ThermalNode *n2)
A ThermalResistor is used to model a thermal resistance between two thermal domains.
std::vector< ThermalNode * > nodes
A ThermalCapacitor is used to model a thermal capacitance between two thermal domains.
std::vector< ThermalNode * > eq_nodes
void addDomain(ThermalDomain *d)
const Temperature _temperature
EventFunctionWrapper stepEvent
Stepping event to update the model values.
void addCapacitor(ThermalCapacitor *c)
ThermalReferenceParams Params
void setNodes(ThermalNode *n1, ThermalNode *n2)
void startup() override
startup() is the final initialization call before simulation.
ThermalReference(const Params &p)
ThermalReference.
ThermalModel(const Params &p)
ThermalModel.
void addResistor(ThermalResistor *r)
const double _step
Step in seconds for thermal updates.
An abstract class that represents any thermal entity which is used in the circuital thermal equivalen...
Temperature getTemperature() const
std::vector< ThermalReference * > references
std::vector< ThermalEntity * > entities
Abstract superclass for simulation objects.
Generated on Tue Mar 23 2021 19:41:28 for gem5 by doxygen 1.8.17