top of page

Python - from NetLogo into Mesa and Google Colaboratory

Mesa is a Python framework for agent-based modeling. The task is to replicate NetLogo ABM Urban Suite Pollution in Mesa python library and google colaboratory. As of today, Mesa is optimised better for Jupyter noteboook.


Original NetLogo ABM:


http://www.netlogoweb.org/launch#http://ccl.northwestern.edu/netlogo/models/models/Curricular%20Models/Urban%20Suite/Urban%20Suite%20-%20Pollution.nlogo


New Python Mesa code optimised for google colaboratory :









References:


https://community.plotly.com/t/export-plotly-and-ipywidgets-as-an-html-file/18579/7

https://nordicesmhub.github.io/deep_python/14-publish/index.html

https://coderzcolumn.com/tutorials/python/interactive-widgets-in-jupyter-notebook-using-ipywidgets

https://github.com/projectmesa

https://www.youtube.com/watch?v=xaAzALyP6Ss

https://www.researchgate.net/figure/A-Mesa-implementation-of-the-Schelling-segregation-model-being-visualized-in-a-browser_fig1_328774079

https://github.com/projectmesa/mesa/issues/573

Recent Posts

See All

Comments


bottom of page