Opened 7 years ago

Last modified 7 years ago

#4406 assigned enhancement

OMEdit: Option to automatically close Simulation Completed Window

Reported by: janK Owned by: wbraun
Priority: high Milestone: Future
Component: Run-time Version:
Keywords: close SimulationCompleted window Cc:

Description

When I tune parameters and re-simulate very often, the Simulation-Completed-Window is totally annoying, even if we can close that now with the [ESC] key (see sceenshot).

Is it possible to add an option, that this window closes automatically if there were no errors?
Warnings like
"LOG_NLS_V | warning | <p>Warning: maximal number of iteration reached but no root found</p>"
are ok for me. I really don't need to see them again and again and again and again...
(https://youtu.be/9VDvgL58h_Y)

Attachments (1)

SimulationCompletedWindows.png (47.6 KB) - added by janK 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by janK

comment:1 Changed 7 years ago by ceraolo

Another ossibility, that i would prefe, is that the option just closes the "simulation completed" window immediately before opening a new one then a new simulation starts.
This way, with this option set (which should be the default, IMO) one has always access to the last simulation ouput; otherwise to all of them (the current behaviour).

Version 0, edited 7 years ago by ceraolo (next)

comment:2 Changed 7 years ago by janK

This sounds very good! - as users can also backtrack old results as we have the tab "achieved simulations"

comment:3 Changed 7 years ago by ceraolo

I want to add a few words to the warning:

"Warning: maximal number of iteration reached but no root found"

It may occur many times in a single simulation, even hundreds (in case of need I have an example to share). Indeed, it is not useful to have a very long list of messages all equal to each other.

I have two proposals

1) minimal proposal instead of writing every instance of that warning, just count them and tell the user, at the end of simulation, the number of them

2) full proposal

a) every time that warning is generated complete the message with indication of the time at which the issue is detected to occur

b) warnings at different times are sequentially displayed, with the timing information, up to a maximum (e.g. 10), then they are just counted and the count reported at the end of simulation

I understand that the fixed number I wrote above (e.g. 10) is bad because it cannot accommodate all needs. Since the issue of too many equal warnings can occur also in other situations, the "number of maximum equal warnings" could be an user option, with the default of 10. Now it would apply to this ticket's warning, in the future to other similar cases that may arise.

Finally: Is it "number of iteration" or "number of iterations"?

comment:4 Changed 7 years ago by adeas31

  • Component changed from OMEdit to Run-time
  • Owner changed from adeas31 to wbraun
  • Status changed from new to assigned

Option to automatically close the completed simulation windows is added in 81a9ecf/OMEdit.

comment:5 Changed 7 years ago by janK

Finally: Is it "number of iteration" or "number of iterations"?

It is iteration, so and s is missing.

Option to automatically close the completed simulation windows

Well done!

Note: See TracTickets for help on using tickets.