SlideShare a Scribd company logo
T-Smart Lab
Professor Jack Haddad
Winter Semester 2015-2016
Technion – Israel Institute ofTechnology.
Yazan Safadi
Table of Content
 API
 Network Details
 Analysis
 Result
 Conclusion
4/3/2016 2
Process
Microsimulation
• Running
simulation by
AIMSUN
Software
API
• Written by C++
atVisual
Studio(Micrsoft)
Data
• Exporting Data
into txt files.
4/3/2016 3
API
The goal :
Exporting relevant data from the
simulation at each time step.
DataTime Step – 60 seconds.
Simulation step - 0.8 second.
4/3/2016 4
Detectors Located at
the middle of sections
API
 1. Accumulation (Detectors):
 Mathematical calculation -
 𝐴𝑐𝑐𝑖 =
𝑂𝑐𝑐𝑢𝑖
100
∗
1000
𝐿𝑉𝑒ℎ
∗
𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖
1000
;
 𝑖 − 0 … 𝑁𝑢𝑚𝑏𝑒𝑟𝑂𝑓𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 ;
 𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖
− 𝐿𝑒𝑛𝑔𝑡ℎ 𝑜𝑓 𝑆𝑒𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 𝑡ℎ𝑒 𝑐𝑢𝑟𝑟𝑒𝑛𝑡 𝑑𝑒𝑡𝑒𝑐𝑡𝑜𝑟 𝑖 [𝑚];
 𝐿𝑉𝑒ℎ − 6 𝑚𝑒𝑡𝑒𝑟 𝑣𝑒ℎ𝑖𝑐𝑙𝑒𝑠 𝑙𝑒𝑛𝑔𝑡ℎ 𝑎𝑠𝑠𝑢𝑚𝑝𝑡𝑖𝑜𝑛 [𝑚];
 𝑂𝑐𝑐𝑢𝑖 − the percentage of the time that the detector has been occupied
during the last detection interval [%];
 We are getting occupancy by calling the following function for each
detector in the network :
 Occu = AKIDetGetTimeOccupedAggregatedbyId(dete_id, 0);
In the API file , we will calculate and
export the following data :
1. Accumulation (Detectors)
2. Production (Detectors)
4/3/2016 5
API
 2. Production (Detectors):
 Mathematical calculation -
 𝑃𝑟𝑜𝑑𝑖 = 𝑛𝑏_𝑣𝑒ℎ𝑖 ∗
3600
𝑡𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙
∗
𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖
1000
;
 𝑖 − 0 … 𝑁𝑢𝑚𝑏𝑒𝑟𝑂𝑓𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 ;
 𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖
− 𝐿𝑒𝑛𝑔𝑡ℎ 𝑜𝑓 𝑆𝑒𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 𝑡ℎ𝑒 𝑐𝑢𝑟𝑟𝑒𝑛𝑡 𝑑𝑒𝑡𝑒𝑐𝑡𝑜𝑟 𝑖 [𝑚];
 𝑡𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 − 60 𝑠𝑒𝑐𝑜𝑛𝑑 , 𝑡𝑖𝑚𝑒 𝑠𝑡𝑒𝑝 𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 [𝑠𝑒𝑐];
 𝑛𝑏_𝑣𝑒ℎ𝑖 − the counter aggregated during the last detection interval[%];
 We are getting counter by calling the following function for each detector
in the network :
 Nb_Veh =AKIDetGetCounterAggregatedbyId(dete_id, 0);
In the API file , we will calculate and
export the following data :
1. Accumulation (Detectors)
2. Production (Detectors)
4/3/2016 6
API
As a result we export txt file with
the data for each detector in
different column and the time
interval in order row.
4/3/2016 7
Process
Microsimulation
• Running
simulation by
AIMSUN
Software
API
• Written by C++
atVisual
Studio(Micrsoft)
Data
• Exporting Data
into txt files.
4/3/2016 8
 Number of detectors - 720
 Number of sections – 720
 Number of Centroid– 180
 Number of intersection – 96
Road type – Arterial
Maximum Speed – 50 Km/h
Capacity – 900 PCUs/h
TimeWindow for simulation – 180 min
Basic Network
4/3/2016 9
Demand Plan
 O-DTable
