A traffic simulation application
Project description
Simulateur de Trafic (Traffic Simulator)
Simulateur de Trafic is a Python package for simulating vehicle traffic on customizable road networks. It models vehicle motion, road connections, and collects useful traffic statistics for analysis and optimization.
Features
- Vehicle movement simulation on a configurable road network
- Roads with speed limits and lengths
- Traffic statistics (speed, flow, time)
- Results exportable to CSV or JSON
- Fully customizable through a JSON configuration file
Installation
From PyPI
pip install simulateur-trafic-ahmed-hamed-2025
For development (editable mode)
pip install -e .
Usage
Default execution
simulateur-trafic
Runs the simulation with:
n_tours=5delta_t=60(seconds)config=config_reseau.json
Custom parameters
You can specify the number of simulation turns, time step, and configuration file path:
simulateur-trafic --n_tours 10 --delta_t 30 --config config_reseau.json
Or run it directly from Python:
python -m simulateur_trafic.main --n_tours 10 --delta_t 30 --config config_reseau.json
License
This project is licensed under the MIT License.
See the LICENSE file for details.
Author
Ahmed Hamed 📧 ahmad.hamed.work@gmail.com
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 Distributions
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 simulateur_trafic_ahmed_hamed_2025-1.0.0-py3-none-any.whl.
File metadata
- Download URL: simulateur_trafic_ahmed_hamed_2025-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c90033e3579a15346bc138356f1ede117a1d04e4dd9ef555f73952e617f7a6e2
|
|
| MD5 |
57c7d36f67cfe2dbec3e833b6aa11c8b
|
|
| BLAKE2b-256 |
9a5f6fd09ef7a5a8bb91518d476bee868cb648cc38e36a61c978c5e7d2bb92b7
|