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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pattern_optimized_routes-0.1.5.tar.gz
.
File metadata
- Download URL: pattern_optimized_routes-0.1.5.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e32f2e8a7a5882f141c1fd5c7611cf9f452d1fe169bbf07cd19166b56d832227 |
|
MD5 | 4cce12a3a3546beee52930954305525b |
|
BLAKE2b-256 | 7fbe16f440aa3cc047537bf386d5fe4b79e7ac94e8843200254519d16f65e7fb |
File details
Details for the file pattern_optimized_routes-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pattern_optimized_routes-0.1.5-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd50e91b91e6734d6d44447d248baa26a065b0e0f4049695d722e931279dd217 |
|
MD5 | 01be668d9231cba9d4407582b01c22a9 |
|
BLAKE2b-256 | f185f602bd683b3ab13dad2b51c07be33db46907aea72a5cf0f924c5fa4d0586 |