RaresBares commited on
Commit
69fd52a
·
verified ·
1 Parent(s): bc293a0

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. README.md +34 -0
  2. cell_link_edges.json +15 -0
  3. data/base_s3/scenario.json +21 -0
  4. data/c1_002/scenario.json +21 -0
  5. data/c1_003/scenario.json +21 -0
  6. data/c1_006/scenario.json +21 -0
  7. data/c1_010/scenario.json +21 -0
  8. data/c1_018/scenario.json +21 -0
  9. data/c1_023/scenario.json +21 -0
  10. data/c1_024/scenario.json +21 -0
  11. data/c1_029/scenario.json +21 -0
  12. data/c1_030/scenario.json +21 -0
  13. data/c1_035/scenario.json +21 -0
  14. data/c1_036/scenario.json +21 -0
  15. data/c1_037/scenario.json +21 -0
  16. data/c1_042/scenario.json +21 -0
  17. data/c1_045/scenario.json +21 -0
  18. data/c1_052/scenario.json +21 -0
  19. data/c1_053/scenario.json +21 -0
  20. data/c1_054/scenario.json +21 -0
  21. data/c1_055/scenario.json +21 -0
  22. data/c1_056/scenario.json +21 -0
  23. data/c2_007/scenario.json +21 -0
  24. data/c2_008/scenario.json +21 -0
  25. data/c2_012/scenario.json +21 -0
  26. data/c2_013/scenario.json +21 -0
  27. data/c2_014/scenario.json +21 -0
  28. data/c2_015/scenario.json +21 -0
  29. data/c2_022/scenario.json +21 -0
  30. data/c2_031/scenario.json +21 -0
  31. data/c2_032/scenario.json +21 -0
  32. data/c2_033/scenario.json +21 -0
  33. data/c2_037/scenario.json +21 -0
  34. data/c2_038/scenario.json +21 -0
  35. data/c2_042/scenario.json +21 -0
  36. data/c2_043/scenario.json +21 -0
  37. data/c2_046/scenario.json +21 -0
  38. data/c2_049/scenario.json +21 -0
  39. data/c2_050/scenario.json +21 -0
  40. data/c2_055/scenario.json +21 -0
  41. data/c3_000/scenario.json +21 -0
  42. data/c3_004/scenario.json +21 -0
  43. data/c3_005/scenario.json +21 -0
  44. data/c3_008/scenario.json +21 -0
  45. data/c3_011/scenario.json +21 -0
  46. data/c3_013/scenario.json +21 -0
  47. data/c3_016/scenario.json +21 -0
  48. data/c3_022/scenario.json +21 -0
  49. data/c3_026/scenario.json +21 -0
  50. torch_dataset.py +92 -3
README.md CHANGED
@@ -62,6 +62,32 @@ both recorded in every `scenario.json`.
62
  `base_s0` over the union of both sparse key sets; rows with zero change omitted
63
  - `scorestats.parquet` — MATSim score trajectory (convergence check)
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  ## Operations
66
 
67
  ```bash
@@ -132,6 +158,14 @@ sample = ds[tr[0]]
132
  loader = DataLoader([ds[i] for i in tr], batch_size=1, shuffle=True) # plain torch: returns dicts
133
  ```
134
 
 
 
 
 
 
 
 
 
135
  `targets` may be a list (`["vc_ratio", "congestion_index", "traveltime_avg"]` →
136
  `y` is `[E, 72]`); `congestion_index` is clipped at `clip_congestion` (50) and
137
  NaN → 1. With `car_only=False` all 188 590 links are used. The network is the
 
62
  `base_s0` over the union of both sparse key sets; rows with zero change omitted
63
  - `scorestats.parquet` — MATSim score trajectory (convergence check)
64
 
65
+ Demand tables (from the scenario's OWN population plans, `build_demand.py`;
66
+ all counts are `weight = 1/sample_rate`-weighted, i.e. scaled to 100 %):
67
+
68
+ - `persons.parquet` additionally has `work_x/y`, `edu_x/y` (first work /
69
+ education activity), `n_legs` (raw MATSim legs), `n_trips` (trips between
70
+ non-interaction activities, the unit used by the OD tables), `n_car_trips`,
71
+ `weight`
72
+ - `cells.parquet` — regular 500 m grid over the network bounding box (grid
73
+ definition in `scenario.json: demand.grid`, `cell_id = iy * nx + ix`,
74
+ EPSG:2056; identical for all scenarios). Per cell: `cx, cy`, `residents`,
75
+ `residents_employed`, `residents_car_available` (carAvail always/sometimes),
76
+ `residents_age_0_17/18_64/65plus`, `jobs`, `edu_places`, `trips_origin`,
77
+ `trips_dest`. Empty cells are included (zeros). Home = the plan's first
78
+ `home` activity, so agents cut by the scenario cutter (only `outside`
79
+ activities) and freight agents are not residents. Source: the scenario's
80
+ `output_plans.xml.gz` (plans after replanning, consistent with the measured
81
+ loads; recorded in `scenario.json: demand.source`).
82
+ - `od_cells.parquet` — `orig_cell, dest_cell, mode, trips` (sparse, trips > 0;
83
+ cell −1 = outside the grid). `mode` is the trip's routingMode (car, pt,
84
+ walk, bike, car_passenger, truck, outside). `od_cells_am.parquet`: same for
85
+ departures 06:00–09:00.
86
+ - `cells_delta_vs_baseline.parquet` (class 3) — cell values minus `base_s0`.
87
+ - `../cell_link_edges.parquet` (ONCE at the dataset root, identical for all
88
+ scenarios): `cell_id, link_id, dist_m` for every pair with |cell centre −
89
+ link midpoint| ≤ radius (see `cell_link_edges.json`).
90
+
91
  ## Operations
92
 
