This example shows a test harness for a Permanent Magnet Synchronous Motor (PMSM) that validates that the iron losses are as expected. The open-circuit test validates the main flux path losses which are defined to be 500W due to hysteresis and 1500W due to eddy current losses. The short-circuit test validates the cross-tooth flux path losses which are defined to be 200W due to hysteresis and 600W due to eddy current losses.
The plot below validates that the iron loss parameters entered into the FEM-Parameterized PMSM block provided the expected behavior in simulation. The sum of the parameter values relevant for the respective test match the transient simulation results.
Warning: The file containing block diagram 'ee_motor_pmsm_iron_losses' is shadowed by a file of the same name higher on the MATLAB path. This can cause unexpected behavior. For more information see <a href="matlab:helpview([docroot '/toolbox/simulink/helptargets.map'], 'shadowing')">"Avoiding Problems with Shadowed Files"</a> in the Simulink documentation. The file containing the block diagram is: /mathworks/devel/bat/Bdoc20a/build/matlab/toolbox/physmod/elec/eedemos/ee_motor_pmsm_iron_losses.slx. The file higher on the MATLAB path is: /mathworks/devel/bat/Bdoc20a/build/matlab/toolbox/physmod/elec/eedemos/html/ee_motor_pmsm_iron_losses.m