Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics...

50
Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics [email protected]

Transcript of Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics...

Page 1: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Modeling Traffic Flow in

the Suez Canal

Dan TeagueNC School of Science and

[email protected]

Page 2: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Professor Jeff GriffithsCardiff University, Wales

BS in Mathematics MS in Statistics PhD in Stochastic Processes

Queuing Theory Infectious Disease Transmission Health Care

Page 3: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

After the Six-Days War in 1967

• The Suez Canal was heavily mined and was closed to all traffic for 10 years.

• The British eventually cleared the canal of all mines and the Egyptian government and the Suez Canal Authority hired mathematician Jeff Griffiths and his group from Cardiff University to explore the optimal organization for traffic in the canal.

Page 4: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Crucial to the Egyptian Economy

• At the time of its closure, the canal contributed more than 50% of the funds to the treasury of Egypt.

• Each ship paid an average of $100,000 for transit through the canal.

• At the time, on average, 67 ships transited the canal each day taking 10-14 hours for passage.

Page 5: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

The Canal

Page 6: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

The Suez Canal was:

• 193 kilometers long • 169 meters wide (for ship travel)• 21 meters deep

• The distance between Jeddah (Saudi Arabia) and the port of Constanza (Black Sea) is 11,771 miles via the Cape of Good Hope, but only 1,698 mile via the Suez canal, a saving of 86% in distance.

• Almost 7% of sea transported world trade passes through the Suez canal each year.

Page 7: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Convoy System

• The width of 169 meters in width is not enough to allow passage in both directions.

• As a result, the ships must travel, in convoys either North‑South or South‑North and pass each other at anchorage.

• Gen erally, the demand for passage is the same in both directions.

Page 8: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Two Convoys going North-

South

One Convoy going South-

North

Page 9: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

No Passing in the Canal

The N-S Convoy and the S-N Convoy can pass each other only in the Bitter Lakes and the Ballah Bypass.

The N-S Convoy must be anchored to buoys in the canal while the S-N Convoy passes.

Page 10: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.
Page 11: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.
Page 12: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.
Page 13: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Restrictions

The Ballah Bypass has room for 17 ships.

The Bitter Lakes has room for36 ships.

Page 14: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Conditions for the Model

1. At most 36 in 1st N-S Convoy (Convoy A).

2. At most 17 in 2nd N-S Convoy (Convoy B).

3. Same number of ships N-S and S-N each day.

4. Schedule must repeat every 24 hours.

Page 15: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Jeff Griffith’s Task

Build a model to capture the current convoy process. Determine the maximum number of ships that can transit the canal each day.

Vary the model to consider a variety of options.

Compare the cost and effectiveness of the various modifications.

Page 16: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Fundamental Principles of Mathematical Modeling

• Consider the simplest form of the problem that contains the essence of the problem.

• Modify your initial model to include more aspects of the problem while keeping it tractable.

Page 17: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Start with a Simple ModelImprove Upon It

Page 18: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Standard Ship Model Assumptions

Speed of all ships is constant at 14 km/hr.

Separation for all ships is 10 minutes.

Ignore (initially) acceleration and deceleration for docking.

Zero-time docking and undocking for simplicity.

Page 19: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Modeling a Ship’s Transit

The Ballah Bypass is 10 kilometers in length, stretching from the 50 to 60 kilometer mark south of Port Said.

The Bitter Lakes extend for 20 kilometers, from 100 to 120 kilometers south of Port Said.

Page 20: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

A ship moves to Bitter Lakes

Page 21: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

A 10-ship Convoy A

Page 22: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

NO!

Page 23: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

YES!

Page 24: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

1. At most 36 in 1st N-S Convoy (Convoy A).

2. At most 17 in 2nd N-S Convoy (Convoy B).

3. Same number of ships N-S and S-N each day.

4. Schedule must repeat every 24 hours.

5. 14 km/hr & 10 minute separation

