Nasimuddin Bhanej
Nasimuddin Bhanej

Reputation: 105

Car failed to change the route error in anyLogic

I am Simulating the road traffic model in anyLogic. I am making a cross road network of four roads using one intersection and two car source. I have used select Output5 twice as seen in screenshot below. Image of Road Network

Here road on East side is named as RoadE, road on West side is named as roadW, road on North side is named as roadN and road on South side is named as roadS.

Logic:- Logic Of road Network

Every time i am trying to run the model, it is throwing same exception as : Image of Error

Why this agent is not able to choose right lane?

Upvotes: 2

Views: 695

Answers (2)

Kirill
Kirill

Reputation: 11

Just see on lines consists from points on crossroad: right way does not conntected with left road. Car cant ride left from right way, and because it try to cange lane. Do it herself (select crossroad, and then double click on rectangle on the end of way). Offcorse, if your cars can ride left from right way)

Upvotes: 1

Benjamin
Benjamin

Reputation: 12660

Make sure that the road segment (where the car comes from) is long enough. If it is too short, some cars might not have enough space and time to switch into the required lane.

Just make your bottom road a little longer and it will work.

Upvotes: 2

Related Questions