Export Reduced order model of Electric Motor for Drive design

Altair HyperWorks How-To
28 Jun 202410:19

Summary

TLDRThe video discusses various methods for generating lookup tables from motor simulations using Flux and FluxMotor software. It explains how to export OML files, FMU blocks, and lookup tables for system analysis in tools like Activate and Compose. The steps involve solving a motor project, exporting data, and using macros for creating performance maps based on current and rotor position. Additionally, it highlights improvements in exporting these tables and formats (OML, FMU, MAT) for better integration with simulation tools, focusing on making motor analysis more efficient and accurate.

Takeaways

  • 🛠️ The session focuses on generating lookup tables for motor models using Flux and Flux Motor tools.
  • 📂 Several export formats are available, including OML files, FMU blocks, CSV files, TXT files, and lookup tables.
  • 💻 To export an OML file, the Flux project must be solved first, and the export process involves selecting parameters and formats.
  • 🔧 FMU blocks can also be exported, allowing for integration with simulation environments like Activate.
  • 📊 Lookup tables can be generated from transient projects using macros, which map performance metrics like torque and inductance based on current and rotor position.
  • ⚡ Parallel computing is recommended to speed up the lookup table generation process and optimize computation time.
  • 🔄 Lookup tables in Flux Motor are generated to simplify motor analysis in system-level simulations.
  • 🛠️ Users can configure tests and working conditions in Flux Motor before exporting lookup tables.
  • 📂 The exported formats from Flux Motor include FMU blocks (dedicated to Activate or generic), MAT files, and M files.
  • ⚙️ Recent improvements in Flux Motor allow the consideration of rotor position for more accurate motor performance results.

Q & A

  • What are the different file formats available for export in Flux?

    -The available formats for export in Flux include OML files, FMU blocks, CSV files, TXT files, and lookup tables.

  • What is the first step to generate an OML file in Flux?

    -The first step to generate an OML file is to solve the Flux project. After that, the user can go to the data exchange menu and export the data table.

  • What should be ensured when using an OML file in Activate?

    -When using an OML file in Activate, ensure that both the Activate project and the OML file are in the same folder and check if the variables were located correctly.

  • What is the purpose of the FMU block export in Flux?

    -The purpose of the FMU block export is to create a model that can be used in system simulations. This feature is available in both 2D and 3D modules of Flux.

  • What steps are needed to generate an FMU block in Flux?

    -To generate an FMU block, first solve the Flux project, then go to data exchange, select the export FMU block option, and provide the necessary input and output parameters.

  • What is the goal of using a macro to create a lookup table in Flux?

    -The goal of using a macro is to create a lookup table from a transient project, specifically for the flux, inductance, and torque in DQ axis as a function of the current and rotor position.

  • What are the three types of macros available in Flux?

    -The three types of macros available in Flux are for 2D, 3D, and DQ axis applications. These macros help create lookup tables for various parameters like flux, inductance, and torque.

  • What is recommended when using a macro in Flux to reduce computation time?

    -It is recommended to use parallel computing when running a macro in Flux to decrease computation time and improve efficiency.

  • What are the steps to export a lookup table in Flux Motor?

    -In Flux Motor, the steps to export a lookup table include selecting the export area, defining the working conditions, and choosing the export format, such as FMU block or MAT file.

  • What improvements were made in the latest version of Flux Motor for exporting lookup tables?

    -The latest version of Flux Motor allows users to consider the rotor position dependency during export, which leads to more accurate results.

Outlines

00:00

🛠️ Introduction to Generating Lookup Tables in Flux and FluxMotor

This paragraph introduces the video topic, focusing on creating lookup tables for motor models using Flux and FluxMotor software. It highlights different file formats available for export such as OML, FME block, CSV, and TXT. The process begins with generating an OML file through a parametric scenario in Flux, and then following specific steps to export data. The steps involve solving the Flux project, selecting export options from the data exchange menu, and saving the desired file formats. The description also includes steps for importing the generated files into Activate or Compose environments.

05:01

📂 Exporting the FMU Block for Motor Models

