Representing the acquisition and use of energy by individuals in agent‐based models of animal populations