Chaos Control in Shuttle Bus Schedule

Similar documents
Real Randomness with Noise and Chaos

Complex Behaviors of a Simple Traffic Model

Twin paradox and Einstein mistake

We saw last time how the development of accurate clocks in the 18 th and 19 th centuries transformed human cultures over the world.

THREE DIMENSIONAL SYSTEMS. Lecture 6: The Lorenz Equations

Chaos. Dr. Dylan McNamara people.uncw.edu/mcnamarad

Experimental Characterization of Nonlinear Dynamics from Chua s Circuit

A New Chaotic Behavior from Lorenz and Rossler Systems and Its Electronic Circuit Implementation

Traffic Modelling for Moving-Block Train Control System

INTRODUCTION TO CHAOS THEORY T.R.RAMAMOHAN C-MMACS BANGALORE

SIMULATED CHAOS IN BULLWHIP EFFECT

Experimental Characterization of Nonlinear Dynamics from Chua s Circuit

Environmental Physics Computer Lab #8: The Butterfly Effect

DOI /HORIZONS.B P40 UDC (71) MODELLING METRO STATION BOARDING AND ALIGHTING TIMES 1

Chaos and R-L diode Circuit

By Nadha CHAOS THEORY

Majid Sodagar, 1 Patrick Chang, 1 Edward Coyler, 1 and John Parke 1 School of Physics, Georgia Institute of Technology, Atlanta, Georgia 30332, USA

Workshop on Heterogeneous Computing, 16-20, July No Monte Carlo is safe Monte Carlo - more so parallel Monte Carlo

Maps and differential equations

Dynamics and Chaos. Copyright by Melanie Mitchell

Deterministic Chaos Lab

... it may happen that small differences in the initial conditions produce very great ones in the final phenomena. Henri Poincaré

What is Chaos? Implications of Chaos 4/12/2010

Bifurcation Analysis of Chaotic Systems using a Model Built on Artificial Neural Networks

898 IEEE TRANSACTIONS ON ROBOTICS AND AUTOMATION, VOL. 17, NO. 6, DECEMBER X/01$ IEEE

Dynamics: The general study of how systems change over time

Double Pendulum: A Bridge between Regular Dynamics and Chaos

PH36010: Numerical Methods - Evaluating the Lorenz Attractor using Runge-Kutta methods Abstract

MAS212 Assignment #2: The damped driven pendulum

The Beginning of Graph Theory. Theory and Applications of Complex Networks. Eulerian paths. Graph Theory. Class Three. College of the Atlantic

SPATIOTEMPORAL CHAOS IN COUPLED MAP LATTICE. Itishree Priyadarshini. Prof. Biplab Ganguli

xt+1 = 1 ax 2 t + y t y t+1 = bx t (1)

Modelling and Simulation for Train Movement Control Using Car-Following Strategy

Oscillations in Damped Driven Pendulum: A Chaotic System

IMHO In My Humble Opinion

Chaotic Signal for Signal Masking in Digital Communications

Experimental Characterization of Chua s Circuit. Patrick Chang, 1 Edward Coyle, 1 John Parker, 1 and Majid Sodagar 2 USA. Atlanta, Georgia 30332, USA

Tahlequah Public Schools Inclement Weather Transportation Plan

SOME FACTORS INFLUENCING THE REGULARITY OF SHORT HEADWAY URBAN BUS OPERATION*

Trip to National Weather Service & NASA Thursday, June 12, by Claude Cox and Mike Kees

Energy Flow in Electrical Grids

Fractals, Dynamical Systems and Chaos. MATH225 - Field 2008

Chaos and stability in the vicinity of a Jovian planet

Nonlinear Systems, Chaos and Control in Engineering

Introduction. Prediction MATH February 2017

Complete Synchronization, Anti-synchronization and Hybrid Synchronization Between Two Different 4D Nonlinear Dynamical Systems

ADMINISTRATIVE PROCEDURES

