beam icon indicating copy to clipboard operation
beam copied to clipboard

Stuckness with long walk legs

Open zneedell opened this issue 7 months ago • 0 comments

I'm finding that in rare cases when agents have a super long walk leg that can't complete before the end of the simulation they end up stuck in WaitingToDrive because a StartLegTrigger is never scheduled.

https://github.com/LBNL-UCB-STI/beam/blob/db2d22d0887436b4aa30f58760e4cd0a2f82a170/src/main/scala/beam/agentsim/agents/PersonAgent.scala#L1213

It's not a problem from a simulation perspective because they wouldn't complete the trip anyway, but perhaps we should either kill them or modify their trigger timing so they don't get stuck and we don't need stuckfinder on.

zneedell avatar Jul 18 '24 17:07 zneedell