CreateLookUpTableFromTMProject
CreateLookUpTableFromTMProject
Creation 06/13/2019
Last update 12/14/2020
Version soft Flux 2019.1
Author PL
Reviewers PL
Introduction This document deals with how to install a macro, and how to use the
CreateLookUpTableFromTMProject macro. It will include the following
topics:
• Macro definition: CreateLookUpTableFromTMProject
• Install a macro
1
Macros
Goal of the This macro intends to create look up table of flux abc and torque versus Id, Iq
macro and rotor position. The goal is for analysis on the system part (like with
Activate for instance). It will create a new Magneto-Static project from the
magnetic transient one. In the Magneto-Static project the current is driven
with Id and Iq allowing to extract easily all the needed tables.
2
Macros
Install a macro
Installing a Once you have taken a new macro (from a colleague or from Altair web site
macro (https://altair.connect.com), you have to unzip it in the following directory
(for standard installation):
• C:\Program Files\Altair\2019\flux\Extensions\Macros
Calling a macro In order to use a macro, you have to follow the next steps:
Step Actions
1 Open Flux
2 Click on [Project] [Macro] [Load], and select the right macro
3
Macros
Input:
• Current in 3 supplies
• Select mobile mechanical set
• Select fixed mechanical set
• Max value for Id
• Number of values for Id (odd)
• Number of poles
• Number of pole pairs represented in geometry (0.5
for one pole)
• Number of stator periodicities
• Number of steps in the electric period
Output:
• Create a result OML file with name created from the
initial file (*_res.oml)
• It will also include more data such as phase
resistance, end winding inductance, electric period
and initial rotor position
Entrée:
• Courant dans les 3 sources
• Sélectionner l’ensemble mécanique mobile
• Sélectionner l’ensemble mécanique fixe
• Valeur max pour Id
• Nombre de valeurs pour Id (impair)
• Nombre de pôles
• Nombre de paires de pôles représenté dans la
géométrie
• Nombre de périodicités au stator
• Nombre de pas dans la période électrique
Output:
• Créer un fichier OML à partir du nom initial
(*_res.oml)
• Ces résultats incluent aussi la résistance de phase,
inductance de tête de bobine, période électrique et
position initiale du rotor