Planner's Postcode Area Map (Route Planning Map)

Dynamical Systems and Chaos Part I: Theoretical Techniques. Lecture 4: Discrete systems + Chaos. Ilya Potapov Mathematics Department, TUT Room TD325

INTRODUCING LINEAR EQUATIONS IN ONE UNKNOWN

Chaos Theory. Namit Anand Y Integrated M.Sc.( ) Under the guidance of. Prof. S.C. Phatak. Center for Excellence in Basic Sciences

A control strategy to prevent propagating delays in high-frequency railway systems

More with Special Relativity

ONE DIMENSIONAL CHAOTIC DYNAMICAL SYSTEMS

Introduction to Nonlinear Dynamics and Chaos

EDUCATION DAY WORKBOOK

Quantitative Description of Robot-Environment Interaction Using Chaos Theory 1

Chaos and Liapunov exponents

Various lecture notes for

A New Science : Chaos

Chaotic Motion (One or two weights)

INVESTIGATION OF NONLINEAR DYNAMICS IN THE BOOST CONVERTER: EFFECT OF CAPACITANCE VARIATIONS

Introduction Knot Theory Nonlinear Dynamics Topology in Chaos Open Questions Summary. Topology in Chaos

Available online Journal of Scientific and Engineering Research, 2017, 4(4): Research Article

Exploring Potential Energy, Kinetic energy and Conservation of Energy: Part 1:

Simple conservative, autonomous, second-order chaotic complex variable systems.

Economy and Application of Chaos Theory

Traffic Progression Models

MITOCW watch?v=vjzv6wjttnc

Analysis of Vibrating Plates with Acoustic Holography and Eddy Currents

Resonance, criticality, and emergence in city traffic investigated in cellular automaton models

Using Artificial Neural Networks (ANN) to Control Chaos

Deborah Lacitignola Department of Health and Motory Sciences University of Cassino

Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central

Integration Made Easy

Section 3-1: Relating Graphs to Events Common Core Standards: 8.F.5

Chaos & Recursive. Ehsan Tahami. (Properties, Dynamics, and Applications ) PHD student of biomedical engineering

Lab 3: The Coupled Pendulum and a bit on the Chaotic Double Pendulum

Chapter 2 Chaos theory and its relationship to complexity

Unit Ten Summary Introduction to Dynamical Systems and Chaos

WHAT IS A CHAOTIC ATTRACTOR?

GLOBAL CHAOS SYNCHRONIZATION OF UNCERTAIN SPROTT J AND K SYSTEMS BY ADAPTIVE CONTROL

Nonlinear Dynamics of Chaotic Attractor of Chua Circuit and Its Application for Secure Communication


MATH 20D TAKE - HOME FINAL AUDREY TERRAS 7408 AP&M 1 4 P.M.

Universality for mathematical and physical systems

Revista Economica 65:6 (2013)

Inferring Passenger Boarding and Alighting Preference for the Marguerite Shuttle Bus System

Chaotic Motion (One or two weights)

Enhanced sensitivity of persistent events to weak forcing in dynamical and stochastic systems: Implications for climate change. Khatiwala, et.al.

Power Distribution in Electrical Grids

Proper Security Criteria Determination in a Power System with High Penetration of Renewable Resources

Lecture 1: A Preliminary to Nonlinear Dynamics and Chaos

A MODIFIED CELLULAR AUTOMATON MODEL FOR RING ROAD TRAFFIC WITH VELOCITY GUIDANCE

An oscillation is defined, in physics, as a regular variation in magnitude, position, etc. around a central point Oscillators are a massive subset of

PHY132 Practicals Day 10 Student Guide

Chapter 30. Inductance. PowerPoint Lectures for University Physics, 14th Edition Hugh D. Young and Roger A. Freedman Lectures by Jason Harlow

Predictability of a system with transitional chaos

2.4 Slope and Rate of Change

Good Spirit School Division Parents/Guardians

