Complexity Explorer Santa Few Institute

Introduction to Agent-Based Modeling

Lead instructor:

This course is no longer in session.

Unit 7: Verification, Validation, and Replication

Alan Barrera
27 Aug 2024 6:58am UTC
in Unit 7: Verification, Validation, and Replication

In Lecture 7.4, I tried to replicate the Behaviorsearch experiment but I got the following error:

Error reading or writing files:
mySearchOutput.modelRunHistory.csv (Acceso denegado)

The exception stacktrace was:

java.io.FileNotFoundException: mySearchOutput.modelRunHistory.csv (Acceso denegado)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(Unknown Source)
at java.base/java.io.FileOutputStream.(Unknown Source)
at java.base/java.io.FileOutputStream.(Unknown Source)
at java.base/java.io.FileWriter.(Unknown Source)
at bsearch.app.CSVLoggerListener.(CSVLoggerListener.java:44)
at bsearch.app.BehaviorSearch.runWithOptions(BehaviorSearch.java:296)
at bsearch.fx.ProgressController$TaskWorker.run(ProgressController.java:299)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at bsearch.fx.ProgressController$1.run(ProgressController.java:77)
at java.base/java.lang.Thread.run(Unknown Source)

Also, the netlogo calibration model gives a "expected a number here, rather than a list or block"warning message for the following code of the setup procedure:

nw:generate-preferential-attachment turtles links num-agents [
;; adoption property is initialized
set adopted? false

;; separate the turtles spatially
setxy random-xcor random-ycor

;; consistent appearance
set color white
set shape "person"

]

Ronald Legere
23 Jul 2024 6:47pm UTC
in Unit 7: Verification, Validation, and Replication

Lecture 7.4 refers to a paper by Stonedahli and Rand, but the citation at the bottom points to a paper that only mentions calibration in passing. I believe the correct paper that discusses calibration and error functions in detail is : https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2205440