93
  ```bash
 
158
  loader = DataLoader([ds[i] for i in tr], batch_size=1, shuffle=True) # plain torch: returns dicts
159
  ```
160
 
161
+ With `with_cells=True` (default) every sample also carries the demand side:
162
+ `cell_x [13786, 12]` (normalised centre + log1p of the 10 cell counts),
163
+ `cell_pos`, `cell_link_index [2, M]` / `cell_link_dist [M]` (cell ↔ car-link
164
+ pairs; `cell_link_max_dist=2000` keeps 9.1 M pairs instead of 57 M for 5 km),
165
+ `od_index [2, K]` / `od_trips [K, 3]` (all / car / AM-peak trips between cells
166
+ inside the grid). The cell ↔ link pairs are read once from
167
+ `cell_link_edges.parquet` and cached as npz.
168
+
169
  `targets` may be a list (`["vc_ratio", "congestion_index", "traveltime_avg"]` →
170
  `y` is `[E, 72]`); `congestion_index` is clipped at `clip_congestion` (50) and
171
  NaN → 1. With `car_only=False` all 188 590 links are used. The network is the
cell_link_edges.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "distance": "cell centre - link midpoint",
3
+ "grid": {
4
+ "cell_id": "iy * nx + ix",
5
+ "cell_size_m": 500.0,
6
+ "crs": "EPSG:2056",
7
+ "n_cells": 13786,
8
+ "nx": 113,
9
+ "ny": 122,
10
+ "x0": 2667500.0,
11
+ "y0": 1222500.0
12
+ },
13
+ "radius_m": 5000.0,
14
+ "rows": 58881713
15
+ }
data/base_s3/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 0,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 0,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_002/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_003/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_006/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_010/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_018/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_023/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_024/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_029/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_030/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_035/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_036/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_037/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_042/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_045/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_052/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_053/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_054/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_055/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c1_056/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 1,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19320,
21
+ "n_trips": 68521,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c2_007/scenario.json CHANGED
@@ -22,6 +22,27 @@
22
  "class": 2,
23
  "closed_capacity": 1.0,
24
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  "eqasim_commit": "acf065f",
26
  "extent_prefix": "zurich_",
27
  "flowCapacityFactor": 0.01,
 
22
  "class": 2,
23
  "closed_capacity": 1.0,
24
  "closed_freespeed": 1.0,
25
+ "demand": {
26
+ "cell_link_edges": "../cell_link_edges.parquet",
27
+ "cell_link_radius_m": 5000.0,
28
+ "cell_size_m": 500.0,
29
+ "grid": {
30
+ "cell_id": "iy * nx + ix",
31
+ "cell_size_m": 500.0,
32
+ "crs": "EPSG:2056",
33
+ "n_cells": 13786,
34
+ "nx": 113,
35
+ "ny": 122,
36
+ "x0": 2667500.0,
37
+ "y0": 1222500.0
38
+ },
39
+ "n_persons": 19320,
40
+ "n_trips": 68521,
41
+ "source": "output_plans",
42
+ "source_file": "output_plans.xml.gz",
43
+ "status": "ok",
44
+ "weight": 100.0
45
+ },
46
  "eqasim_commit": "acf065f",
47
  "extent_prefix": "zurich_",
48
  "flowCapacityFactor": 0.01,
data/c2_008/scenario.json CHANGED
@@ -24,6 +24,27 @@
24
  "class": 2,
25
  "closed_capacity": 1.0,
26
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
 
24
  "class": 2,
25
  "closed_capacity": 1.0,
26
  "closed_freespeed": 1.0,
27
+ "demand": {
28
+ "cell_link_edges": "../cell_link_edges.parquet",
29
+ "cell_link_radius_m": 5000.0,
30
+ "cell_size_m": 500.0,
31
+ "grid": {
32
+ "cell_id": "iy * nx + ix",
33
+ "cell_size_m": 500.0,
34
+ "crs": "EPSG:2056",
35
+ "n_cells": 13786,
36
+ "nx": 113,
37
+ "ny": 122,
38
+ "x0": 2667500.0,
39
+ "y0": 1222500.0
40
+ },
41
+ "n_persons": 19320,
42
+ "n_trips": 68521,
43
+ "source": "output_plans",
44
+ "source_file": "output_plans.xml.gz",
45
+ "status": "ok",
46
+ "weight": 100.0
47
+ },
48
  "eqasim_commit": "acf065f",
49
  "extent_prefix": "zurich_",
50
  "flowCapacityFactor": 0.01,
data/c2_012/scenario.json CHANGED
@@ -13,6 +13,27 @@
13
  "class": 2,
14
  "closed_capacity": 1.0,
15
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  "eqasim_commit": "acf065f",
17
  "extent_prefix": "zurich_",
18
  "flowCapacityFactor": 0.01,
 
13
  "class": 2,
14
  "closed_capacity": 1.0,
15
  "closed_freespeed": 1.0,
16
+ "demand": {
17
+ "cell_link_edges": "../cell_link_edges.parquet",
18
+ "cell_link_radius_m": 5000.0,
19
+ "cell_size_m": 500.0,
20
+ "grid": {
21
+ "cell_id": "iy * nx + ix",
22
+ "cell_size_m": 500.0,
23
+ "crs": "EPSG:2056",
24
+ "n_cells": 13786,
25
+ "nx": 113,
26
+ "ny": 122,
27
+ "x0": 2667500.0,
28
+ "y0": 1222500.0
29
+ },
30
+ "n_persons": 19320,
31
+ "n_trips": 68521,
32
+ "source": "output_plans",
33
+ "source_file": "output_plans.xml.gz",
34
+ "status": "ok",
35
+ "weight": 100.0
36
+ },
37
  "eqasim_commit": "acf065f",
38
  "extent_prefix": "zurich_",
39
  "flowCapacityFactor": 0.01,
