-
Notifications
You must be signed in to change notification settings - Fork 180
faq 184287320
by Mohammad Saleem on 2018-02-23 16:18:32
How do I make sure that the "work" activity is always 8 hours and never less than or more than 8 hours. I set the minimum and maximum duration of work to 8 hours in config, but that is not always honored, and if the person is late to work, his end time of work is not updated.
by Kai Nagel on 2018-02-23 16:55:23
Set the activity duration to 8 hrs. (It will probably say max_dur in the xml file ... a leftover from some earlier design).
Do NOT set the activity end time.
Use "tryEndTimeThenDuration" in the plans module of the config. (This should be the default.)
This is the design; please let us know if it works; it was not tested extensively.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq