Videos > How to Automate Current Datasets for Each Parametric Case in Ansys Maxwell
Jul 16, 2025

How to Automate Current Datasets for Each Parametric Case in Ansys Maxwell

Hello, this is Batan from Ozen Engineering. In this video, I will demonstrate how to automate different current datasets in Ansys Maxwell using a Benelli Electric Motor. This workflow can be applied to other projects in Ansys Maxwell as well.

Steps to Import Datasets into Ansys Maxwell

  1. Click on Maxwell 2D or the relevant tool name in your project.
  2. Navigate to the Design Datasets section.
  3. A window will pop up; click the Import button to bring in your datasets.
  4. Sample datasets are available on the Ozen Engineering blog website.
  5. Edit the imported datasets by clicking the Edit button.
  6. Once all datasets are imported, close the windows and proceed to the Excitation section to assign automation.

Assigning Automation

In the Excitation section, we need to write a function that calls the imported datasets. The PWL periodic function is used to load them with the time steps. In this example, I assign the speed parameter to call the different datasets. You can use the same function for other phases as well.

Analyzing Results

  1. Create a parametric analysis that sweeps the speed from 2000 to 8000 rpm in 2000 rpm steps.
  2. Run the simulation to see the results.
  3. Once the simulation is complete, generate different waveforms for your simulation.

Results Overview

  • I have created a plot showing:
    • Current excitation for each waveform
    • Phase currents for a 3-phase system
    • Torque values
  • The torque value, represented by the black dashed line, shows the default waveform, while the red line shows the harmonic content.
  • The harmonic content increased the peak-to-peak torque value of the electric motor by 23 Nm.
  • I also plotted the core loss results with a pure sinusoidal waveform at 4000 rpm to compare datasets that include harmonic content.
  • The blue line shows the pure sinusoidal waveform, and the red line shows the harmonic waveform. The difference between the two excitations is nearly 28%.

Further Applications

This automation method can also be used for other aspects of electric motor analysis, such as:

  • NVH performance under SPWM excitation using Ansys Mechanical to analyze different harmonics and sound power levels under various frequencies.
  • Thermal performance analysis using Ansys Fluent due to increased core losses.

If you are interested in these topics, please contact us at Ozen Engineering for more information. Thank you for watching!

[This was auto-generated. There may be mispellings.]

Hello, this is Batan from Ozen Engineering. In this video, I will show you how to automate different current datasets in Ansys Maxwell. Here, I will be demonstrating a Benelli Electric Motor, but you can use the same workflow for other projects in Ansys Maxwell.

The first step to import your datasets into Ansys Maxwell is to click on Maxwell 2D or the relevant tool name in your project and go to design datasets. A window will pop up; here, click the import button to bring in your datasets.

I have provided sample datasets on the Ozen Engineering blog website. You can edit the imported datasets by clicking the edit button. Once all the datasets are imported, close the windows and go to the excitation section to assign the automation.

Here, we need to write a function that calls the imported datasets. In this function, the PWL periodic function is used to load them with the time steps. In this example, I assign the speed parameter to call the different datasets. You can use the same function for the other phases as well.

Now, let's see the results. First, create a parametric analysis that sweeps the speed from 2000 to 8000 rpm in 2000 rpm steps. After creating the parametric analysis, you need to run the simulation to see the results.

Once the simulation is complete, you can generate different waveforms for your simulation. I already created one plot that shows the current excitation for each waveform, the phase currents for a 3-phase system, and the torque values.

The torque value here, the black dashed line, shows the default waveform, and the red line shows the harmonic content. As can be seen, the harmonic content increased the peak-to-peak torque value of the electric motor by 23 Nm.

I also plotted the core loss results with a pure sinusoidal waveform at 4000 rpm to compare the datasets that include the harmonic content. The blue line shows the pure sinusoidal waveform, and the red line shows the harmonic waveform.

As you can see, the difference between the two excitations is nearly 28%.

As I showed the automation or the function in this video, this automation method can also be used for other aspects of electric motor analysis, such as NVH performance under SPWM excitation using Ansys Mechanical to see the different harmonics and sound power levels under different frequencies, or the thermal performance compression using Ansys Fluent due to the increased core losses.

If you are interested in these topics, please contact us at https://ozeninc.com/contact for more information. Thank you for watching!