Modeling the maximum potential of rotational grazing with Netlogo

DOWNLOAD-DESKTOP-NOTEBOOK.nb (1.16 MB)

4 Likes

Hi Jessica,

I think this is a very good demonstration of Mathematica interoperability with NetLogo. It may be useful to provide links to the NetLogo software and the Mathematica Package Installation Instructions as some may not be familiar. It would also be helpful if you could attach the “grazing.nlogo”, provided that you are able to, so one could test your notebook.

Tim

Thank you! I’ll definitely add these.

news-congrads-kkluyshnik-02-04-19.jpg – you have earned Featured Contributor Badge 2015-11-02_10-07-11.png

Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

Hi Jessica!
This is really cool work.

I’m posting here because it inspired me to install NetLogo and the Mathematica-link, however I needed to fix a bug to get it to work:
In line 226 of the link pkg NetLogo.m, I had to change
If[StringMatchQ[$System,"*Mac*"], FileNameJoin[{nlPath,"Java"}],...]
to just
FileNameJoin[{nlPath,"app"}]

(I’m running MacOS, but NetLogo now installs with the same directories it does in Windoz, it seems)
I’ve alerted the devs here: new install issue on Mac · Issue #9 · NetLogo/Mathematica-Link · GitHub

1 Like