Modern Australian
Times Advertising

Traffic is complex, but modelling using deceptively simple rules can help unravel what's going on

  • Written by Yohan Kim, Research Principal, Institute for Sustainable Futures, University of Technology Sydney

This is the fourth article in our series, Moving the Masses, about managing the flow of crowds of individuals, be they drivers or pedestrians, shoppers or commuters, birds or ants.

Scientists, engineers and economists have used equations to solve real-world problems since the invention of basic addition and subtraction. Not sure how to price your apple harvest? Use a supply-and-demand equation to find the ideal price. It seems there’s an equation for everything in life.

Equations are great for modelling well-defined problems where the rules do not change, and as such have been the backbone of pure science. But in today’s ever-growing, fast-shifting society, many problems are too complex to model with a single equation. So how do we deal with complex phenomena such as traffic, the subject of this Conversation series? To that end, Descartes gave us a hint many years ago:

Divide each difficulty into as many parts as feasible and necessary to resolve it.

Agent-based modelling (ABM) is an approach that encapsulates this philosophy and has been gaining in popularity for the past decade. Instead of treating the problem as one entity, ABM looks at modelling the behaviour of each of the smaller elements (agents) within the system.

It is a bottom-up approach where macro outcomes are derived from the activities of individual micro actors. As the agents interact, you gain a better understanding of the system as a whole.

So how does this work for traffic?

Let’s take the example of a traffic jam. Conventionally, scientists have used sophisticated analytical approaches, such as equations, that treat traffic like a flow of liquid. Interestingly, we can replicate the same traffic phenomena by modelling individual cars with two simple rules:

  1. If there’s a car in front of you, slow down.

  2. If there aren’t any cars in front of you, speed up (while obeying the speed limit).

These rules are essentially descriptions of what a rational person would do while driving. One could presume that to cause a traffic jam we would need an additional factor such as police checks or traffic accidents. Traffic jams do not just happen by themselves – or do they?

It turns out that those two rules are enough to naturally cause a traffic jam. A traffic jam can occur purely out of internal interactions between cars, and not because of any external factor. In this phenomenon, a congestion “shockwave” travels in the direction opposite to the direction of the cars.

Researchers from several Japanese universities recreated this phenomenon with real cars back in 2008, as shown in the video below.

A shockwave traffic jam recreated.

When an unexpected phenomenon results from the interactions between individuals (agents), this is called emergent behaviour. It is this unique property of agent-based modelling that gives it an advantage over conventional models.

Another benefit is that it is very intuitive to develop an agent-based model. Instead of having to understand the mechanics of traffic jams, all you need to do is define the rules that govern the behaviour of individual cars. It shouldn’t be too surprising that two high school students from Boston originally built the earlier traffic jam model more than 20 years ago.

A good example that demonstrates ABM’s intuitive nature is the modelling of flocking behaviour in birds. It’s fantastically difficult to model mathematically, but flocking behaviour can be replicated in agent-based modelling using three simple governing rules:

1. Separation: steer to avoid crowding local flockmates

Traffic is complex, but modelling using deceptively simple rules can help unravel what's going on

Adapted from original graphic by Craig Reynolds.

2. Alignment: steer towards the average heading of local flockmates

Traffic is complex, but modelling using deceptively simple rules can help unravel what's going on

Adapted from original graphic by Craig Reynolds.

3. Cohesion: steer to move towards the average position of local flockmates.

Traffic is complex, but modelling using deceptively simple rules can help unravel what's going on

Adapted from original graphic by Craig Reynolds.

The resulting model is remarkably similar to real life. The three rules successfully bring out the emergent phenomenon of flocking behaviour.

Daniel Shiffman’s implementation of Craig Reynold’s Boids program to simulate flocking. Each bird steers itself based on rules of avoidance, alignment and cohesion.

From playful toy to policy tool

In addition to traffic management, agent-based modelling has practical applications in other fields. For example, to understand how infectious diseases such as MERS spread through a city, the author has developed a large-scale ABM simulation that models each individual living in his home town, Suwon, in South Korea.

The governing rules are simple:

  1. In the daytime, individuals go to work (or school, depending on their age) and interact with their colleagues (or classmates).
  2. At night, individuals return home to spend time with their family.
  3. Individuals can become infected when interacting with a sick person.

