faq 111743633 - billyc/matsim-wiki-test GitHub Wiki
by Alemu Tadesse on 2017-09-05 12:50:36.870
hello, i have been trying to simulate user's movement but i keep getting this error.
ERROR BasicPlanAgentImpl:136 The agent 1000657 has no route in its leg. Setting agent state to ABORT.
here is the part of the plan.xml
<person id="1001668">
<plan>
<act end_time="06:46:40" type="h" x="357374.216327" y="1158828.14672"/>
<leg mode="car"/>
<act end_time="08:50:00" type="h" x="374719.778488" y="1168232.12251"/>
<leg mode="car"/>
<act end_time="00:00:00" type="h" x="360700.738906" y="1150088.95707"/>
<leg mode="car"/>
</plan>
</person>
by Johan W. Joubert on 2017-09-05 13:01:40.317
It is my understanding that each plan
must end with an act
ivity. Therefore you need to get rid of the final car leg
at the end of your example plan
. Once the person is home, I assumed, they don't travel again. You may also just want to check the times of your activities, and the activity attributes. The final activity would typically just have a start_time
, and not an end_time
.