HLA in plain words

The High Level Architecture (HLA, IEEE 1516) is a standard for running several simulators together as one simulation. This section explains it to readers who have never used it, and takes its examples from MicroRTI, an HLA 4 Run-Time Infrastructure (RTI) written in Rust.

What HLA is for

Picture three programs: a vehicle model written in C++ by one team, a traffic model in Java from a supplier, and a Python script that records what happens for later analysis. Nobody wrote them to work together, they may run on different machines, and each keeps its own idea of time. You want them to play one scenario: the vehicle drives through the traffic, and the recorder sees both.

For that, the programs have to agree on three things: what they exchange and what it means, how each piece of data reaches the programs that need it, and the order and simulated time at which things happen. HLA standardises those agreements and leaves what happens inside each simulator to its authors.

HLA comes from defence training and analysis, where one exercise can join simulators from many sources. The same problem appears wherever separately written models must run together, such as a robot controller and a physics simulation, or a test bench and the software under test.

The whole picture

Each program that takes part is a federate. The federates that run together form a federation, and one run of it is a federation execution, which has a name such as Chat. Federates never talk to each other directly. They talk to the RTI (Run-Time Infrastructure), the software that knows which federates have joined, which of them produce what and which want what, and delivers the data. What can be exchanged is written down in the FOM (Federation Object Model): one or more XML files that every federate of the federation shares. It lists object classes with their attributes (things that last, such as a participant in a chat room) and interaction classes with their parameters (events, such as one line said in the room).

With MicroRTI, the RTI is the microrti server program, or an RTI that runs inside your own process. Federates reach it through a client library: the Rust and Python clients of this project, or any other client of the HLA 4 Federate Protocol, such as Pitch FedProClient for Java and C++. The diagram shows the chat room that the next pages use as their running example: two chat federates, alice and bob, and the monitor of microrti-cli.

  alice (chat, Rust)       bob (chat, Rust)       microrti-cli monitor
          |                       |                         |
          +------------ HLA Federate Protocol --------------+
                                  |
                       microrti, the RTI, running
                       the federation execution "Chat"
                       with the FOM module Chat.xml

A short history

HLA started at the US Department of Defense in the 1990s. Its version 1.3 (1998) was followed by the first IEEE standard, IEEE 1516-2000, which was revised in 2010 as “HLA Evolved”. The current revision, IEEE 1516-2025 or “HLA 4”, adds among other things the Federate Protocol, a standard network protocol between federates and the RTI, so that a federate is no longer tied to the library of one RTI product.

HLA 4 is three documents: IEEE 1516-2025 (framework and rules), IEEE 1516.1-2025 (the federate interface, that is the services of the RTI) and IEEE 1516.2-2025 (the object model template, which says how a FOM is written). MicroRTI implements HLA 4 only; Why HLA 4 explains what this edition changes and why. MicroRTI has not been certified; its compliance matrix lists every service and its state.

The pages of this section

PageWhat it explains
Why HLA 4What HLA 4 adds to the earlier editions (the Federate Protocol, TLS and WebSocket, session resume, authorisation, new services, FOM modules that can grow) and why MicroRTI implements HLA 4 only.
The concepts of HLA, one by oneFederation execution, federates, the RTI, callbacks, FOM modules, publish and subscribe, objects and interactions, ownership, regions, synchronization points, save and restore, the Management Object Model and the Federate Protocol, each with the services involved and where it lives in MicroRTI.
Logical time, explainedWhy simulated time needs coordinating, lookahead, timestamp order, the advance services, GALT, and a two-federate example run on MicroRTI.
Monte-Carlo runs and designs of experimentsRunning a federation many times, as fast as possible and with the same results each run: when it is worth it, what has been published, what it asks of the RTI and what MicroRTI offers.
GlossaryShort definitions of the HLA terms and of the names used by MicroRTI, from “advisory” to “user-supplied tag”.

If you would rather try something first, install the RTI and come back. Common questions about versions, platforms and licences are answered in questions and answers.