-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get the IMSim execution control method working #133
Comments
We are basing our TSFOM implementation off of the IMSim. We'd be interested in the inclusion of the CTE that the SpaceFOM examples just got too :) |
You can already use the CTE Timeline classes provided your ExecutionControl class extends the TrickHLA::ExecutionControlBase class that has the cte_timeline instance variable defined. The default IMSim ExecutionControl class already does this. However, I have not tested that IMSim is using the CTE Timeline correctly though. We kind of gloss over why CTE would be used and what the constraints are for running with multiple simulations with realtime clocks and not causing overruns and the requirement that all clocks must be synchronized. Although we cover HLA time management and how it is used for ensuring a deterministic and repeatable simulation I don't think we dive into the details about using CTE without HLA time management and how you are not guaranteed to get repeatable sim runs, which is not what you want when doing verification and validation. This may be adequate for other uses of the distributed simulation though. For SpaceFOM we use HLA Time Management in conjunction with CTE (when needed) to ensure a deterministic and repeatable distributed simulation even when running faster than realtime. Perhaps there is a paper we could write some day to cover the fundamentals. Looking at the sims/SpaceFOM/SIM_sine_cte simulation as an example:
|
Awesome. I'll be implementing something like this in both our SpaceFOM and TSFOM versions of the sim in the coming months and really appreciate the steps. |
The IMSim execution control method is not working. This needs to be fixed. This implementation will be based off of the IMSim document in the docs/IMSim directory.
The text was updated successfully, but these errors were encountered: