Skip to content

Commit e22ec2f

Browse files
committed
Reverted some calibration back as it made length distribution worse. Introduced some more transit constant penalty for surrounding municipalities.
1 parent a63c288 commit e22ec2f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Scripts/parameters/mode_choice.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
}
4444
},
4545
"transit": {
46-
"constant": (4.026594698031273, 4.026594698031273),
46+
"constant": (4.026594698031273, 3.127507661511273),
4747
"log": {
4848
"logsum": 0.89908703652
4949
},
@@ -267,7 +267,7 @@
267267
}
268268
},
269269
"transit": {
270-
"constant": (3.9593014770936366, 3.4328608648036365),
270+
"constant": (3.4328608648036365, 2.9064202525136364),
271271
"log": {
272272
"logsum": 0.52644061229
273273
},
@@ -285,7 +285,7 @@
285285
}
286286
},
287287
"bike": {
288-
"constant": (2.669848382655192, 3.459509301090192),
288+
"constant": (1.985475586678192, 2.775136505113192),
289289
"log": {
290290
"logsum": 0.52644061229
291291
},
@@ -342,7 +342,7 @@
342342
}
343343
},
344344
"transit": {
345-
"constant": (1.3087752722013022, -1.714566704646698),
345+
"constant": (1.3087752722013022, -2.470402198858698),
346346
"log": {
347347
"logsum": 0.377917747106
348348
},
@@ -361,7 +361,7 @@
361361
}
362362
},
363363
"bike": {
364-
"constant": (-0.34247434025287116, -0.34247434025287116),
364+
"constant": (0.7912789010651289, 0.7912789010651289),
365365
"log": {
366366
"logsum": 0.377917747106
367367
},

Scripts/tests/integration/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_models(self):
5454
self._validate_impedances(impedance["iht"])
5555

5656
# Check that model result does not change
57-
self.assertAlmostEquals(model.mode_share[0]["car"], 0.2869964081260768)
57+
self.assertAlmostEquals(model.mode_share[0]["car"], 0.2926169448883333)
5858

5959
print("Model system test done")
6060

0 commit comments

Comments
 (0)