Live data from Hacker News

Traffic Simulator

traffic-simulation.de

91–100 of 143 posts

Re: Traffic Simulator

#91

Earlier quoted context omitted.

The other thing that really seems to make the biggest difference (in combination with better acceleration) is following distance, which is another thing that presumably gets less important with autonomous cars because you don't really have to account for a relatively slow reaction time or poor braking. The observation on acceleration does make me wonder whether teaching proper merging etiquette better (reach freeway…

Autonomous cars still need to have adequate following distance. Without that one small problem turns into a 10+ car pileup.

Autonomous cars would be in contact with the cars ahead so it would react to car 1 braking, not number 9. IMO we will see this years before we see actual autonomous cars, no matter what fever dreams Elon Musk have.

Re: Traffic Simulator

#93
post #19

Earlier quoted context omitted.

This would be a neat reinforcement learning project. > Some places the drivers are so polite to the point it really makes things dangerous I've known people like this, who will approach a 4-way intersection and stop even when they don't have a stop sign and the perpendicular street does.

Participating in traffic all comes down to being as predictable as possible, I think.

Yep. I prefer the driving rule, "Don't be nice, be predictable."

That is, don't deliberately be mean, but don't extend any courtesy where doing so would come at the cost of being predictable.

Re: Traffic Simulator

#94

Cities Skylines is very nice for such traffic simulations. https://www.youtube.com/watch?v=yITr127KZtQ ( https://news.ycombinator.com/item?id=17182008 ) ( https://www.reddit.com/r/CitiesSkylines/comments/7h6zr0/traf... ) https://www.youtube.com/c/BiffaPlaysIndie/search?query=lane+... This is frequently posted here on HN. E.g. https://news.ycombinator.com/item?id=25632642 .

Check out ABstreet as well on github:

https://github.com/dabreegster/abstreet

Re: Traffic Simulator

#95

Cities Skylines is very nice for such traffic simulations. https://www.youtube.com/watch?v=yITr127KZtQ ( https://news.ycombinator.com/item?id=17182008 ) ( https://www.reddit.com/r/CitiesSkylines/comments/7h6zr0/traf... ) https://www.youtube.com/c/BiffaPlaysIndie/search?query=lane+... This is frequently posted here on HN. E.g. https://news.ycombinator.com/item?id=25632642 .

A/B Street is much, much more ambitious as far as traffic simulation goes, but still in progress.

https://github.com/dabreegster/abstreet#ab-street

If someone is looking for interesting Rust project to contribute (also as a beginner) I really recommend it. Author is great, friendly to PRs (what includes PRs made be programmers with no Rust experience).

Re: Traffic Simulator

#96

Cities Skylines is very nice for such traffic simulations. https://www.youtube.com/watch?v=yITr127KZtQ ( https://news.ycombinator.com/item?id=17182008 ) ( https://www.reddit.com/r/CitiesSkylines/comments/7h6zr0/traf... ) https://www.youtube.com/c/BiffaPlaysIndie/search?query=lane+... This is frequently posted here on HN. E.g. https://news.ycombinator.com/item?id=25632642 .

Unfortunately CS suffers from many "dumb computer tricks". The pathing algorithm is open loop, often causing huge 1 lane jams even though it would be more efficient for through traffic to use other less congested lanes. You end up needing to create crazy unrealistic spaghetti interchanges in order to trick the AI into behaving

I agree, Computer Science does suffer from many dumb computer tricks.

Wait a second. Ah well, point still stands.

E: It was a joke...

Re: Traffic Simulator

#97

Earlier quoted context omitted.

Still, this is an argument for upgrading all "pipes", not one for attempting to control demand on the supply/capacity side. But even absent that, you want surface, collector, and feeder streets to be the natural "rate-limiting" parts of the network (in that order). It's why it's especially egregious to wave-in people from a driveway or parking lot into traffic on an already congested street. It breaks the natural rat…

most of the surface streets you would want to widen can't be. you would have to take over property or (gasp!) remove parking.

Improving capacity and traffic flow doesn't always have to mean widen.

But the point is that you increase capacities where you can, and that it's better to start large with freeways, etc and work your way down, even if freeway capacity then exceeds feeder capacity (which then exceeds collector capacity, exceeds surface capacity).

Re: Traffic Simulator

#98
post #44

Needs an American mode where people don’t know they should stick to the right-most lane, unless passing.

Just set 'Politeness', to zero: don't touch anything else.....Italy.

*Things have got better year on year, though. I have f+r dashcams - rarely needed, nowadays. If anything, they do ensure I drive better.

Re: Traffic Simulator

#99

Cities Skylines is very nice for such traffic simulations. https://www.youtube.com/watch?v=yITr127KZtQ ( https://news.ycombinator.com/item?id=17182008 ) ( https://www.reddit.com/r/CitiesSkylines/comments/7h6zr0/traf... ) https://www.youtube.com/c/BiffaPlaysIndie/search?query=lane+... This is frequently posted here on HN. E.g. https://news.ycombinator.com/item?id=25632642 .

BTW the M1 Macs run Cities Skylines beautifully through Rosetta 2. I lowkey wanted to try it for years and now on the M1 Air I can and the game is just amazing.

Re: Traffic Simulator

#100
post #45

The more lanes you add, the more cars you get. Adding more lanes doesn't solve traffic issues. https://en.wikipedia.org/wiki/Induced_demand#Induced_traffic...

Here’s a more useful concept than induced demand:

Ever since cities were invented, people have refused to have commutes longer than ~30 minutes each way, on average.

The utility of the city increases with the number of people in the city.

The purpose of the transit system (roads, trains, buses, bike lanes, side walks, ferries, etc., etc) is to increase the usefulness of the city by increasing the number of people that can commute to the city.

If adding more roads, trains, etc leads to more commuters, that means the city is bottlenecked on the transit system, and you need to expand it even more.

The core argument of induced demand is that more roads won’t make your commute shorter. This observation shouldn’t be surprising, since commute times are a function of humans tolerance for long commutes, and have been mostly constant for > 3000 years.

Post reply on HN