Since version 2026, Flux 3D and Flux PEEC are no longer available.

Please use SimLab to create a new 3D project or to import an existing Flux 3D project.

Please use SimLab to create a new PEEC project (not possible to import an existing Flux PEEC project).

/!\ Documentation updates are in progress – some mentions of 3D may still appear.

SimLab Tutorial: RMM 2D Impact of PWM losses on PM motors

Description

This study case analyzes the effect of the harmonics in PWM currents on an e-Machine. The workflow is:

  • Run a Reduced Motor Model in SimLab to obtain look up table
  • Import look up table and run a System analysis to obtain PWM currents for a given working point
  • Implement those PWM currents in a SimLab TM solution and compute emag performances

These TM results can then be used in an NVH or CFD simulation to analyze the effect of PWM harmonics on the motor multiphysics.

Analysis

Here are the results according to the steps.

Step Description Illustration
1 Run Reduced Motor Model:
  • Analyze motor characteristics
  • Obtain Look Up Tables
  • Possible for 2D or Skew model
2 Import in PSIM:
  • Use dedicated Flux coupling in PSIM to import the model
  • Run system analysis of the model to get true PWM waveforms
3 In SimLab import waveforms to MT2D:

Easily import the inputs waveforms from PSIM in SimLab

4 Emag performance (MT2D):

Setup the transient simulations to check the influence of the actual waveforms on motor Emag performance

5 NVH and Thermal analysis:

Couple the transient analysis with NVH or CFD/Thermal analysis to check the influence of system of motor performance.

Example access

All files corresponding to this example are accessible in the following link: Tutorial package.

Note: The tutorial packaging may evolve with each new version, but not mandatory. The latest version of the tutorial package will automatically work with the most recent release of SimLab.

Example: After installing the SimLab 2025 release, you can find the latest Tuto_2024.zip package. This means that the tutorial has not been updated since 2024 release, that the tutorial does not need to be updated, and that the tutorial still works in 2024.1 release and 2025 release.

Step to follow:

  • to follow the example step by step, the corresponding files are in "Example_name_StepByStep" folder containing:
    • Input folder: contains initial *.slb databases an other files needed to be able to play manually the tutorial by following the step by step document
    • Output folder: empty (contains the obtained results after to play the tutorial)
    • Tutorial folder: contains the document describing the example step by step
  • to play the tutorial by scripts, the corresponding files are in "Example_name_PlayScripts" folder containing:
    • Input folder: contains initial *.slb databases an other files needed to be able to run scripts of the tutorial
    • Output folder: empty (contains the obtained results after to play scripts of the tutorial)
    • ScriptsTutorial folder: contains script files to be able to play each analysis