Through this simple set of interactions, a vast network of secondary contacts is formed, through which a disease can spread. To ensure that the results represent the city accurately, we carefully selected each individual’s age, gender, family members, and home and work locations, to ensure that they matched regional census statistics on housing, labour and education.

The results revealed that prevention efforts should focus on key schools, where most of the disease spread takes place.

Traffic is complex, but modelling using deceptively simple rules can help unravel what's going on Close-up of Suwon city showing all residential buildings. Individuals spend their time with their family within each house, and interact with neighbours from nearby. Author provided

Beyond the above examples, ABM has practical applications in marketing, traffic management, and biomedical fields. As computational power increases, this modelling approach is limited only by imagination in its implementation and use.

You can find other articles in the series here.

Authors: Yohan Kim, Research Principal, Institute for Sustainable Futures, University of Technology Sydney

Read more http://theconversation.com/traffic-is-complex-but-modelling-using-deceptively-simple-rules-can-help-unravel-whats-going-on-92833

Interstate Car Transporter Urges Buyers to Book Early

As the conflict in the Middle East continues to put increasing pressure on local fuel supply, Australian transport companies are experiencing increasi...

Digital Minimalism for Business Owners: Fewer Tools, Better Systems

Be honest. How many apps are open right now? One for scheduling, another for invoices, a third for customer notes, plus a spreadsheet someone email...

The Importance Of Proactive NDIS Renewal Preparation For Sustaining Your Provider Business

Your NDIS renewal notice is not a signal to start preparing. By the time it arrives, preparation should already be well underway. For new providers, s...

Why Fire Extinguisher Testing in Sydney Is Becoming a Records Game, Not Only a Maintenance Job

A fire extinguisher used to feel like one of the simpler parts of building safety. It hung on the wall, wore a service tag, and sat there quietly unle...

The Switchboard Upgrade Question Every Melbourne Renovator Should Ask Before the Walls Close Up

Renovations have a funny way of making people think on surfaces first. Splashback, stone, joinery, tapware, paint. Fair enough too. That is the exciti...

Winter Sanitation Gaps in Parramatta Kitchens: A Hidden Pest Risk

Winter brings a host of changes to our homes, from the chill in the air to the cozy warmth indoors. However, this season also introduces sanitation ch...

When to Seek Advice from Employment Lawyers in Melbourne

Australian employment law is detailed and, at times, complex, with rights and obligations that aren't always obvious to employees or employers witho...

7 Benefits of Professional Gutter Cleaning for Australian Homeowners

Gutters aren't exactly glamorous. They sit up there on the edge of your roof, doing their job quietly - until they stop working. Clogged, overflowing ...

Pipe Floats Strengthening Pipeline Performance In Demanding Environments

Pipelines often travel through environments that are anything but predictable, water currents shift, terrain changes, and materials keep moving unde...

Why Ceiling Fans Are Essential For Comfort, Efficiency, And Modern Living

Creating a comfortable indoor environment is not just about temperature; it is about how air moves, how a room feels, and how efficiently energy is ...

Why Duct Cleaning In Melbourne Is A Smart Investment For Healthier Living Spaces

Behind your walls, ceilings, and vents lies a network quietly working every day to keep your home comfortable. Yet over time, this system can become...

Disability Service Providers Supporting Inclusive And Independent Living

Finding the right support system can feel like assembling a puzzle where every piece must fit just right. For individuals and families navigating di...

A Beginner's Guide to Owning a Caravan in Australia

Owning a caravan opens up a style of travel that's hard to match for freedom and flexibility. However, for those just starting out, the process of c...

Preparing Your Air Conditioner for Summer: What Most Homeowners Overlook

As temperatures rise, many homeowners switch on their air conditioning for the first time in months — only to find it’s not performing the way i...

What Actually Adds Value to Properties in Newcastle

Newcastle has seen steady growth over the past few years, with more buyers looking beyond Sydney for lifestyle, space, and long-term value. As dema...

What is Design and Build in Construction?

Imagine you’re about to start a new construction project, maybe it’s a custom home or a commercial building. You’ve got the idea, the land, an...

Commercial roof leak detection: why early action protects your building

Water ingress is one of the most disruptive and costly issues facing commercial properties. For property managers and facilities teams, even a minor...

Custom Photo Frames: Turning Everyday Moments into Lasting Displays

Photos capture moments, but how you display them determines how they’re experienced every day. A meaningful photograph deserves more than a generi...