SlideShare a Scribd company logo
1 of 34
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 PLCIRJET Journal
 
Traffic Congestion using IOT
Traffic Congestion using IOTTraffic Congestion using IOT
Traffic Congestion using IOTSayantanGhosh58
 
Adaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management PlatformAdaptive Traffic Sampling and Management Platform
Adaptive Traffic Sampling and Management PlatformAmir Krifa
 
IRJET- Intelligent Traffic Management System
IRJET- Intelligent Traffic Management SystemIRJET- Intelligent Traffic Management System
IRJET- Intelligent Traffic Management SystemIRJET 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 PiIRJET 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 networksManabu 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 StreamingVincenzo Gulisano
 
Smart Helmet using GSM and GPS
Smart Helmet using GSM and GPSSmart Helmet using GSM and GPS
Smart Helmet using GSM and GPSIRJET 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.pdfSouth 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 ProcessingIRJET Journal
 
Prediction of taxi rides ETA
Prediction of taxi rides ETAPrediction of taxi rides ETA
Prediction of taxi rides ETADaniel Marcous
 
Webinar Monitoring in era of cloud computing
Webinar Monitoring in era of cloud computingWebinar Monitoring in era of cloud computing
Webinar Monitoring in era of cloud computingCREATE-NET
 
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 PlatformMike 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 SystemIRJET 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
 

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
 
Webinar Monitoring in era of cloud computing
Webinar Monitoring in era of cloud computingWebinar Monitoring in era of cloud computing
Webinar Monitoring in era of cloud computing
 
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...
 

Recently uploaded

High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 

Recently uploaded (20)

High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 

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