Community header

Forum

Batch simulations

Victor Chavarrias, 4 Jaren geleden aangepast.

Batch simulations

Famous Fortune teller Berichten: 97 Aanmelddatum: 24-4-20 Recente berichten
Hi, 

I have received the following questions:

  • Can I perform a simulation directly by using an input.mat? 
  • Can I make a new input file directly (new input.mat) using an old one? This might be easier that changing (and storing under a different name) input_ELV every time.
  • Can I perform multiple simulations (batching)? I thought single_run_ELV might be used for that as a base. But couldn’t figure that out. Do you have a sample input/script?

I have done it before, but the code has evolved and I have not updated these scripts, so my old scripts will not work. It is simple.
  1. Create a reference input file (i.e., 'input_ELV.m'). 
  2. Save the input variable (i.e., 'input.mat') or run the simulation for this to be done automatically.
  3. Create a script modifying script 'oh_ELV_please_run'. Make it to load the reference input variable, and change the parameters you want to change before calling 'run_ELV'.