A large scale vehicular traffic model using the Blue Gene and ROSS
Authors
Contributors
Recent Posts
See AllSuccessful Compile, Whats Next?
This afternoon I successfully compiled my model, all of the code is posted on my repository for you to look at, however it is not quite finished. I still have to write a small function to generate a map, there should be examples of this function somewhere on the ROSS website.So far I have forward event handling completed however I will not be able to test it until I have written the map generator. This should be done hopefully before the end of the weekend and I hope to hav...
Using Lanes to Determine Traffic Flow
Since The last post I have included the concept of lanes to direct traffic because it is more realistic and will make the results of tests more accurate. I will explain how this works through an example.The concept of lanes is evaluated during the execution of the DIRECTION_SELECT event. At the beginning of the event, the car is in the lane represented by the blue arrow, and came from the arrow represented by the red arrow. The blue arrow represents the incoming right...
I figured out how to push code!
The code that I have pushed today is a framework of how my model will work. Unless I can figure out a better way compatible with ROSS, I will probably end up using the huge set of switches that you see in the event handler.Another added item that was not discussed in my previous blog posts is lanes. As you can see I have included data for relative directions (left turning land, right turning land, and straight) and cardinal directions for the roads adjacent to a partic...




