
Files can be readily archived Cons Awkward to draw combine from multiple files Denormalization: Requires either Duplication of scenario-wide information (e.g.
#Anylogic manual manual#
every time unit) Beyond output, be sure to save information on context of run Model version (Use unique id that increment whenever change model) Parameter assumptions Intention Think carefully about whether want to save away intermediate dataĥ3 Simple Supported Dataset Types holds values only - no timestamps Timed holds values and timestamps Phase holds pairs of values but no timestamps Histogram can define bins for data set data set will record # falling in each binĥ4 Techniques for Outputting Data Ad-Hoc Exports from variables Manual copies from visible datasets Capturing images of graphs Output to console Export to files Dataset archiving Export to databasesĥ5 Pros Easy to program Output to Console aceln(String str) outputs string to console (String str) (Black) (String str) (Red) Readily visible Copy & Paste to another document Cons May be mixed with other output (easy to miss other output) Limited length Depends on memory to copy Less structuredĥ6 Techniques for Outputting Data Ad-Hoc Exports from variables Manual copies from visible datasets Capturing images of graphs Writing to console Export to files Dataset archiving Export to databasesĥ7 Data Output to File Pros Simple to perform Relatively easy to import into e.g.
#Anylogic manual professional#
stocks) States of agents Summaries of model state We informally term this a trajectory file Trajectory recording is only supported by AnyLogic Professional AnyLogic does 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ģ Techniques for Outputting Data Ad-Hoc Exports from variables Manual copies from visible datasets Export to files Writing to console Export to databases Dataset archiving Capturing images of graphsĤ Cross-Method Output Tips A convenient mechanism is to periodically output data using events (e.g. If you see any messages about a missing chromium folder, you can safely ignore it (it doesn't cause runtime problems).1 Collecting, Outputting & Inputting Data in AnyLogic Nathaniel Osgood MIT April 4, 2012Ģ Recording of Results A frequent modeler need is to record some components of model state over time State variables (e.g. In these logs, you will see your console outputs in addition to any model errors/warnings. These logs won't refresh automatically so you'll need to click on "refresh" to get an update. Inside the container instance, go to Containers > Logs tab. When you click on one, you can check the "Tags" to verify the brain name/version. To access these logs, first go to the Azure Portal > Container Instances > click on one of the options (if you don't see any, make sure your filter settings are correct). The console outputs you previously added will go to the container instance's logs - these instances only exist while being used and auto-delete themselves when you stop the training. Start a new training and give it some time to initialize. I've had some issues with the debugger/built-in logger, so you can also try a simpler, but manual solution I usually do: add 'traceln' statements to your RL experiment fields, in addition to anywhere else in your model, then re-export and upload to bonsai.