data/c2_013/scenario.json CHANGED
@@ -20,6 +20,27 @@
20
  "class": 2,
21
  "closed_capacity": 1.0,
22
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  "eqasim_commit": "acf065f",
24
  "extent_prefix": "zurich_",
25
  "flowCapacityFactor": 0.01,
 
20
  "class": 2,
21
  "closed_capacity": 1.0,
22
  "closed_freespeed": 1.0,
23
+ "demand": {
24
+ "cell_link_edges": "../cell_link_edges.parquet",
25
+ "cell_link_radius_m": 5000.0,
26
+ "cell_size_m": 500.0,
27
+ "grid": {
28
+ "cell_id": "iy * nx + ix",
29
+ "cell_size_m": 500.0,
30
+ "crs": "EPSG:2056",
31
+ "n_cells": 13786,
32
+ "nx": 113,
33
+ "ny": 122,
34
+ "x0": 2667500.0,
35
+ "y0": 1222500.0
36
+ },
37
+ "n_persons": 19320,
38
+ "n_trips": 68521,
39
+ "source": "output_plans",
40
+ "source_file": "output_plans.xml.gz",
41
+ "status": "ok",
42
+ "weight": 100.0
43
+ },
44
  "eqasim_commit": "acf065f",
45
  "extent_prefix": "zurich_",
46
  "flowCapacityFactor": 0.01,
data/c2_014/scenario.json CHANGED
@@ -13,6 +13,27 @@
13
  "class": 2,
14
  "closed_capacity": 1.0,
15
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  "eqasim_commit": "acf065f",
17
  "extent_prefix": "zurich_",
18
  "flowCapacityFactor": 0.01,
 
13
  "class": 2,
14
  "closed_capacity": 1.0,
15
  "closed_freespeed": 1.0,
16
+ "demand": {
17
+ "cell_link_edges": "../cell_link_edges.parquet",
18
+ "cell_link_radius_m": 5000.0,
19
+ "cell_size_m": 500.0,
20
+ "grid": {
21
+ "cell_id": "iy * nx + ix",
22
+ "cell_size_m": 500.0,
23
+ "crs": "EPSG:2056",
24
+ "n_cells": 13786,
25
+ "nx": 113,
26
+ "ny": 122,
27
+ "x0": 2667500.0,
28
+ "y0": 1222500.0
29
+ },
30
+ "n_persons": 19320,
31
+ "n_trips": 68521,
32
+ "source": "output_plans",
33
+ "source_file": "output_plans.xml.gz",
34
+ "status": "ok",
35
+ "weight": 100.0
36
+ },
37
  "eqasim_commit": "acf065f",
38
  "extent_prefix": "zurich_",
39
  "flowCapacityFactor": 0.01,
data/c2_015/scenario.json CHANGED
@@ -17,6 +17,27 @@
17
  "class": 2,
18
  "closed_capacity": 1.0,
19
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  "eqasim_commit": "acf065f",
21
  "extent_prefix": "zurich_",
22
  "flowCapacityFactor": 0.01,
 
17
  "class": 2,
18
  "closed_capacity": 1.0,
19
  "closed_freespeed": 1.0,
20
+ "demand": {
21
+ "cell_link_edges": "../cell_link_edges.parquet",
22
+ "cell_link_radius_m": 5000.0,
23
+ "cell_size_m": 500.0,
24
+ "grid": {
25
+ "cell_id": "iy * nx + ix",
26
+ "cell_size_m": 500.0,
27
+ "crs": "EPSG:2056",
28
+ "n_cells": 13786,
29
+ "nx": 113,
30
+ "ny": 122,
31
+ "x0": 2667500.0,
32
+ "y0": 1222500.0
33
+ },
34
+ "n_persons": 19320,
35
+ "n_trips": 68521,
36
+ "source": "output_plans",
37
+ "source_file": "output_plans.xml.gz",
38
+ "status": "ok",
39
+ "weight": 100.0
40
+ },
41
  "eqasim_commit": "acf065f",
42
  "extent_prefix": "zurich_",
43
  "flowCapacityFactor": 0.01,
data/c2_022/scenario.json CHANGED
@@ -21,6 +21,27 @@
21
  "class": 2,
22
  "closed_capacity": 1.0,
23
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  "eqasim_commit": "acf065f",
25
  "extent_prefix": "zurich_",
26
  "flowCapacityFactor": 0.01,
 
21
  "class": 2,
22
  "closed_capacity": 1.0,
23
  "closed_freespeed": 1.0,
24
+ "demand": {
25
+ "cell_link_edges": "../cell_link_edges.parquet",
26
+ "cell_link_radius_m": 5000.0,
27
+ "cell_size_m": 500.0,
28
+ "grid": {
29
+ "cell_id": "iy * nx + ix",
30
+ "cell_size_m": 500.0,
31
+ "crs": "EPSG:2056",
32
+ "n_cells": 13786,
33
+ "nx": 113,
34
+ "ny": 122,
35
+ "x0": 2667500.0,
36
+ "y0": 1222500.0
37
+ },
38
+ "n_persons": 19320,
39
+ "n_trips": 68521,
40
+ "source": "output_plans",
41
+ "source_file": "output_plans.xml.gz",
42
+ "status": "ok",
43
+ "weight": 100.0
44
+ },
45
  "eqasim_commit": "acf065f",
46
  "extent_prefix": "zurich_",
47
  "flowCapacityFactor": 0.01,
data/c2_031/scenario.json CHANGED
@@ -9,6 +9,27 @@
9
  "class": 2,
10
  "closed_capacity": 1.0,
11
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  "eqasim_commit": "acf065f",
13
  "extent_prefix": "zurich_",
14
  "flowCapacityFactor": 0.01,
 
9
  "class": 2,
10
  "closed_capacity": 1.0,
11
  "closed_freespeed": 1.0,
