Questions tagged [pynetlogo]

7 questions
3
votes
0 answers

NetLogo on HPC (Slurm) without BehaviorSpace

I want to change a little bit my workflow for running NetLogo on a HPC using Slurm. For context, I run around 360 simulations in parallel, each one can take from 5 to 7 days (I know, not efficient) and they write some outputs at the end of X ticks.…
1
vote
0 answers

RuntimeError: Unable to load symbol [JNI_CreateJavaVM], error = dlsym(0x201b1d2c0, JNI_CreateJavaVM): symbol not found

Hi I am trying to a run a library called pyNetlogo in m1 mac. However when I run NetLogoLink function I get the following error. netlogo = pyNetLogo.NetLogoLink( gui = False, netlogo_home = "/Applications/NetLogo 6.0.3" ) FileNotFoundError:…
imantha
  • 2,676
  • 4
  • 23
  • 46
1
vote
1 answer

Encountering a NameError when performing a Sensitivity Analysis with PyNetLogo on computing cluster

CONTEXT: I'm trying to perform a global sensitivity analysis for my NetLogo model using PyNetLogo on a Linux-based computing cluster. I follow closely the second example described in the PyNetLogo documentation for a Sobol' sensitivity analysis. My…
Marius
  • 51
  • 7
1
vote
0 answers

Sensitivity Analysis with PyNetLogo - scatterplot shows strange values

OBJECTIVE: Use SALib and PyNetLogo to perform a global sensitivity analysis on my NetLogo model. The objective of the model is to measure the change in forest-extent after 160 ticks, i.e., the main model output is forest-extent. PROBLEM DESCRIPTION:…
Marius
  • 51
  • 7
0
votes
1 answer

What is the error here? Which command and interface items should I add?

I wrote this net logo code, but having an error all the time. It's expecting commands on the economic conditions and other parameters, but I don't know how to put the command. Can someone identify me the problems? to setup-interface ; Set up the…
user21946043
0
votes
0 answers

Error when calling netlogo py extension using pyNetLogo

I am attempting a run a netlogo from python using the pyNetLogo library. However when I do I get the following error which I am unable to resolve. Please note that the netlogo model works fine when running on its own (using netlogo itself instead of…
imantha
  • 2,676
  • 4
  • 23
  • 46
0
votes
0 answers

Importing and exporting netlogo worlds via python strings

I am running an ensemble of netlogo models through pynetlogo. Every few steps i export the world to file, perform some minor incantations and then import those worlds from file again and keep running the model. Works like a charm, very happy. I…
CarrKnight
  • 2,768
  • 2
  • 23
  • 25