The energy-corrected milk equation