CreateLookUpTableFromTMProjectDQLight3D
CreateLookUpTableFromTMProjectDQLight3D
Creation 18/10/2022
Last update
Version soft Flux 2022.2
Author PL
Reviewers NA
Introduction This document deals with how to install a macro, and how to use the
CreateLookUpTableFromTMProjectDQLight3D macro. It will include the
following topics:
• Macro definition: CreateLookUpTableFromTMProjectDQLight3D
• Install a macro
1
FLUX Macros
Macro definition :
CreateLookUpTableFromTMProjectDQLight3D
Goal of the This macro intends to create look up table of flux_dq, Ld, Lq and torque
macro versus Id, Iq and rotor position. Dynamic inductances are also computed
including cross components, with the derivative of flux_dq versus 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. At the end of the oml file in
comment there is the possibility to display Ld, Lq and torque versus Id and Iq
with Altair Compose.
2
FLUX Macros
Install a macro
Installing a Once you have taken a new macro (from a colleague or from Altair web site
macro (https://community.altair.com/community), you have to unzip it in the
following directory (for standard installation):
• C:\Program Files\Altair\2021\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
FLUX Macros
Description
4
FLUX Macros
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 1/3 de la période électrique
• Période électrique (en degrés)
Output:
• Créer un fichier OML à partir du nom initial
(*_res.oml)
• Ces résultats incluent aussi la résistance de phase,
l’inductance de tête de bobine, période électrique et
position initiale du rotor plus le script pour afficher les
tables dans Compose