Jump to content

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


ASagan

Recommended Posts

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.

sampleDwellTimeModel.spfx

Link to comment
Share on other sites

×
×
  • Create New...