我在从我构建的其中一个模型导出数据时遇到问题。 我的目的是导出每个变量的值,或者至少每次迭代的关键值(因为这些将在每个过程中更新)。 我尝试过使用export-world但我的问题是它不会为每次迭代存储每个变量的值,而是只存储一个值并覆盖.csv表。 无论如何都要创建一个.csv工作表,其中每个迭代的变量值将在列中堆叠? 谢谢
I am having problems with exporting the data from one of the models that I have built. My intention was to export the values for each of the variables, or atleast the key ones for each iteration (as these will be updated each go procedure). I have tried using export-world but my problem is that it will not store the values for each of the variables for each iteration but rather just one value and overwrite the .csv sheet. Is there anyway to create a .csv sheet where the variable values for each iteration will stack up in columns? Thanks
最满意答案
我相信BehaviorSpace正是你所期待的。 它允许您使用不同的参数运行模型,可能多次,并将结果记录在csv文件中。 它内置于NetLogo中。
I believe that BehaviorSpace is exactly what you're looking for. It allows you to run your model, possibly many times with different parameters, and will record the results in a csv file. It's built into NetLogo.
更多推荐
发布评论