covid-simulation icon indicating copy to clipboard operation
covid-simulation copied to clipboard

Mesa Schedule is not used for state machine

Open deborahduong opened this issue 4 years ago • 3 comments

It is better to use the existing Mesa system schedule for the state machine. The Mesa system schedule has settings that can have several steps per day. This can wait until we merge with the intelligent agent simulation which does use the Mesa system schedule

To show you it was not used, I called model.schedule.time to get the Mesa System schedule time , in your tick 1 which was its tick 14, and in your tick 30 which was its tick 217.

deborahduong avatar Aug 07 '20 03:08 deborahduong

I would like to perform the integration

deborahduong avatar Aug 07 '20 04:08 deborahduong

We need the flexibility of having custom state machines. I can't see how this could be accomplished by using several MESA schedule steps per day as you suggested.

andre-senna avatar Aug 08 '20 21:08 andre-senna

https://mesa.readthedocs.io/en/master/apis/time.html Staged Activation , on the bottom, I believe gives you flexibility. Other things, like visualizations, are available to us if we use the features of the package.

deborahduong avatar Aug 09 '20 04:08 deborahduong