Application of a Photosynthesis Model to Optimize Greenhouse Climate Management