Show HN: A Simple Highway Simulator
muehlemann.com
muehlemann.com
I couldn't prove that hypothesis at this scale. I am assuming that the AI drivers have just too good a reaction time and they can co-ordinate their speeds to each other to keep things moving along fairly nicely. A thumbs up for robot driverless cars, I guess ;-)
EDIT: Actually, playing some more - it does prove it to some extent. If you increase reaction time to ~800ms and let the traffic blitz along at a steady clip, then slow down two cars side by side to almost a stop, then after the initial cascade of accidents, it take ages for the traffic to get back to the same steady pace. Interesting.
Neat idea and while it's still at a very basic stage it'll be cool to see this evolve into something that could eventually be used by traffic controllers!
It's horribly painful to watch two slow cars occupying both lanes next to each other.
A basic Honda Civic will be around 9 or 10 seconds, which is roughly 10 km/h/s.
5 km/h/s would feel pretty sluggish.
From default settings, set speed variance to 50%, launch frequency to 120 cars/minute, and reaction time to 500ms. Unsurprisingly, this is chaos.
Then, keeping those settings, clear the cars and set the target speed to 150km/h. The traffic mostly clears up! Since the cars are going faster, they leave the road sooner, meaning fewer are on the road at a time, fixing most problems.
(Of course, in real life, this also makes the accidents that do occur worse.)
Playing Cities: Skylines I've noticed a similar problem when I try to use roundabouts. They're idealized as a way to keep traffic flowing in busy intersections by imposing no stops, but if they surpass a critical mass of congestion, the whole thing stalls, creating a problem worse than stop lights.
(The Cities traffic model is pretty close to how a robocar might behave, as they are polite drivers able to execute apparently dangerous merges with 0% chance of collision, but also have the problem of not detouring when the ideal route becomes congested. As a result, you have to design your city to be decent at diffusing traffic early and not rely on wide roads to do that job.)
Anyway, jokes aside, this has a lot more uses than proof we are all bad drivers. I can this being a great simple way to show queues in a factory/shop/office coffee machine . Awesome work and i wish i as 5% as good at coding to be able to do this when on holiday. On my hols i would be lucky to get past hello world. Kudos to this guy.
(It's a rubbish joke: http://www.bbc.co.uk/news/magazine-27066299)
If driving causes cancer, at least the people who drive in the passing lane (the left one) deserve it.
I guess one of 'US' or 'American' is a typo, but (not being an international driver) I'm not sure which one ….
When someone wants to get in the car pool lane upon entering the highway, they tend to do so fairly quickly. This can cause a shockwave as someone flies from one side of the highway to the other. The same thing can happen in the opposite direction when a carpool lane driver needs to get off, and this issue is compounded even more since you can't always (legally) exit the carpool lane.
So I thought it'd be interesting to play with a simulator like this, add/remove carpool lanes, or lanes altogether, and see what results.
* Drivers will improperly idle in a lane they feel safe in, refusing to keep right except to pass (this is actually state law where I live).
* Any deviation from a straight, flat, roadway (corners, hills, dips, anything) will cause the flow to slow; even when you can proxy the status of the roadway in front by the tail-lights of all the lanes of cars who /can/ see.
* Apparently no 'big' city anywhere balances jobs and housing. Cities too small to balance anything are also generally too small to notice the issue. (I say this because it seems like everyone is economically incentivized to drive as far as they can possibly stand from work for the cheapest housing; clearly there isn't enough housing near jobs to keep those costs competitively low.)
On your second point, I've always just assumed that that was a tall car thing because I figured they probably get more uncomfortable cornering. The same way I probably seem irrational when I speed around pickup trucks: they probably fail to recognize that their driving in front of me is like putting a wall in my face (and unlike semi trucks the drivers are no better than the rest of the people on the road.)
On your third point, the US has baked in too many policies that are prohibitive to sensible development patterns. The implicit subsidies for low density living and the federally insured mortgage cone to mind as two of the worst.
The sensible conclusion here is that human drivers could be banned in order to safely minimize travel times (much faster reaction times, lower variance in speed).
If you want to see a more scientific approach at the subject I recommend looking at http://traffic-simulation.de/