A new computer model incorporates how microscopic pores on leaves may open in response to light — an advance that could help scientists create virtual plants to predict how higher temperatures and rising levels of carbon dioxide will affect food crops.