- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Time reference on FMU model
Time reference on FMU model
Time reference on FMU model
Hallo everyone,
I would like to export a model from OpenModelica as a FMU. Inside a model there is one timmer block and a sine wave block.
On both block there is a reference to a variable time that referenced the elpased simulation time.
my question is, how does this work when i export the FMU and used it in other program (for example a software/hardware for HiL test). Is an internal time of real-time hardware would be referenced as time for these blocks? or there is someting else i've missed?
thank you in advance for your feedback
best regards
- Arinomo23
- 120 Posts
Re: Time reference on FMU model
You FMU importer decides how to deal with time. If you want real-time synchronization you implement this in the master. If you want the simulation time to be different in different connected FMUs, you can implement this as well. The FMU itself has very little knowledge about this.
- sjoelund.se
- 1700 Posts
Re: Time reference on FMU model
Thank you very much for the answer
- Arinomo23
- 120 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Time reference on FMU model