Linking PSIM with HyperStudy

Linking PSIM with HyperStudy

This article will act as a practical guide to integrating PSIM and HyperStudy: A dynamic duo for engineers who want to embrace data-driven design!

HyperStudy is a multi-disciplinary study and optimization software for engineers and designers. It can directly link with the PSIM solver in order to conduct trade-off studies, leverage predictive modeling and fine-tune parameters in an automated way.


  1. Design your schematic
  2. Determine the circuit parameters to investigate and their potential effects
  3. Identify the signals to investigate for their effects


  1. Access inputs and outputs of the PSIM simulation in an automated way
  2. Batch run simulations with different circuit parameters
  3. Analyze patterns in the outcome data
  4. Optimize system performance and cost-effectiveness in a user friendly manner


HyperStudy follows a specific structure and it's important to follow the exact order of the steps in order to avoid potential issues. The version of HyperStudy used is 2022.3. Let's dive right into the steps:


Step 1

Use PSIM v2022.2 or v2023.0 onwards to connect with HyperStudy. Select a circuit topology to simulate or create your own schematic from scratch. In this case, the simple buck converter will be investigated. Let’s analyze how the inductance, capacitance, load and switching frequency will impact the inductor current overshoot.



Instead of assigning specific values to the respective blocks, let’s use variable names that can be later utilized to parameterize the circuit (e.g. L, C, R, Fsw). These variables will be stored in a parameter file, in this case paramters-1.txt. The name of the parameter file is important.

Insert voltage and current probes (or flags) to save the outputs signals of your interest. Here a current flag is enabled inside the inductor and a voltage probe is used for the output voltage. Save the schematic in a project folder but don’t close the PSIM window just yet.


Step 2

Let’s move on to the HyperStudy side of things.


Inside the folder where the study is saved, you should find a "parameters-1.txt" file generated by PSIM. We'll need to modify the values within this file for each run of our study. To facilitate this process, we'll create a HyperStudy template (.tpl file) during the "Define Models" stage:






Step 3












Step 4


                In the Input Argument 1 box, type:  -i ${m_1.file_2}

                In the Input Argument 2 box, type: -o ${dirname m_1.file_1}/${root m_1.file_2}.txt






Step 5















Step 6

Now that the setup is defined, the DOE (design of experiments) can begin. DOE acts as a systematic and efficient approach for exploring the relationship between input variables and output responses. In this step, the initialized setup will batch run with different input configurations. The generated data points can be used for analysis and optimization of complex systems.






During the “Specifications” stage, you can apply numerous techniques to generate sets of input configurations for the simulation. These methods are crucial for efficiently exploring the design space and identifying the impact of various input parameters. Among the most popular options are the MELS and Sobol methods.


During the “Evaluation” stage the user can deactivate any of the 20 simulations that are about to run, by navigating to the “Evaluation Tasks” tab. The input variables for each simulation are shown in the “Evaluation Data” tab while the “Evaluation Plot” tab displays the final input data form.

The user can also activate extra tasks for each simulation such as “Create Reports”.


Once the solving process is complete, you can navigate to the “Post-Processing” window to explore various options:

  1. Visualize data to gain deeper insights into simulation results
  2. Perform sensitivity analysis to identify crucial input variables and enhance system performance
  3. Explore linear relations such as L and C values versus Overshoot Ratio



HyperStudy is a powerful tool offering extensive pre and post-processing options. It connects with various Altair solvers and once you grasp the essentials of defining your studies, it can significantly streamline your engineering tasks, regardless of your field or experience level.

You can find the zipped files of this example attached. Be sure to adjust the HyperStudy part to match your specific file paths.