- AutorIn
- Venkata Satya Akhilesh Reddipalli
- Titel
- Web Based Microscopic Traffic Flow Simulator
- Zitierfähige Url:
- https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-954665
- Erstveröffentlichung
- 2025
- Datum der Einreichung
- 17.12.2024
- Datum der Verteidigung
- 28.01.2025
- Abstract (EN)
- This research presents significant progress in applying the car following model to traffic simulation visualization, enabling the effective representation of traffic conditions in any given concentrated area. The primary objective is to establish a robust computational framework and host the simulation on a web platform that meets specified input requirements while catering to user needs. The project employs Three.js, a 3D JavaScript framework leveraging WebGL, to create detailed three dimensional visualizations. The web based implementation is supported by the Django backend framework, which efficiently manages REST API calls and can be integrated with a database, resulting in a comprehensive full-stack development. A key aspect of this study involves identifying the data prediction process from the car following model. In this case, Intelligent driver model simulation, subsequently translates this data into CSV files. Once generated, the project focuses on developing visualization capabilities from the ground up, including modeling roads and vehicles and extracting geospatial data. This approach is supported by a thorough literature review of traffic simulation methods, conceptual model development, the thorough research of various models, and the establishment and analysis of a web based microscopic traffic simulation model. Collectively, these efforts aim to enhance user experience and adaptability in web based traffic simulations. In conclusion, this thesis advances strategies for microscopic traffic simulations by integrating them into a web environment. The proposed methodology addresses limitations in adaptability and user interaction, ultimately improving the precision and accessibility of web based simulation interfaces. The methodology, algorithms, and results are clearly delineated, accompanied by recommendations for future research directions.
- Freie Schlagwörter (EN)
- Three js, Web Traffic Simulator, Django, IDM
- Klassifikation (DDC)
- 380
- Klassifikation (RVK)
- ZO 4600
- GutachterIn
- Prof. Dr. Ostap Okhrin
- Dr. Martin Treiber
- BetreuerIn Hochschule / Universität
- Prof. Dr. Ostap Okhrin
- M. Tech Ankit Anil Chaudhari
- Den akademischen Grad verleihende / prüfende Institution
- Technische Universität Dresden, Dresden
- Version / Begutachtungsstatus
- publizierte Version / Verlagsversion
- URN Qucosa
- urn:nbn:de:bsz:14-qucosa2-954665
- Veröffentlichungsdatum Qucosa
- 04.02.2025
- Dokumenttyp
- Magisterarbeit
- Sprache des Dokumentes
- Englisch
- Lizenz / Rechtehinweis
CC BY 4.0- Inhaltsverzeichnis
Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . III Symbols and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IX 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 Research Background and Motivation . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.3 Study Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 State of the art and research problem . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1 Traffic Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 Mesoscopic models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2.1 Applications of Mesoscopic Models . . . . . . . . . . . . . . . . . . . . 5 2.3 Macroscopic models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.3.1 Kinematic Wave Model . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3.2 Payne Whitham Model . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3.3 Cellular Automata Model . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4 Microscopic Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.1 Intelligent Driver Model . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4.2 MOBIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.5 Mixed traffic model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.6 Web based Traffic simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.7 Why Web-based Simulation ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.8 Building the Traffic Simulation with Three.js . . . . . . . . . . . . . . . . . . . 13 2.8.1 Scene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.8.2 Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.8.3 Renderer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.8.4 Geometries and Materials . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.8.5 Lights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.9 Extracting Geospatial Data from OpenStreetMap and Overpass Turbo . . . 16 2.10 Road Modeling and Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.11 Trajectory Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.11.1 Importance in simulations . . . . . . . . . . . . . . . . . . . . . . . . . 17 IV Contents 2.11.2 Integrating Trajectory Data into Web-Based Simulation . . . . . . . . 18 2.12 Python Based Follower Leader Simulation Engine . . . . . . . . . . . . . . . . 18 2.13 API call’s and Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.14 Django Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.15 REST API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.16 Django Serializer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.16.1 Key Functions of Django Serializers . . . . . . . . . . . . . . . . . . . . 20 2.17 SQL Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3 Methodology and Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.1 Geospatial Data Collection and Processing . . . . . . . . . . . . . . . . . . . . 22 3.1.1 Universal Transverse Mercator . . . . . . . . . . . . . . . . . . . . . . 22 3.1.2 Key attributes within the dataset . . . . . . . . . . . . . . . . . . . . . 23 3.2 Road and Lane Creation Results . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.3 Visualization of Vehicles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.3.1 Car . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.3.2 Truck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.3.3 Bike . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.4 User interface controls and enhanced rendering . . . . . . . . . . . . . . . . 30 3.4.1 Pause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.4.2 Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.4.3 Dynamic loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.5 Analysis of IDM Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.6 Django Workflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4 Results and Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.1 Visualization of Vehicles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.1.1 Car . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.1.2 Truck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 4.1.3 Medium Vehicle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.1.4 Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 4.1.5 Bike . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 4.1.6 Road Visualization Results . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.2 Driver POV and IDM Paramters . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.3 Simulation Outcomes from the Python Engine . . . . . . . . . . . . . . . . . . 44 4.3.1 Error calculation and IDM performance . . . . . . . . . . . . . . . . . 46 5 Conclusion and direction of the future work . . . . . . . . . . . . . . . . . . . . . 48 5.1 Summary of the Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.2 Limitations of the study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.3 Enhancing Project Capabilities: Potential Improvements . . . . . . . . . . . . 49 5.4 Practical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1 Code guidance and execution in terminal . . . . . . . . . . . . . . . . . . . . 50 6.1.1 Frontend execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.2 Backend execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 V Contents 7 Acknowledgement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55