OpenModelica / OMSimulator

The OpenModelica FMI & SSP-based co-simulation environment.
Other
71 stars 51 forks source link

Add some stats on SSP model executions #913

Open jph-tavella opened 3 years ago

jph-tavella commented 3 years ago

When the user runs a SSP model containing several FMUs, some stats on this execution should be interesting for him/her to tune the model. According to the FMI standard, some states are defined in the state machine of the FMI for Co-Simulation. Main states are:

It should be interesting to calculate and report the time spent on each of these states, at least for all FMUs (possibly for each FMU too). In addition for the stepping state, the number of doStep() and the number of rollbacks should be also helpful (peraphs also the minimum and maximum step size too).

lochel commented 3 years ago

@jph-tavella I also think those stats would be useful. Stay tuned 😀

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

jph-tavella commented 3 years ago

Maybe could be attached to future OMSimulator work plan being defined between EDF & OSMC?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

jph-tavella commented 2 years ago

@lochel: on 26 Feb 2021 you commented these stats would be useful. Do you have any target date for delivering them in the tools?

arun3688 commented 2 years ago

WIP