Skip to main content

Package to simulate the MultilevelERU (Expected Road Usage) model and the literature baselines results on a road network with a traffic demand.

Project description

This framework was developed throughout the research for my master’s degree. It consists of an alternative routing strategy based on the road usage pattern. I called it Multilevel Expected Road Usage, it is designed to increase path diversity and reduce CO2 emissions in urban scenarios. The package includes a way to test, simulate, and reproduce results on a real traffic demand.

Getting started

The library makes extensive use of SUMO and another library I collaborated to develop (routing_lib).

Pypi

To install the framework you can just open a terminal with pip installed and then digit:

pip install pattern-optimized-routes

Import the library

On Python, you can import the library by digiting:

import meru

There are 5 modules available:

  • multilevel.py contains the code of the algorithm and the utilities to make it work

  • baselines.py contains a class to run other algorithms from routing_lib

  • simulate.py contains a few functions to start a SUMO simulation

  • extract_measures.py allows the extraction of a set of useful quantitative and qualitative measures out of the raw paths

  • testing.py contains the function to run the simulation with customizable settings (the default parameters are those of my research)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pattern_optimized_routes-0.1.5.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

pattern_optimized_routes-0.1.5-py3-none-any.whl (17.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page