A symmetrical demand between each
nodes
Total trips 32220 vehicles
4/3/2016 10
Demand Plan
30%
40%
50%
70%
80%
40%
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00
Demand
4/3/2016 11
Traffic Signal Control
Two phases signal :
1.North-South Phase 2.East-West phase
-90 seconds cycle
-40 seconds green time for each phase
-All turns Allowed
4/3/2016 12
Matlab Analysis – Basic Network
By using Matlab Software we will analyze the result and plot
graph of MFD as follow :
𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝐴𝑐𝑐𝑖 ;
𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝑃𝑟𝑜𝑑𝑖 ;
N – number of detectors
t – Time Window ( 1 – 120 min )
4/3/2016 13
Types of Network
4/3/2016 14
Region 1
Region 2
Region 1
Region 2
Region 1
Region 2
 Number of detectors – 720 (Region 1 – 128)
 Number of sections – 720
 Number of Centroid– 180
 Number of intersection – 96 (Region 1 – 16)
Road type – Arterial
Maximum Speed – 50 Km/h
Capacity – 900 PCUs/h
TimeWindow for simulation – 180 min
Control Signal Network
4/3/2016 15
Region 1
Region 2
Demand Plan
 O-DTable
A symmetrical demand between each
nodes
Total trips 32220 vehicles
4/3/2016 16
Demand Plan – Control
Signal Network
30%
40%
50%
60%
66%
24%
0%
10%
20%
30%
40%
50%
60%
70%
06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00
Demand
4/3/2016 17
Traffic Signal Control - Control Signal Network
Two phases signal :
1.North-South Phase 2.East-West phase
-30 seconds -50 seconds
-90 seconds cycle
-All turns Allowed
4/3/2016 18
Matlab Analysis – Control Signal
Network
By using Matlab Software we will analyze the result and plot
graph of MFD as follow :
𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝐴𝑐𝑐𝑖 ;
𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝑃𝑟𝑜𝑑𝑖 ;
N – number of detectors
t – Time Window ( 1 – 180 min )
4/3/2016 19
Matlab Analysis – Control Signal
Network
MFD graph for each of the regions
4/3/2016 20
 Number of detectors – 720 (Region 1 – 128)
 Number of sections – 720
 Number of Centroid– 180
 Number of intersection – 96 (Region 1 – 16)
 TimeWindow for simulation – 180 min
Speed Limit Network
4/3/2016 21
Region 1
Road type – Arterial
Maximum Speed – 50
Km/h
Capacity – 900 PCUs/h
Region 2
Road type – Road
Maximum Speed – 90 Km/h
Capacity – 1200 PCUs/h
Demand Plan
 O-DTable
A symmetrical demand between each
nodes
Total trips 32220 vehicles
4/3/2016 22
Demand Plan
30%
40%
50%
70%
80%
40%
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00
Demand
4/3/2016 23
Traffic Signal Control
Two phases signal :
1.North-South Phase 2.East-West phase
-90 seconds cycle
-40 seconds green time for each phase
-All turns Allowed
4/3/2016 24
Matlab Analysis – Speed Limit
Network
By using Matlab Software we will analyze the result and plot
graph of MFD as follow :
𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝐴𝑐𝑐𝑖 ;
𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝑃𝑟𝑜𝑑𝑖 ;
N – number of detectors
t – Time Window ( 1 – 180 min )
4/3/2016 25
Matlab Analysis – Speed Limit
Network
MFD graph for each of the regions
4/3/2016 26
 Number of detectors – 720 (Region 1 – 128)
 Number of sections – 720
 Number of Nodes – 180
 Number of intersection – 96 (Region 1 – 16)
 TimeWindow for simulation – 180 min
Speed Limit(EastWest) Network
4/3/2016 27
Region 1
Road type – Arterial
Maximum Speed – 50
Km/h
Capacity – 900 PCUs/h
Region 2
Road type – Road
Maximum Speed – 90 Km/h
Capacity – 1200 PCUs/h
Demand Plan
 O-DTable
A symmetrical demand between each
nodes
Total trips 32220 vehicles
4/3/2016 28
Demand Plan
30%
40%
50%
70%
80%
40%
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00
Demand
4/3/2016 29
Traffic Signal Control
Two phases signal :
1.North-South Phase 2.East-West phase
-90 seconds cycle
-40 seconds green time for each phase
-All turns Allowed
4/3/2016 30
Matlab Analysis – Speed
Limit(EastWest) Network
By using Matlab Software we will analyze the result and plot
graph of MFD as follow :
𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝐴𝑐𝑐𝑖 ;
𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 =
𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠
𝑃𝑟𝑜𝑑𝑖 ;
N – number of detectors
t – Time Window ( 1 – 180 min )
4/3/2016 31
Matlab Analysis – Speed
Limit(EastWest) Network
MFD graph for each of the regions
4/3/2016 32
Conclusion
 MFD – Basic Network
