Modelling Applications
What a computer model is and how models are used for finance, buildings, floods, traffic and weather.
Key words (12)
computer model, data, rules, formulas, what if, input, output, prediction, personal finance, flood, traffic, weather forecast.
Lesson Objectives
What is a computer model?

- A computer model uses data, rules and formulas to copy a real-life situation
- Made with spreadsheets or special software
- Ask "what if?" questions:
- Change an input
- See how the output changes
- Used to predict what will happen

Personal finance

Characteristics
- Inputs: income, spending, interest rates
- Outputs: savings, loan payments, balance
- Shown in a spreadsheet and graphs
- Change inputs to ask "what if?"
Uses
- Planning a budget
- Saving for a goal
- Loan and mortgage payments

Personal finance: planning a budget
- Enter income and spending each month
- Spreadsheet shows money left over
- Change spending to see the effect
- Helps avoid running out of money
| Monthly budget | $ per month |
|---|---|
| Income | 800 |
| Food | 250 |
| Travel | 120 |
| Fun | 150 |
| Money left over | 280 |
Personal finance: saving for a goal

- Enter the goal and monthly saving
- Model shows when the goal is reached
- "What if I save $50 more?"
- Graph shows progress

Personal finance: loan and mortgage payments
- Enter amount borrowed, interest rate and years
- Model works out monthly payments
- Compare different loans
- Shows total interest paid
| Loan A | Loan B | |
|---|---|---|
| INPUTS | ||
| Amount borrowed | $200,000 | $200,000 |
| Interest rate | 4% | 5% |
| Years | 25 | 25 |
| OUTPUTS (calculated) | ||
| Monthly payment | $1,056 | $1,169 |
| Total paid | $316,702 | $350,754 |
| Total interest | $116,702 | $150,754 |
Bridge and building design

Characteristics
- A 3D model of the design is made
- Inputs: materials, weight, wind speed, earthquakes
- Shows weak points and stress
- Design is changed and tested again
Uses
- Testing bridge designs
- Tall buildings and earthquakes

Modelling: testing bridge designs

- Model the bridge with heavy traffic
- Test strong winds and floods
- Weak points shown in red
- Change the design until it is safe

Modelling: tall buildings and earthquakes

- Model shakes the building like an earthquake
- Shows how much it sways
- Test different materials and shapes
- Cheapest safe design chosen
| Design | Sway | Cost | Result |
|---|---|---|---|
| A: concrete box | 30 cm | $40m | Too unsafe |
| B: steel frame | 15 cm | $45m | Chosen |
| C: steel + dampers | 8 cm | $60m | Too costly |

Flood water management

Characteristics
- Inputs: rainfall, river levels, land height, tides
- Predicts where water will go and how deep
- Shows areas at risk on a map
Uses
- Plan flood defences (walls, barriers)
- Warn people and plan evacuations
- Decide where to build homes

Flood models: planning flood defences

- Shows where water will overflow
- Test walls, barriers and drains on screen
- Choose the best place to build them

Flood models: warnings and evacuation

- Heavy rain forecast: model predicts flooding
- People in danger warned early
- Evacuation routes planned
- Saves lives and property

Flood models: where to build homes

- Planners check flood risk maps
- Avoid building in high-risk areas
- Insurance companies use the risk map too

Traffic management

Characteristics
- Inputs: number of vehicles, road layout, light timings
- Shows where queues build up
- Test changes safely on screen
Uses
- Change traffic light timings
- Plan new roads, lanes or roundabouts
- Reduce jams, journey times and pollution

Traffic models: changing light timings

- Model counts cars at each junction
- Try longer green lights on busy roads
- See which timing gives the shortest queues

Traffic models: planning new roads

- Test a new lane, road or roundabout on screen
- See how traffic would change
- Avoid building something that does not work

Traffic models: less pollution and shorter journeys

- Smoother traffic = fewer stops
- Less fuel used and less pollution
- Shorter journey times for buses and cars

Weather forecasting

Characteristics
- Data from satellites, sensors, balloons, ships and radar
- Supercomputers run the model
- Compares with past weather patterns
- Predicts temperature, rain, wind and storms
Uses
- Daily forecasts
- Storm and flood warnings
- Planning for farmers, airlines and events

Weather models: daily forecasts

- Forecast for the next few days
- Shown on TV, websites and apps
- Temperature, rain and wind

Weather models: storm and flood warnings

- Predicts typhoons and storms
- Warnings given days ahead
- Schools close, ships stay in port

Weather models: planning for farmers and airlines

- Farmers choose when to plant and harvest
- Airlines plan routes around storms
- Events planned for good weather

Computer modelling vs humans: advantages and disadvantages
| Advantages | Disadvantages |
|---|---|
| Cheaper: no need to build real versions | Only as good as its data and rules |
| Safer: nobody is put at risk | Cannot include every real-life factor |
| Faster: many tests in a short time | Software, hardware and experts are expensive |
| Can test things that are hard to do for real (e.g. earthquakes) | Programmer errors give wrong results |
| Easy to repeat with changes |
End of the topic
You've completed the topic: lesson 2 of 3 published in this unit, and already 65% of the way through. Keep it up!
When you are ready, click the Next button below to move on to Expert Systems.