HLA hla

The High Level Architecture (HLA) is a standard framework that supports simulations composed of different simulation components. Some introductory courses about HLA are available here. A more complete description is also given in the HLA Multinode Simulation.

To be able to use HLA integration in Morse, you need to install CERTI and its Python binding called pyHLA. There are several ways to install them, manually or using a package manager such as robotpkg.


CERTI is available on http://download.savannah.gnu.org/releases/certi/. Version 3.4.3 is known to work properly with Morse. PyHLA can be found in http://download.savannah.gnu.org/releases/certi/contrib/PyHLA/. Version 1.1.1 is known to work with Morse.

Once you have downloaded and unpacked the two projects, you can simply build them using CMake. For CERTI, you need to add the flag -DCERTI_USE_NULL_PRIME_MESSAGE_PROTOCOL=ON for better performance:


For pyHLA, remember to specify the precise Python version you want to build it for using:

$ cmake -DPYTHON_EXECUTABLE=/path/to/python3.{3,4} .

Using robotpkg

Using robotpkg, you can simply do this:

$ cd robotpkg/wip/py-hla && make PREFER_ALTERNATIVE.python=python3{3,4} update

Back to Morse

By default MORSE installs HLA support, so as long as pyHLA is accessible from your PYTHONPATH, you should be able to run HLA based simulations.