Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

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

Edited by: Arinomo23 - Feb-07-19 09:36:40

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.

Re: Time reference on FMU model

Thank you very much for the answer

There are 0 guests and 0 other users also viewing this topic