https://github.com/zekeriyyaa/traffic-data-analysis-with-apache-spark-based-on-mobile-robot-data
Mobile robot data were analyzed with Apache-Spark to extract five different statistical result such as travel time, waiting time, average speed, occupancy and density were produced.
https://github.com/zekeriyyaa/traffic-data-analysis-with-apache-spark-based-on-mobile-robot-data
agv apache-spark big-data data-analysis data-visualization industrial-robot mobile-robot mongodb mssql pyqt5 pyspark python spark
Last synced: 6 months ago
JSON representation
Mobile robot data were analyzed with Apache-Spark to extract five different statistical result such as travel time, waiting time, average speed, occupancy and density were produced.
- Host: GitHub
- URL: https://github.com/zekeriyyaa/traffic-data-analysis-with-apache-spark-based-on-mobile-robot-data
- Owner: zekeriyyaa
- Created: 2020-08-18T12:47:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T21:33:02.000Z (over 3 years ago)
- Last Synced: 2025-04-01T10:04:11.937Z (7 months ago)
- Topics: agv, apache-spark, big-data, data-analysis, data-visualization, industrial-robot, mobile-robot, mongodb, mssql, pyqt5, pyspark, python, spark
- Language: Python
- Homepage:
- Size: 242 KB
- Stars: 12
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Traffic-Data-Analysis-with-Spark-Based-on-Autonomous-Transport-Vehicle-Data
There could be a traffic in smart factories caused by autonomous transport vehicles (ATVs). So, it is needed to analyzed the data generated by ATV and produce useful feedback to system to enhance the system productivity. For this purpose, five analysis are done such as travel time, waiting time, average speed, occupancy and density and the results were visualized.
The data that generated from AGV analyzied with using [Apache Spark](https://spark.apache.org). And desktop app improved and results is visualised for understanding easily using [PyQT5](https://pypi.org/project/PyQt5/).This project has been developed within [ifarlab](https://ifarlab.ogu.edu.tr).
System architecture is shown below:
>
#### [Data-Analysis-with-Spark](https://github.com/zekeriyyaa/Traffic-Data-Analysis-with-Spark/tree/master/Data-Analysis-with-Spark)
ATV generates current position and speed data 150 times per minute. And these data store MongoDB database as a **document**. Each document has position, speed, datetime and ID datas as shown below. In addition, some information about the way is obtained from the MSSQL database.
MongoDB document instance:
> 
**Using these datas, five analysis that is shown below is made:**
- **Travel time**: The elapsed time between the ATV starting to task and finishing.
- **Waiting time**: The elapsed time while ATV is waiting during performing its task.
- **Average speed**: The average speed of the ATV while performing its task.
- **Occupancy**: (way lenght) / (number of vehicle * vehicle length)
- **Density**: ( number of vehicle / way length )
#### [Analysis-Result-Visualization-PyQT5](https://github.com/zekeriyyaa/Traffic-Data-Analysis-with-Spark/tree/master/Analysis-Result-Visualization-PyQT5)
The desktop app is improved. So, result of the analysis has visualized to easly understanding. At the app, you can select way and time interval which to show all analysis result.
The desktop app look like as shown below:
> 
And also you can select which type of analysis that you want to visualized for a way that you already specified.
The speed analysis of all way is shown as below ( **red**: low speed **green**: medium speed **yellow**: high speed ) :
> 