12
+ "demand": {
13
+ "cell_link_edges": "../cell_link_edges.parquet",
14
+ "cell_link_radius_m": 5000.0,
15
+ "cell_size_m": 500.0,
16
+ "grid": {
17
+ "cell_id": "iy * nx + ix",
18
+ "cell_size_m": 500.0,
19
+ "crs": "EPSG:2056",
20
+ "n_cells": 13786,
21
+ "nx": 113,
22
+ "ny": 122,
23
+ "x0": 2667500.0,
24
+ "y0": 1222500.0
25
+ },
26
+ "n_persons": 19320,
27
+ "n_trips": 68521,
28
+ "source": "output_plans",
29
+ "source_file": "output_plans.xml.gz",
30
+ "status": "ok",
31
+ "weight": 100.0
32
+ },
33
  "eqasim_commit": "acf065f",
34
  "extent_prefix": "zurich_",
35
  "flowCapacityFactor": 0.01,
data/c2_032/scenario.json CHANGED
@@ -15,6 +15,27 @@
15
  "class": 2,
16
  "closed_capacity": 1.0,
17
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  "eqasim_commit": "acf065f",
19
  "extent_prefix": "zurich_",
20
  "flowCapacityFactor": 0.01,
 
15
  "class": 2,
16
  "closed_capacity": 1.0,
17
  "closed_freespeed": 1.0,
18
+ "demand": {
19
+ "cell_link_edges": "../cell_link_edges.parquet",
20
+ "cell_link_radius_m": 5000.0,
21
+ "cell_size_m": 500.0,
22
+ "grid": {
23
+ "cell_id": "iy * nx + ix",
24
+ "cell_size_m": 500.0,
25
+ "crs": "EPSG:2056",
26
+ "n_cells": 13786,
27
+ "nx": 113,
28
+ "ny": 122,
29
+ "x0": 2667500.0,
30
+ "y0": 1222500.0
31
+ },
32
+ "n_persons": 19320,
33
+ "n_trips": 68521,
34
+ "source": "output_plans",
35
+ "source_file": "output_plans.xml.gz",
36
+ "status": "ok",
37
+ "weight": 100.0
38
+ },
39
  "eqasim_commit": "acf065f",
40
  "extent_prefix": "zurich_",
41
  "flowCapacityFactor": 0.01,
data/c2_033/scenario.json CHANGED
@@ -18,6 +18,27 @@
18
  "class": 2,
19
  "closed_capacity": 1.0,
20
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  "eqasim_commit": "acf065f",
22
  "extent_prefix": "zurich_",
23
  "flowCapacityFactor": 0.01,
 
18
  "class": 2,
19
  "closed_capacity": 1.0,
20
  "closed_freespeed": 1.0,
21
+ "demand": {
22
+ "cell_link_edges": "../cell_link_edges.parquet",
23
+ "cell_link_radius_m": 5000.0,
24
+ "cell_size_m": 500.0,
25
+ "grid": {
26
+ "cell_id": "iy * nx + ix",
27
+ "cell_size_m": 500.0,
28
+ "crs": "EPSG:2056",
29
+ "n_cells": 13786,
30
+ "nx": 113,
31
+ "ny": 122,
32
+ "x0": 2667500.0,
33
+ "y0": 1222500.0
34
+ },
35
+ "n_persons": 19320,
36
+ "n_trips": 68521,
37
+ "source": "output_plans",
38
+ "source_file": "output_plans.xml.gz",
39
+ "status": "ok",
40
+ "weight": 100.0
41
+ },
42
  "eqasim_commit": "acf065f",
43
  "extent_prefix": "zurich_",
44
  "flowCapacityFactor": 0.01,
data/c2_037/scenario.json CHANGED
@@ -21,6 +21,27 @@
21
  "class": 2,
22
  "closed_capacity": 1.0,
23
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  "eqasim_commit": "acf065f",
25
  "extent_prefix": "zurich_",
26
  "flowCapacityFactor": 0.01,
 
21
  "class": 2,
22
  "closed_capacity": 1.0,
23
  "closed_freespeed": 1.0,
24
+ "demand": {
25
+ "cell_link_edges": "../cell_link_edges.parquet",
26
+ "cell_link_radius_m": 5000.0,
27
+ "cell_size_m": 500.0,
28
+ "grid": {
29
+ "cell_id": "iy * nx + ix",
30
+ "cell_size_m": 500.0,
31
+ "crs": "EPSG:2056",
32
+ "n_cells": 13786,
33
+ "nx": 113,
34
+ "ny": 122,
35
+ "x0": 2667500.0,
36
+ "y0": 1222500.0
37
+ },
38
+ "n_persons": 19320,
39
+ "n_trips": 68521,
40
+ "source": "output_plans",
41
+ "source_file": "output_plans.xml.gz",
42
+ "status": "ok",
43
+ "weight": 100.0
44
+ },
45
  "eqasim_commit": "acf065f",
46
  "extent_prefix": "zurich_",
47
  "flowCapacityFactor": 0.01,
data/c2_038/scenario.json CHANGED
@@ -14,6 +14,27 @@
14
  "class": 2,
15
  "closed_capacity": 1.0,
16
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  "eqasim_commit": "acf065f",
18
  "extent_prefix": "zurich_",
19
  "flowCapacityFactor": 0.01,
 
14
  "class": 2,
15
  "closed_capacity": 1.0,
16
  "closed_freespeed": 1.0,
17
+ "demand": {
18
+ "cell_link_edges": "../cell_link_edges.parquet",
19
+ "cell_link_radius_m": 5000.0,
20
+ "cell_size_m": 500.0,
21
+ "grid": {
22
+ "cell_id": "iy * nx + ix",
23
+ "cell_size_m": 500.0,
24
+ "crs": "EPSG:2056",
25
+ "n_cells": 13786,
26
+ "nx": 113,
27
+ "ny": 122,
28
+ "x0": 2667500.0,
29
+ "y0": 1222500.0
30
+ },
31
+ "n_persons": 19320,
32
+ "n_trips": 68521,
33
+ "source": "output_plans",
34
+ "source_file": "output_plans.xml.gz",
35
+ "status": "ok",
36
+ "weight": 100.0
37
+ },
38
  "eqasim_commit": "acf065f",
