Opened 10 years ago

Last modified 3 years ago

#2983 reopened enhancement

Show simulation results while running the simulation

Reported by: A.Taeschner@… Owned by: Adeel Asghar
Priority: normal Milestone:
Component: OMEdit Version: trunk
Keywords: Cc: A.Taeschner@…

Description

It would be great to be able to display the current results of a simulation in OMEdit while it is running. This is especially useful when testing slow models where it is not clear whether they work correctly.

An additional feature would be to be able to stop the simulation without loosing the results.

Being able to pause/resume a simulation would be also a nice feature.

Change History (12)

comment:1 by A.Taeschner@…, 10 years ago

Cc: A.Taeschner@… added

comment:2 by Lennart Ochel, 10 years ago

One of the output formats is called "ia". This output format does not generate any file but sends the simulation results via a simple TCP/IP protocol. I am using it for displaying simulation results on the fly.

in reply to:  2 ; comment:3 by A.Taeschner@…, 10 years ago

Replying to lochel:

One of the output formats is called "ia".

This output format is not accessible via OMEdit (and not documented for the shell) yet. If it would be included into OMEdit it would be necessary to also include some kind of export option to the plot window, in order to be able to generate a file after the simulation has ended (this would be also nice if one wants to generate cvs files for older simulations which produced mat files).

in reply to:  3 comment:4 by Lennart Ochel, 10 years ago

Replying to A.Taeschner@…:

Replying to lochel:

One of the output formats is called "ia".

This output format is not accessible via OMEdit (and not documented for the shell) yet. If it would be included into OMEdit it would be necessary to also include some kind of export option to the plot window, in order to be able to generate a file after the simulation has ended (this would be also nice if one wants to generate cvs files for older simulations which produced mat files).

I don't think that Adeel will integrate it into OMEdit, since there are probably smarter ways of doing it.

comment:5 by Adeel Asghar, 6 years ago

Milestone: Future1.13.0
Resolution: fixed
Status: newclosed

We now have interactive simulation available.
Also we have now the feature to export the selected variables results to the csv file.

comment:6 by Francesco Casella, 6 years ago

I'm not really sure if interactive simulation is the solution to this issue, which I understand could be summarized with this statement:

please show me the simulation results that have been computed so far

Synchronous interactive simulation adds real-time constraints which are not required here. As to a-synchronous simulation, in the documentation I read

The asynchronous mode simply tells the simulation to run and samples variables values in real-time

I'm not sure sampling is a good idea here: for example, if the simulation is going bad because of chattering, sampling could introduce artefacts due to aliasing.

I'll play with this a bit and possibly add some more comments later

in reply to:  6 comment:7 by Alexander Täschner <A.Taeschner@…>, 6 years ago

Resolution: fixed
Status: closedreopened

Replying to casella:

please show me the simulation results that have been computed so far

This is exactly the correct summary of the issue. Therefore, I also don't see how the interactive simulation is a solution to this issue. Desired is to show the simulation results as soon they are available, while the simulation is running in the background.

comment:8 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:9 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:10 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:11 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:12 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.