Mellitus is running buggy/unstable. What can I do?
The performance of Mellitus can be affected by what hardware it is running on. If Mellitus is not running smoothly for you, there are numerous options. If you are running Mellitus 5.1, you can lower the the number of iterations. This value is located in the procedure "setup-diabetes-rate". The line states "for iteration in range(iteration number):". By default the number of iterations is set to 100,000. Even on the computers we tested on, this number did create a notable amount of lag. However, we put the accuracy of Mellitus first. We have not tested the accuracy of the model when the number is under 100,000 but it shouldn't have detrimental effects. If you make the iterations really low, you may have to wait a bit longer for Mellitus to process. Keep the iterations as high as your computer allows. If you're running Mellitus 5.0, try running it in Netlogo Web. We've noticed that in some situations, it runs smoother in Netlogo Web rather than in Desktop Netlogo.