Simulation
Medicine supply digital twin (7/14): how long a fridge lasts without power
Newton's law of cooling applied to the cold chain. A single time constant explains why a household fridge goes from 5 to 8 °C in 25 minutes and an ice-lined one in three hours, and why the household fridge can't cope with a 33 °C room.
Insulins, vaccines, oxytocin and several biologics must stay between 2 and 8 °C from the manufacturer to the moment they’re administered. That chain of equipment, boxes and vehicles is the cold chain. The twin simulates the whole of it for a month: the central warehouse’s cold room, the regional warehouses, each unit’s fridge and the trips between them, with power cuts, doors opening and compressors failing.
It all rests on a one-line equation.
Newton’s law of cooling
A fridge that’s switched off doesn’t heat up all at once: it approaches the room temperature, quickly at first and then more and more slowly. The rate of change is proportional to the difference with the room:
is the equipment’s time constant, in hours. It sums up insulation and thermal mass in one number: equipment with thick walls and a lot of cold mass has a large and changes slowly.
The solution
It’s a first-order linear equation. With it becomes , whose solution is an exponential:
Every interval closes 63 % () of the remaining gap to room temperature.
To find how long it takes to reach 8 °C, solve for :
The time depends on the room, not just the equipment. At 35 °C the logarithm is and the household fridge reaches 8 °C in 19 minutes; at 22 °C, in 35.
The thermostat and its margin
With power on, the compressor switches on when the temperature goes above and off when it drops below . While running, it removes degrees per hour. With it on, the equation is
Try it: pick the equipment, lengthen the power cut and raise the room temperature. The cut starts at 20:00 on day one, after the unit has closed.
The cold chain in 3D, from the CND to the unit, with refrigerators as they are today (70 % domestic). (Interface in Spanish.) · Open full screen · Open with ice-lined refrigerators
What the model adds in the twin
The aid shows one piece of equipment for two days. The full twin runs 1,066 pieces of equipment for a month, in 5-minute steps, and adds what makes the cold chain fail in practice:
- Power cuts with frequency by region and season; large units have a backup generator, small ones don’t.
- Doors: each opening bumps the temperature up, depending on the equipment.
- Cold spots: in household fridges, the shelf next to the evaporator is colder than the sensor, and in some the thermostat is off and they freeze at night. For a vaccine that’s ruined by freezing, that’s as serious as heat.
- Trips in refrigerated trailers and cool boxes, each with its own cold life.
Every piece of equipment uses the same equation with its own , its own and its own thermostat.
What comes next
Going out of range doesn’t always ruin the product: it depends on how much heat it absorbed and how long it takes someone to notice. The next post measures accumulated heat with the factor and compares three ways of monitoring temperature.