Annals of BotanySimulating carbon and nitrogen patterns using an integrated model of wheat functioning