while (simulation still in progress) |
invoke Next Event Request (Tlocal = time stamp of next local event) |
RTI delivers next TSO event w/ time stamp Š Tlocal if any exist (+ others w/ same time stamp) |
RTI advances federate's logical time, invokes Time Advance Grant |
if (TSO message(s) delivered in above Next Event Request service call) |
process the remote event(s) delivered to the federate |
else process next local event |
Goal: merge TSO messages (events from other federates) with local events so all events are processed in time stamp order |
RTI |
federate |
TSO |
messages |
local |
events |
logical |
time |
current |
time |
next |
local |
event |
next |
remote |
event |
Tlocal |