39
  "extent_prefix": "zurich_",
40
  "flowCapacityFactor": 0.01,
data/c2_042/scenario.json CHANGED
@@ -17,6 +17,27 @@
17
  "class": 2,
18
  "closed_capacity": 1.0,
19
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  "eqasim_commit": "acf065f",
21
  "extent_prefix": "zurich_",
22
  "flowCapacityFactor": 0.01,
 
17
  "class": 2,
18
  "closed_capacity": 1.0,
19
  "closed_freespeed": 1.0,
20
+ "demand": {
21
+ "cell_link_edges": "../cell_link_edges.parquet",
22
+ "cell_link_radius_m": 5000.0,
23
+ "cell_size_m": 500.0,
24
+ "grid": {
25
+ "cell_id": "iy * nx + ix",
26
+ "cell_size_m": 500.0,
27
+ "crs": "EPSG:2056",
28
+ "n_cells": 13786,
29
+ "nx": 113,
30
+ "ny": 122,
31
+ "x0": 2667500.0,
32
+ "y0": 1222500.0
33
+ },
34
+ "n_persons": 19320,
35
+ "n_trips": 68521,
36
+ "source": "output_plans",
37
+ "source_file": "output_plans.xml.gz",
38
+ "status": "ok",
39
+ "weight": 100.0
40
+ },
41
  "eqasim_commit": "acf065f",
42
  "extent_prefix": "zurich_",
43
  "flowCapacityFactor": 0.01,
data/c2_043/scenario.json CHANGED
@@ -13,6 +13,27 @@
13
  "class": 2,
14
  "closed_capacity": 1.0,
15
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  "eqasim_commit": "acf065f",
17
  "extent_prefix": "zurich_",
18
  "flowCapacityFactor": 0.01,
 
13
  "class": 2,
14
  "closed_capacity": 1.0,
15
  "closed_freespeed": 1.0,
16
+ "demand": {
17
+ "cell_link_edges": "../cell_link_edges.parquet",
18
+ "cell_link_radius_m": 5000.0,
19
+ "cell_size_m": 500.0,
20
+ "grid": {
21
+ "cell_id": "iy * nx + ix",
22
+ "cell_size_m": 500.0,
23
+ "crs": "EPSG:2056",
24
+ "n_cells": 13786,
25
+ "nx": 113,
26
+ "ny": 122,
27
+ "x0": 2667500.0,
28
+ "y0": 1222500.0
29
+ },
30
+ "n_persons": 19320,
31
+ "n_trips": 68521,
32
+ "source": "output_plans",
33
+ "source_file": "output_plans.xml.gz",
34
+ "status": "ok",
35
+ "weight": 100.0
36
+ },
37
  "eqasim_commit": "acf065f",
38
  "extent_prefix": "zurich_",
39
  "flowCapacityFactor": 0.01,
data/c2_046/scenario.json CHANGED
@@ -24,6 +24,27 @@
24
  "class": 2,
25
  "closed_capacity": 1.0,
26
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
 
24
  "class": 2,
25
  "closed_capacity": 1.0,
26
  "closed_freespeed": 1.0,
27
+ "demand": {
28
+ "cell_link_edges": "../cell_link_edges.parquet",
29
+ "cell_link_radius_m": 5000.0,
30
+ "cell_size_m": 500.0,
31
+ "grid": {
32
+ "cell_id": "iy * nx + ix",
33
+ "cell_size_m": 500.0,
34
+ "crs": "EPSG:2056",
35
+ "n_cells": 13786,
36
+ "nx": 113,
37
+ "ny": 122,
38
+ "x0": 2667500.0,
39
+ "y0": 1222500.0
40
+ },
41
+ "n_persons": 19320,
42
+ "n_trips": 68521,
43
+ "source": "output_plans",
44
+ "source_file": "output_plans.xml.gz",
45
+ "status": "ok",
46
+ "weight": 100.0
47
+ },
48
  "eqasim_commit": "acf065f",
49
  "extent_prefix": "zurich_",
50
  "flowCapacityFactor": 0.01,
data/c2_049/scenario.json CHANGED
@@ -11,6 +11,27 @@
11
  "class": 2,
12
  "closed_capacity": 1.0,
13
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  "eqasim_commit": "acf065f",
15
  "extent_prefix": "zurich_",
16
  "flowCapacityFactor": 0.01,
 
11
  "class": 2,
12
  "closed_capacity": 1.0,
13
  "closed_freespeed": 1.0,
14
+ "demand": {
15
+ "cell_link_edges": "../cell_link_edges.parquet",
16
+ "cell_link_radius_m": 5000.0,
17
+ "cell_size_m": 500.0,
18
+ "grid": {
19
+ "cell_id": "iy * nx + ix",
20
+ "cell_size_m": 500.0,
21
+ "crs": "EPSG:2056",
22
+ "n_cells": 13786,
23
+ "nx": 113,
24
+ "ny": 122,
25
+ "x0": 2667500.0,
26
+ "y0": 1222500.0
27
+ },
28
+ "n_persons": 19320,
29
+ "n_trips": 68521,
30
+ "source": "output_plans",
31
+ "source_file": "output_plans.xml.gz",
32
+ "status": "ok",
33
+ "weight": 100.0
34
+ },
35
  "eqasim_commit": "acf065f",
36
  "extent_prefix": "zurich_",
37
  "flowCapacityFactor": 0.01,
