Skip to main content

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=5
  • delta_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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file simulateur_trafic_ahmed_hamed_2025-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simulateur_trafic_ahmed_hamed_2025-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c90033e3579a15346bc138356f1ede117a1d04e4dd9ef555f73952e617f7a6e2
MD5 57c7d36f67cfe2dbec3e833b6aa11c8b
BLAKE2b-256 9a5f6fd09ef7a5a8bb91518d476bee868cb648cc38e36a61c978c5e7d2bb92b7

See more details on using hashes here.

Supported by

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