Warm tip: This article is reproduced from stackoverflow.com, please click
anylogic

Parameter Variation: Get dataset for one specific iteration

发布于 2020-06-22 11:43:19

I run a parameter variation experiment in Anylogic and collect histogram data about the number of specific agents. This histogram returns the min, mean, and max-value (among others).

I am looking for a way to get the dataset for one specific iteration only (the iteration that is closest to the mean-value of the histogram data).

Is there a way to return data for one specific iteration?

Many thanks!

Questioner
LondonCalling
Viewed
36
Benjamin 2020-04-04 15:12

Yes, but not with HistogramData objects.

Use normal Dataset objects in your experiment. In the properties, you can switch to "use x value as iteration" and store any value from your model iterations in the y-value.

Now you have a nice table with data from your individual iterations.

cheers