Simulation setup
- Last UpdatedDec 04, 2023
- 1 minute read
The network setup defines how the communication messages are exchanged on the message bus. It has no relationship to simulation state handling.
All the nodes in a network cooperate in a simulation session runtime. However, only some nodes can modify the state of the simulation itself, such as starting, freezing, shutting down.
-
Unlike the network setup, which can have only one server, a simulation can have multiple masters.
-
It is typical to have two or three nodes working as master.
-
The bridge is automatically set as master, according to its linking function.
-
The cfg_simulation.xml file can set all the simulation node types.
Types of simulation nodes
There are two type of simulation nodes:
-
Master: Can modify the state of the simulation.
-
Slave: Can join the simulation, but cannot change its state.
Configure simulation nodes
-
Open the cfg_simulation.xml file.
-
Expand the simulation node.
-
For all the nodes involved in the simulation runtime, set the mode attribute to master or slave.