data/c2_050/scenario.json CHANGED
@@ -18,6 +18,27 @@
18
  "class": 2,
19
  "closed_capacity": 1.0,
20
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  "eqasim_commit": "acf065f",
22
  "extent_prefix": "zurich_",
23
  "flowCapacityFactor": 0.01,
 
18
  "class": 2,
19
  "closed_capacity": 1.0,
20
  "closed_freespeed": 1.0,
21
+ "demand": {
22
+ "cell_link_edges": "../cell_link_edges.parquet",
23
+ "cell_link_radius_m": 5000.0,
24
+ "cell_size_m": 500.0,
25
+ "grid": {
26
+ "cell_id": "iy * nx + ix",
27
+ "cell_size_m": 500.0,
28
+ "crs": "EPSG:2056",
29
+ "n_cells": 13786,
30
+ "nx": 113,
31
+ "ny": 122,
32
+ "x0": 2667500.0,
33
+ "y0": 1222500.0
34
+ },
35
+ "n_persons": 19320,
36
+ "n_trips": 68521,
37
+ "source": "output_plans",
38
+ "source_file": "output_plans.xml.gz",
39
+ "status": "ok",
40
+ "weight": 100.0
41
+ },
42
  "eqasim_commit": "acf065f",
43
  "extent_prefix": "zurich_",
44
  "flowCapacityFactor": 0.01,
data/c2_055/scenario.json CHANGED
@@ -10,6 +10,27 @@
10
  "class": 2,
11
  "closed_capacity": 1.0,
12
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  "eqasim_commit": "acf065f",
14
  "extent_prefix": "zurich_",
15
  "flowCapacityFactor": 0.01,
 
10
  "class": 2,
11
  "closed_capacity": 1.0,
12
  "closed_freespeed": 1.0,
13
+ "demand": {
14
+ "cell_link_edges": "../cell_link_edges.parquet",
15
+ "cell_link_radius_m": 5000.0,
16
+ "cell_size_m": 500.0,
17
+ "grid": {
18
+ "cell_id": "iy * nx + ix",
19
+ "cell_size_m": 500.0,
20
+ "crs": "EPSG:2056",
21
+ "n_cells": 13786,
22
+ "nx": 113,
23
+ "ny": 122,
24
+ "x0": 2667500.0,
25
+ "y0": 1222500.0
26
+ },
27
+ "n_persons": 19320,
28
+ "n_trips": 68521,
29
+ "source": "output_plans",
30
+ "source_file": "output_plans.xml.gz",
31
+ "status": "ok",
32
+ "weight": 100.0
33
+ },
34
  "eqasim_commit": "acf065f",
35
  "extent_prefix": "zurich_",
36
  "flowCapacityFactor": 0.01,
data/c3_000/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.005,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 9820,
21
+ "n_trips": 34543,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 200.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.005,
data/c3_004/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.02,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 38756,
21
+ "n_trips": 136982,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 50.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.02,
data/c3_005/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19384,
21
+ "n_trips": 68442,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c3_008/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.02,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 38756,
21
+ "n_trips": 136982,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 50.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.02,
data/c3_011/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19305,
21
+ "n_trips": 68255,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
data/c3_013/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.005,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 9704,
21
+ "n_trips": 34190,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 200.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.005,
data/c3_016/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.02,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 38756,
21
+ "n_trips": 136982,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 50.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.02,
data/c3_022/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.02,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 38756,
21
+ "n_trips": 136982,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 50.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.02,
data/c3_026/scenario.json CHANGED
@@ -3,6 +3,27 @@
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "eqasim_commit": "acf065f",
7
  "extent_prefix": "zurich_",
8
  "flowCapacityFactor": 0.01,
 
3
  "class": 3,
4
  "closed_capacity": 1.0,
5
  "closed_freespeed": 1.0,
6
+ "demand": {
7
+ "cell_link_edges": "../cell_link_edges.parquet",
8
+ "cell_link_radius_m": 5000.0,
9
+ "cell_size_m": 500.0,
10
+ "grid": {
11
+ "cell_id": "iy * nx + ix",
12
+ "cell_size_m": 500.0,
13
+ "crs": "EPSG:2056",
14
+ "n_cells": 13786,
15
+ "nx": 113,
16
+ "ny": 122,
17
+ "x0": 2667500.0,
18
+ "y0": 1222500.0
19
+ },
20
+ "n_persons": 19319,
21
+ "n_trips": 68330,
22
+ "source": "output_plans",
23
+ "source_file": "output_plans.xml.gz",
24
+ "status": "ok",
25
+ "weight": 100.0
26
+ },
27
  "eqasim_commit": "acf065f",
28
  "extent_prefix": "zurich_",
29
  "flowCapacityFactor": 0.01,
torch_dataset.py CHANGED
@@ -15,6 +15,13 @@ features and the targets change.
15
  sample.y_base [E, 24] same quantity in base_s0 (for delta losses); absent for baselines
16
  sample.scenario dict scenario.json (class, seeds, perturbation lists, sample_rate ...)
17
  sample.link_ids np.array of MATSim link ids (E,)
 
 
 
 
 
 
 
18
 
19
  Requirements: numpy, pandas, pyarrow, torch. Optional: torch_geometric, scipy
