Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open a netlogo model from the community?

Tags:

netlogo

I am getting "unable to open model with current format" when trying to run two netlogo models from community. The models are:

  • http://ccl.northwestern.edu/netlogo/models/community/Reinforcement%20Learning%20Wargame

and

  • http://ccl.northwestern.edu/netels/models/community/Reinforcement%20Learning%20Maze

I think it is happening because I am trying to run the models in netlogo 6.1.0 while they were written in an older version, but I also don't know how to find out in which version they were written.

How can I run these community models?

like image 760
Kevin Kons Avatar asked Jan 20 '26 18:01

Kevin Kons


1 Answers

This utility may prove useful.

  1. Install Python 3.12. (Accept installation of the py launcher.)
  2. Download netlogo4to6.py to wherever you want to be using it (e.g., a temp folder).
  3. From your preferred shell (e.g., PowerShell), enter py -3.12 netlogo4to6.py mypath where mypath is the path to the file you wish to convert.
like image 185
Alan Avatar answered Jan 22 '26 21:01

Alan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!