Open arhiv6 opened 9 years ago
There is a user in SourceForge with something along this lines: http://sourceforge.net/u/tipofthesowrd/qucs/ci/tunerdialog/tree/ He communicated a few times on the qucs-devel list. I am not sure about the status.
...last time I checked that Tuner dialog implementation, it wasmostly functional, even if somewhat prone to crashing in some situations. My feeling was that there was not much work needed to finalize it but did not have time to dig into that. Note that it restarts a new simulation every time a parameter is changed, it does not (re)use the simulation sweeps.
I suggest not to run simulation after changing settings in the tuner. I propose to start the tuner after the simulation, if the scheme has a sweep parameters. The data already in the file .dat, when changing the tuner loaded on the chart the necessary data.
resimulate after each change seemed ok to me, maybe also because at least one commercial tool does this. Of course it has the disadvantage of increased "latency" to see the new results when you change a parameter, so it works well when you have a small circuit and/or a fast machine. Your solution also makes sense, if you know upfront which are the parameters limits and steps to use, otherwise you might need to change the sweeps limits and steps several times before finding the right parameter range to explore.
So I think both options could be made available: I will call the first one (re-running simulations at each step) "tuning" and the other (display only a part of the results of [multiple] sweeps) a "data display filter".
I tend to agree with @in3otd regarding "tuning" and "data display filter". Tuning for me, at least as it is done in 2 commercial packages is a step change of a parameter and where several parameters can interact. The user needs to be able to at his convenience step through the different values. Sometimes up in value, sometimes down.
If you simulate all possible combinations before making the data available this becomes really intense of you have several parameters you are changing.
Currently my "tuner" is in a pull request. Basic functionality works but I can be made to misbehave. But since the discussion has started here on Github I'm happy to work on it some more to iron out the bugs.
[Feature request] Hi all. AWR is a handy tool - tuner. It allows you to interactively change the parameters of the components and watch the changing characteristics: http://www.youtube.com/watch?v=oNnjEAoYqkQ How can you implement a simple tuner in Qucs? Qucs has a simulation mode "Parameter sweep". Now the simulation in this mode, the graph shows all data sets, and if a lot of them - nothing is clear. Can add to the panel next to the "Set marker on graph" button "Tuner", a call which opens a small window that is similar to:
If scheme has "Parameter sweep" blocks, after the simulation calculated data are in .dat file. When you change the slider new data set is shown in the chart (without delay on the calculation).
Pseudocode: (/qucs/dialogs/tunedialog.cpp)
Anybody can implement such a feature? (Sorry, my english isn't good).