{"id":49369833,"url":"https://github.com/hubblecommand/matsim-py-vis","last_synced_at":"2026-04-27T22:02:19.885Z","repository":{"id":53789702,"uuid":"285202454","full_name":"HubbleCommand/matsim-py-vis","owner":"HubbleCommand","description":"Python tool to compare MATSim simulation results","archived":false,"fork":false,"pushed_at":"2021-03-13T16:13:41.000Z","size":512,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T07:11:13.451Z","etag":null,"topics":["data-science","data-visualization","geopandas","matsim","pandas-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HubbleCommand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-05T06:36:30.000Z","updated_at":"2024-04-24T07:11:13.452Z","dependencies_parsed_at":"2022-09-02T12:31:52.798Z","dependency_job_id":null,"html_url":"https://github.com/HubbleCommand/matsim-py-vis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HubbleCommand/matsim-py-vis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubbleCommand%2Fmatsim-py-vis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubbleCommand%2Fmatsim-py-vis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubbleCommand%2Fmatsim-py-vis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubbleCommand%2Fmatsim-py-vis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HubbleCommand","download_url":"https://codeload.github.com/HubbleCommand/matsim-py-vis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubbleCommand%2Fmatsim-py-vis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","data-visualization","geopandas","matsim","pandas-python"],"created_at":"2026-04-27T22:02:09.699Z","updated_at":"2026-04-27T22:02:19.875Z","avatar_url":"https://github.com/HubbleCommand.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# matsim-py-vis\nPython tool to compare MATSim simulation results and calculate congestion ratios.\n\n## Related Repositories\nMain repo: https://github.com/HubbleCommand/matsim-example-project\nTool tog enerate agent populations: https://github.com/HubbleCommand/node-matsim-population-generator\n\n## Difference between two simulations\nCompare the flow of vehicles between two simulations. Useful for comparing the difference in traffic flows between different configurations, systems, etc.\n\n![imgs/dispersion_vis.png](imgs/dispersion_vis.png)\n\nAn example of how to use it is given in the function doCompareTest.\n\n## Congestion Ratios\nThere are two ways to calculate congestion ratios : hourly and by millisecond (for the time being, only the millisecond one will yeild correct results and print out a chart). \n\nIf you want to calculate congestion ratios, you need the network / region / link capacity in the correct unit. When calculating hourly ratios, need vehicles / hour (which is how it is defined in the MATSim network), but when doing it by milliseconds need to divide the capacity by 3600000. Currently it only calculates the congestion ratio for the whole network (which follows the exact same trend as flow / volume), but there are some example on how you could calculate ratios only for residential roads. \n\nRatio per millisecond for a simulation\n\n![imgs/Figure_millis_ratio_0.png](imgs/Figure_millis_ratio_0.png)\n\nRatio per millisecond for two different simulations\n\n![imgs/Figure_millis_ratio_0-100.png](imgs/Figure_millis_ratio_0-100.png)\n\nAn example of how to calculate hourly ratios is given in the function doRatioTest.\n\nAn example of how to calculate millisecond ratios is given in the function doMillisRatioTest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubblecommand%2Fmatsim-py-vis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubblecommand%2Fmatsim-py-vis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubblecommand%2Fmatsim-py-vis/lists"}