Transcription:

Chaos Control in Shuttle Bus Schedule Matthew Avetian Lynette Guzman Ran Kumada Robert Soimaru Salim Zerkoune Math 485 4/1/2010

Introduction Chaos, it is a term that defines randomness and unpredictability. This feature appears often in everyday activities, crowd movements, inner city driving, even brushing your teeth is a process of random strokes of the toothbrush. There has become an increasing interest in determining what portions of these chaotic systems is predictable or even controllable, in order to make certain processes more efficient. In this report we attempt to reproduce Takashi Nagatani s results on shuttle bus schedules. The system of the shuttle buses is a rather simple one. There are only two shuttle stops, and two buses. This system may represent an amusement park that has a rather large parking lot. To assist the visitors there is a shuttle system in place to move them from their cars to the park, or vice versa. The program we have developed is meant to simulate this process and watch the headway of the buses with time. Background The article Chaos Control and Schedule of Shuttle Buses by Takashi Nagatani analyzes two shuttle buses as they pass each other and pick up and drop off passengers. The buses will make up for any time delay caused by dropping off passengers by speeding up, indicated by speedup parameter. There are four different cases of speedup parameter to be considered. We will translate the equations in the article to a Matlab code which will show the buses have periodic behavior and thus predictability in the shuttle bus system. In our goal to measure chaos of shuttle buses we must first define what chaos means to better understand the issue at hand. We will use the definition by Strogatz from Nonlinear Dynamics and Chaos that states, Chaos is aperiodic long-term behavior in a deterministic system that exhibits sensitive dependence on initial conditions. (Strogatz, p. 323) A 2

deterministic system is one that has no random or noisy parameters and sensitive dependence allows the nearby trajectories to separate exponentially. Mathematician and physicist Jules Henri Poincaré was the first to discover a chaotic deterministic system which paved the way for chaos theory. However, the invention of the modern computer in the late 1950 s led to far more advanced work that Poincaré could not have imagined. Mathematician and meteorologist Edward Lorenz took advantage of the advances in technology to study weather patterns and noticed the dependence on initial conditions. He noticed the solutions to his equations had structure within the chaos and were patterned in the shape of a butterfly, coining the term butterfly effect. In another famous example, Mathematician Kevin Cuomo used synchronized chaos to encode hidden messages, namely pop music. Cuomo set up an experiment using resistors, capacitors, and amplifiers to mask singer Mariah Carey s song Emotions so that outsiders could only hear the chaos or static. However, when the song was sent to the receiver, the output was synchronized almost exactly to the original chaos. After some electronic subtraction, the static disappeared and the song emerged albeit fuzzy (Strogatz, 337). As chaos pertains to our problem, the chaotic motion for shuttle buses depends on both the loading and speedup parameter. Furthermore, chaos is closely related to nonlinear dynamics and our shuttle bus system can be modeled similarly to traffic flow. Map model The arrival time,, t i (m 1) t i (m 1) of bus i at the origin for trip (m+1) is given by, t i (m 1) t i (m) ( )B i (m) 2L V i (m) for i=1,2,m. New passengers arrive at rate μ and the new passengers that have arrived since the bus ahead iʹ leaves the origin is (t i (m) t i' (m')),. This gives an equation for the motion of the bus, 3