This paragraph explains how to export an FMU (Functional Mock-up Unit) block, which is available in both 2D and 3D versions of Flux. To generate this, a parametric scenario must be solved. The user can then export the FMU block by selecting the appropriate options in the data exchange menu, providing the name and path of the block, and configuring input/output parameters. An example application of the FMU block is demonstrated in Activate, where the block can be edited and validated for system-level analysis.

Mindmap

Keywords

💡OML File

An OML file is a format for exporting data in Flux, a software for electromagnetic and thermal simulations. It allows the user to export data from a project, such as 2D, 3D, or transient models. In the video, the OML file is discussed as a key export option that can be generated by solving a project and selecting the export format from the data exchange menu.

💡FMU Block

FMU (Functional Mock-up Unit) Block refers to a data block export format that can be used in system-level simulations. The video explains that this export option is available in Flux, allowing the user to generate FMU blocks from a solved project, which can then be used in co-simulation environments like Activate and Compose for system-level analysis.

💡Lookup Table

A lookup table is a pre-calculated data set that allows for quick retrieval of values based on inputs, often used to simplify complex models. The video describes how lookup tables are generated from Flux or Flux Motor projects and can be used to represent motor characteristics, such as torque or inductance, as a function of current and rotor position.

💡Flux Motor

Flux Motor is a specialized software tool for motor design and analysis. In the video, it is highlighted as a platform that allows users to export lookup tables of motor characteristics for system-level simulations, providing more accurate motor behavior modeling through various export formats like FMU blocks or MAT files.

💡Macro

A macro is an automated sequence of commands used to simplify repetitive tasks in software. The video mentions macros as a method for generating lookup tables from transient motor simulation projects in Flux. Macros are used to automate the process of creating data maps for motor performance parameters, such as flux and torque.

💡DQ Axis

The DQ axis refers to the direct-quadrature axis representation of motor currents and flux, often used in motor control and analysis. In the video, it is explained how lookup tables for motor performance are created based on the DQ axis currents and rotor position, allowing for accurate modeling of motor characteristics.

💡Transient Project

A transient project involves simulations where variables change over time, such as in dynamic motor analysis. In the video, transient projects are used to generate lookup tables by running macros. The transient data collected from these projects helps in creating more accurate models of motor performance over time.

💡Parallel Computing

Parallel computing is a method of performing multiple calculations simultaneously to reduce computation time. The video recommends using parallel computing when generating lookup tables in Flux, as it significantly decreases the time required to solve complex simulations and export data.

💡Activate

Activate is a system simulation tool that integrates with Flux to analyze system-level performance using FMU blocks or OML files. The video explains how users can export data from Flux projects and import it into Activate for further simulation of motor systems within a larger context, such as control systems.

💡MAT File

A MAT file is a format used for storing data in MATLAB. In the video, MAT files are discussed as one of the export options for motor simulations in Flux, allowing for seamless integration with MATLAB environments for further analysis or system simulations, particularly in motor performance evaluation.

Highlights

Introduction to generating lookup tables using Flux and Flux Motor with various export formats like OML, FMU block, CSV, and text files.

OML file export is available in both 2D and 3D modules, allowing users to export data once a parametric scenario is solved.

Steps to export data in Flux include solving the project, selecting export options, choosing the file format, and determining input/output parameters.

OML file can be used in the Activate environment, ensuring the Activate project and OML file are stored in the same folder.

Flex provides direct functionality to open OML files in Activate without additional steps.

FMU block export feature, available for several versions of Flux, enables easy integration of motor models into system-level simulations.

To export an FMU block, the user provides the block name, file path, and input/output parameters for integration.

Lookup tables can be generated from transient projects using macros in Flux, providing data for DQ axis inductance, torque, and rotor position.

Macros for lookup table creation are available for both 2D and 3D modules, and for system analysis in motor models.

Using parallel computing is recommended when running macros to reduce computation time.

Flux Motor also provides options to export lookup tables, simplifying motor analysis and integration into system models.

The lookup table export process in Flux Motor includes selecting test configurations, defining motor working conditions, and choosing export formats.

