EwoutH / urban-self-driving-effects

Investigating the effects of self-driving cars on cities
GNU General Public License v3.0
0 stars 0 forks source link

Create experimental setup, determine parameters ranges and sampling #7

Open EwoutH opened 2 months ago

EwoutH commented 2 months ago

Variables to vary

(policies if feasible)

Parameters ranges

Sampling

Probably latin hypercube. But needs research.

EwoutH commented 2 months ago

Consider (adaptive) sparse grid

KPIs: Travel time reduction, cost reduction, etc.

EwoutH commented 1 month ago

@quaquel I'm trying a ~100 sample run overnight, to see if there are any problems with my data pipelines etc.

I was thinking of sampling with equal ratios, so like this:

image linear x-scale

image log x-scale

And then in a Latin Hypercube.

The motivation behind is because I expect the difference between for example 0.1 and 0.2 AV costs to be huge, so I want higher density there. So equal ratios seems to make sense.

What do you think?

EwoutH commented 1 month ago

@quaquel do you have a view on linear vs equal-ratio sampling?

quaquel commented 1 month ago

yes, but not one that is easily shared in a few sentences. I prefer uniform sampling because it gives you insight into the behavior across the space. At least here you have uniform sampling in log space so that helps.

EwoutH commented 1 month ago

If your advice is "don't do it" that's als perfectly fine!

Let's discuss Wednesday in more detail.


In other news, thanks to the amazing people at MRDH, parking pressure as a metric is back on the map!

inbound_outbound_traffic

The bottom graph is most interesting, you're seeing in some regions almost 80% of the traffic being inbound (red) or outbound (blue).

1 is Rotterdam Centrum, 16-19 is Vondelingenplaat, Botlek, Europoort, Maasvlakte, with low traffic in general but (almost) no residents, so all traffic is work-related.

And of course this will also help with making the whole model more realistic, including (probably) more traffic jams in the morning rush hours and somewhat less in the afternoon.

quaquel commented 1 month ago

If your advice is "don't do it" that's als perfectly fine!

Let's indeed discuss

Nice figures!

EwoutH commented 1 month ago

I started a full-factorial test run overnight with the following parameter combinations:

av_cost_factor = [1.0, 0.5, 0.25]
av_vot_factor = [1.0, 0.5, 0.25]
av_density = [1.5, 1.0, 0.5]
induced_demand = [1.0, 1.25, 1.50]

Unfortunately, it failed after 13 of the 81 runs, due to a very rare bug (hopefully fixed in 4d63a47), but it saved the results from the runs finished, so we can start with that.

However, we now need to go from time-series, multi-area and distribution (mode choice) metrics to single-value metrics, to allow visualizing them properly. The initial idea is to generate some dimensional-stacked heatmaps, like:

image

The following variables will be visualized:

If any measures are correlating highly, one can be dropped in favor of the other.

The most extreme / interesting runs can be examined in more detail.

EwoutH commented 1 month ago

Potential policies