Running the simulation

The simulation is launched by typing in the command line :

>> run_MANATEE('tuto_IPMSM_01')

The full electromagnetic and vibroacoustic calculation, including an estimation of the sound power level at variable speed, should not take more than 5 seconds. This is the strong advantage of MANATEE models and optimized algorithms compared to other techniques such as finite element techniques.

Once it is finished, one can see in the Matlab workspace three structures:

  • Input which contains all the simulation input data (cf. MANATEE variables Excel sheet in the Doc folder)
  • Output which contains all the simulation output data (cf. MANATEE variables Excel sheet in the Doc folder)
  • XOutput which contains some variable speed or multi-simulation output data

After the simulation, one can directly look into the structures for data. The automatic completion using tab key allows to easily navigate in the structure tree:

50. Matlab autocompletion
Matlab autocompletion


>> Output.Acoustics.LwrA
      37.2143

Alternatively one can directly put all the structure variables at the root of the workspace using the following :

>> load_all

The workspace is now full of both input and output variables

50. load_all workspace
load_all workspace

You can now directly check the values of some variables:

>> LwrA
       37.2143

To be able to directly use the plot scripts you do not need to load the variables like this, you only need the Input.Plot structure to be initialized. This is done automatically if specified in the project script (Input.Simu.is_init_plot=1), otherwise you can do it manually with :

>> plot_init

You can then use some standard plot scripts directly in command line (e.g. >> plot_machine to plot the machine) as detailed in the post-process documentation or in the plot_all.m script.

Previous Next