Skip to content
Advertisement

How to record the data (like the number of queue) each day in Anylogic?

I want to record the number of people leaving from the timeout every day and make a chart to show the daily condition. However I only know how to record the accumulated quantity, but I don’t know how to re-record the data every day. Hope to get help from you, thank you very much!

enter image description here enter image description here

Advertisement

Answer

You can define an event that runs once per day, and a collection or dataset called dailyValues that collects the daily data.

Then you can just do

dailyValues.add(Can_Not_Wait_entrance);

Can_Not_Wait_entrance=0; //reset if needed`

And that’s it

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement