The time variable in mesa.Model #2228
Replies: 6 comments 9 replies
-
I summarized my points on this subject in these two comments: #2223 (comment) and #2223 (comment). |
Beta Was this translation helpful? Give feedback.
-
I think time in ABMs is considered in many different senses, but let’s start with the basics. The Time, in contrast, serves a different purpose. It is often a more abstract concept in ABMs, representing the progression of events or changes in the system rather than just a simple count of iterations. Depending on the model, time can be mapped to real-world intervals, like seconds, minutes, or years, or it can remain an abstract concept used to delineate different phases or states within the simulation. The flexibility of how time is represented and utilized makes this so hard to abstract away. But in any case I think a good solution should not part of a standard model, but something added one. Therefore I would remove the current time counter as a reserved keyword and develop something that can be used additionally. |
Beta Was this translation helpful? Give feedback.
-
For what they are worth my thoughts are that we pause this discussion for now and leave From my experience, I have seen clock time as a fundamental and critical piece of very advanced simulations that were crucial for decision making. I think this needs to be a part of Mesa, however, more importantly I think we need to determine what Mesa is trying to be. Please see #2228 If this general direction (a robust simulation ecosystem) is what the community adopted, at this time I would say step is the core and then time become an add on library for more advanced users like However, if the community wants to be a beginner-moderate simulation library, then I would say get rid of If the community decided some other direction, then that would also influence my recommendation. In short, right now, I am recommending a delay, so Mesa can determine what it wants to be and then that can inform our decision. |
Beta Was this translation helpful? Give feedback.
-
I think I have a new perspective that might spark some new discussion. At some point we had quite some trouble with agent management, since it was abstracted away from the model. You needed to go though the schedulers to get to your agents. But they, different schedulers developed, which stored their agents in also different ways. What I took from that, it that the Model object is the glue that holds everything together and should - in general - keep the ground truth. So what I'm afraid of with things like DEVS and Therefor I would propose to keep
This way, you can always trust on |
Beta Was this translation helpful? Give feedback.
-
We're having a call on this subject. Note that some of the discussion continues there: |
Beta Was this translation helpful? Give feedback.
-
One challenge I currently have developing new ideas is that we don’t have a consistent way of getting model time. A solution could be:
|
Beta Was this translation helpful? Give feedback.
-
This discussion is split of from
steps
counter #2223Background
Mesa currently has a
_step
and_time
counter, added in #1942. In #2223 a lot of discussion has taken place about the usefulness of the_time
counter.Questions for discussion
Datetime
or not)Beta Was this translation helpful? Give feedback.
All reactions