Char. Model - Motor - Maps - Look-up tables

1. Import FMU data in Altair® Activate® - Overview

Once FMU files are generated by FluxMotor®, they can be imported in environments like Activate®.

This section explains how FMU files generated from FluxMotor are used in Activate®.

The FMU file of the D-axis flux is taken as an example.

First, Activate is opened.

Either start creating a new project via a newly modeling window or open an existing scm file.

To use FMU files from FluxMotor®, locate the FMU block in the palettes of the System library.

2. SelectView> Palette Browser



The Palette Browser displays the installed library palettes.

3. Double-click Activate >CoSimulation.

The Palette Browser displays the blocks available in the CoSimulation palette.

4. Select theFMUblock, then drag and drop it into the modeling window.

You could also, write down “FMU” in the quick search field.

5. Double-clickon the FMU dragged in the modeling window, or right-click, and from the context menu, select Parameters.



Then:

  • In General parameters > FMU filename, indicates the path to the D-axis flux FMU (the directory in which the FMU file is located).
  • All the information regarding the D-axis flux FMU appears along with a new content under the name parameters appears.

In this area, you can set the boundaries of the quadrant by choosing a value from 0 to 3.

These boundaries reflect the FMU response when you are outside the quadrant in which the calculations were made.

The meaning of each value is listed in the table that follows:

Value Meaning
0 NAN
1 Zero
2 Hold
3 Linear extrapolation

All the information related to the resolution of the test map can be seen by clicking on the info tab.



The FMU generated will have its inputs and output. The D-axis flux FMU in Activate will look like this:



Along with FMU files, an oml file that contains the most important constant values of the test map is generated. These values can be loaded and used in the Activate model by executing the oml file.

This oml file could be read in Activate diagram home by indicating its path and using the function run as follow:

run('D:\UserFolder\Export_FMU\FMU_AD\oml\constants.oml')