Data in FMU format
1. Overview
The area FORMAT, in the EXPORT environment of Motor Factory, allows exporting data like constants, curves and maps in FMU format files.
In the current version, the test Characterization/Model/Maps can be selected for exporting data.
Constants, curves and maps” given in J d -J q plane for characterizing the 3-Phase synchronous machines with permanent magnets
are computed and exported in FMU format files.
Then, these files can be imported directly into environments like Altair® Activate ® inside block functions ready to be integrated into schemes to represent the model of the corresponding rotating electrical machine.
Thus, electrical machine and all what are concerning its environment like the drive and control command, for instance, can be represented and simulated altogether into the same area.
2. Area to export data in FMU format files
|
|
Motor Factory – EXPORT AREA – Export data in FMU format files | |
1 | Selection of the EXPORT area of Motor Factory. |
2 | Access the area (FORMAT) in which data can be exported in FMU format files. |
3 | Zone to visualize either the overview of the selected test or the corresponding user inputs/outputs parameters |
4 | 3 steps to compute and to export data in FMU format files. |
5 | Buttons to validate inputs, display a preview and export the data. |
3. Steps to build and export data in FMU format files
In EXPORT / ADVANCED TOOLS / FORMAT area 3 steps are needed to build and export data in FMU format files:
- Select the test which will be performed for building data to be exported.
- Define the test configuration, that means the user inputs/outputs parameters needed to perform the test (settings and user inputs of the considered test)
- Define the export information
4. A C/C++ compiler is needed
4.1 C/C++ compiler / System requirements
FluxMotor requires a C/C++ compiler to perform some operation for creating FMU blocs.
Here is the list of the supported Visual Studio compilers supported:
Microsoft® Visual Studio 2019, Community, Professional, Enterprise
Microsoft® Visual Studio 2017, Community, Professional, Enterprise
Microsoft® Visual Studio 2019/2017/2015: Build Tools
the option for Windows 10 SDK must be selected
Microsoft® Visual Studio C++ 2015 (VC 14.0 Express, Community and Professional)
4.2 Access path of the C/C++ Compiler
Once the C/C++ Compiler is installed on the computer, its access path must be specified in the user’s preferences.
Note: When opening FluxMotor®, if a C/C++ Compiler is already installed on the computer, the corresponding install path is automatically written in the user’s preferences.
|
|
FluxMotor / Supervisor / User’s preferences / Location of the C/C++ Compiler | |
1 | The Preferences dialog box is opened from the FluxMotor® supervisor. |
2 | Second tab is Path Preferences. |
3 | Define the location of the C/C++ Compiler on the computer |
Here is below a list of files to select in the installation directory (path) according to the Visual Studio version that you installed:
Visual Studio 2019, Community | C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat |
Visual Studio 2019, Professional | C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat |
Visual Studio 2019,Enterprise | C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat |
Visual Studio 2017, Community | C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat |
Visual Studio 2017, Professional | C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat |
Visual Studio 2017, Enterprise | C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat |
Microsoft® Visual Studio C++ 2015 Express | C:\Program Files (x86)\Microsoft Visual Studio\14.0\VC\Build\vcvarsall.bat |
Microsoft® Visual Studio C++ 2015 Community | C:\Program Files (x86)\Microsoft Visual Studio\14.0\VC\Build\vcvarsall.bat |
Microsoft® Visual Studio C++ 2015 Professional | C:\Program Files (x86)\Microsoft Visual Studio\14.0\VC\Build\vcvarsall.bat |
Microsoft® Visual Studio 2019, Build Tools | C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat |
Microsoft® Visual Studio 2017, Build Tools | C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat |