diff --git a/input/gartenfeld/gartenfeld.xml b/input/gartenfeld/gartenfeld.xml new file mode 100644 index 00000000..e8ebf986 --- /dev/null +++ b/input/gartenfeld/gartenfeld.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/java/org/matsim/dashboard/BerlinDashboardProvider.java b/src/main/java/org/matsim/dashboard/BerlinDashboardProvider.java index 3567536e..1ff1ea72 100644 --- a/src/main/java/org/matsim/dashboard/BerlinDashboardProvider.java +++ b/src/main/java/org/matsim/dashboard/BerlinDashboardProvider.java @@ -26,8 +26,17 @@ public List getDashboards(Config config, SimWrapper simWrapper) { .withChoiceEvaluation(true) .withGroupedRefData("mode_share_per_group_dist_ref.csv", "age", "income", "employment", "economic_status"); + // TODO: The definition of this dashboard should probably be in a separate run class, but for now it is more convenient here + + // Gartenfeld has a separate dashboard, without reference data + // This automatically filters by home location and configured shape file + TripDashboard gartenfeld = new TripDashboard(); + return List.of( trips, + Dashboard.customize(gartenfeld) + .context("gartenfeld") + .title("Gartenfeld"), new TravelTimeComparisonDashboard(ApplicationUtils.resolve(config.getContext(), "berlin-v" + OpenBerlinScenario.VERSION + "-routes-ref.csv.gz")), new TrafficCountsDashboard() .withModes(TransportMode.car, Set.of(TransportMode.car))