Search code examples
netlogobehaviorspace

Running a single BehaviorSpace experiment on NetLogo


I need to perform a single run of a BehaviorSpace experiment so that I can run the NetLogo model headless on Google cloud/AWS.

I tried writing a simple test code that just prints an output following the 'setup' command. However this prints the output twice. Am I doing something wrong? I tried entering 0 runs in parallel but this threw an IllegalArgumentException.

Here is the setup of the experiment:

Repetitions: 1 Setup commands: setup Go commands: setup Time limit: 1 Simultaneous runs in parallel: 1


Solution

  • Answered by Charles in the comment section:

    I was running setup twice! Doh.