20
  (nearest-node assignment of persons; without scipy the two population node
@@ -51,7 +58,8 @@ class GNNScenarioDataset:
51
 
52
  def __init__(self, root, ids=None, classes=None, targets="vc_ratio",
53
  car_only=True, baseline_id="base_s0", with_baseline=True,
54
- clip_congestion=50.0, cache=True, as_pyg=True):
 
55
  self.root = root
56
  self.data_dir = os.path.join(root, "data")
57
  self.targets = [targets] if isinstance(targets, str) else list(targets)
@@ -62,6 +70,8 @@ class GNNScenarioDataset:
62
  self.cache = cache
63
  self.cache_dir = os.path.join(root, "cache_torch")
64
  self._pyg = _load_pyg() if as_pyg else None
 
 
65
 
66
  man_path = os.path.join(root, "manifest.parquet")
67
  if os.path.exists(man_path):
@@ -83,6 +93,7 @@ class GNNScenarioDataset:
83
 
84
  self._build_static()
85
  self._base_y = None
 
86
 
87
  # ------------------------------------------------------------------ static
88
  def _build_static(self):
@@ -173,7 +184,8 @@ class GNNScenarioDataset:
173
  cp = self._cache_path(sid)
174
  if self.cache and os.path.exists(cp):
175
  z = np.load(cp)
176
- return z["x"], z["edge_attr"], z["y"]
 
177
  sdir = os.path.join(self.data_dir, sid)
178
  spec = json.load(open(os.path.join(sdir, "scenario.json")))
179
  links = pd.read_parquet(os.path.join(sdir, "links.parquet"))
@@ -182,9 +194,13 @@ class GNNScenarioDataset:
182
  x = np.concatenate([self.node_xy, self._node_pop(persons, spec["sample_rate"])], axis=1)
183
  ea = self._edge_attr(links)
184
  y = self._dense_targets(lh)
 
 
 
 
185
  if self.cache:
186
  os.makedirs(self.cache_dir, exist_ok=True)
187
- np.savez_compressed(cp, x=x, edge_attr=ea, y=y)
188
  return x, ea, y
189
 
190
  def base_targets(self):
@@ -192,6 +208,66 @@ class GNNScenarioDataset:
192
  self._base_y = self._load_arrays(self.baseline_id)[2]
193
  return self._base_y
194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  # ------------------------------------------------------------------ API
196
  def __len__(self):
197
  return len(self.ids)
@@ -214,10 +290,23 @@ class GNNScenarioDataset:
214
  }
215
  if self.with_baseline and sid != self.baseline_id:
216
  d["y_base"] = torch.from_numpy(self.base_targets())
 
 
 
 
 
 
 
 
 
 
217
  if self._pyg is not None:
218
  data = self._pyg(x=d["x"], edge_index=d["edge_index"], edge_attr=d["edge_attr"], y=d["y"])
219
  if "y_base" in d:
220
  data.y_base = d["y_base"]
 
 
 
221
  data.scenario_id = sid
222
  data.scenario_class = d["scenario_class"]
223
  data.scenario = spec
 
15
  sample.y_base [E, 24] same quantity in base_s0 (for delta losses); absent for baselines
16
  sample.scenario dict scenario.json (class, seeds, perturbation lists, sample_rate ...)
17
  sample.link_ids np.array of MATSim link ids (E,)
18
+ with with_cells=True (default) additionally, from the demand tables:
19
+ sample.cell_x [C, 12] cx, cy (normalised like x/y) + the 10 weighted cell counts (log1p)
20
+ sample.cell_pos [C, 2] raw cell centres (EPSG:2056)
21
+ sample.cell_link_index [2, M] (cell idx, edge idx) pairs within cell_link_max_dist (default: all, 5 km -> M = 57 M)
22
+ sample.cell_link_dist [M] distance in m
23
+ sample.od_index [2, K] (orig cell, dest cell) pairs with trips (cells inside the grid only)
24
+ sample.od_trips [K, 3] all trips, car trips, AM-peak trips (weighted to 100 %)
25
 
26
  Requirements: numpy, pandas, pyarrow, torch. Optional: torch_geometric, scipy
