Extract From 3 DCurve
Extract From 3 DCurve
Introduction This document deals with how to install a macro, and how to use the
ExtractFrom3DCurve macro. It will include the following topics:
• Macro definition: Extract from 3D curve
• Install a macro
Goal of the This macro intends to extract some useful quantities from a 3D curve. Here is
macro an example. Let us imagine an alternator rotating at a given speed. A
parametric analysis is carried out versus different values of inductor voltage.
We can then display a 3D curve with voltage on one phase versus inductor
voltage and versus time (or here angular position).
From this curve we want to display the rms value of the voltage for each
value of the inductor voltage.
•
The goal of the macro is to be able to extract from the 3D curve, specific
quantities such as minimum, maximum, rms, mean, rectified mean and
integral.
1
Macros
Install a macro
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
2
Macros
Macro description
Input:
• Select 3D curve
• Select axis of the new 2D curve
• Select specific quantity (min, max, mean,
recitifedmean, rms or integral)
Output:
• Display a new 2D curve which is the
specified quantity versus the selected axis
Entrée:
• Selectionner une courbe 3D
• Selectionner un axe pour la courbe 2D à
afficher
• Selectionner une grandeur (min, max,
moyenne, vaeur efficace ou intégrale)
Sortie:
• Afficher la nouvelle courbe 2D en
function de l’axe choisi