Computer models
by
Is it going to rain tomorrow? How will
Photo: Computer models are useful for studying things we can't easily visualize in any other way. This is a
Contents
What is a model? How do you build a computer model? What else are computer models used for? Why use computer models? Who invented computer models? Find out more
What is a model?
Have you noticed how children love playing with models? From dolls houses and
cuddly dogs to model
Photo: A physical model. This is a little wooden model of a real-life sailboat, but you can see that it's hugely simplified. In theory, you could put it in the bathtub and use it to study
How is a mathematical model different?
There are lots of things we need to understand that we can't build out of
miniature
Why use a computer for mathematical modeling?
Photo: Computer modeling a wind tunnel test: Building realistic models of new cars to test their aerodynamics is expensive and time consuming, so a lot of this kind of work is now done with computer models. You can even try your hand at it yourself by downloading a wind tunnel modeling app for your smartphone, like this one. It's a great educational exercise for physics students.
You don't necessarily need a
A model of something like the weather involves hundreds, thousands, or even
millions of different variables linked together by much more complex
equations. There are so many variables and so many equations that it
would take forever to solve them by hand. When pioneering
mathematical modeler Lewis Fry Richardson made one of the world's
first detailed weather forecasts this way in the 1920s, using just
seven equations, it took him and his wife something like six weeks to
figure out a single day's weather! That's why, in practice,
How do you build a computer model?
The first step in building a model is to decide which variables it should include and figure out the equations that connect them together. This involves making a number of assumptions and simplifications. Going back to our model of height at age 20, you can see we made two notable assumptions: first, that we'd keep growing at all and second that we'd do so at a steady rate between 10 and 20. What if we'd stopped growing at 11 or grown much more rapidly at ages 14 and 15? We could have allowed for that with a more complex equation if we'd wanted to. Another thing we didn't consider was whether our model ceased to be valid at all after a certain age (do the numbers and you'll find it predicts we'll be 3.5m or ˜11.5 ft tall at the age of 50 and 6m or ˜20ft tall if we reach 100). There were all kinds of things we might have considered or incorporated into our height model—but we glossed over them to keep the problem simple to understand and easy to solve.
Models are always (by definition) simplified versions of real life and, where
mathematical models are concerned, there are good reasons for this.
If really complex problems (such as weather forecasting and
Photo: Climate models are based on millions of precise measurements of the weather made all over the world during the last few decades. My computer produced this computer model of the climate as part of Climateprediction.net, in which ordinary computer users help scientists study global warming. Over 47,000 computers in the world are helping to "number crunch" climate data for the project.
Once the model is built, it has to be loaded up with data; in the case of a climate model, that means real-world measurements of the different variables, such as temperature, rainfall, and pressure measurements from around the world going back years or decades. Once that's done, it's possible to verify and validate the model. Verifying a model means running it to see whether it makes reasonable predictions. So if you build a model for weather forecasting and it tells you the temperature in Beijing next week is going to be 5000 degrees, you know you've gone wrong somewhere. Validating a model is a different process that involves running a model to produce results you can check against existing data. So if you build a model of the world's weather using measurements taken during every year of the 20th century (from 1900 to 1999), you might run it forward to the years 2002, 2003, and 2004 (say) to see what predictions it makes. You could compare those predictions with actual measurements made during those years and, if there's good agreement, take that as a validation of the model.
With the model successfully built, verified, and validated, the next step is to use it to make some actual predictions. A weather forecasting model could be used to predict how much rain will fall in Toronto or Berlin for a week or two in advance; a climate model (similar in many ways and based on the same data) would be making far less detailed predictions much further into the future.
What else are computer models used for?
Modeling the weather and climate aren't the only things you can do with
computer modeling. Models are used in all kinds of fields from
science and engineering to medicine and economics. A model of a newly
designed
Why use computer models?
This illustrates perhaps the most important advantage of computer
modeling: it gives us the ability to ask "what if?" questions
about complex aspects of the world we can't easily test in reality.
You can't build 100 different designs of skyscraper to see which is
most likely to survive an
Photo: Computer models make difficult and dangerous things easy to study safely. This is a model of the fluid flow inside a nuclear reactor. Photo courtesy of Argonne National Laboratory published on Flickr in 2009 under a Creative Commons Licence.
Modeling also saves time and money. Auto manufacturers routinely test the safety of their cars by wrecking prototypes (test versions) with crash-test dummies inside them, but it saves a great deal of time and money to do a lot of pre-testing with computer models beforehand. Computer models make it possible to run many more tests and cars are safer as a result. Computer models are increasingly being used to predict natural disasters, such as hurricanes, earthquakes, and tsunamis. If weather forecasters can accurately predict which tropical storms will become hurricanes, and how they will behave when they hit land, they can warn people of danger in good time, helping to reduce damage to property and potentially save lives.
Next time you fool around with a model, bear this in mind: you're not playing, your carrying out serious scientific research!
Who invented computer models?
Here's a brief list of some key moments in modeling:
- 1920s: Lewis Fry Richardson begins modeling weather using seven mathematical equations, but has no computers to help him .
- 1940s: US mathematician John von Neumann pioneers the use of computers in modeling
- 1950: An early supercomputer called ENIAC makes the world's first computerized weather forecast.
- 1960: The National Center for Atmospheric Research (NCAR) is established in Boulder, Colorado to study weather and climate with complex computer models.
- 1972: Meteorologist Edwin Lorenz sums up the complex, uncertain, nature of weather forecasting by asking his famous question "Does the flap of a butterfly's wings in Brazil set off a Tornado in Texas?". Attempts to answer the question lead to popular interest in a new branch of math known as chaos theory.
- 1972: A group of academics and others known as The Club of Rome runs a computer model of how the planet's resources are being used and concludes human civilization will collapse.
- 1980s: Spreadsheets (computer programs that calculate and draw charts from lists of numbers entered into tables) are developed for inexpensive PCs, so virtually anyone can build and run simple computer models. Spreadsheets soon revolutionize business planning.
- 1990s: The
Internet makes it possible for millions of ordinary PC users to help scientists run large, complex computer models by downloading chunks of data and processing them during "downtime." SETI@Home and FightAIDS@Home are two of the best known projects of this kind. - 2003: Climate scientists launch Climateprediction.net, allowing millions of computer users worldwide to help run a giant model of the climate.
- 2016: Police in Chicago reveal that they are using a computer model to predict people at most risk of committing (or falling victim to) gun crime.
Find out more
Articles
- Early Warning System Predicts Risk of Online Students Dropping Out by Michell Hampson. IEEE Spectrum, April 29, 2019. How models can predict which students are likely to leave their courses.
- The Nexus Linking IBM, California Wine, and Climate Modeling by Tekla Perry. IEEE Spectrum, March 13, 2018. How computer models in New York helped improve wine harvests in California.
- Chicago Police Try to Predict Who May Shoot or Be Shot by Monica Davey. The New York Times, May 23, 2016. Can a computer algorithm successfully highlight those at risk from violent gun crime?
- How Computer Modelers Took On the Ebola Outbreak by David Brown. IEEE Spectrum, May 28, 2015 and Machine Learning Could Predict Outbreaks by Identifying Dangerous Rodents by Eliza Strickland. IEEE Spectrum, May 25, 2015. These two articles look at the role of modeling in tackling contagious viruses such as Ebola.
- Plan Outlines Low-Carbon Future for Germany by Diana S. Powers. The New York Times, November 30, 2014. A new computer model of energy supply and demand could be the key to helping Germans shift from fossil fuels to renewables.
- Models 'key to climate forecasts', BBC News, 2 February 2007. A clear and simple explanation of climate models from Dr Vicky Pope of the UK Met Office Hadley Centre.
- Modelling systems used in the Met Office: An overview of weather and climate modeling from one of the world's leading research organizations.
- National Center for Atmospheric Research (NCAR): Models: More information about atmospheric and climate modeling with the world's most powerful supercomputers.
Books
Accessible introductions
- The Model Thinker by Scott E. Page. Basic Books, 2018.
- Would-Be Worlds: How Simulation is Changing the Frontiers of Science by John Casti. John Wiley & Sons, 1998.
- Life by the Numbers by Kenneth Devlin. John Wiley & Sons, 1998.
- The Language of Mathematics: Making the Invisible Visible by Kenneth Devlin. W. H. Freeman & Company, 1998.
- Henson, Robert. "Circuits of Change: Modelling the future climate." In The Rough Guide to Climate Change by Robert Henson. Rough Guides/Penguin, 2011.
Textbooks
- Simulation: The Practice of Model Development and Use by Stewart Robinson. Palgrave Macmillan, 2014. A relatively non-technical textbook aimed at engineering and computer science students.
- Simulation by Sheldon M. Ross. Academic Press, 2013. A more mathematical introduction.
Videos
- Modeling and Simulation 101 by NatlCtrSim on YouTube. A great, 6-minute animated introduction particularly suitable for students.
- NASA: Supercomputing the Climate: A 6-minute video that explains simply how NASA uses computer models to forecast weather and climate.
- Creating simulations by Dr Richard Gran. Scientists have always used simulations of one kind or another. An interesting 12-minute introduction.