What is a Simulation?
A simulation is an imitation of a process or system that could exist in the real world. It runs a model over time to show how the system behaves.
Model and simulation
A model is a description or representation of a system, entity, phenomenon or process. It can be a set of equations, a flowchart or a computer program. The National Aeronautics and Space Administration (NASA) defines a simulation as the imitation of the behavioral characteristics of a system, entity, phenomenon or process. In short, the model holds the rules and the data, and the simulation is a run of the model.
A simulation is useful where a real test would be expensive, slow or impossible. A computer usually runs it.
How a simulation project works
A simulation project follows these steps:
- State the intended use. This is the expected purpose and application of the simulation.
- Build the model from the system you want to study.
- Do verification. Test that the simulation meets its requirements and specifications.
- Do validation. Test that it represents the real world well enough for the intended use.
- Run it and study the results. Test how the output changes when an input changes. This is a sensitivity analysis.
NASA-STD-7009B describes verification and validation as two separate tests. Verification asks if the builders implemented the model right. Validation asks if it matches the real world. NASA calls the data used for the comparison the referent. A referent can be real measurements, a similar system or a more detailed simulation.
Types of simulation
Discrete-event simulation
A discrete-event simulation is driven by individual events at specified times. One course example is a food delivery system, where each order is an event. A queue holds the pending events, ordered by time. The program repeats three steps until no events remain:
- Start with a queue of initial events.
- Remove the earliest event, process it, and add any new events that it creates.
- Repeat step 2.
Monte Carlo simulation
A Monte Carlo simulation uses random sampling to estimate a numerical result. It uses random evaluations to approximate a result that is deterministic, which means that it has one exact value.
Worked example: estimate pi. Throw random points into a square of side 2, centered on the origin. A circle of radius 1 fits inside the square. The square has area 4 and the circle has area π. A point is inside the circle if x² + y² ≤ 1. The chance that a point is inside is π / 4. The estimate is:
π ≈ 4 × (points inside) / (total points)
With 100,000 points, one run gave 3.141440. The true value is 3.141593. A different run gives a different value, because the points are random.
More points give a better estimate. The variance of a sample mean falls in proportion to 1/N, where N is the number of samples. The typical error therefore falls with the square root of N. To cut the error by 10, use 100 times more points.
Flight simulators
In flight training, Part 60 of Title 14 of the Code of Federal Regulations (14 CFR) covers the devices that imitate an aircraft. The Federal Aviation Administration (FAA) issues it. A flight simulation training device (FSTD) is a full flight simulator (FFS) or a flight training device (FTD).
- A full flight simulator is a replica of a specific aircraft type. It has a visual system that shows the view out of the flight deck. It also gives motion cues at least equal to a system with three degrees of freedom.
- A flight training device is a replica of aircraft instruments, equipment, panels and controls.
Part 60 sets the rules for the qualification and use of these devices when they serve training, evaluation or flight experience requirements.
Simulation at an airfield
Simulation is a planning aid in airfield design. FAA advisory circular (AC) 150/5300-13B says that path modeling software lets planners simulate aircraft movement and identify jet blast hazards. The same advisory circular names the Runway Exit Design Interactive Model as the preferred quantitative method for the location of runway exits. It also says that fast-time simulation modeling, used alone, is not a reliable means of locating exit taxiways.
Annex 14 of the International Civil Aviation Organization (ICAO) lists flight simulators among the uses of aerodrome mapping data.
Simulation and inspection
An inspection measures the real airfield. TarmacView does this with a drone, for lighting. It does not simulate the airfield.
Common mistakes
- Trusting a result that nobody verified or validated.
- Using too few random samples. A seeded run with 100 points gave 3.28 for pi, against a true value of 3.14159.
- Using one method alone. The FAA says that fast-time simulation alone does not place exit taxiways reliably.
Frequently Asked Questions
- What is a simulation?
- A simulation is the imitation of the behavior of a system, entity, phenomenon or process. A computer usually runs it. People use it for a process that would be expensive, slow or impossible to run in the real world.
- What is the difference between a model and a simulation?
- A model is a description or representation of a system, entity, phenomenon or process. A simulation is the imitation of how that system behaves. In practice, the model is the set of rules and data, and the simulation is a run of that model over time.
- What is a Monte Carlo simulation?
- A Monte Carlo simulation is a family of techniques that use random sampling to estimate a numerical result. One example throws random points at a square and counts how many fall inside a circle in it. That fraction gives an estimate of pi.
- What is a discrete-event simulation?
- A discrete-event simulation is driven by individual events that occur at specified times. A queue holds the future events in time order. The program removes the earliest event, processes it, and adds any new events that it creates. It repeats this until no events remain.
- How do you test that a simulation is correct?
- NASA uses two separate tests. Verification asks if the simulation meets its requirements and specifications. Validation asks if it is an accurate representation of the real world for its intended use. The team compares the results with a referent, such as real data.
- What is a flight simulation training device?
- A flight simulation training device (FSTD) is a full flight simulator (FFS) or a flight training device (FTD). This is the term in 14 CFR Part 60. A full flight simulator replicates a specific aircraft type. It has a visual system that shows the view out of the flight deck.
- Is simulation used in airport design?
- Yes, as a planning aid. Planners use path modeling software to simulate aircraft movement and find jet blast hazards. FAA AC 150/5300-13B also gives a limit. Fast-time simulation modeling, used alone, is not a reliable means of locating exit taxiways.
References
- nasa-std-7009b
- NASA-STD-7009B, Standard for Models and Simulations (approved 2024-03-05) NASA
- luc-introcs-simulation
- Introduction to Computer Science in Python, Monte Carlo Simulation (simulation overview) Loyola University Chicago
- uw-stat535-lec9
- STAT 535 Lecture 9: Monte Carlo Simulations and Sampling (Y.-C. Chen) University of Washington, Department of Statistics
- toronto-csc110-des
- CSC110, section 11.5: Creating a Discrete-Event Simulation University of Toronto, Department of Computer Science
- ecfr-14-cfr-60-appendix-f
- 14 CFR Part 60, Appendix F: Definitions and Abbreviations US Code of Federal Regulations (read on Cornell Legal Information Institute)
- ecfr-14-cfr-60-1
- 14 CFR 60.1, Applicability US Code of Federal Regulations (read on Cornell Legal Information Institute)
- faa-ac-150-5300-13b
- AC 150/5300-13B, Airport Design FAA
- icao-annex-14-vol-i-att-a-22
- Annex 14 Volume I, Aerodromes (9th edition), Attachment A, section 22: Aerodrome mapping data ICAO
This is a reference entry. TarmacView provides drone inspection services and doesn't sell the equipment or materials described in this glossary.