如何在NetLogo中建模一个非常大的世界? [英] How to model a very large world in NetLogo?

查看:351
本文介绍了如何在NetLogo中建模一个非常大的世界?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个非常大的补丁网格,以具有非常大的网络(例如城市范围的网络)的GIS信息.我的问题是如何让NetLogo建模这样的世界?当我将max-pxcor和max-pycor设置为大数时,它将停止工作.我需要一个例如50000 * 50000大小的世界. 感谢您的帮助.

I need to create a very large grid of patches to have GIS information of a very large network (such as a city-wide network). My question is how to get NetLogo to model such a world? When I set the max-pxcor and max-pycor to large numbers, it stop working. I need a world of for example size 50000 * 50000. Thanks for your help.

推荐答案

请参见 http ://ccl.northwestern.edu/netlogo/docs/faq.html#howbig ,其中部分内容是:"NetLogo引擎对大小没有固定的限制..."

See http://ccl.northwestern.edu/netlogo/docs/faq.html#howbig , which says in part: "The NetLogo engine has no fixed limits on size..."

虽然您不可能在计算机中适应50,000 x 50,000的世界-这是25亿个补丁. NetLogo中的内存使用量与代理数量成正比,补丁也是代理.

It's highly unlikely that you'll be able to fit a 50,000 x 50,000 world, in your computer though — that's 2.5 billion patches. Memory usage in NetLogo is proportional to the number of agents, and patches are agents too.

您可以在 http上接受Stephin Guerin的建议. ://netlogo-users.18673.x6.nabble.com/Re-Rumors-of-Relogo-tp4869241p4869247.html 关于在对运输网络进行建模时如何避免需要庞大的补丁网格.

You might take Stephin Guerin's advice at http://netlogo-users.18673.x6.nabble.com/Re-Rumors-of-Relogo-tp4869241p4869247.html on how to avoid needing an enormous patch grid when modeling transportation networks.

这篇关于如何在NetLogo中建模一个非常大的世界?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