Simio
  • Sample model that uses dwell time at a node from a schedule

  • Do you have objects, models, libraries, path decorators, textures, symbols, custom API code, documentation, or anything else others might find useful? Please attach it here with a brief description.
Do you have objects, models, libraries, path decorators, textures, symbols, custom API code, documentation, or anything else others might find useful? Please attach it here with a brief description.
 #3352  by ASagan
 Sun Mar 10, 2013 11:51 pm
The attached model relates to the discussion at the following post:
http://www.simio.com/forums/viewtopic.php?f=1&t=1165
If your current row does not point to the current stop, then you would have to put in an expression for the row number. For example if each row in the table corresponded to a stop of the same number and that stop was stored in a state named StopNumber, then you could use the expression:
Math.Min(0, MyStops[StopNumber].GoTime - TimeNow)
I created a very basic, not quite fully functional, 'dwell time' model that calculates the dwell time based on how soon the next departure slot is according to Dave's example above. I don't feel this approach is very elegant but it can help others get started.
Attachments
(124.96 KiB) Downloaded 792 times