4/3/2016 33
 Critical Point
 Different Scenario
 Curve Linear and
non-linear behavior
 Maximum
Production and
Accumulation
 Etc.?...
 MFD – Control Network
 MFD – Speed EW Network
 MFD – Speed Network
4/3/2016 34
Question ?

More Related Content

Similar to Macroscopic Fundamental Diagram using Traffic Simulation and Control (AIMSUN API) Project

IRJET- Optimal Strategy for Extraction of Traffic Based on PLC
IRJET- Optimal Strategy for Extraction of Traffic Based on PLCIRJET- Optimal Strategy for Extraction of Traffic Based on PLC
IRJET- Optimal Strategy for Extraction of Traffic Based on PLC
IRJET Journal
 
Traffic Congestion using IOT
Traffic Congestion using IOTTraffic Congestion using IOT
Traffic Congestion using IOT
SayantanGhosh58
 
Adaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management PlatformAdaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management Platform
Amir Krifa
 
IRJET- Intelligent Traffic Management System
IRJET- Intelligent Traffic Management SystemIRJET- Intelligent Traffic Management System
IRJET- Intelligent Traffic Management System
IRJET Journal
 
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry PiTCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
IRJET Journal
 
AnaVANET: an experiment and visualization tool for vehicular networks
AnaVANET: an experiment and visualization tool for vehicular networksAnaVANET: an experiment and visualization tool for vehicular networks
AnaVANET: an experiment and visualization tool for vehicular networks
Manabu Tsukada
 
Tutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data StreamingTutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data Streaming
Vincenzo Gulisano
 
Smart Helmet using GSM and GPS
Smart Helmet using GSM and GPSSmart Helmet using GSM and GPS
Smart Helmet using GSM and GPS
IRJET Journal
 
IRJET-Simulation of Channel-Estimation for Digital Communication System based...
IRJET-Simulation of Channel-Estimation for Digital Communication System based...IRJET-Simulation of Channel-Estimation for Digital Communication System based...
IRJET-Simulation of Channel-Estimation for Digital Communication System based...
IRJET Journal
 
Using “Big-Data” to improve roadway performance across strategic road network...
Using “Big-Data” to improve roadway performance across strategic road network...Using “Big-Data” to improve roadway performance across strategic road network...
Using “Big-Data” to improve roadway performance across strategic road network...
Italo Broggini
 
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdfSFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
South Tyrol Free Software Conference
 
IRJET- Time To Cross – Traffic Light Control System using Image Processing
IRJET-  	  Time To Cross – Traffic Light Control System using Image ProcessingIRJET-  	  Time To Cross – Traffic Light Control System using Image Processing
IRJET- Time To Cross – Traffic Light Control System using Image Processing
IRJET Journal
 
Prediction of taxi rides ETA
Prediction of taxi rides ETAPrediction of taxi rides ETA
Prediction of taxi rides ETA
Daniel Marcous
 
PhD_Presentation_v1
PhD_Presentation_v1PhD_Presentation_v1
PhD_Presentation_v1Marco Bosco
 
MAP Real-Time Analytics Platform
MAP Real-Time Analytics PlatformMAP Real-Time Analytics Platform
MAP Real-Time Analytics Platform
Mike Everest
 
PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET)
PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET) PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET)
PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET)
Limon Prince
 
IRJET- Dynamic Traffic Management System
IRJET- Dynamic Traffic Management SystemIRJET- Dynamic Traffic Management System
IRJET- Dynamic Traffic Management System
IRJET Journal
 
Multi-Resolution Modeling by using Vision Traffic Suite
Multi-Resolution Modeling by using Vision Traffic SuiteMulti-Resolution Modeling by using Vision Traffic Suite
Multi-Resolution Modeling by using Vision Traffic SuiteJongsun Won, PE
 
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Carlos Reaño González
 
Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...butest
 

Similar to Macroscopic Fundamental Diagram using Traffic Simulation and Control (AIMSUN API) Project (20)

