0% found this document useful (0 votes)
4 views7 pages

FindOutMaxSpeed_Imax_Angle

This document provides instructions on how to install and use the FindOutMaxSpeed_Imax_Angle macro, which determines the maximal speed in the Torque vs Speed curve from an unresolved Flux Project. It outlines the requirements for the macro to function, including necessary project conditions and input parameters. Additionally, it details the installation path and steps to load and run the macro within the Flux software.

Uploaded by

Cầu Cao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views7 pages

FindOutMaxSpeed_Imax_Angle

This document provides instructions on how to install and use the FindOutMaxSpeed_Imax_Angle macro, which determines the maximal speed in the Torque vs Speed curve from an unresolved Flux Project. It outlines the requirements for the macro to function, including necessary project conditions and input parameters. Additionally, it details the installation path and steps to load and run the macro within the Flux software.

Uploaded by

Cầu Cao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Macros

How to use macro: FindOutMaxSpeed_Imax_Angle?

Creation 05/05/2018
Last update 14/06/2018
Version soft Flux V18
Author TA
Reviewers

Introduction This document deals with how to install a macro, and how to use the
FindOutMaxSpeed_Imax_Angle macro. It will include the following topics:
• Macro definition: FindOutMaxSpeed_Imax_Angle
• Install a macro

1
Macros

Macro definition: FindOutMaxSpeed_Imax_Angle

Goal of the This macro allows to find out the Maximal speed in the Torque Vs Speed
macro curve starting from an unresolved Flux Project, as a follow-up to the macro
findoutcornerpoint_Imax_Angle that computes the corner point.

Figure 1 : efficiency Map Example : Torque (Nm) Vs Speed (rpm) with


representation of the corner point and speed max

The macro runs a set of computation vs angular position, speed and angle,
creates tabulated parameters: Torque/Speed, Angle/Speed, Voltage/Speed and
generates a variation parameter containing the Maximal Speed

Figure 2: Interface of FindOutMaxSpeed_Imax_Angle macro


2
Macros

Figure 3: Example of the superimposition of the “voltage RMS Vs angle” curves

Figure 4: Example of curve of the tabulated parameter “Voltage/Speed”

Figure 5: Example of the Output generated at the end of the macro execution
(Input Data, Output Data)

3
Macros

Requirements In order for this macro to function properly, the following conditions on the
of the macro Flux project are obligatory:
-Presence of a solving scenario controlled only by position of a
mechanical set: Rotor
-Presence of a circuit containing current supplies
-Presence of defined variation parameters for: speed, angle and Imax,
which must be piloted by the scenario.

Figure 5: Example of the project geometry

Figure 6: Example of the project Circuit

4
Macros

Install a macro

Path Macros delivered with Flux are directly installed in folder :


Installation C:\Program Files\Altair\2020\flux\Extensions\Macros

(If Flux is installed at the path proposed by default C:\Program Files\Altair)

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 To run a macro, you have to click on [Project] [Macro] [Run]

Then select the macro you want to run.

5
Macros

Macro description

Folder Macros Description


Macro FindOutMaxSpeed_Imax_Angle.PFM find out the Maximal speed in the Torque Vs
Speed curve starting from an unresolved
Flux Project.

Input:
• Current Source
• value of Imax
• value of SpeedMin
• value of SpeedMax
• the step value of the speed
• value of the Vrms max of the inverter
• Solving Scenario
• the user's defined variation parameter for
speed
• the user's defined variation parameter for
the angle
• the user's defined variation parameter for
the maximal current
• value of AngleMin
• value of AngleMax
• value of Angle Step Value
• the extension of the name of the file (for
example ‘solved’)

Output:
• Variation Parameter containing the
Maximal speed

6
Macros

Dossier Macros Description


Macro FindOutMaxSpeed_Imax_Angle.PFM Trouver la vitesse maximale dans la courbe
du couple en fonction de la vitesse, partant
d’un projet Flux non résolu

Entrée:
• Source de courant
• Valeur de Imax
• Valeur de SpeedMin
• Valeur de SpeedMax
• Valeur du pas pour la vitesse
• Valeur de Vrms max de l’onduleur
• Scenario de resolution
• Le paramètre défini par l’utilisateur
pour la vitesse
• Le paramètre défini par l’utilisateur
pour l’angle
• Le paramètre défini par l’utilisateur
pour le courant maximal
• Valeur de AngleMax
• Valeur de AngleMin
• Valeur de pas pour l’angle
• L’extension du nom du fichier (par
exemple ‘solved’)

Sortie:
• Paramètre d’entrée/sortie qui contient la
valeur de vitesse maximale

You might also like