Cancel
Showing results for 
Search instead for 
Did you mean: 

Autochange parameters in Amesim

Experimenter
Experimenter

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

3 REPLIES

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:

https://community.plm.automation.siemens.com/t5/1D-Simulation-Forum/bd-p/Simcenter_1D_forum

 

kind regards,

 

Dennis

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:

Amesim_scripting.jpg

 

 [Edit]

 

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,
      image.png

    5.  

      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

       

    7.  

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

    8.  Launch the simulation. 

       

      image.png

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

       image.png

       

    10.  In the plot window, you can also compare results by clicking on the batch plot button 

       image.pngimage.png

 

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,

 

Thomas