IRJET- Optimal Strategy for Extraction of Traffic Based on PLC
IRJET- Optimal Strategy for Extraction of Traffic Based on PLCIRJET- Optimal Strategy for Extraction of Traffic Based on PLC
IRJET- Optimal Strategy for Extraction of Traffic Based on PLC
 
Traffic Congestion using IOT
Traffic Congestion using IOTTraffic Congestion using IOT
Traffic Congestion using IOT
 
Adaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management PlatformAdaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management Platform
 
IRJET- Intelligent Traffic Management System
IRJET- Intelligent Traffic Management SystemIRJET- Intelligent Traffic Management System
IRJET- Intelligent Traffic Management System
 
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry PiTCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
 
AnaVANET: an experiment and visualization tool for vehicular networks
AnaVANET: an experiment and visualization tool for vehicular networksAnaVANET: an experiment and visualization tool for vehicular networks
AnaVANET: an experiment and visualization tool for vehicular networks
 
Tutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data StreamingTutorial: The Role of Event-Time Analysis Order in Data Streaming
Tutorial: The Role of Event-Time Analysis Order in Data Streaming
 
Smart Helmet using GSM and GPS
Smart Helmet using GSM and GPSSmart Helmet using GSM and GPS
Smart Helmet using GSM and GPS
 
IRJET-Simulation of Channel-Estimation for Digital Communication System based...
IRJET-Simulation of Channel-Estimation for Digital Communication System based...IRJET-Simulation of Channel-Estimation for Digital Communication System based...
IRJET-Simulation of Channel-Estimation for Digital Communication System based...
 
Using “Big-Data” to improve roadway performance across strategic road network...
Using “Big-Data” to improve roadway performance across strategic road network...Using “Big-Data” to improve roadway performance across strategic road network...
Using “Big-Data” to improve roadway performance across strategic road network...
 
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdfSFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
 
IRJET- Time To Cross – Traffic Light Control System using Image Processing
IRJET-  	  Time To Cross – Traffic Light Control System using Image ProcessingIRJET-  	  Time To Cross – Traffic Light Control System using Image Processing
IRJET- Time To Cross – Traffic Light Control System using Image Processing
 
Prediction of taxi rides ETA
Prediction of taxi rides ETAPrediction of taxi rides ETA
Prediction of taxi rides ETA
 
PhD_Presentation_v1
PhD_Presentation_v1PhD_Presentation_v1
PhD_Presentation_v1
 
MAP Real-Time Analytics Platform
MAP Real-Time Analytics PlatformMAP Real-Time Analytics Platform
MAP Real-Time Analytics Platform
 
PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET)
PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET) PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET)
PERFORMANCE VEHICULAR AD-HOC NETWORK (VANET)
 
IRJET- Dynamic Traffic Management System
IRJET- Dynamic Traffic Management SystemIRJET- Dynamic Traffic Management System
IRJET- Dynamic Traffic Management System
 
Multi-Resolution Modeling by using Vision Traffic Suite
Multi-Resolution Modeling by using Vision Traffic SuiteMulti-Resolution Modeling by using Vision Traffic Suite
Multi-Resolution Modeling by using Vision Traffic Suite
 
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
Pipelined Compression in Remote GPU Virtualization Systems using rCUDA: Early...
 
Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...
 

Recently uploaded

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 

Recently uploaded (20)

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 

