Skip to content

gusti-ott/SASIM-TOOL

Repository files navigation

SASIM Web App

Multimodal Route Planner with Full-Cost Insights

The SASIM Web App is a versatile tool for planning and comparing multimodal routes within the city of Munich. It helps users make informed decisions by highlighting the external costs associated with different transport modes, including private vehicles, shared mobility, and public transit. The app is part of the SASIM research project under the The Munich Cluster for the Future of Mobility in Metropolitan Regions (MCube) initiative.

Version: 1.1.0
Access the app: https://sasim.mcube-cluster.de/

image

Important Note:
While the code is open source, it is currently not possible to fully set up the project locally using the provided MVV EFA API, as this API is not publicly accessible. If you are interested in setting up the application for Munich or adapting it for another city, feel free to contact the SASIM team. Alternatively, you can replace the API with your local public transport provider’s API. The affected files can be found in the flask_app/controllers/efa_mvv/ directory.

Developer Guide

Tech Stack

  • Backend: Flask (Python)
  • Frontend: Flutter (Dart)
  • Routing Engine: Local OpenTripPlanner (OTP) instance for all non-public transport routes.
  • Geocoding: Komoot Photon API for search suggestions.
  • Public Transit Routing: EFA MVV API (not publicly accessible).
  • Mapping: OpenStreetMap with the FlutterMap library.

Local Setup Instructions

Follow these steps to set up and run the project locally:

  1. Clone the Repository

    git clone <repository-url>
    cd sasim-web-app
  2. Create an Environment File Add an .env file at the root of the project. Refer to the .env.example file in the flask_app folder.

  3. Prepare the Frontend Navigate to the frontend directory:

    cd flutter_frontend/multimodal_routeplanner

    Generate localization files:

    flutter gen-l10n

    Build the web application:

    flutter build web --web-renderer canvaskit
  4. Update Build Configuration Go to the build/web directory:

    cd build/web

    Modify the index.html file. Replace:

    <base href="/">

    with:

    <base href="/web/">
  5. Start the Backend From the flask_app directory, launch the Flask server:

    python wsgi.py

Region-Specific Data

The flask_app/db directory contains region-specific constants and MobiScore values. If you are setting up the project for a different city, these values can be recalculated based on the methodology outlined in the paper:
Ending the Myth of Mobility at Zero Costs: An External Cost Analysis
https://linkinghub.elsevier.com/retrieve/pii/S0739885922000713

Contributors

Project Partners

Key partners include:

  • Bavarian Ministry of Housing, Construction and Transport
  • BMW Group
  • MVV
  • TUM
  • Mobility Department of the City of Munich

Individual Contributors

API Usage

This project relies on the following APIs and services:

Please ensure compliance with the terms of use for each service.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

For support or questions, please contact:
[email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors