High Level Architecture
The High Level Architecture (HLA) is a standard for distributed simulation, used when building a simulation for a larger purpose by combining (federating) several simulations. The standard was developed in the 90’s under the leadership of the US Department of Defense and was later transitioned to become an open international IEEE standard. It is a recommended standard within NATO through STANAG 4603. Today the HLA is used in a number of domains including defense and security and civilian applications.
The purpose of HLA is to enable interoperability and reuse. Key properties of HLA are:
- The ability to connect simulations running on different computers, locally or widely distributed, independent of their operating system and implementation language, into one Federation.
- Ability to specify and use information exchange data models, Federation Object Models (FOMs), for different application domains.
- Services for exchanging information using a publish-subscribe mechanism, based on the FOM, and with additional filtering options.
- Services for coordinating logical (simulation) time and time-stamped data exchange.
- Management services for inspecting and adjusting the state of a Federation.
HLA forms the basis for developing standardized and extendable FOMs in different communities, for example in aerospace and defense.
The architecture specifies the following components.
- A Run-time Infrastructure (RTI) that provides a standardized set of services through different programming languages. These services include information exchange, synchronization and federation management
- Federates that are individual simulation systems using RTI services.
- A Federation Object Model (FOM) that specifies the Object Classes and Interaction Classes used to exchange data. The FOM can describe information for any domain.
Together the above components form a Federation.
The HLA standard consists of three parts:
- IEEE Std 1516-2010 Framework and Rules, which specifies ten architectural rules that the components or the entire federation shall adhere to.
- IEEE Std 1516.1-2010 Federate Interface Specification, which specifies the services that shall be provided by the RTI. The services are provided as C++ and Java APIs as well as Web Services.
- IEEE Std 1516.2-2010 Object Model Template Specification ,which specifies the format that HLA object models, such as the FOM, shall use.
- 1 History and versions
- 2 Technical overview
- 2.1 Common HLA terminology
- 2.2 Interface specification
- 2.3 Object model template (OMT)
- 2.3.1 Identification Table
- 2.3.2 Object Classes Structure Table
- 2.3.3 Attribute Table
- 2.3.4 Interaction Class Structure Table
- 2.3.5 Parameter Table
- 2.3.6 Dimensions
- 2.3.7 Time Representation
- 2.3.8 User Supplied Tag
- 2.3.9 Synchronization
- 2.3.10 Transportation
- 2.3.11 Update Rate
- 2.3.12 Switches
- 2.3.13 Datatypes
- 2.3.14 Notes
- 2.3.15 Other
- 2.4 HLA rules
- 2.5 HLA Evolved
- 3 STANAG 4603
- 4 Base Object Model
- 5 Alternatives and Disadvantages
- 6 See also
- 7 References
- 8 External links
History and versions
HLA was initiated in the early 1990’s when Dr. Anita K. Jones, the Director of Defense Research and Engineering within the US Department of Defense, gave the Defense Modeling and Simulation Office (DMSO) the task of “assuring interoperability and reusability of defense models and simulations”. In 1995 DMSO formulated a vision for modeling and simulation and established a modeling and simulation masterplan, which included the High Level Architecture.
Two protocols for M&S interoperability already existed: Distributed Interactive Simulation (DIS), focusing on real-time platform level simulation with a fixed object model, and Aggregate Level Simulation Protocol (ALSP) focusing on simulation of aggregate with time management, ownership management and flexible object models, called confederation models. The purpose of HLA was to provide one unified standard that would meet the simulation interoperability requirements of all US DoD components.
The development of HLA was based on four prototypical federations: the Platform Prototype Federation, the Joint Training Protofederation, the Analysis Protofederation and the Engineering Prototype Federation. The HLA specification was prototyped and refined, until HLA 1.3 was finally released. To facilitate usage outside of the defense community, HLA was then transitioned into an IEEE standard, maintained by Simulation Interoperability Standards Organization (SISO). To facilitate the migration for DIS users, a Federation Object Model corresponding to the fixed object model of DIS was also developed as the Real-time Platform Reference FOM (RPR FOM).
The following HLA versions exist:
HLA 1.3 was published in March 1998 by DMSO. It consists of:
- U.S. Department of Defense, Rules Version 1.3
- U.S. Department of Defense, High Level Architecture Interface Specification Version 1.3
- U.S. Department of Defense, High Level Architecture Object Model Template Version 1.3
The US DoD also published interpretations for HLA 1.3:
- U.S. Department of Defense, Interpretations of the High Level Architecture Interface Specification Version 1.3, Release 3
HLA IEEE 1516-2000 was published in 2000 by IEEE. It consists of:
- IEEE Std 1516–2000 – Standard for Modeling and Simulation High Level Architecture – Framework and Rules
- IEEE Std 1516.1–2000 – Standard for Modeling and Simulation High Level Architecture – Federate Interface Specification
- IEEE 1516.1–2000 Errata (2003-oct-16)
- IEEE 1516.2-2000 – Standard for Modeling and Simulation High Level Architecture – Object Model Template (OMT) Specification
Major improvements in IEEE 1516-2000 included an XML-based FOM with detailed data type specifications, as well as an improved DDM design.
The IEEE 1516-2000 standard was also complemented by a recommended development process as well as a recommended VV&A process:
- IEEE 1516.3-2003 – Recommended Practice for High Level Architecture Federation Development and Execution Process (FEDEP). This standard would later become IEEE Std 1730-2010 Distributed Simulation Engineering and Execution Process (DSEEP)
- IEEE 1516.4-2007 – Recommended Practice for Verification, Validation, and Accreditation of a Federation an Overlay to the High Level Architecture Federation Development and Execution Process
It was soon found that the 1516-2000 standard had APIs that were slightly different for each RTI implementation. SISO produced a standard with alternate, dynamic link compatible (DLC) C++ and Java APIs:
- SISO-STD-004.1-2004: Standard for Dynamic Link Compatible HLA API Standard for the HLA Interface Specification (IEEE 1516.1 Version)
- SISO-STD-004-2004: Standard for Dynamic Link Compatible HLA API Standard for the HLA Interface Specification (v1.3)
The DLC APIs were later merged into the main standard.
HLA 1516-2010 (HLA Evolved)
The IEEE 1516-2010 standard was published in August 2010 by IEEE and is commonly known as HLA Evolved. It consists of:
- IEEE 1516–2010 – Standard for Modeling and Simulation High Level Architecture – Framework and Rules
- IEEE 1516.1–2010 – Standard for Modeling and Simulation High Level Architecture – Federate Interface Specification
- IEEE 1516.2-2010 – Standard for Modeling and Simulation High Level Architecture – Object Model Template (OMT) Specification
Major improvements in IEEE 1516-2010 include Modular FOMs, incorporation of the DLC APIs in C++ and Java, a Web Services API and Fault Tolerance.
Machine-readable parts of this version of HLA, such as XML Schemas, C++, Java and WSDL APIs as well as FOM/SOM samples can be downloaded from the IEEE 1516 download area of the IEEE web site. The full standards texts are available at no extra cost to SISO members or can be purchased from the IEEE shop.
HLA 1516-20XX (HLA 4)
The development of a new version of HLA started in January 2016 by SISO and is currently ongoing.
The HLA standard consists of three parts:
- Framework and Rules, which specifies ten architectural rules that federates or the entire federation shall adhere to.
- Federate Interface Specification, which specifies the services that shall be provided by the RTI. The services are provided as C++ and Java APIs as well as Web Services.
- Object Model Template Specification which specifies the format that HLA object models, such as the FOM, shall use.
Common HLA terminology
- Run-time Infrastructure (RTI): Software that provides a standardized set of services, as specified in the HLA Federate Interface Specification. There are seven service groups.
- Federate: A system, such as a simulation, a tool or an interface to live systems, that connects to the RTI. Examples of tools are data loggers and management tools. A federate uses the RTI services to exchange data and synchronize with other federates.
- Federation: A set of federates that connect to the same RTI together with a common FOM.
- Federation Execution: A session, where a set of federates execute together in a federation with a specific objective, using the same RTI and FOM.
- Federation Object Model (FOM): A document that specifies object classes, interaction classes, data types and additional data that is used for the information exchange in a federation. A FOM is an XML file that follows the format of the HLA Object Model Template and the associated XML Schema. Different FOMs are used for exchanging data for different application domains. There are standardized FOMs, called reference FOMs, that are commonly used as a starting point for FOM development. A FOM can be developed and extended in a modular way using FOM modules.
- Simulation Object Model (SOM): A document that specifies object classes, interaction classes, data types and additional data that a particular simulation publishes and/or subscribes to in a federation. A SOM is also an XML file that follows the format of the HLA Object Model Template and the associated XML Schema. SOMs can also be developed and extended in a modular way using SOM modules.
- Object: Objects are used to represent data that is persistent over some period of time and that have attributes that can be updated. They are defined in the FOM/SOM using an Object Class.
- Interaction: Interaction are used to represent instantaneous events with parameters. An interaction that has been sent cannot be updated (as opposed to object classes). They are defined in the FOM/SOM using an Interaction Class.
- Datatypes: The representation and interpretation of attribute and parameter data is specified in the FOM/SOM using HLA Datatypes.
- Publish: A federate that publishes an object class with a set of attributes can register and delete instances of that object class and update its attribute values. A federate that publishes an interaction class can send interactions of that interaction class, together with associated parameter values.
- Subscribe: A federate that subscribes to an object class with a set of attributes will discover registrations and deletions of instances of that object class and receive updates of subscribed attributes. A federate that subscribes to an interaction class will receive interactions of that interaction class, together with associated parameter values.
The RTI services are defined in the HLA Interface Specification. They are grouped into seven service groups. In addition to these services, the Management Object Model (MOM) provides services that makes it possible to inspect and adjust the state of the federation programmatically.
Most RTIs consist of a Central RTI Component (CRC), which is an executable and Local RTI Components (LRCs), which are libraries that are used by the federates. Services are provided through a C++ or Java API and also using Web services. In the C++ and Java APIs, services are invoked using calls to an instance of the RTI Ambassador class. The RTI delivers information to a federate using callbacks, which are delivered using calls to an instance of the Federate Ambassador class. In the Web Services API, defined using WSDL, calls are made, and callbacks are fetched, by the federate using Web Services requests and responses.
The service group descriptions below focus on key services. Exceptions and advisories are not included.
Federation Management Services
The purpose of Federation Management services is to manage Federation Executions as well as federation-wide operations such as Synchronization Points and Save/Restore.
One set of Federation Management services manages the connection to the RTI, the federation execution and the set of joined federates. Key services are:
- Connect and Disconnect from the RTI
- CreateFederationExecution and DestroyFederationExecution that are used to create and destroy a federation execution
- JoinFederationExecution and ResignFederationExecution that are used by a federate to join and resign a federation execution.
- ConnectionLost, that is used by the RTI to inform a federate that it has lost its connection to the federation execution due to a fault
- ListFederationExecutions that is used to retrieve a list of available federation executions for an RTI
Another set of services relates to synchronization points. These are federation-wide events where all, or selected federates are required to complete an operation, such as initializing a scenario, before the execution can continue. Key services are:
- RegisterFederationSynchronizationPoint that is used to register a synchronization point
- AnnounceSynchronizationPoint that is used by the RTI to inform federates that a synchronization point has been registered
- SynchronizationPointAchieved that is used by a federate to indicate that it has achieved a synchronization point
- FederationSynchronized that is used by the RTI to Inform federates that the federation is synchronized, i.e. all federates have achieved the synchronization point.
Yet another set of service relates to saving and restoring a federation execution. A save operation requires both the RTI and each federate to perform a save of their internal state. A restore operation requires both the RTI and each federate to perform a restore of their internal state. Key services are:
- RequestFederationSave that is used to initiate a save of a federation
- InitiateFederateSave that is used by the RTI to notify federates to start saving its state
- FederateSaveComplete that shall be called by a federate when it has completed saving its state.
- FederationSaved that is used by the RTI to notify federates that the federation is saved
- RequestFederationRestore that is used to initiate a restore of a federation
- InitiateFederateRestore that is used by the RTI to notify federates to start restoring its state
- FederateRestoreComplete that shall be called by a federate when it has completed restoring its state.
- FederationRestored that is used by the RTI to notify federates that the federation is restored
Declaration Management Services
The purpose of Declaration Management services is to enable federates to declare what information they wish to publish (send) and subscribe to (receive) based on object and interaction classes in the FOM. The RTI uses this information to route updates and interactions to subscribing federates. For an object class, publishing and subscribing are performed for a specific set of attributes. For interaction classes, the entire interaction, including all parameters, is published and subscribed. Key services are:
- PublishObjectClassAttributes that is used to publish a set of attributes for a given object class.
- SubscribeObjectClassAttributes that is used to subscribe to a set of attributes for a given object class.
- PublishInteractionClass that is used to publish an interaction class including all parameters
- SubscribeInteractionClass that is used to subscribe to an interaction class including all parameters
Object Management Services
The purpose of Object Management services is to enable federates to share information about object instances and to exchange interactions.
Object instance names can be reserved or be automatically generated. Federates can register object instances of specified object classes, that are then discovered by subscribing federates. Attributes of these object instances can be updated. These updates will be reflected to subscribing federates. Interactions can be sent. These interactions will be delivered to subscribing federates. Key services are:
- ReserveObjectInstanceName that is used to reserve a name to be used for an object instance
- RegisterObjectInstance that is used to register an object instance of a particular object class, either with a reserved name or an automatically generated name.
- DiscoverObjectInstance that is used by the RTI to notify federates subscribing to particular object class that a new object instance has been registered.
- DeleteObjectInstance that is used to delete an object instance
- RemoveObjectInstances that is used by the RTI to notify federates that an object instance has been removed
- UpdateAttributeValues that is used to provide updated attribute values for an object instance
- ReflectAttributeValues that is used by the RTI to notify federates subscribing to particular attributes of updated values.
- SendInteraction that is used to send an interaction of a particular interaction class, including parameter values.
- ReceiveInteraction that is used by the RTI to deliver an interaction, including parameter values, to federates subscribing to a particular interaction class
Ownership Management Services
The purpose of Ownership Management services is to dynamically manage what federate that simulates what aspect of an object instance. In HLA, only one federate is allowed to update a given attribute of a given object instance. That federate is considered the owner of the attribute. A federate that registers a new object instance will automatically be the owner of all attributes it publishes. In some cases, attributes of an object instance may become unowned, i.e. not owned by any federate.
Ownership management provides services for transferring ownership of one or several attributes at runtime, which can include a federate Divesting the attribute and another federate Acquiring the attribute. There are two main patterns: “pull” that are initiated by the acquiring federate and “push” that are initiated by the divesting federate.
Key services for initiating “pull” ownership are:
- AttributeOwnershipAcquisitionIfAvailable which is used by a federate that wishes to acquire ownership of unowned attributes.
- AttributeOwnershipAcquisition which is used by a federate that wishes to request ownership of a potentially owned attribute
Key services for initiating “push” ownership are:
- AttributeOwnershipDivestitureIfWanted which is used by a federate that wishes to divest attributes only if there is some other federate that is standing by to acquire ownership of these attributes.
- NegotiatedAttributeOwnershipDivestiture, which is similar but may also cause the RTI to try to find a new owner.
- UnconditionalAttributeOwnershipDivestiture, which is used by a federate that wishes to give up ownership, even if no new owner can be found.
All object instances have a predefined attribute called HLAPrivilegeToDeleteObject. Only the owner of this attribute for an object instance is allowed to delete the object instance. Ownership of this attribute can be transferred at runtime using the above operations.
Time Management Services
The information exchange in an HLA federation takes place in real-time with immediate (Receive Order, RO) delivery of messages, unless HLA Time Management has been enabled. The purpose of HLA Time Management is to guarantee causality and a correct and consistent exchange of time stamped messages (updates and interactions) in Time Stamp Order (TSO), no matter if the federation executes in real-time, faster-than-real-time, slower-than-real-time or as-fast-as-possible.
Some important concepts in HLA Time Management are:
Logical time: A time axis in HLA, starting at zero. Logical time is used for Time Management timestamps and operations. The logical time axis can be mapped to the scenario time of the federation. An example of such a mapping is to let zero represent the scenario time 8:00 of the 1-Jan-1066 and let an increment by one represent one second of the scenario.
Lookahead: A time interval specifying the lowest time in the future for which a federate will produce messages. For a federate with a fixed time step, this is usually the length of the time step.
Granted: A federate is granted (allowed to advance) to a particular logical time by the RTI, when all time-stamped messages up to that time have been delivered. The federate can then safely start calculating messages with a timestamp in the future. This timestamp may not be earlier than the granted time plus the federates lookahead.
Advancing: When a federate has finished producing data for the granted time plus the lookahead, it may request to be advanced to a later time, which also means that it promises not to produce any more messages with a time stamp less than the requested time plus the lookahead. The federate is now in the advancing state.
Time Regulating: A federate that sends time stamped events is considered Time Regulating since the time advance by other federates may be regulated by this.
Time Constrained: A federate that receives time managed events is considered Time Constrained since the reception of time stamped messages, constrains its time advance.
The main principles of HLA Time Management are that:
- Each federate assigns a time stamp to messages (updates and interactions) when they are sent, indicating for which scenario time the message is valid.
- Federates request permission from the RTI to advance their time.
- The RTI manages delivery of messages and grants federates time advance so that messages are delivered in Time Stamp Order and that federates don’t get any messages with a time stamp in their past.
Example of Lookahead, granted and advancing:
- A federate uses a fixed time step of 10 and has a Lookahead of 10.
- The federate is granted to logical time 50 by the RTI. The RTI thus guarantees that all messages with time step less or equal to 50 have been delivered to the federate.
- The federate now has all the necessary data to correctly calculate and send messages for the granted time plus Lookahead, i.e. 60.
- When the federate has sent all messages with timestamp 60, it requests to be advanced to time 60. It thereby promises not to send any messages with a timestamp less than 70.
- The RTI delivers all messages with timestamp less or equal to 60 to the federate. It then grants the federate to time 60.
If at least one federate in the federation performs pacing, i.e. correlates their time advance requests with a real time clock, the federation may run in real time or scaled real time. Without pacing, the federation will run as fast as possible, which is used for example in Monte Carlo simulation.
Key services include:
- EnableTimeConstrained and EnableTimeRegulating that enables theses modes for a federate
- TimeAdvanceRequest whereby a federate requests to be advanced to a specified logical time
- TimeAdvancedGrant whereby the RTI informs a federate that it is granted to a specified logical time.
- EnableAsynchronousDelivery that enables delivery of Receive Order messages both when a federate is in the granted and advancing state.
For event driven simulation it is also possible for a federate to request to be advanced to the next event using the following service:
- NextMessageRequest whereby a federate requests to be advanced to the timestamp of the next message due for delivery to the federate, or a specified logical time, whichever has a lower timestamp.
Another important concept is Greatest Available Logical Time (GALT). The greatest time that each federate can be granted to, depends on the time that other federates have been granted to as well as their lookahead. The GALT for a federate specifies how far a federate can be granted, without having to wait for other federates to be granted. This is particularly interesting for a federate that joins late into a time managed federation.
Key services for GALT are:
- QueryGALT that returns the GALT for the calling federate.
More advanced services include:
- FlushQueueRequest whereby a federate can request delivery of all queued, timestamped messages, no matter how far in the future their timestamp is.
- Retract whereby a federate can request that an already sent message is retracted. This is useful in optimistic simulation.
Data Distribution Management Services
The purpose of DDM is to increase scalability of federations by performing additional filtering of subscribed data beyond class and attribute subscriptions. Filtering can be based on continuous values (like latitude and longitude) or discreet values (like car brand).
Key concepts of DDM are:
Dimension: a named interval (0..n) used for filtering, with values starting with 0 and ending with an upper bound n. Data in the simulation domain is mapped to one or more dimensions. For example, dimensions for geographical filtering could be LatitudeDimension and LongitudeDimension. A dimension for filtering based on car brand could be CarBrandDimension.
Normalization function: a function that maps input values to integer values to be used in a dimension. An example is that a normalization function for the LatitudeDimension could map a latitude value ranging from -90.0 to +90.0 to an integer in the range 0..179. A normalization function for the CarBrandDimension could map a set of car brands Kia, Ford, BMW and Peugeot to an integer in the range 0..3.
Range: an interval on a dimension, specified by a lower bound (inclusive) and an upper bound (exclusive).
Region: a set of ranges, each one relating to a particular dimension. In the above example, a region could consist of the range (3..5) for LatitudeDimension (55..65) for LongitudeDimension and (0..1) for the CarBrandDimension. At runtime Region Realizations (objects) are instantiated to represent regions. The ranges of a region can be modified over time.
Region overlap: two regions overlap if, for all dimensions that they have in common, their ranges overlap.
At runtime, a federate can provide Regions when subscribing to object class attributes and interactions. Regions are also used when sending attribute updates and interactions. When DDM is used, attribute updates and interactions will only be delivered if there is a region overlap.
Key services for Regions are:
- CreateRegion that is used to create a region with a specified set of Dimensions.
- DeleteRegion that is used to delete a region.
- CommitRegionModifications that is used to change the ranges of a dimension for a Region.
Key services for exchanging attribute updates with DDM are:
- RegisterObjectInstanceWithRegions that is used to register an object instance with regions associated with its attributes.
- AssociateRegionsForUpdates that is used to associate regions with attributes of an object instance.
- SubscribeObjectClassAttributesWithRegions that is used to subscribing to attributes of objects where the regions used for subscription overlaps with the regions of the attributes.
Key services for exchanging interactions with DDM are:
- SubscribeInteractionClassWithRegions that is used to subscribe to interactions where the regions used for subscription overlaps with the regions of the interactions.
- SendInteractionsWithRegions that is used to send interactions with associated regions.
This service group provides a number of supporting services. These include:
- Getting Handles (references) to be used in the above service calls.
- Setting various runtime switches, in particular for advisories (notifications).
- Controlling the delivery of callbacks.
Management Object Model
A number of services for managing a federation are provides using the MOM object and interaction classes, instead of directly through the API. MOM objects are defined in a special FOM module called the MIM, that is automatically loaded by the RTI. Key MOM features include:
- List and inspect properties of federates.
- Inspect properties of the federation.
- Get the content of the current FOM and FOM modules.
- Inspect the state of Time management.
- Inspect and modify publications and subscriptions of federates.
- Inspect certain performance figures.
- Inspect which federate that calls which HLA services.
- Inspect status of synchronization points.
Object model template (OMT)
The OMT is a template used for describing Federation Object Models (FOMs) and Simulation Object Models (SOMs). FOMs and SOMs can be represented in a tabular format or using XML. The latter format is used when a FOM is loaded into the RTI.
In earlier versions of HLA, FOMs were monolithic, but the current version of the standard supports modular FOMs, i.e several modules, covering different aspects of the information exchange, can be provided to the RTI.
There are three different XML Schemas for the OMT:
- The OMT DIF XML Schema, that verifies that an OMT document follows the basic OMT format, but not that it is complete and has referential integrity.
- The OMT FDD XML Schema, that verifies that an OMT document contains enough information to be useful by an RTI. Note that this schema is provided in the Interface Specification.
- The OMT Conformance Schema that verifies that an OMT document is complete and has referential integrity.
The purpose of the identification table is to provide meta-data about the model, to facilitate reuse of the FOM/SOM or federates. The following fields are specified:
- General: Name, Type (FOM/SOM), Version, Modification date, Security classification, Release restriction, Purpose, Application domain, Description, Use limitation and Use history
- Keywords: Keyword values and Taxonomy used
- Point of contacts (POC): Type (Primary author/Contributor/Proponent/Sponsor/Release Authority/Technical POC), POC name, POC name, POC organization, POC telephone, POC email
- References: Type (Text document/Spreadsheet/Powerpoint file/Standalone FOM/Dependency FOM/Composed from FOM), Identification (document name or FOM name)
- Glyph (Icon)
Object Classes Structure Table
The purpose of the object class structure table is to specify the class hierarchy (subclass/superclass) of the object classes that are used to instantiate objects in an HLA federation. Object class attributes are inherited from superclasses to subclasses based on this hierarchy. The root of the object class tree is known as HLAobjectRoot. An example of a fully qualified name of an object class is HLAobjectRoot.Vehicle.Car.
The following fields are specified for an object class in the hierarchy:
- Publication (Publish/Subscribe/PublishSubscribe/Neither)
The purpose of the attribute table is to specify the attributes that are available for a given object class. Since attributes are inherited, an object class will have the union of all attributes that are locally defined on the object class or specified on any direct or indirect superclass.
The following fields are specified for an attribute
- Object class name, that it is defined for
- Attribute name
- Datatype, defined in the Datatypes Table (see below)
- Update type (Static/Periodic/Conditional/NA)
- Update condition
- D/A (Divest/Acquire/NoTransfer/DivestAcquire): Whether the attribute can be divested and or acquired using the HLA Ownership Services
- P/S (Publish/Subscribe/PublishSubscribe/Neither): Whether the attribute can be published and/or subscribed. In a SOM, this information relates to the Federate described, in a FOM it relates to the entire federation.
- Available Dimensions
- Transportation (Reliable/BestEffort/other transportations described in the Transportation table)
- Order (Receive/TimeStamp): Delivery order for attribute updates.
Interaction Class Structure Table
The purpose of the interaction class structure table is to specify the class hierarchy (subclass/superclass) of the interaction classes that are used to exchange interactions in an HLA federation. Interaction class parameters are inherited from superclasses to subclasses based on this hierarchy. The root of the interaction class tree is known as HLAinteractionRoot. An example of a fully qualified name of an interaction class is HLAinteractionRoot.CarCommand.Start.
The following fields are specified for an interaction class in the hierarchy:
- Publication (Publish/Subscribe/PublishSubscribe/Neither)
User Supplied Tag
In order to ensure the proper interaction between simulations, a way of testing federate conformance is defined. This involves ensuring that every class and interaction listed in the SOM for a particular federate is used according to the usage described, "PublishSubscribe", "Publish", "Subscribe" or "None".
The HLA rules describe the responsibilities of federations and the federates that join.
- Federations shall have an HLA federation object model (FOM), documented in accordance with the HLA object model template (OMT).
- In a federation, all representation of objects in the FOM shall be in the federates, not in the run-time infrastructure (RTI).
- During a federation execution, all exchange of FOM data among federates shall occur via the RTI.
- During a federation execution, federates shall interact with the run-time infrastructure (RTI) in accordance with the HLA interface specification.
- During a federation execution, an attribute of an instance of an object shall be owned by only one federate at any given time.
- Federates shall have an HLA simulation object model (SOM), documented in accordance with the HLA object model template (OMT).
- Federates shall be able to update and/or reflect any attributes of objects in their SOM and send and/or receive SOM object interactions externally, as specified in their SOM.
- Federates shall be able to transfer and/or accept ownership of an attribute dynamically during a federation execution, as specified in their SOM.
- Federates shall be able to vary the conditions under which they provide updates of attributes of objects, as specified in their SOM.
- Federates shall be able to manage local time in a way that will allow them to coordinate data exchange with other members of a federation.
The IEEE 1516 standard has been revised under the SISO HLA-Evolved Product Development Group and was approved 25-Mar-2010 by the IEEE Standards Activities Board. The revised IEEE 1516–2010 standard includes current DoD standard interpretations and the EDLC API, an extended version of the SISO DLC API. Other major improvements include:
- Extended XML support for FOM/SOM, such as Schemas and extensibility
- Fault tolerance support services
- Web Services (WSDL) support/API
- Modular FOMs
- Update rate reduction
- Encoding helpers
- Extended support for additional transportation (such as QoS, IPv6,...)
- Standardized time representations
HLA (in both the current IEEE 1516 version and its ancestor "1.3" version) is the subject of the NATO standardization agreement (STANAG 4603) for modeling and simulation: Modeling And Simulation Architecture Standards For Technical Interoperability: High Level Architecture (HLA).
Base Object Model
The Base Object Model (BOM), SISO-STD-003-2006 is a related standard by SISO to provide better reuse and composability for HLA simulations. It provides a way to specify conceptual models and how to map them to an HLA FOM.
Alternatives and Disadvantages
Virtually all means of interconnecting Distributed Modeling and Simulation (DM&S) applications have alternatives and or disadvantages and the HLA is no exception.
In regards to the Distributed Modeling and Simulation (DM&S) industry the most often used alternative to the HLA, for real-time simulation of military platforms, is Distributed Interactive Simulation (DIS), IEEE 1278.1-2012, a simulation protocol. Most HLA RTI vendors also feature DIS in their products. As for middleware applications that most closely match HLA features, such as the publish and subscribe feature (P&S) see Data Distribution Service (DDS) which shares many of the same characteristics but having an open on-the-wire protocol for system interoperability.
HLA is a Message-oriented middleware that defines as a set of services, provided by a C++ or Java API. There is no standardized on-the-wire protocol. Participants in a federation must use RTI libraries from the same provider and usually also of the same version in order for applications to interoperate .
- List of commercial and non-commercial RTIs
- Computer simulation
- Distributed computing
- Interoperability / Conceptual interoperability
- Simulation Interoperability Standards Organization
- Global Information Network Architecture
- Distributed Interactive Simulation (DIS)
- Data Distribution Service (DDS)
- Kuhl, Frederick; Weatherly, Richard; Dahmann, Judith (October 18, 1999). Creating Computer Simulation Systems: An Introduction to the High Level Architecture (1 ed.). Prentice Hall. ISBN 0130225118.
- Dahmann, Judith (1997). "The Department of Defense High Level Architecture" (PDF). Proceedings of the 1997 Winter Simulation Conference: 142–149. doi:10.1145/268437.268465. ISBN 078034278X.
- STANAG 4603: Modelling and Simulation Architecture Standards for Technical Interoperability: High Level Architecture (HLA). NATO.
- IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA)— Framework and Rules. IEEE Computer Society. 18 August 2010. ISBN 978-0-7381-6251-5.
- IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA)— Federate Interface Specification. IEEE Computer Society. 18 August 2010. ISBN 978-0-7381-6247-8.
- IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA)— Object Model Template (OMT) Specification. IEEE Computer Society. 18 August 2010. ISBN 978-0-7381-6249-2.
- Möller, Björn; Fredrik, Antelius; Martin, Johansson; Mikael, Karlsson (September 2016). "Building Scalable Distributed Simulations: Design Patterns for HLA DDM". Proceedings of 2016 Fall Simulation Interoperability Workshop. Retrieved 13 November 2019.
- U.S. Defense Modeling and Simulation Office (2001). RTI 1.3-Next Generation Programmer's Guide Version 4. U.S. Department of Defense.
- "High Level Architecture STANAG Development (MSG-033)". Retrieved March 3, 2015.
- SISO BOM Standard
- Doshi, Rajiv; Castellote, Gerardo-Pardo (2006). "A Comparison of HLA and DDS" (PDF). Real-Time Innovations. Retrieved March 3, 2015. Cite journal requires
- Granowetter, Len. "RTI Interoperability Issues - API Standards, Wire Standards, and RTI Bridges". Retrieved 14 March 2018.
- The HLA Tutorial: a free tutorial (PDF) published 2012.
- SimArch: a GPL Java-based layered architecture to ease the development of HLA distributed simulation systems.
- coreDS™: a High-Level API to facilitate HLA and/or DIS integration in your project.
- HLA Development Kit: a general-purpose, domain-independent framework, released under the open source policy Lesser GNU Public License (LGPL), which facilitates the development of HLA Federates.
- Errata to IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA) — Federate Interface Specification
- Department of Defense (DoD) Interpretations of the IEEE 1516–2000 series of standards, Release 2 (2003-jul-01)