t i (m 1) t i (m) ( )(t i (m) t i' (m')) 2L V 0 s i ( )(t i (m) t i' (m')). Given this equation we want to obtain an equation for dimensionless arrival time. This can be done by dividing the equation by 2L /V 0 for bus i at the origin. Completing this step we are left with T i (m 1) T i (m) (T i (m) T i' (m')) 1 1 S i (T i (m) T i' (m')), where T i (m) t i (m)v 0 /2L, ( ), and S i s i ( )2L/V 2 0.. Thus, we have created a system controlled by two parameters, Γ the loading parameter and S i the speedup parameter. This equation states that as the number of perspective passengers increases, the value of the loading parameter becomes high. The article by Nagatani compares four different cases of speedup parameters. First, both Bus 1 and Bus 2 have a speedup parameter of 0, thus no speedup by either bus. The second case looks at both buses having the same parameter of 0.2 and the last case takes into account two different parameters. In the first case Bus 1 is 0.3 and in the second case Bus 1 is 0.5 while Bus 2 maintains a speedup parameter of 0.2. The goal is to show the chaotic motion of buses is suppressed by the speedup parameter and thus we are able to control the chaos. The first step is to translate the arrival time equation given in the article to work in MATLAB. MATLAB code We have two codes to translate the given equation into MATLAB. The first code is the main programming that calculates the headway of the two busses as a function of the loading parameter. Another code is to plot the result and create graphs with four different cases of speedup parameters. 4

equation The main code, busmap, calculates each arrival time of bus i at the origin, using the T i (m 1) T i (m) (T i (m) T i' (m')) 1 1 S i (T i (m) T i' (m')). The article we refer to does not give a specific initial condition, and it only plots the arrival time of 901-1000 th trip on the graph. Therefore, we choose the equation t(i) i i 1, i where i is the bus number, to calculate the initial conditions. One reason is to let bus 1 has a simple initial value, but to let bus 2 has non-integer initial condition with greater value than bus 1. Thus, t =1 and t = 2.5 are initial values for bus 1 and bus 2, respectively. However, we have to be aware that the different initial conditions will results in a different graph shape since the system is chaotic. The structure of busmap is as follows. Suppose that bus 1 arrives at the origin. Then, the arrival time and trip number is stored in t[] and arrivaltimes[]. Here, t[] stores the bus number and the time at which trip is completed. The arrivaltimes[] stores four different information; 1) arrival time, 2) bus number, 3) trip number for either bus 1 or bus 2, and 4) flag to denote if the trip is already considered. The t[] and arrivaltimes[] are useful when we want to know which bus, i, arrived at the origin just before bus i arrives at the origin. Next, we calculate the next arrival for this bus, and store the arrival time in temptimes[]. Then, the simulation advances to the next bus arrival time, which is calculated by looking at the information stored in temptimes[]. The flag in arrivaltimes is used to determine which previous values to use to calculate the arrival time of the current trip. If a trip is not flagged yet, then that trip is treated as 5

