An open-source, cross-platform, lightweight, and fast Python Dynamic Traffic Assignment engine for networks encoded in GMNS
Project description
DTALite
DTALite is an open-source, cross-platform, lightweight, and fast Python path engine for networks encoded in GMNS.
Quick Start
- Tutorial written in Jupyter notebook with step-by-step demonstration (coming soon).
- Documentation on Installation, Use Cases, Public API, and more (coming soon).
Installation
DTALite has been published on PyPI, and can be installed using
$ pip install DTALite
Dependency
The Python modules are written in Python 3.x, which is the minimum requirement to explore the most of DTALite.
Testbed illustration
Users can find the test datasets and code in test folder.
Inputs: node.csv, link.csv, demand.csv, settings.csv Outputs: link_performance.csv, od_performance.csv
The Python code for testing:
import DTALite as dta
dta.assignment()
dta.simulation()
How to Cite
Tang, F., Zheng, H., and Zhou, X. (2025, Jan 29). DTALite. Retrieved from https://github.com/itsfangtang/DTALite_release
Please Contribute
Any contributions are welcomed including advise new applications of DTALite, enhance documentation and docstrings in the source code, refactor and/or optimize the source code, report and/or resolve potential issues/bugs, suggest and/or add new functionalities, etc.
Path4GMNS has a very simple workflow setup, i.e., master for release (on both GitHub and PyPI) and dev for development. If you would like to work directly on the source code (and probably the documentation), please make sure that the destination branch of your pull request is dev, i.e., all potential changes/updates shall go to the dev branch before merging into master for release.
References
Lu, C. C., Mahmassani, H. S., Zhou, X. (2009). Equivalent gap function-based reformulation and solution algorithm for the dynamic user equilibrium problem. Transportation Research Part B: Methodological, 43, 345-364.
Jayakrishnan, R., Tsai, W. K., Prashker, J. N., Rajadyaksha, S. (1994). A Faster Path-Based Algorithm for Traffic Assignment (Working Paper UCTC No. 191). The University of California Transportation Center.
Bertsekas, D., Gafni, E. (1983). Projected Newton methods and optimization of multicommodity flows. IEEE Transactions on Automatic Control, 28(12), 1090–1096.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file DTALite-0.0.2.tar.gz.
File metadata
- Download URL: DTALite-0.0.2.tar.gz
- Upload date:
- Size: 296.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d81964e909c8d7955f33c0759dd7a7e8cce90a2bd1680ca86465baa60319ecd
|
|
| MD5 |
9bd9b25a7a886520015ef11d0ba5160e
|
|
| BLAKE2b-256 |
9d75afd922479cea44a5a2c7495619d52fa1ece51080dfa9f7ac8b392e3be2c7
|
File details
Details for the file DTALite-0.0.2-py3-none-any.whl.
File metadata
- Download URL: DTALite-0.0.2-py3-none-any.whl
- Upload date:
- Size: 296.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7942cbf36c3b426582658201ab437690fa01b6489ff5d65302bafa9d5f354cd4
|
|
| MD5 |
030690fa268e0ef8ca621013a16ace33
|
|
| BLAKE2b-256 |
6098f7fb665ca6fd2f419bc452ff96e0502af408e27df317ce29f2a53acabeb8
|