Follow one batch of cocoa from the fermentation box to the drying rack. A heat balance of the heap (sugar to ethanol to acetic acid, heat made, heat lost through the walls, turning that lets air in) sets the temperature; then every bean is a sphere in which water diffuses out (Arrhenius diffusivity, GAB equilibrium moisture) while air picks up the water layer by layer and the night re-wets uncovered beans. Set heap mass, climate, turning times, bed depth, wind, humidity and sunshine. Real equations, 8 numerical checks, Blender models.