This chapter provides an introduction to the modelling of resource allocation as a way to generate insights and to make predictions. Resource allocation models provide a framework for considering genotype × environment interactions in animal production