Page 25: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

What is the First Natural Question?

1. At most 36 in 1st N-S Convoy (Convoy A).

2. At most 17 in 2nd N-S Convoy (Convoy B).

3. Same number of ships N-S and S-N each day.

4. Schedule must repeat every 24 hours.

5. 14 km/hr & 10 minute separation

Page 26: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Why Not 106 Ships?

Page 27: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Focus on Your Errors

• Often, the reason that a trial solution doesn’t work is, by far, the most important information you will ever get about your problem.

• Assess the size and character of your errors. Maximize the information that you can obtain from each and every error.

Page 28: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

This is not the graph we want?

Page 29: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

It doesn’t work by how much?

Page 30: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

We are about 30 ships too long!

Page 31: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

To find an optimal solution: First, create a solution, then optimize.

Page 32: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

What are the Invariants?

Page 33: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

What are the Invariants?

Page 34: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

100/14 = 7.14

24 – 2(7.14) = 9.72

9.72(60)/10 = 58.3

59 Ships in Convoys A and C.

Page 35: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

A Little Algebra Helps

If we let A, B, and C represent the number of ships in Convoy A, Convoy B, and Convoy C, respectively, we require that

A + B = C and

A + C = 59with

B = 17.

Page 36: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Analytic solution to the $1,000,000 system of equations.

A + B = C, B = 17, A + C = 59

yields

A = 21, B = 17, and C = 38

Total of 76 Standard ships per day.

Page 37: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

A = 21 B = 17 C = 38

Page 38: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

20 minutes to Dock?

Page 39: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Change Speed? 16 km/hr & 12min

• (1) Traveling at 16 km/hr, the first ship in Convoy A must arrive at the 100 km mark at 6.25 hours.

• (2) The symmetry of the problem requires the last ship in Convoy C to be at the 100 km mark at 24 – 6.25 = 17.75 hours.

• So, we have 11.5 hours of transit time to share between Convoys A and C. If the ships are 12 minutes apart, we have room for 58 ships.

• Then 58 + 17 = 75 ships can make the

transit in 24 hours.

Page 40: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.
Page 41: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

The Rest of the Story

• This is a real problem solved by real people.

• Mathematics isn’t the final arbiter of what is “best”. People always have to accept the results.

Page 42: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

The Rest of the Story

Jeff Griffiths presented his results to the head of the Suez Canal Authority, Meseur Meseur, comparing a variety of alternative to the standard model.

Completing his work, he returned to Wales. But Jeff kept thinking that he had missed something simple.

Page 43: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

While taking a bath back home, it hit him. He knew what he had missed.

He immediately returned to Egypt and made an appointment with Meseur Meseur.

Page 44: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

A 48 Hour Schedule

Page 45: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

The Rest of the Story

• Jeff presents his results to Meseur Meseur.

• Meseur Meseur listened carefully and at the end of Jeff’s presentation, said politely…

Page 46: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

The Rest of the Story

Absolutely Not!

The Suez Canal has run on a 24 hour schedule every day since 1869. It is impossible to even think of it.

Professor Griffiths returned to Wales in despair.

Page 47: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Misfortune Strikes the Canal

Page 48: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

How to Clear the Backlog?

Meseur Meseur (Head of Suez Canal Authority)

“We have this terrible problem. Ships are stacked up at both ends of the canal and it will take weeks to move them all through. What can we do? What can we do?”

“…and then I had an idea.”

Page 49: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

“If we ran the canal on a 48 hour schedule, we could significantly increase the number of ships passing through the canal.”

“So, I ordered that we use the 48 hour schedule until the backlog was clear, then return to the 24 hour schedule.”

Page 50: Modeling Traffic Flow in the Suez Canal Dan Teague NC School of Science and Mathematics teague@ncssm.edu.

Modeling Traffic Flow in

the Suez Canal

Dan TeagueNC School of Science and

[email protected]