SlideShare a Scribd company logo
1 of 36
Download to read offline
Red Swarm: 
Smart Mobility in Cities with EAs 
Daniel H. Stolfi and Enrique Alba 
Amsterdam, The Netherlands 
July 06-10, 2013
RReedd Red SSwwaarrmm:: Swarm: SSmmaarrtt MMoobbiilliittyy iinn CCiittiieess wwiitthh EEAAss 
Daniel H. Stolfi 
dhstolfi@lcc.uma.es 
http://www.danielstolfi.com 
Enrique Alba 
eat@lcc.uma.es 
http://www.lcc.uma.es/~eat 
University of Malaga 
University of Malaga 
July 2013 
July 2013 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs
TTaabbllee ooff CCoonntteennttss 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 3 
3 
Introduction 
Proposal 
Experiments 
Conclusions 
1 
2 
4
Introduction 
Proposal 
Experiments 
Conclusions 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 4 
IInnttrroodduuccttiioonn 
People are living or thinking about moving to big cities 
A higher number of vehicles are moving by the streets 
The number of traffic Jams is rising 
Tons of greenhouse effect gases are emitted to the atmosphere 
The citizens' quality of life is decreasing 
The optimization of 
road traffic is 
necessary in modern 
big cities
Introduction 
Proposal 
Experiments 
Conclusions 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 5 
RReedd SSwwaarrmm 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Our Red Swarm consists of: 
Several spots distributed throughout the city 
Installed at traffic lights 
Linked to vehicles by using Wi-Fi 
Our Optimization Algorithm 
Our Rerouting Algorithm 
On Board Units (OBU) 
Installed inside vehicles 
Smartphones or tablets 
could be used instead
produces 
CENTRALIZED OFFLINE ONLINE DISTRIBUTED 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 6 
AArrcchhiitteeccttuurree 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
The Evolutionary Algorithm produces a configuration for the Red Swarm spots 
The configured Red Swarm spots are deployed in several junctions of the city
RReerroouuttiinngg ((tt == 1100 ss..)) 
Introduction 
Proposal 
Experiments 
Conclusions 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Experts' solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 7
RReerroouuttiinngg ((tt == 1111 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 8
RReerroouuttiinngg ((tt == 1122 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 9
RReerroouuttiinngg ((tt == 1133 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 10
RReerroouuttiinngg ((tt == 1144 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 11
RReerroouuttiinngg ((tt == 1155 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 12
RReerroouuttiinngg ((tt == 1166 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 13
RReerroouuttiinngg ((tt == 1177 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 14
RReerroouuttiinngg ((tt == 1188 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 15
RReerroouuttiinngg ((tt == 1199 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 16
RReerroouuttiinngg ((tt == 2200 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 17
RReerroouuttiinngg ((tt == 2211 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 18
RReerroouuttiinngg ((tt == 2222 ss..)) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Experts’ solution Red Swam 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 19
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 20
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Constructing tthhee SScceennaarriioo:: MMeetthhooddoollooggyy 
We have worked with real maps imported from OpenStreetMap 
We have added 10 Red Swarm spots in junctions controlled by a traffic light 
We have imported the map into SUMO 
We have defined traffic flows for vehicles (experts' solution) 
This process can be adapted to any modern city in the world 
NETCONVERT and DUAROUTER 
are part of the SUMO package 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 21
SScceennaarriioo:: MMaallaaggaa 
MALAGA (SPAIN) 
Real Scenario 
261 traffic lights 
10 Red Swarm spots 
800 vehicles 
4 vehicle types 
3 different traffic patterns 
( Scen1, Scen2 & Scen3 ) 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Sedan Van Wagon Transport 
Our goal is to reduce the travel time of the vehicles 
in high density conditions 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 22
Experiments 
Conclusions 
EEvvoolluuttiioonnaarryy AAllggoorriitthhmm 
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
(10+2)-EA 
The fitness value is calculated by using the 
SUMO traffic simulator 
The rerouting produced by the Red Swarm spots 
is implemented by using TraCI and the 
Rerouting Algorithm which runs in each spot 
The result of the EA is a configuration for all the 
Red Swarm spots placed in the city 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 23
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Evolutionary Algorithm: RReepprreesseennttaattiioonn ((SSeennssoorrss)) 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 24 
SENSORS 
They represent the inputs to Red Swarm spots 
in the simulated scenario 
Vehicles trigger the rerouting algorithm when 
they are detected by a sensor 
In a real city they would be radio links
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Evolutionary Algorithm: RReepprreesseennttaattiioonn ((EExxaammppllee)) 
For example, if a vehicle which is going to Destination 2 is detected by Sensor 1, 
one of the routes from R121 to R12K will be chosen by the Rerouting Algorithm, 
depending on the values of the probabilities P121 to P12K 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 25
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Evolutionary Algorithm: RReepprreesseennttaattiioonn 
REPRESENTATION 
RSDK: Available routes from Sensors to Destinations and to other spots 
Each new route will be selected by the Rerouting Algorithm depending on the 
probabilities 
Conceptual representation 
Solution vector made up of 1119 floats (probabilities) 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 26
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Evolutionary Algorithm: FFiittnneessss FFuunnccttiioonn 
FITNESS FUNCTION 
N: Total number of vehicles (800 in this work) 
ntrips: Number of vehicles which have ended their itineraries 
ttrip: Trip time of each vehicle 
tdelay: Waiting time of each vehicle before entering the analyzed zone 
The three terms are weighted by α1, α2, and α3, respectively 
We want to minimize the fitness value (the lower the better) 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 27
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Evolutionary Algorithm: RReeccoommbbiinnaattiioonn OOppeerraattoorr 
RECOMBINATION OPERATOR 
We use the standard two-point recombination 
The offspring are obtained by exchanging a range of sensor 
configurations from the selected parents 
TPX 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 28
Red Swarm 
Architecture 
Rerouting 
Scenario 
Evolutionary Algorithm 
Introduction 
Proposal 
Experiments 
Conclusions 
Evolutionary Algorithm: MMuuttaattiioonn OOppeerraattoorrss 
MUTATION OPERATOR 
Changes the probabilities of the routes in the sensor configurations 
1) All Destinations – One Sensor 
It changes all probabilities in a Sensor block (i.e. all the probabilities in Sensor 4) 
2) One Destination – One Sensor 
It changes probabilities in a Destination block in a Sensor block 
(i.e. only the probabilities of Destination 8 in Sensor 4) 
Exploration 
Exploitation 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 29
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 30 
RReessuullttss 
Introduction Results 
Proposal 
Experiments 
Conclusions 
The 800 vehicles leave the city in a lower time when we use Red Swarm 
Results show a reduction of 
the average waiting time and 
the average travel time 
Vehicles have to travel 
a longer distance because 
they are using alternative routes
Introduction Results 
Proposal 
Experiments 
Conclusions 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 31
Introduction Results 
Proposal 
Experiments 
Conclusions 
Results: Simulation Time vvss.. NNuummbbeerr ooff VVeehhiicclleess 
Figures show that the higher the number of vehicles is, the more 
effective Red Swarm becomes 
Under the threshold, Red Swarm still being useful 
Advantages are evident when the traffic density raises 
Travel Time (Scen1) Travel Time (Scen2) Travel Time (Scen3) 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 32
Introduction Results 
Proposal 
Experiments 
Conclusions 
GGeenneerraalliizzaattiioonn ooff RReessuullttss 
This figure shows the fitness values of the execution of Red Swarm in 
30 extra scenarios compared with the experts' solution 
Red Swarm has not only worked in all these scenarios but has also 
achieved lower travel times in 20 of them (66.7%) 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 33
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 34 
CCoonncclluussiioonnss 
Introduction 
Proposal 
Experiments 
Conclusions 
This is an innovative approach to the prevention of traffic jams 
The results confirm road traffic can be improved by using Red Swarm 
We have reduced the travel times and waiting times of the vehicles 
Currently, we are working on: 
The expansion of the analyzed region 
Collecting information from vehicles (on-line and historical data of the city) 
The reduction of greenhouse gas emissions
http://neo.lcc.uma.es 
http://en.danielstolfi.com/redswarm/ 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 35
http://neo.lcc.uma.es 
http://en.danielstolfi.com/redswarm/ 
dhstolfi@lcc.uma.es 
Questions? 
Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 36

More Related Content

Similar to Red Swarm: Smart Mobility in Cities with EAs (GECCO'13)

Simulation of traffic queues in a junction with lightsIt has been .pdf
Simulation of traffic queues in a junction with lightsIt has been .pdfSimulation of traffic queues in a junction with lightsIt has been .pdf
Simulation of traffic queues in a junction with lightsIt has been .pdf
leolight2
 
Trajectory Data Mining
Trajectory Data MiningTrajectory Data Mining
Trajectory Data Mining
Shaolin Khusbu
 
Trajectory Data Mining
Trajectory Data MiningTrajectory Data Mining
Trajectory Data Mining
Nafeez Abrar
 

Similar to Red Swarm: Smart Mobility in Cities with EAs (GECCO'13) (20)

Fine Tuning of Traffic in Our Cities with Smart Panels: The Quito City Case S...
Fine Tuning of Traffic in Our Cities with Smart Panels: The Quito City Case S...Fine Tuning of Traffic in Our Cities with Smart Panels: The Quito City Case S...
Fine Tuning of Traffic in Our Cities with Smart Panels: The Quito City Case S...
 
Simulation of traffic queues in a junction with lightsIt has been .pdf
Simulation of traffic queues in a junction with lightsIt has been .pdfSimulation of traffic queues in a junction with lightsIt has been .pdf
Simulation of traffic queues in a junction with lightsIt has been .pdf
 
N0123298103
N0123298103N0123298103
N0123298103
 
What we do in CASA UCL
What we do in CASA UCLWhat we do in CASA UCL
What we do in CASA UCL
 
Predicting Car Park Occupancy Rates in Smart Cities
Predicting Car Park Occupancy Rates in Smart CitiesPredicting Car Park Occupancy Rates in Smart Cities
Predicting Car Park Occupancy Rates in Smart Cities
 
Unraveling urban traffic flows
Unraveling urban traffic flowsUnraveling urban traffic flows
Unraveling urban traffic flows
 
cf. city flows - A comparative visualization of bike sharing systems
cf. city flows - A comparative visualization of bike sharing systemscf. city flows - A comparative visualization of bike sharing systems
cf. city flows - A comparative visualization of bike sharing systems
 
M0121293100
M0121293100M0121293100
M0121293100
 
Car Dynamics using Quarter Model and Passive Suspension, Part II: A Novel Sim...
Car Dynamics using Quarter Model and Passive Suspension, Part II: A Novel Sim...Car Dynamics using Quarter Model and Passive Suspension, Part II: A Novel Sim...
Car Dynamics using Quarter Model and Passive Suspension, Part II: A Novel Sim...
 
K046036367
K046036367K046036367
K046036367
 
Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19
Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19
Multi-Vehicle Path Planning In Dynamically Changing Environments - 2012-11-19
 
CELLULAR AUTOMATA TRAFFIC FLOW MODEL
CELLULAR AUTOMATA TRAFFIC FLOW MODELCELLULAR AUTOMATA TRAFFIC FLOW MODEL
CELLULAR AUTOMATA TRAFFIC FLOW MODEL
 
REVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCE
REVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCEREVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCE
REVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCE
 
Traffic flow modeling on road networks using Hamilton-Jacobi equations
Traffic flow modeling on road networks using Hamilton-Jacobi equationsTraffic flow modeling on road networks using Hamilton-Jacobi equations
Traffic flow modeling on road networks using Hamilton-Jacobi equations
 
Trajectory Data Mining
Trajectory Data MiningTrajectory Data Mining
Trajectory Data Mining
 
Trajectory Data Mining
Trajectory Data MiningTrajectory Data Mining
Trajectory Data Mining
 
A hybrid controller for vision based navigation of autonomous vehicles in urb...
A hybrid controller for vision based navigation of autonomous vehicles in urb...A hybrid controller for vision based navigation of autonomous vehicles in urb...
A hybrid controller for vision based navigation of autonomous vehicles in urb...
 
Multi-agent approach to resource allocation inautonomous vehicle fleet
Multi-agent approach to resource allocation inautonomous vehicle fleetMulti-agent approach to resource allocation inautonomous vehicle fleet
Multi-agent approach to resource allocation inautonomous vehicle fleet
 
REVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCE.pptx
REVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCE.pptxREVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCE.pptx
REVIEW OF MICROSCOPIC TRAFFIC MODEL USING ARTIFICIAL INTELLIGENCE.pptx
 
Modelling station choice
Modelling station choiceModelling station choice
Modelling station choice
 

More from Daniel H. Stolfi

More from Daniel H. Stolfi (8)

Improving Pheromone Communication for UAV Swarm Mobility Management
Improving Pheromone Communication for UAV Swarm Mobility ManagementImproving Pheromone Communication for UAV Swarm Mobility Management
Improving Pheromone Communication for UAV Swarm Mobility Management
 
Optimising Autonomous Robot Swarm Parameters for Stable Formation Design
Optimising Autonomous Robot Swarm Parameters for Stable Formation DesignOptimising Autonomous Robot Swarm Parameters for Stable Formation Design
Optimising Autonomous Robot Swarm Parameters for Stable Formation Design
 
Evaluating Surrogate Models for Robot Swarm Simulations
Evaluating Surrogate Models for Robot Swarm SimulationsEvaluating Surrogate Models for Robot Swarm Simulations
Evaluating Surrogate Models for Robot Swarm Simulations
 
Competitive Evolution of a UAV Swarm for Improving Intruder Detection Rates
Competitive Evolution of a UAV Swarm for Improving Intruder Detection RatesCompetitive Evolution of a UAV Swarm for Improving Intruder Detection Rates
Competitive Evolution of a UAV Swarm for Improving Intruder Detection Rates
 
A Cooperative Coevolutionary Approach to Maximise Surveillance Coverage of UA...
A Cooperative Coevolutionary Approach to Maximise Surveillance Coverage of UA...A Cooperative Coevolutionary Approach to Maximise Surveillance Coverage of UA...
A Cooperative Coevolutionary Approach to Maximise Surveillance Coverage of UA...
 
Optimizing the Performance of an Unpredictable UAV Swarm for Intruder Detection
Optimizing the Performance of an Unpredictable UAV Swarm for Intruder DetectionOptimizing the Performance of an Unpredictable UAV Swarm for Intruder Detection
Optimizing the Performance of an Unpredictable UAV Swarm for Intruder Detection
 
Ocupación de Aparcamientos y Predicción
Ocupación de Aparcamientos y PredicciónOcupación de Aparcamientos y Predicción
Ocupación de Aparcamientos y Predicción
 
An Evolutionary Algorithm to Generate Real Urban Traffic Flows
An Evolutionary Algorithm to Generate Real Urban Traffic FlowsAn Evolutionary Algorithm to Generate Real Urban Traffic Flows
An Evolutionary Algorithm to Generate Real Urban Traffic Flows
 

Recently uploaded

If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
Sheetaleventcompany
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 

Recently uploaded (20)

The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Causes of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCauses of poverty in France presentation.pptx
Causes of poverty in France presentation.pptx
 
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 

Red Swarm: Smart Mobility in Cities with EAs (GECCO'13)

  • 1. Red Swarm: Smart Mobility in Cities with EAs Daniel H. Stolfi and Enrique Alba Amsterdam, The Netherlands July 06-10, 2013
  • 2. RReedd Red SSwwaarrmm:: Swarm: SSmmaarrtt MMoobbiilliittyy iinn CCiittiieess wwiitthh EEAAss Daniel H. Stolfi dhstolfi@lcc.uma.es http://www.danielstolfi.com Enrique Alba eat@lcc.uma.es http://www.lcc.uma.es/~eat University of Malaga University of Malaga July 2013 July 2013 Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs
  • 3. TTaabbllee ooff CCoonntteennttss Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 3 3 Introduction Proposal Experiments Conclusions 1 2 4
  • 4. Introduction Proposal Experiments Conclusions Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 4 IInnttrroodduuccttiioonn People are living or thinking about moving to big cities A higher number of vehicles are moving by the streets The number of traffic Jams is rising Tons of greenhouse effect gases are emitted to the atmosphere The citizens' quality of life is decreasing The optimization of road traffic is necessary in modern big cities
  • 5. Introduction Proposal Experiments Conclusions Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 5 RReedd SSwwaarrmm Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Our Red Swarm consists of: Several spots distributed throughout the city Installed at traffic lights Linked to vehicles by using Wi-Fi Our Optimization Algorithm Our Rerouting Algorithm On Board Units (OBU) Installed inside vehicles Smartphones or tablets could be used instead
  • 6. produces CENTRALIZED OFFLINE ONLINE DISTRIBUTED Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 6 AArrcchhiitteeccttuurree Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions The Evolutionary Algorithm produces a configuration for the Red Swarm spots The configured Red Swarm spots are deployed in several junctions of the city
  • 7. RReerroouuttiinngg ((tt == 1100 ss..)) Introduction Proposal Experiments Conclusions Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Experts' solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 7
  • 8. RReerroouuttiinngg ((tt == 1111 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 8
  • 9. RReerroouuttiinngg ((tt == 1122 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 9
  • 10. RReerroouuttiinngg ((tt == 1133 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 10
  • 11. RReerroouuttiinngg ((tt == 1144 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 11
  • 12. RReerroouuttiinngg ((tt == 1155 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 12
  • 13. RReerroouuttiinngg ((tt == 1166 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 13
  • 14. RReerroouuttiinngg ((tt == 1177 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 14
  • 15. RReerroouuttiinngg ((tt == 1188 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 15
  • 16. RReerroouuttiinngg ((tt == 1199 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 16
  • 17. RReerroouuttiinngg ((tt == 2200 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 17
  • 18. RReerroouuttiinngg ((tt == 2211 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 18
  • 19. RReerroouuttiinngg ((tt == 2222 ss..)) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Experts’ solution Red Swam Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 19
  • 20. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 20
  • 21. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Constructing tthhee SScceennaarriioo:: MMeetthhooddoollooggyy We have worked with real maps imported from OpenStreetMap We have added 10 Red Swarm spots in junctions controlled by a traffic light We have imported the map into SUMO We have defined traffic flows for vehicles (experts' solution) This process can be adapted to any modern city in the world NETCONVERT and DUAROUTER are part of the SUMO package Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 21
  • 22. SScceennaarriioo:: MMaallaaggaa MALAGA (SPAIN) Real Scenario 261 traffic lights 10 Red Swarm spots 800 vehicles 4 vehicle types 3 different traffic patterns ( Scen1, Scen2 & Scen3 ) Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Sedan Van Wagon Transport Our goal is to reduce the travel time of the vehicles in high density conditions Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 22
  • 23. Experiments Conclusions EEvvoolluuttiioonnaarryy AAllggoorriitthhmm Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal (10+2)-EA The fitness value is calculated by using the SUMO traffic simulator The rerouting produced by the Red Swarm spots is implemented by using TraCI and the Rerouting Algorithm which runs in each spot The result of the EA is a configuration for all the Red Swarm spots placed in the city Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 23
  • 24. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Evolutionary Algorithm: RReepprreesseennttaattiioonn ((SSeennssoorrss)) Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 24 SENSORS They represent the inputs to Red Swarm spots in the simulated scenario Vehicles trigger the rerouting algorithm when they are detected by a sensor In a real city they would be radio links
  • 25. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Evolutionary Algorithm: RReepprreesseennttaattiioonn ((EExxaammppllee)) For example, if a vehicle which is going to Destination 2 is detected by Sensor 1, one of the routes from R121 to R12K will be chosen by the Rerouting Algorithm, depending on the values of the probabilities P121 to P12K Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 25
  • 26. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Evolutionary Algorithm: RReepprreesseennttaattiioonn REPRESENTATION RSDK: Available routes from Sensors to Destinations and to other spots Each new route will be selected by the Rerouting Algorithm depending on the probabilities Conceptual representation Solution vector made up of 1119 floats (probabilities) Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 26
  • 27. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Evolutionary Algorithm: FFiittnneessss FFuunnccttiioonn FITNESS FUNCTION N: Total number of vehicles (800 in this work) ntrips: Number of vehicles which have ended their itineraries ttrip: Trip time of each vehicle tdelay: Waiting time of each vehicle before entering the analyzed zone The three terms are weighted by α1, α2, and α3, respectively We want to minimize the fitness value (the lower the better) Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 27
  • 28. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Evolutionary Algorithm: RReeccoommbbiinnaattiioonn OOppeerraattoorr RECOMBINATION OPERATOR We use the standard two-point recombination The offspring are obtained by exchanging a range of sensor configurations from the selected parents TPX Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 28
  • 29. Red Swarm Architecture Rerouting Scenario Evolutionary Algorithm Introduction Proposal Experiments Conclusions Evolutionary Algorithm: MMuuttaattiioonn OOppeerraattoorrss MUTATION OPERATOR Changes the probabilities of the routes in the sensor configurations 1) All Destinations – One Sensor It changes all probabilities in a Sensor block (i.e. all the probabilities in Sensor 4) 2) One Destination – One Sensor It changes probabilities in a Destination block in a Sensor block (i.e. only the probabilities of Destination 8 in Sensor 4) Exploration Exploitation Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 29
  • 30. Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 30 RReessuullttss Introduction Results Proposal Experiments Conclusions The 800 vehicles leave the city in a lower time when we use Red Swarm Results show a reduction of the average waiting time and the average travel time Vehicles have to travel a longer distance because they are using alternative routes
  • 31. Introduction Results Proposal Experiments Conclusions Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 31
  • 32. Introduction Results Proposal Experiments Conclusions Results: Simulation Time vvss.. NNuummbbeerr ooff VVeehhiicclleess Figures show that the higher the number of vehicles is, the more effective Red Swarm becomes Under the threshold, Red Swarm still being useful Advantages are evident when the traffic density raises Travel Time (Scen1) Travel Time (Scen2) Travel Time (Scen3) Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 32
  • 33. Introduction Results Proposal Experiments Conclusions GGeenneerraalliizzaattiioonn ooff RReessuullttss This figure shows the fitness values of the execution of Red Swarm in 30 extra scenarios compared with the experts' solution Red Swarm has not only worked in all these scenarios but has also achieved lower travel times in 20 of them (66.7%) Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 33
  • 34. Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 34 CCoonncclluussiioonnss Introduction Proposal Experiments Conclusions This is an innovative approach to the prevention of traffic jams The results confirm road traffic can be improved by using Red Swarm We have reduced the travel times and waiting times of the vehicles Currently, we are working on: The expansion of the analyzed region Collecting information from vehicles (on-line and historical data of the city) The reduction of greenhouse gas emissions
  • 35. http://neo.lcc.uma.es http://en.danielstolfi.com/redswarm/ Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 35
  • 36. http://neo.lcc.uma.es http://en.danielstolfi.com/redswarm/ dhstolfi@lcc.uma.es Questions? Daniel H. Stolfi and Enrique Alba Red Swarm: Smart Mobility in Cities with EAs 36