Flux Motor supports exporting FMU blocks compatible with both Activate and other simulation tools, as well as mat files for environments like PSIM.

New updates in Flux Motor include enhancements in export systems, particularly rotor position dependencies, to improve accuracy.

Flux Motor now allows the inclusion of rotor position in lookup tables to provide more accurate motor analysis results.

Transcripts

play00:05

hello everyone thank you for

play00:06

participating to this web about reduced

play00:09

model of the motor during this 10 uh

play00:12

first minutes we will see the

play00:13

possibility of generating the lookup

play00:15

table using flux and flux motor the

play00:19

first part we will see the different

play00:21

possibilities available in flux in Flex

play00:24

there is several format that we can

play00:27

export like oml file FME block CSV file

play00:31

txt file and lookup table we start by

play00:34

the oml file since several versions of

play00:38

the flex this feature is available

play00:41

directly in the interface it is

play00:44

available also for 2D q and 3D modules

play00:48

to generate this oml file a paramet

play00:51

scenario must be

play00:54

solved once the project is solved to

play00:58

generate the export in flux there is

play01:01

there are some steps that the user

play01:02

should follow first one the Sol solve

play01:05

the flux project go in the menu data

play01:07

exchange click on export data table a

play01:10

new window will be opened we select the

play01:13

form of the file that you want to export

play01:16

to activate or compose we select also

play01:19

the folder where the file will be saved

play01:22

we select the input and output

play01:25

parameters in the list and as the last

play01:28

step we Choice the values the type of

play01:30

the values to

play01:32

export once this is done now we will see

play01:35

the different steps to use this file

play01:39

inside activate and compos we start by

play01:42

activate in activate the file or the ml

play01:46

file and activate project uh should be

play01:49

in the same uh

play01:51

folder aside activate in the menu

play01:53

diagram home you choose the context tab

play01:57

you provide the name of the file create

play02:00

by flux and as a last step you check if

play02:04

the variables were located correctly and

play02:07

say compos there is directly a

play02:09

possibility to open this oml file

play02:12

without

play02:13

any additional

play02:17

steps the second possibility is to

play02:20

export the fu block this also this

play02:23

feature is also available in Flex since

play02:26

several several versions it is available

play02:30

on 2D skq and 3D modules to generate the

play02:34

F block pared scenario must be

play02:40

solved once the flex project is

play02:43

solved to generate the fmu block we

play02:47

provide uh we go to the data exchange we

play02:51

select directly the export fmu block new

play02:53

window will be opened in this window you

play02:56

will provide the name of the block

play03:00

the path to the folder in which flx will

play03:02

create the FME block you Choice the

play03:05

input in the Block in the parameter of

play03:07

the Block in the parameter list we chose

play03:11

also the output of the block among the

play03:13

input output parameters and the

play03:16

sensors in this next slide uh an example

play03:20

application of the FM block I said

play03:23

activate you have your model you create

play03:26

the blocks for

play03:28

fmu you edit the S fmu block you load

play03:32

directly the file that you have created

play03:34

previously in flx and you validate this

play03:37

is just to show you the the use of this

play03:40

fmu

play03:42

block the latest uh way to create a

play03:46

lookup table is to use a macro the goal

play03:50

is this macro is to create a lookup

play03:52

table from a transient uh application or

play03:56

project the lookout table that you get

play03:58

from this macro are for Flex in DQ AIS

play04:01

the inductance in DQ

play04:04

AIS uh the torque uh also all these uh

play04:09

performances are function of the current

play04:11

in D qais and the rotor

play04:14

position there are three macros

play04:16

available currently in Flex one for 2D

play04:20

one for 3D and one for

play04:23

theq all these macros as mentioned

play04:26

previously the aim is to create a lookup

play04:29

table of the flux in DQ axis and DCT DQ

play04:33

axis the torque as function of the

play04:37

position and the current in the qais

play04:40

just here to give you a small details

play04:42

about the principle of this macro from

play04:46

uh transient project we load this macro

play04:51

we random the macro behind we create a m

play04:54

static application or project and from

play04:57

this one we can get all this all these

