Can I get around the maximum time for a command being reached?

I have a NetLogo model I'm running through RNetLogo. The model runs until a specified number of turtles remain and it records the number of ticks at this point.

I want to run the model 100 times but I get the error:

"Java-Object{java.lang.RuntimeException: Maximum time for NLDoCommandWhile reached. Process stopped.}"

Is there any way around this?

Thanks

Answers


You can use the max.minutes-argument of the NLDoCommandWhile-function, which by default is set to 10 minutes (see here).

You can either increase it or set it to zero, which will let the model run as long as your condition is true (the danger here is obviously that your condition might never be met).


Need Your Help

get error in php

php get

A request for t=10 for example with the following code i get 10 instead of note10

Hippo CMS resets the mapped domain configuration data after rebuild

maven content-management-system hippocms domain-mapping

I have installed an instance of Hippo CMS (version 7) and I already mapped a domain to a website. I also have an external repository for Hippo.