Guttromson
Original ODE:

where
is the temperature of the water
is the ambient temperature around the refrigerator
is the UA of the refrigerator itself
is the UA of the food-air
is the heat capacity of the food
is the heat rate from the cooling system
General form:

where
t is the elapsed time
is the initial temperature
is the temperature at time t


Time solution
Classes | |
| class | refrigerator |
Functions | |
| int | refrigerator::create () |
| EXPORT int | create_refrigerator (OBJECT **obj, OBJECT *parent) |
| int | refrigerator::init (OBJECT *parent) |
| EXPORT int | init_refrigerator (OBJECT *obj) |
| refrigerator::refrigerator (MODULE *module) | |
| TIMESTAMP | refrigerator::sync (TIMESTAMP t0, TIMESTAMP t1) |
| EXPORT TIMESTAMP | sync_refrigerator (OBJECT *obj, TIMESTAMP t0) |
| refrigerator::~refrigerator () | |
Variables | |
| static refrigerator * | refrigerator::defaults = NULL |
| static CLASS * | refrigerator::oclass = NULL |