play05:00

Maps there is a possibility also to

play05:03

write the results as a mat file and this

play05:06

mat file can be read by flx activate

play05:10

P the goal of this macro is to make a

play05:14

system analysis of the imotor

play05:18

AER in this slide we will see the steps

play05:22

that the user follow to use this micro

play05:25

inside the flx once your project is

play05:28

solved in a magic trans project you load

play05:31

the micro you run the micro when you run

play05:33

the micro there is some data and some

play05:37

data that you need to put to run this

play05:41

mcro in this last last slide we will see

play05:44

some uh some results that we can get

play05:48

using this macro in this case we have

play05:50

some maps of the flex in D and qais and

play05:53

the talk one recommendation when you try

play05:56

to use this mcro it's really recommended

play05:58

to use a parallel computing why because

play06:00

this lead to decrease the time and save

play06:03

the correct and decrease the time

play06:06

computation this is about the different

play06:09

possibilities to export oml fmu and

play06:12

create lookup table from

play06:14

flx now for the next step we'll see the

play06:17

different possibilities also aside the

play06:20

flux motor to create this lookup

play06:24

table in Flex motor uh the user have a

play06:28

possibility also to export directly a

play06:31

lookup a lookup table this lookup table

play06:35

can be used by Al flx so activate and

play06:43

compost the goal also as mentioned

play06:46

initially for case of flux is to use or

play06:50

to simplify the motor to use it inside

play06:53

the system system level and to make more

play06:57

easier the analysis of the motor

play06:59

consider

play07:00

the system or the

play07:04

control in Flex motor if the user want

play07:07

to export lookup table he open flux

play07:11

motor or motor Factory from motor

play07:14

Factory he select the export area and

play07:18

from the export area have directly

play07:20

access to the look up select option

play07:23

lookup table

play07:26

export and from this one you can export

play07:29

different the data or the lookup table

play07:32

that he want for for this

play07:36

motor now to export this lookup table

play07:40

there are some steps that user should

play07:42

follow the first one is the test

play07:44

selection one test can be selected

play07:46

currently is the maps from the

play07:49

characterization model motor you have

play07:51

possibility to select the maps the test

play07:54

uh the test configuration as a second

play07:56

step for this

play07:58

one user will Define the working

play08:01

condition of the

play08:02

motor the third step is the export

play08:05

information for this export information

play08:07

also there's some steps I say the first

play08:10

one is the definition of the name of the

play08:12

lookup table also there is a possibility

play08:15

to select the Forma currently we

play08:18

have fmu block dedicated to activate and

play08:23

P Fu block generic and also there is a

play08:26

possibility to generate or to export a m

play08:30

five once this is done the user validate

play08:33

and Export C to export this uh this uh

play08:37

lookup

play08:39

table just here some details about the

play08:41

different format that we have currently

play08:43

available in Flex motor the first one

play08:46

fmu Forma there is

play08:48

two two fmu forat the first one is uh

play08:52

dedicated to activate and PC and the

play08:56

second format is generic compatible with

play08:59

other system simulation tools the second

play09:02

possibility is to generate direct

play09:04

directly a mat a mat format or M file

play09:08

this mat file can be implemented in the

play09:11

environment like PCM and uh PCM activate

play09:15

or

play09:18

compos the latest information that I

play09:21

want to share with you is about the

play09:23

Improvement of the export system table

play09:25

and say the flex motor with the latest

play09:29

version there is another possib

play09:31

possibility to consider the rotor

play09:33

position or the rotor dependency as you

play09:35

can see from the test configuration from

play09:38

the input there is possibility to to

play09:41

consider uh the rotor position the goal

play09:44

is to make more accurate accurate

play09:49

results this is the possibility to

play09:52

create or to generate a lookup table

play09:54

from flux

play09:56

motor thank you for your ATT sh

Rate This

5.0 / 5 (0 votes)

相关标签
Lookup TablesFlux MotorFMU BlockOML FileExport DataSystem AnalysisMotor ControlFlex ModulesParallel ComputingSimulation Tools
您是否需要英文摘要?