Modelling of plants