27
  (nearest-node assignment of persons; without scipy the two population node
 
58
 
59
  def __init__(self, root, ids=None, classes=None, targets="vc_ratio",
60
  car_only=True, baseline_id="base_s0", with_baseline=True,
61
+ clip_congestion=50.0, cache=True, as_pyg=True, with_cells=True,
62
+ cell_link_max_dist=None):
63
  self.root = root
64
  self.data_dir = os.path.join(root, "data")
65
  self.targets = [targets] if isinstance(targets, str) else list(targets)
 
70
  self.cache = cache
71
  self.cache_dir = os.path.join(root, "cache_torch")
72
  self._pyg = _load_pyg() if as_pyg else None
73
+ self.with_cells = with_cells and os.path.exists(os.path.join(root, "cell_link_edges.parquet"))
74
+ self.cell_link_max_dist = cell_link_max_dist # e.g. 2000 -> only pairs within 2 km
75
 
76
  man_path = os.path.join(root, "manifest.parquet")
77
  if os.path.exists(man_path):
 
93
 
94
  self._build_static()
95
  self._base_y = None
96
+ self._cell_static = None
97
 
98
  # ------------------------------------------------------------------ static
99
  def _build_static(self):
 
184
  cp = self._cache_path(sid)
185
  if self.cache and os.path.exists(cp):
186
  z = np.load(cp)
187
+ if not self.with_cells or "cell_x" in z:
188
+ return z["x"], z["edge_attr"], z["y"]
189
  sdir = os.path.join(self.data_dir, sid)
190
  spec = json.load(open(os.path.join(sdir, "scenario.json")))
191
  links = pd.read_parquet(os.path.join(sdir, "links.parquet"))
 
194
  x = np.concatenate([self.node_xy, self._node_pop(persons, spec["sample_rate"])], axis=1)
195
  ea = self._edge_attr(links)
196
  y = self._dense_targets(lh)
197
+ extra = {}
198
+ if self.with_cells:
199
+ cell_x, cell_pos, od_index, od_trips = self._cell_arrays(sid)
200
+ extra = dict(cell_x=cell_x, cell_pos=cell_pos, od_index=od_index, od_trips=od_trips)
201
  if self.cache:
202
  os.makedirs(self.cache_dir, exist_ok=True)
203
+ np.savez_compressed(cp, x=x, edge_attr=ea, y=y, **extra)
204
  return x, ea, y
205
 
206
  def base_targets(self):
 
208
  self._base_y = self._load_arrays(self.baseline_id)[2]
209
  return self._base_y
210
 
211
+ # ---------------------------------------------------------------- cells
212
+ CELL_COLS = ["residents", "residents_employed", "residents_car_available", "residents_age_0_17",
213
+ "residents_age_18_64", "residents_age_65plus", "jobs", "edu_places", "trips_origin", "trips_dest"]
214
+
215
+ def cell_static(self):
216
+ """(cell idx, edge idx) pairs + distance within cell_link_max_dist
217
+ (identical for all scenarios). First call reads the 59 M-row parquet via
218
+ pyarrow and stores compact int32 arrays in cache_torch/; later calls
219
+ take ~1 s."""
220
+ if self._cell_static is not None:
221
+ return self._cell_static
222
+ tag = "car" if self.car_only else "all"
223
+ md = self.cell_link_max_dist
224
+ cp = os.path.join(self.cache_dir, "cell_link_static_%s_%s.npz" % (tag, "all" if md is None else int(md)))
225
+ if self.cache and os.path.exists(cp):
226
+ z = np.load(cp)
227
+ self._cell_static = (z["index"], z["dist"])
228
+ return self._cell_static
229
+ import pyarrow.parquet as pq
230
+ tb = pq.read_table(os.path.join(self.root, "cell_link_edges.parquet"))
231
+ cells, pos, dist = [], [], []
232
+ for i in range(tb.num_columns and len(tb.column("link_id").chunks)):
233
+ lc = tb.column("link_id").chunk(i)
234
+ if hasattr(lc, "dictionary"):
235
+ cat_pos = self._link_index.get_indexer(np.asarray(lc.dictionary).astype(str))
236
+ p_ = cat_pos[np.asarray(lc.indices)]
237
+ else:
238
+ p_ = self._link_index.get_indexer(np.asarray(lc).astype(str))
239
+ c_ = np.asarray(tb.column("cell_id").chunk(i)).astype(np.int32)
240
+ d_ = np.asarray(tb.column("dist_m").chunk(i)).astype(np.float32)
241
+ keep = p_ >= 0
242
+ if md is not None:
243
+ keep &= d_ <= md
244
+ cells.append(c_[keep]); pos.append(p_[keep].astype(np.int32)); dist.append(d_[keep])
245
+ index = np.stack([np.concatenate(cells), np.concatenate(pos)])
246
+ dist = np.concatenate(dist)
247
+ if self.cache:
248
+ os.makedirs(self.cache_dir, exist_ok=True)
249
+ np.savez(cp, index=index, dist=dist)
250
+ self._cell_static = (index, dist)
251
+ return self._cell_static
252
+
253
+ def _cell_arrays(self, sid):
254
+ sdir = os.path.join(self.data_dir, sid)
255
+ c = pd.read_parquet(os.path.join(sdir, "cells.parquet"))
256
+ xy = c[["cx", "cy"]].values
257
+ cell_x = np.concatenate([((xy - self._xy_mean) / self._xy_std),
258
+ np.log1p(c[self.CELL_COLS].values)], axis=1).astype(np.float32)
259
+ od = pd.read_parquet(os.path.join(sdir, "od_cells.parquet"))
260
+ am = pd.read_parquet(os.path.join(sdir, "od_cells_am.parquet"))
261
+ od = od[(od.orig_cell >= 0) & (od.dest_cell >= 0)]
262
+ am = am[(am.orig_cell >= 0) & (am.dest_cell >= 0)]
263
+ g = od.groupby(["orig_cell", "dest_cell"])
264
+ tot = g.trips.sum()
265
+ car = od[od["mode"].astype(str) == "car"].groupby(["orig_cell", "dest_cell"]).trips.sum()
266
+ amt = am.groupby(["orig_cell", "dest_cell"]).trips.sum()
267
+ tab = pd.DataFrame({"all": tot, "car": car, "am": amt}).fillna(0.0)
268
+ od_index = np.array(list(tab.index), dtype=np.int64).T.reshape(2, -1)
269
+ return cell_x, xy.astype(np.float32), od_index, tab.values.astype(np.float32)
270
+
271
  # ------------------------------------------------------------------ API
272
  def __len__(self):
273
  return len(self.ids)
 
290
  }
291
  if self.with_baseline and sid != self.baseline_id:
292
  d["y_base"] = torch.from_numpy(self.base_targets())
293
+ if self.with_cells:
294
+ z = np.load(self._cache_path(sid)) if self.cache else None
295
+ if z is not None and "cell_x" in z:
296
+ cell_x, cell_pos, od_index, od_trips = z["cell_x"], z["cell_pos"], z["od_index"], z["od_trips"]
297
+ else:
298
+ cell_x, cell_pos, od_index, od_trips = self._cell_arrays(sid)
299
+ cli, cld = self.cell_static()
300
+ d.update(cell_x=torch.from_numpy(cell_x), cell_pos=torch.from_numpy(cell_pos),
301
+ cell_link_index=torch.from_numpy(cli.astype(np.int64)), cell_link_dist=torch.from_numpy(cld),
302
+ od_index=torch.from_numpy(od_index), od_trips=torch.from_numpy(od_trips))
303
  if self._pyg is not None:
304
  data = self._pyg(x=d["x"], edge_index=d["edge_index"], edge_attr=d["edge_attr"], y=d["y"])
305
  if "y_base" in d:
306
  data.y_base = d["y_base"]
307
+ for k in ("cell_x", "cell_pos", "cell_link_index", "cell_link_dist", "od_index", "od_trips"):
308
+ if k in d:
309
+ setattr(data, k, d[k])
310
  data.scenario_id = sid
311
  data.scenario_class = d["scenario_class"]
312
  data.scenario = spec