Svashasan Logo
Simulated data

Simulation, Testing and Validation · Virtual testing

Simulation

Also known as virtual testing, driving simulation, virtual validation, simulation-based testing

BeginnerSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Executing models of the vehicle, its sensors, its software and its environment on a computer to reproduce driving situations, so that functions can be developed, tested and assessed without, or before, physical testing.

Explanation

Automotive simulation spans vehicle-dynamics models, sensor models, traffic and scenario models, and the software under test, and it underpins every X-in-the-loop stage. Driving simulators such as CARLA provide an open-source environment built on Unreal Engine with a client-server architecture, configurable sensors, a traffic manager, ASAM OpenDRIVE road networks and a scenario runner, while scenario formats such as ASAM OpenSCENARIO make test cases portable.

Simulation is increasingly accepted as evidence. EU Implementing Regulation 2022/1426, for type-approval of automated driving systems in fully automated vehicles, combines audit of the safety concept, physical tests of relevant scenarios and in-service monitoring with principles for assessing the credibility of a virtual toolchain used for validation, and asks manufacturers to state the uncertainty of results. ISO is developing a PAS on qualifying virtual test environments (ISO/DPAS 34506).

Simulation results are only as valid as the models behind them. Sensor physics, human behaviour and rare events are hard to model, and the gap between simulated and real data must be measured, not assumed. Simulation only has to run in real time when real hardware or humans are in the loop.

How it works

A scenario defines the road network, actors, weather and events. The simulator advances the world in time steps, computing physics and rendering sensor data. The system under test receives inputs through an interface, such as a Python API, a ROS bridge or ASAM OSI, and returns control commands, which the simulator applies in closed loop or ignores in open loop. Metrics are computed from the logged states.

Automotive applications

  • Scenario-based ADAS and ADS testing at scale
  • Training and evaluating perception and planning models
  • Regression testing in CI pipelines
  • Controller development before hardware exists

Example

A team runs 5,000 parameter variations of a motorway cut-in scenario overnight, varying cut-in distance and relative speed. Failing variations are replayed for analysis, and the most critical are reproduced on a proving ground to check that simulation and reality agree.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. Commission Implementing Regulation (EU) 2022/1426 (type-approval of the ADS of fully automated vehicles) (opens in a new tab)

    European Union (EUR-Lex) · Standard · Annex I point 17.7; Annex III Parts 1-5 (credibility assessment of virtual toolchain) · retrieved 6 December 2026

  2. CARLA documentation: Introduction (opens in a new tab)

    CARLA Team · Project documentation · Architecture and features · retrieved 6 December 2026

  3. ISO 34502:2022 Road vehicles - Test scenarios for automated driving systems - Scenario based safety evaluation framework (opens in a new tab)

    ISO · Standard · Related ISO 3450x projects incl. ISO/DPAS 34506; obtained via web search because iso.org blocked direct fetch · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.