Macroscopic Fundamental Diagram using Traffic Simulation and Control (AIMSUN API) Project

  • 1. T-Smart Lab Professor Jack Haddad Winter Semester 2015-2016 Technion – Israel Institute ofTechnology. Yazan Safadi
  • 2. Table of Content  API  Network Details  Analysis  Result  Conclusion 4/3/2016 2
  • 3. Process Microsimulation • Running simulation by AIMSUN Software API • Written by C++ atVisual Studio(Micrsoft) Data • Exporting Data into txt files. 4/3/2016 3
  • 4. API The goal : Exporting relevant data from the simulation at each time step. DataTime Step – 60 seconds. Simulation step - 0.8 second. 4/3/2016 4 Detectors Located at the middle of sections
  • 5. API  1. Accumulation (Detectors):  Mathematical calculation -  𝐴𝑐𝑐𝑖 = 𝑂𝑐𝑐𝑢𝑖 100 ∗ 1000 𝐿𝑉𝑒ℎ ∗ 𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖 1000 ;  𝑖 − 0 … 𝑁𝑢𝑚𝑏𝑒𝑟𝑂𝑓𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 ;  𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖 − 𝐿𝑒𝑛𝑔𝑡ℎ 𝑜𝑓 𝑆𝑒𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 𝑡ℎ𝑒 𝑐𝑢𝑟𝑟𝑒𝑛𝑡 𝑑𝑒𝑡𝑒𝑐𝑡𝑜𝑟 𝑖 [𝑚];  𝐿𝑉𝑒ℎ − 6 𝑚𝑒𝑡𝑒𝑟 𝑣𝑒ℎ𝑖𝑐𝑙𝑒𝑠 𝑙𝑒𝑛𝑔𝑡ℎ 𝑎𝑠𝑠𝑢𝑚𝑝𝑡𝑖𝑜𝑛 [𝑚];  𝑂𝑐𝑐𝑢𝑖 − the percentage of the time that the detector has been occupied during the last detection interval [%];  We are getting occupancy by calling the following function for each detector in the network :  Occu = AKIDetGetTimeOccupedAggregatedbyId(dete_id, 0); In the API file , we will calculate and export the following data : 1. Accumulation (Detectors) 2. Production (Detectors) 4/3/2016 5
  • 6. API  2. Production (Detectors):  Mathematical calculation -  𝑃𝑟𝑜𝑑𝑖 = 𝑛𝑏_𝑣𝑒ℎ𝑖 ∗ 3600 𝑡𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 ∗ 𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖 1000 ;  𝑖 − 0 … 𝑁𝑢𝑚𝑏𝑒𝑟𝑂𝑓𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 ;  𝐿𝑆𝑒𝑐𝑡𝑖𝑜𝑛𝑖 − 𝐿𝑒𝑛𝑔𝑡ℎ 𝑜𝑓 𝑆𝑒𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 𝑡ℎ𝑒 𝑐𝑢𝑟𝑟𝑒𝑛𝑡 𝑑𝑒𝑡𝑒𝑐𝑡𝑜𝑟 𝑖 [𝑚];  𝑡𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 − 60 𝑠𝑒𝑐𝑜𝑛𝑑 , 𝑡𝑖𝑚𝑒 𝑠𝑡𝑒𝑝 𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 [𝑠𝑒𝑐];  𝑛𝑏_𝑣𝑒ℎ𝑖 − the counter aggregated during the last detection interval[%];  We are getting counter by calling the following function for each detector in the network :  Nb_Veh =AKIDetGetCounterAggregatedbyId(dete_id, 0); In the API file , we will calculate and export the following data : 1. Accumulation (Detectors) 2. Production (Detectors) 4/3/2016 6
  • 7. API As a result we export txt file with the data for each detector in different column and the time interval in order row. 4/3/2016 7
  • 8. Process Microsimulation • Running simulation by AIMSUN Software API • Written by C++ atVisual Studio(Micrsoft) Data • Exporting Data into txt files. 4/3/2016 8
  • 9.  Number of detectors - 720  Number of sections – 720  Number of Centroid– 180  Number of intersection – 96 Road type – Arterial Maximum Speed – 50 Km/h Capacity – 900 PCUs/h TimeWindow for simulation – 180 min Basic Network 4/3/2016 9
  • 10. Demand Plan  O-DTable A symmetrical demand between each nodes Total trips 32220 vehicles 4/3/2016 10
  • 11. Demand Plan 30% 40% 50% 70% 80% 40% 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00 Demand 4/3/2016 11
  • 12. Traffic Signal Control Two phases signal : 1.North-South Phase 2.East-West phase -90 seconds cycle -40 seconds green time for each phase -All turns Allowed 4/3/2016 12
  • 13. Matlab Analysis – Basic Network By using Matlab Software we will analyze the result and plot graph of MFD as follow : 𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝐴𝑐𝑐𝑖 ; 𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝑃𝑟𝑜𝑑𝑖 ; N – number of detectors t – Time Window ( 1 – 120 min ) 4/3/2016 13
  • 14. Types of Network 4/3/2016 14 Region 1 Region 2 Region 1 Region 2 Region 1 Region 2
  • 15.  Number of detectors – 720 (Region 1 – 128)  Number of sections – 720  Number of Centroid– 180  Number of intersection – 96 (Region 1 – 16) Road type – Arterial Maximum Speed – 50 Km/h Capacity – 900 PCUs/h TimeWindow for simulation – 180 min Control Signal Network 4/3/2016 15 Region 1 Region 2
  • 16. Demand Plan  O-DTable A symmetrical demand between each nodes Total trips 32220 vehicles 4/3/2016 16
  • 17. Demand Plan – Control Signal Network 30% 40% 50% 60% 66% 24% 0% 10% 20% 30% 40% 50% 60% 70% 06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00 Demand 4/3/2016 17
  • 18. Traffic Signal Control - Control Signal Network Two phases signal : 1.North-South Phase 2.East-West phase -30 seconds -50 seconds -90 seconds cycle -All turns Allowed 4/3/2016 18
  • 19. Matlab Analysis – Control Signal Network By using Matlab Software we will analyze the result and plot graph of MFD as follow : 𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝐴𝑐𝑐𝑖 ; 𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝑃𝑟𝑜𝑑𝑖 ; N – number of detectors t – Time Window ( 1 – 180 min ) 4/3/2016 19
  • 20. Matlab Analysis – Control Signal Network MFD graph for each of the regions 4/3/2016 20
  • 21.  Number of detectors – 720 (Region 1 – 128)  Number of sections – 720  Number of Centroid– 180  Number of intersection – 96 (Region 1 – 16)  TimeWindow for simulation – 180 min Speed Limit Network 4/3/2016 21 Region 1 Road type – Arterial Maximum Speed – 50 Km/h Capacity – 900 PCUs/h Region 2 Road type – Road Maximum Speed – 90 Km/h Capacity – 1200 PCUs/h
  • 22. Demand Plan  O-DTable A symmetrical demand between each nodes Total trips 32220 vehicles 4/3/2016 22
  • 23. Demand Plan 30% 40% 50% 70% 80% 40% 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00 Demand 4/3/2016 23
  • 24. Traffic Signal Control Two phases signal : 1.North-South Phase 2.East-West phase -90 seconds cycle -40 seconds green time for each phase -All turns Allowed 4/3/2016 24
  • 25. Matlab Analysis – Speed Limit Network By using Matlab Software we will analyze the result and plot graph of MFD as follow : 𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝐴𝑐𝑐𝑖 ; 𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝑃𝑟𝑜𝑑𝑖 ; N – number of detectors t – Time Window ( 1 – 180 min ) 4/3/2016 25
  • 26. Matlab Analysis – Speed Limit Network MFD graph for each of the regions 4/3/2016 26
  • 27.  Number of detectors – 720 (Region 1 – 128)  Number of sections – 720  Number of Nodes – 180  Number of intersection – 96 (Region 1 – 16)  TimeWindow for simulation – 180 min Speed Limit(EastWest) Network 4/3/2016 27 Region 1 Road type – Arterial Maximum Speed – 50 Km/h Capacity – 900 PCUs/h Region 2 Road type – Road Maximum Speed – 90 Km/h Capacity – 1200 PCUs/h
  • 28. Demand Plan  O-DTable A symmetrical demand between each nodes Total trips 32220 vehicles 4/3/2016 28
  • 29. Demand Plan 30% 40% 50% 70% 80% 40% 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 06:00-06:30 06:30-07:00 07:00-07:30 07:30-08:00 08:00-08:30 08:30-09:00 Demand 4/3/2016 29
  • 30. Traffic Signal Control Two phases signal : 1.North-South Phase 2.East-West phase -90 seconds cycle -40 seconds green time for each phase -All turns Allowed 4/3/2016 30
  • 31. Matlab Analysis – Speed Limit(EastWest) Network By using Matlab Software we will analyze the result and plot graph of MFD as follow : 𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝐴𝑐𝑐𝑖 ; 𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛𝑡 = 𝑖 −𝐷𝑒𝑡𝑒𝑐𝑡𝑜𝑟𝑠 𝑃𝑟𝑜𝑑𝑖 ; N – number of detectors t – Time Window ( 1 – 180 min ) 4/3/2016 31
  • 32. Matlab Analysis – Speed Limit(EastWest) Network MFD graph for each of the regions 4/3/2016 32
  • 33. Conclusion  MFD – Basic Network 4/3/2016 33  Critical Point  Different Scenario  Curve Linear and non-linear behavior  Maximum Production and Accumulation  Etc.?...  MFD – Control Network  MFD – Speed EW Network  MFD – Speed Network