Representing the Acquisition and Use of Energy by Individuals in Agent-Based Models of Animal Populations