Skip to content

Commit

Permalink
add person-filter to TripDashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
simei94 committed Sep 17, 2024
1 parent e29fa13 commit 50a0f28
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.matsim.dashboards;

import org.matsim.core.config.Config;
import org.matsim.core.population.PersonUtils;
import org.matsim.simwrapper.Dashboard;
import org.matsim.simwrapper.DashboardProvider;
import org.matsim.simwrapper.SimWrapper;
Expand All @@ -20,8 +21,9 @@ public List<Dashboard> getDashboards(Config config, SimWrapper simWrapper) {
"lausitz_mode_share.csv",
"lausitz_mode_share_per_dist.csv",
"lausitz_mode_users.csv")
.withGroupedRefData("lausitz_mode_share_per_group_dist_ref.csv", "age", "economic_status")
.withDistanceDistribution("lausitz_mode_share_distance_distribution.csv");
.withGroupedRefData("lausitz_mode_share_per_group_dist_ref.csv", "age", "economic_status", "income")
.withDistanceDistribution("lausitz_mode_share_distance_distribution.csv")
.setAnalysisArgs("--person-filter", "subpopulation=person");

return List.of(trips,
new EmissionsDashboard()
Expand Down

0 comments on commit 50a0f28

Please sign in to comment.