Thermodynamics and ecological modelling (Lewis, 2001)