I’ve prepared an updated version of the model which runs much faster than before (about 10 minutes to complete, instead of 20). Thanks very much to Dr Graeme Hill for the improvements to the code.
The coding for the stochastic parameter also made very little sense. I’ve updated that too. The new code is posted on the script page and updated elsewhere too. The next task is to get the model running for multiple land uses. We’ll see how we get on!