A model for simulating the height of rice plants