Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

mmashaie

entity wait time

Recommended Posts

Hello,

Is there such thing as ModelEntity.WaitTime available? I can get a path1.TimeOnLink.average, but I don't quite think that's what I'm looking for.


What I want to do is to have a statistic show up in my floor label that shows the number of entities that waited 0.25 hours (i.e. 15 mins) or less. I thought I could do this by creating a process where once my entities enter a transfer node, I would check the time spent on the path, check to see if <= 15 mins and if so, increment my counter. I thought I could have a decide step in my process and I would set the condition ModelEntity.WaitTime <= 0.25, but there isn't a WaitTime. Do I need to create any states? Is this the correct approach?


in pseudocode:


for each entity going through my transfer node:

if ModelEntity.WaitTime <= 0.25 then count=count+1;

else do nothing

end

stat=count/TotalEntities


I want to display stat in my floor label. Any ideas or Simbits I can direct myself to?


My model is attached.


Thanks

Maryam

mmashaie.spfx

Share this post


Link to post
Share on other sites

×
×
  • Create New...