Hi, dear colleagues! Does somebody know how to realize in Amesim an "automatic" change of some model parameters after simulation and then resimulate it?
I would sugest you ask this question on the 1D Simcenter Forum, you'll probably get more response there:
The best way to achieve this is to use Amesim scripting facilities.
Easiest way is to use Python scripting or Matlab.
Some demos are availble:
And for simple pre-defined parameter evaluation you should use batch parameters window.
In Parameter or Simulation mode press CTRL+B, you can then drag and drop parameters in this window and define several run. In Simulation mode, Run Parameters switch the analysis from Single run to Batch run.
In LMS Imagine.Lab Amesim, you have a batch feature.
A window will appear, where you can drag&drop parameters,
Define the different values for each parameter. Each set represent 1 simulation,
Go in simulation mode, and in the simulation parameters (button next to the launch simulation )
In the new window, select batch,
In the batch options, you can visualize your parameter settings and select which simulation you want to run,
Launch the simulation.
Finally, in each submodel variable window, you can select which results you want to visualize, (ref: single run simulation, numbers: batch number)
In the plot window, you can also compare results by clicking on the batch plot button
One of the advantages, is that you can use the parallel processing feature available in LMS Amesim. You will be able to save simulation time.
I recommend you to read LMS Amesim manual where all this process is described with more details.
I hope to have answered your question.