You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a server and a few agents in a local environment on a fast machine, it should be possible to significantly speed up the simulation. However, there is a strong, undocumented interaction between the time allocated to a timeslot and the time allocated to agents in each timeslot. Shortening the timeslot without also managing the agent allocation causes the server to blow up. Also, the configuration of the agent window is expressed in integer seconds, which severely limits the fine-tuning of this relationship.
The text was updated successfully, but these errors were encountered:
It's worse than being complicated, it's wrong. The server can change the rate (in CompetiionControlService.setTimeParameters() without informing the broker, so the two no longer agree on the time.
Turns out both the Rate and the timeslot length in msec need to be integers. So we have to find values for both that are factors of the sim-world timeslot duration of 3600000 msec. Fortunately that number has many factors.
When running a server and a few agents in a local environment on a fast machine, it should be possible to significantly speed up the simulation. However, there is a strong, undocumented interaction between the time allocated to a timeslot and the time allocated to agents in each timeslot. Shortening the timeslot without also managing the agent allocation causes the server to blow up. Also, the configuration of the agent window is expressed in integer seconds, which severely limits the fine-tuning of this relationship.
The text was updated successfully, but these errors were encountered: