Showing results for 
Search instead for 
Did you mean: 

Autochange parameters in Amesim


Hi, dear colleagues! Does somebody know how to realize in Amesim an "automatic" change of some model parameters after simulation and then resimulate it?


Re: Autochange parameters in Amesim

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello @Vladislav_A,


I would sugest you ask this question on the 1D Simcenter Forum, you'll probably get more response there:


kind regards,



Dennis de Brouwer
Application Support Engineer
GTAC EMEA - Siemens Industry Software

Re: Autochange parameters in Amesim

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @Vladislav_A

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.

Re: Autochange parameters in Amesim

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi Vladislav,


In LMS Imagine.Lab Amesim, you have a batch feature.


    1. To configure it, you must be in parameter mode or simulation mode,
    2. Then go in Menu->Settings->Batch parametersimage.png
    3. A window will appear, where you can drag&drop parameters,

    4. 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 image.png)

    6.  In the new window, select batch,image.png



      In the batch options, you can visualize your parameter settings and select which simulation you want to run, 

    8.  Launch the simulation. 



    9. Finally, in each submodel variable window, you can select which results you want to visualize, (ref: single run simulation, numbers: batch number)



    10.  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.


Best regards,