Development of a functional approach in a grassland vegetation sub-model