A general model of intake regulation