Opened 8 years ago

Last modified 8 years ago

#4406 assigned enhancement

OMEdit: Option to automatically close Simulation Completed Window

Reported by: Jan Kokert Owned by: Willi Braun
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 Jan Kokert 8 years ago.

Download all attachments as: .zip

Change History (6)

by Jan Kokert, 8 years ago

comment:1 by massimo ceraolo, 8 years ago

Another ossibility, that I would prefer, 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 1, edited 8 years ago by massimo ceraolo (previous) (next) (diff)

comment:2 by Jan Kokert, 8 years ago

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

comment:3 by massimo ceraolo, 8 years ago

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 by Adeel Asghar, 8 years ago

Component: OMEditRun-time
Owner: changed from Adeel Asghar to Willi Braun
Status: newassigned

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

comment:5 by Jan Kokert, 8 years ago

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.