Skip to content

Commit

Permalink
write mode shares by purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Nov 5, 2024
1 parent b581787 commit 453e767
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions matsim/scenariogen/data/run_create_ref_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ def create(survey_dirs, transform_persons, transform_trips,
aggr = summarize_mode_usage(persons, trips)
aggr.to_csv(output_prefix + "mode_users_ref.csv")

aggr = grouped_share(trips, ["purpose", "main_mode"])
aggr.to_csv(output_prefix + "mode_share_per_purpose_ref.csv")

mode_share_distance_distribution(trips, dist_groups).to_csv(output_prefix + "mode_share_distance_distribution.csv")

groups = None
Expand Down

0 comments on commit 453e767

Please sign in to comment.