

Have a variable that is zeroed out at the beginning of each time interval of interest Is accumulated across that interval of interest Is stored away at the end of that interval interest Option2 Have a variable that gives the cumulative number of events that have occurred Subtract off the value of that variable from the beginning of the interval and store away the differenceĪd-Hoc Exports from variables Manual copies from visible datasets Export to files Writing to console Export to databases Dataset archiving Capturing images of graphsĪ convenient mechanism is to periodically output data using events (e.g.

stocks) States of agents Summaries of model state We informally term this a “trajectory file” Trajectory recording is supported in higher AnyLogic versions All versions of AnyLogic allow for Definition of DataSets that record recent values of parameters Statistics summarizing model state Reporting on values of data sets as a graph or tableĪggregated (“Stocks”) or disaggregated Changes in model state (flow statistics) History Model version (model structure) Assumptions (parameter values) InterventionsĤ Common Ways to Accumulate Flow Statistics Nathaniel Osgood Agent-Based Modeling Bootcamp for Health Researchers August 19-24, 2013Ģ Recording of Results A frequent modeler need is to record some components of model state over time State variables (e.g. 1 Collecting, Outputting & Inputting Data in AnyLogic
