matsim-vsp / matsim-python-tools

Tools for working with matsim in python
58 stars 20 forks source link

Added the plan inheritance record inspector #23

Closed neuma closed 8 months ago

neuma commented 1 year ago

Initial release of the Plan Inheritance Record Inspector

The app is built on Dash/Plotly. It allows to visually inspect the plan inheritance records of a MATSim run. Current status is:

Single Trip Analysis

image

Top N Overview

image

rakow commented 1 year ago

Looks very impressive! I will try it next week and hopefully merge it by then.

rakow commented 1 year ago

I have a few requests that hopefully will improve the usability:

neuma commented 9 months ago

@rakow Thanks for the your feedback.

I am not that familiar with the setuptools and don't know how to test this. From my understanding, pandas can be left out since this comes as a mandatory requirement and is thus installed by default. This reduces the optional dependencies for the viz component to

'viz': ["dash", "plotly.express", "dash_cytoscape", "dash_bootstrap_components"]

Or do I miss something?

neuma commented 8 months ago

Example data created from a 160 iterations run of the MATSim Sioux Falls Scenario and config switch

    <module name="planInheritance" >
        <!-- Specifies whether or not PlanInheritance Information should be tracked. -->
        <param name="enabled" value="true" />
    </module>

planInheritanceRecords.csv.gz planInheritanceRecords_shares.csv planInheritanceRecords_shares_selected.csv

neuma commented 8 months ago

I added the dependencies to the setup.py and also added an entry point so that a cli script will be generated for it.

Thanks a lot