Modelling of Photosynthetic Response to Environmental Conditions