Help for a Traffic Simulation

Dear all,
I am doing a project about motorway simulation with 3 lanes. Does anyone have ideas or code about this problem ? Thanks a lot !

4 Comments

This is far too general to be answer efficiently. I suggest to add any details.
Simulate that someone going North in the middle lane crashed with someone going South in the middle lane, and the two cars spun out, ending up blocking all three lanes. Then with no traffic flowing, the simulation is trivial.
@Walter: It will be extremely hard to validate the simulation even in the described case. While the simulation will show, that the cars have static positions for ever, in the real world some unpredictable entities will remove the damaged cars after a certain delay.
I think, only avoiding the appearence of cars and biological live forms will ensure a reliable simulation, which can be successfully validated.
So a road that's not open... Like the second exit to MathWorks' Natick campus right now :)

Sign in to comment.

Answers (0)

Asked:

Son
on 23 May 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!