Source code for maize simulation model