the previous trip with respect to the current trip. Once the information of that trip is used, then it is flagged and thus will not be used again. This procedure of storing and comparing arrival time is important since the equation involves the arrival time of the previous bus when calculating the arrival time of the current bus. Once the simulation finishes 1000 trips for each bus, it calculates the headway between bus 1 and bus 2. The headway is not defined in the article, but the graphs are plotted as [headway vs. loading parameter]. Therefore, the difference of arrival time of two busses for each trip is used to determine the headway (in absolute value). Thus, the equation for the headway is given by headway T 1 (m) T 2 (m). The second code, which we call gammaloop, plots 100 points (from m = 901 1000) for each value of the loading parameter. The code is made so that we can choose speedup parameters for each bus. When we run the program, we type the parameters as an array to compare with different speedup parameter (e.g. gammaloop ([0.2, 0.2]). Results We were able to compare our simulation results to the results found in the article by Nagatani (2006). By calculating time headways for various trips of two buses, Nagatani analyzes how both the loading and speedup parameters vary with the time headway. Below are examples of plots with different speedup values of time headway of bus 1 against loading parameter. Diagram (a) reflects the distribution of time headway of bus 1 when there is no speedup. Diagram (b) shows time headway distribution for the case when both bus 1 and bus 2 speedup with the same value. Diagrams (c) and (d) both represent a time headway distribution for when bus 1 and bus 2 speedup with different values. In diagram (c), the speedup value for bus 1 is 0.3 6

while the speedup value for bus 2 is 0.2, and in diagram (d), the speedup value for bus 1 is 0.5 while the speedup value for bus 2 is 0.2. Nagatani found that when the loading parameter is low, such as in case (a), then the time headway fluctuates around three values and the distribution displays three peaks near these values. As the loading parameter increases, localized distributions extend around the peaks and become two extended distributions. With a high loading parameter, these two extended distributions turn into a single extended distribution. Also, if the loading parameter is greater than 2, then the delay of buses increases and the time headway diverges, creating chaotic motion for loading parameter values between 0 and 2. 7

Headway of bus 1 For cases with speedup parameters, the two buses move at a constant speed until the loading parameter reaches the value 0.167, which is when the bus motions start to fluctuate. This motion is then suppressed by the speedup parameter. As seen from figures (c) and (d), the behavior of time headway is not the same for these two graphs. This indicates that the difference between speedup parameters induces the complex motions of buses. Our simulation result graphs also maintained similar behavior and the same shape as graphs in Nagatani's paper. Generally, the results show a start of periodicity, which is defined as the recurrence of an event at regular intervals, and progressively leads to chaotic behavior. Below are diagrams for our simulation. Diagrams (1), (2), (3), and (4) relate to the distribution of time headway of bus 1 when there is no speedup, speedup with the same value, speedup with different values with bus 1 speedup slightly greater than bus 2 speedup, and speedup with different values with bus 1 speedup much greater than bus 2 speedup, respectively. (1) S 1 = S 2 = 0 (1z) 8

Headway of bus 1 Headway of bus 1 (2) S 1 = S 2 = 0.2 (2z 2 ) (2z 1 ) (3) S 1 = 0.3 S 2 = 0.2 (3z) 9

Headway of bus 1 (4) S 1 = 0.5 S 2 = 0.2 (4z) Comparing results, our simulation graphs demonstrate periodic behavior and reflect similar shapes as the Nagatani (2006) graphs. This supports the conclusion that speedup regulates chaos. As the loading parameter value (known in our equations as gamma) increases, periodic behavior is then implemented by changing the speedup value. Thus, by using a speedup parameter, this will lead to more orderly traffic by diminishing chaos. Another interesting component of our findings shows structure within the chaos. Below are zoomed in graphs from the simulation (indicated from the area outlined in the red box), with evident parabolic structure seen in the smaller intervals. 10

Headway of bus 1 Headway of bus 1 (1z) S 1 = 0 S 2 = 0 (2z 1 ) S 1 = 0.2 S 2 = 0.2 11

Headway of bus 1 Headway of bus 1 (2z 2 ) S 1 = 0.2 S 2 = 0.2 (3z) S 1 = 0.3 S 2 = 0.2 12

Headway of bus 1 (4z) S 1 = 0.5 S 2 = 0.2 These results indicate that there is some predictability to the shuttle bus system and chaos can be controlled to make bus schedule times more efficient. Conclusion Our results show similar periodic behavior in the same regions as the report showed, even though the graphs themselves were very different. This periodicity means that there is some predictability to the shuttle bus system, and that the buses can be controlled by allowing them the ability to speed-up if they fall behind. Future research 13

We will investigate what happens when the speedup parameter of bus 2 is changed to different values other than 0.2. We will also study the critical value of the loading parameter which chaos starts to appear, and compare those values to Nagatani s result. References Nagatani, Takashi. Chaos control and schedule of shuttle buses. Physica A 371 (2006), pg. 683-691. Nagatani, Takashi. Rep. Prog. Phys. 65 (2002) 1331. Strogatz, Steven H. Nonlinear Dynamics and Chaos. Cambridge, MA: Perseus Books Publishing, LLC, 2000. Acknowledgement We would like to thank our professor, Dr. Ildar Gabitov, for explaining the structure of presentation and guiding us to emphasize setting up the model in an intuitive manner rather than focusing on duplicating the original result. We also appreciate our mentor David Love for his help as we programmed MATLAB code and his advice regarding our presentation and report. 14