FS messages

Messages from Federate Starter (FS)

The Federate Starter that is responsible to start en stop processes on a local node sends the following messages:

FS.1 RequestStatus (to MC)

Variable Fld Type Comments

This message is sent by the Federate Starter to the Model Controller until a “started” response is received from the Model. Since the message type id clarifies the function of this message and no information exchange is necessary, the payload field can be empty (number of fields = 0).


FS.2 FederateStarted (to FM, in response to FM.1)

Message sent by the Federate Starter to the Federation Manager in response to message FM.1.

Variable Fld Type Comments
instanceId 8 String(9) The sender id of the model that was started or had an error while starting. This is exactly the same as the instanceId sent by the Federation Manager in the Start Federate message.
status 9 String(9) A string that refers to the model status. Four options: “started”, “running”, “ended”, “error”.
modelPortNumber 10 short(1) Port number of the model, so the FederateManager can connect to the model on this port for further simulation messages.
error 11 String(9) Optional. If there is an error, the error message is sent as well. Otherwise this field is an empty string.


FS.3 KillModel (to MC)

The message is sent by the federate starter to a Model Controller. The number of extra fields is zero.

Variable Fld Type Comments


FS.4 FederateKilled (to FM, in response to FM.8)

Variable Fld Type Comments
instanceId 8 String(9) Id to identify the model instance that was killed, e.g. "IDVV.14".
status 9 Boolean(6) A boolean that indicates whether the federate has been successfully terminated.
error 10 String(9) If ‘status’ is False, an error message that specifies the problem. Otherwise, an empty string.


FS.5 FederatesKilled (to FM, in response to FM.9)

Variable Fld Type Comments
status 8 Boolean(6) A boolean that indicates whether all federates have been successfully terminated.
error 9 String(9) If ‘status’ is False, an error message that specifies the problem. Otherwise, an empty string.