Professional Documents
Culture Documents
Express RTRTViewer
Express RTRTViewer
Express RTRTViewer
2
User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
JSOL Corporation
Issue date of 1st Edition: August 2023
COPYRIGHTS
Copyright © 2023 JSOL Corporation All Rights Reserved.
• Information in this document is subject to change without notice.
• No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or any means electronic or
mechanical, including photocopying and recording for any purpose other than the purchaser’s personal use without the written per-
mission of JSOL Corporation.
JMAG Division
JSOL Corporation
Tokyo/ KUDAN-KAIKAN TERRACE 11th Floor, 1-6-5 Kudanminami, Chiyoda-ku, Tokyo 102-0074, Japan
Phone: +81(03)6261-7361 Phone (Support): +81(03)6261-7362 FAX: +81(03)5210-1142
Osaka/ Tosabori Daibiru Bldg. 2-2-4 Tosabori, Nishi-ku, Osaka 550-0001, Japan
Phone: +81(06)4803-5820 FAX: +81(06)6225-3517
Email: jmag-support@sci.jsol.co.jp URL: https://www.jmag-international.com/
Trademarks
• JMAG and JMAG-RT are registered trademarks of JSOL Corporation.
• Abaqus, CATIA, SIMULIA and SOLIDWORKS are trademarks or registered trademarks of Dassault Systemes or its subsidiaries in
the United States and/or other countries.
• AMD and AMD Opteron is a trademark of Advanced Micro Devices, Inc.
• Amesim, LMS Virtual.Lab, NX, Parasolid, Siemens, Simcenter, Simcenter 3D, Solid Edge, and STAR-CCM+ are trademarks or reg-
istered trademarks of Siemens Industry Software Inc., or its subsidiaries or affiliates, in the United States and in other countries.
• CAPRI CAE Gateway is a registered trademark of CADNexus Inc. in the United States and other countries.
• Creo and Pro/ENGINEER are registered trademarks of PTC, inc.
• DXF and Inventor are trademark or registered trademark of Autodesk, Inc. in the United States and/or other countries.
• Excel, Microsoft, Visual C++, Windows, and Windows 10 are either registered trademarks of Microsoft Corporation in the United
States and/or other countries.
• Flexera Software and FLEXlm are registered trademarks of Flexera Software LLC in the United States and other countries.
• Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other
countries.
• LabVIEW is a registered trademark of National Instruments Corporation.
• Linux is a registered trademark of Linus Torvalds in the United States and other countries.
• LSF is a registered trademark of IBM Corporation in the United States, other countries, or both.
• MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
• MSC NASTRAN is a trademark of MSC Software Corporation.
• NASTRAN is a registered trademark of the National Aeronautics and Space Administration.
• NX Nastran is an enhanced proprietary version developed and maintained by Siemens Product Lifecycle Management Software Inc.
• NVIDIA is a trademark or registered trademark of NVIDIA Corporation in the United States and/or other countries.
• OpenOffice.org and Apache OpenOffice are registered trademarks of the Apache Software Foundation.
• PSIM is a registered trademark of Powersim Inc.
• ROMAX is a trademark of Romax Technology, LTD.
• Tecplot is a registered trademark of Tecplot, Inc. in the United States and other countries.
• Trademark information for PowerCore, owned by ThyssenKrupp Electrical Steel GmbH.
• All other product and company names are trademarks, registered trademarks, or service marks of their respective companies, organiza-
tions, or holders.
• This document does not include the letters ® and TM.
CONTENTS
JMAG-Express 21.2
3
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
4
CONTENTS
JMAG-Express Classic
5
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
6
CONTENTS
7
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
JMAG-RT
8
CONTENTS
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Physical Quantity That Can be Corrected and Correction Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Format of Correction File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
Adding Loss Data to a JMAG-RT Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Loss Table File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
Exporting Results Data from a JMAG-RT Model to a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Results Data Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
Creating a Model for JMAG-RT Using the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Creating a Parameter File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Running Analysis Using Third-Party Job Schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Call Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Notes on Simultaneous Analysis Execution from the Command Line (for Errors Caused by Jstage2 Files) . . . . . 425
Updating JMAG-RT Model Created by JMAG-Designer Version 10.4 or Earlier . . . . . . . . . . . . . . . . . 428
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
9
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
10
CONTENTS
JMAG-RT Viewer
11
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 831
12
About This Edition
“JMAG User’s Manual JMAG-Express, JMAG-RT, JMAG-RT Viewer” explains the screen composition, operation
procedure, and parameters in the following programs.
• JMAG-Express 21.2
• JMAG-Express Classic
• JMAG-RT
• JMAG-RT Viewer
MEMO JMAG user's manual is divided into contents.
• “JMAG Installation Manual”.
• “JMAG User's Manual Screen Configuration Edition”
• “JMAG User's Manual Operations Edition”
• “JMAG User's Manual Parameter Explanation Edition”
• “JMAG User's Manual JMAG-Express, JMAG-RT, JMAG-RT Viewer Edition”
• “JMAG User's Manual Coupled Analysis Edition”
• “JMAG User's Manual Files Edition”
• “JMAG User's Manual Licenses”
• “JMAG User's Manual Scripts Edition” and “Script Help”.
• “JMAG User's Manual Analysis Guide”
• “JMAG User's Manual Iron Loss Formulas”
13
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
14
JMAG-Express 21.2
JMAG-Express 21.2 Overviews
17
JMAG Version 22.2 User's Manual
JMAG-Express
About JMAG-Express
For a product to be released, there are a series of procedures as shown below, regardless of slight dif-
ferences in purpose or type.
JMAG provides various tools for virtual evaluation of performance in terms of steps in the product
design of electric machinery. JMAG-Express is meant to be used in the preliminary design stage of
motors.
Generally, the following functions are installed in JMAG-Express.
• Motor design using a template:
Templates that standardize motor geometries, materials, circuits, and drive conditions are
installed in JMAG-Express for each type of motor. Users can design motors easily by selecting
any of these templates and inputting the values of the specifications.
Templates with user original geometries can also be created from the geometries created by CAD
software.
• Characteristic evaluation of designed motors:
Analyze the designed motors by the finite element method. The results can be checked in tables,
graphs, and maps.
18
JMAG-Express 21.2 Overviews
19
JMAG Version 22.2 User's Manual
JMAG-Express
20
JMAG-Express 21.2 Overviews
Brushless motor (IPM, SPM, outer rotor/IPM, outer rotor/SPM), induction motor
Induction Motor
This is a squirrel cage induction motor. It is composed of a coil-wound stator and a cage-mounted
rotor. Three-phase is supported.
21
JMAG Version 22.2 User's Manual
JMAG-Express
Functions of JMAG-Express
The following functions can be used in JMAG-Express.
• Motor Design Using a Template (page 22)
• Motor Design Using the Sizing Function (page 22)
• Motor Characteristic Evaluation (page 23)
• Parametric Evaluation (page 23)
Parametric Evaluation
Demagnetization
using a template
Cogging Torque
Torque Ripple
Motor design
Motor Sizing
Evaluation
Evaluation
Evaluation
Evaluation
Brushless motor (IPM, SPM, 3-phase
Outer Rotor/IPM, Outer Rotor/ 6-phase
SPM) 9-phase - - - - - - - -
Induction motor 3-phase - - -
6-phase - - - - - - - -
9-phase - - - - - - - -
22
JMAG-Express 21.2 Overviews
Parametric Evaluation
Multiple cases with changed values of anyone design parameter (dimensions, materials, windings,
drive conditions) are created and collectively evaluated. The response to the design parameter can be
checked.
For details, see “Executing Characteristics Evaluation with Changed Design Parameters (Paramet-
ric Evaluation)” on page 68.
23
JMAG Version 22.2 User's Manual
JMAG-Express
Notes
• The following three licenses are used when JMAG-Express is started:
• JMAG-Express
• JMAG-Designer
• JMAG-Modeller
Licenses
License Description
JMAG-Express JMAG-Express pre/post license.
Even if multiple JMAG-Express are run in the same machine and with the
same user account, only one JMAG-Express license is consumed.
JMAG-Express_FR License for simple evaluation.
JMAG-Express_FR licenses are required to run the following characteris-
tics evaluation:
[Machine Characteristics] (efficiency map analysis studies (reduced order
model))
Note the following:
• With one JMAG-Express_FR license, one machine characteristics can be
evaluated.
For example, when two JMAG-Express are started on one machine and
machine characteristics are evaluated for both, two JMAG-Express_FR
licenses are required.
• Loss calculation included in machine characteristics evaluations are also
run in JMAG-Express_FR.
JW_MAG_DPL 2D magnetic field transient analysis license.
When the following characteristic evaluations are performed, the
JW_MAG_DPL license is required:
[Cogging Torque], [Torque Ripple], [Induced Voltage], [Demagnetiza-
tion]
JW_TOOL_LOSS Iron loss analysis license.
When the following characteristic evaluations are performed, the
JW_TOOL_LOSS license is required:
[Torque Ripple]
24
JMAG-Express 21.2 Overviews
License Description
JW_MAG_SMP Parallel computing license.
When the following characteristic evaluations are performed with the
shared memory multiprocessing function (SMP), the JW_MAG_SMP
license is required:
[Cogging Torque], [Torque Ripple], [Induced Voltage], [Demagnetiza-
tion]
[Cores of Shared Memory Multiprocessing (SMP)] in the JMAG-Express
[Options] dialog determines whether SMP is used or not.
JMAG-Modeller The Geometry Editor license.
This license is required in the following cases:
• Starting JMAG-Express
• Operating Geometry Editor:
When a template including a motor shape created by yourself is used in
JMAG-Express, the motor shape needs to be added to the geometry
library of Geometry Editor.
Also, when Geometry Editor is opened with the [Register CAD data]
menu command in JMAG-Express, the JMAG-Modeller license is
required.
JMAG-Designer JMAG-Designer pre/post license.
This license is required in the following cases:
• Starting JMAG-Express
• Displaying contour plots of characteristic evaluation with JMAG-Express
• Sending motor models from JMAG-Express to JMAG-Designer
• Operating the motor models sent from JMAG-Express to JMAG-
Designer in JMAG-Designer
Note the following:
• Even if multiple JMAG-Express are run in the same machine and with
the same user account, only one JMAG-Designer license is consumed.
25
JMAG Version 22.2 User's Manual
JMAG-Express
26
Starting JMAG-Express 21.2 and JMAG-Express 21.2
Screen Configuration
This chapter explains how to start JMAG-Express, the screen structure, menu commands, and buttons.
27
JMAG Version 22.2 User's Manual
JMAG-Express
File paths with spaces need to be enclosed with double quotation marks (").
cd "C:\Program Files\JMAG-Designer\ExpressX"
expressx.exe
Quitting JMAG-Express
Perform one of the following operations.
• Click [Close] on the [File] tab of the main window.
• Click [X] displayed in the upper-right corner of the window.
28
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
Screen Configuration
This section describes each of the screen configurations in JMAG-Express.
• Template Window (page 29)
• Main Window (page 31)
Template Window
Select a template to use in the template window.
Template Window
29
JMAG Version 22.2 User's Manual
JMAG-Express
List/Command Description
[Import Geometry Imports motor geometry file sets (.jmdl, .png, .xml) exported from Geom-
Library] etry Editor, to JMAG-Express.
Click [Import Geometry Library] to display the [Import Libraries] dialog.
Specify a folder where the motor geometry file sets are located and click
[Select Folder].
• All motor geometries located in the specified folder are imported to
JMAG-Express.
• When the specified folder has a file with the same name as the template,
the file overwrites the JMAG-Express template.
MEMO Custom geometries to be imported to JMAG-Express must satisfy
several conditions. For details, see “Preparing Rotor and Stator Geome-
tries with Geometry Editor” on page 47.
[Register CAD Data] Starts Geometry Editor.
[Options] Opens the [Options] dialog. The following settings can be changed in the
[Options] dialog:
• Display language in JMAG-Express
• Maximum number of jobs for an efficiency map analysis study (reduced
order model)
• Maximum number of jobs for a magnetic field transient analysis study
• Job parallelism for an efficiency map analysis study (reduced order
model)
• Cores of shared memory multiprocessing (SMP) for a magnetic field
transient analysis study
• Machine settings used for batch execution
• Display settings in the main window [Model Diagram] tab (background
colors, dimension line thickness, etc.)
See “JMAG-Express Options” on page 41.
[Help] Displays JMAG-Express help.
[About] Displays the version information of JMAG-Express in the [About] dialog.
30
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
Command Description
[Model Combination] Rotor templates and stator templates are used in combination.
Click [Model Combination] to display the [Build New Combination] dia-
log.
The preinstalled templates are displayed in [Rotor] and [Stator]. Geome-
tries imported from the geometry library in Geometry Editor are also dis-
played.
Select each template to be used from [Rotor] and [Stator] and click [OK].
A model created from the template is displayed in the main window.
MEMO For details on preinstalled templates, see “Basic Templates” on
page 120.
[Basic Templates] Uses preinstalled templates including both rotors and stators.
Click [Basic Templates] to display the [Basic Template] dialog. Click a
template you want to use. A model created from the template is displayed
in the main window.
MEMO For details on preinstalled templates, see “Basic Templates” on
page 120.
[User-Defined Templates] Uses templates added by users.
Click [User-Defined Templates] to display the [User Templates] dialog.
This dialog displays templates saved in the internal storage of the machine
you are using.
• To create a new model from the displayed template, select the template
and click [Open]. The main window will open and the model will be dis-
played.
• To delete the displayed template from the internal storage, select the tem-
plate and click [Delete].
MEMO To add user-defined templates, use the [Register User-Defined
Template] command in the main window [File] tab.
Main Window
Motor specifications are entered and characteristics evaluation is run in the main window.
31
JMAG Version 22.2 User's Manual
JMAG-Express
Main Window
[File] Tab
Command Description
[Template Selection] Closes the main window and opens the template window.
If the design parameter value of the model being displayed has been
changed and this command is executed, a message asking whether to save
the model or not is displayed.
• Click [Yes] to display the [Export Template File] dialog. Specify the
name and destination of the file and click [Save].
• If you click [No], the model being edited is discarded.
[Open] Creates a new model by importing a template from the JXD file.
Click [Open Other Files] to display the [Import Template File] dialog.
Select the JMAG-Express template file you want to import and click
[Open]. Models created from the templates in this file are displayed in the
main window.
32
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
Command Description
[Register User-Defined Saves the model displayed in the main window as a template in the internal
Template] storage of your machine.
Click [Register User-Defined Template] to display the [Register User-
Defined Template] dialog. Enter a name for the template, and click [Save].
If a template with the same name as you entered already exists in the stor-
age, a message asking if you want to overwrite the old template with the
new template will be displayed.
MEMO To use a template saved in storage, click [User-Defined Template]
on the template window. Double-click the template name displayed in the
[User-Defined Template] dialog to display the model created from the
template in the main window.
[Export Template File] Exports the model displayed in the main window as a JXD file.
Click [Export Template File] to display the [Export Template File] dialog.
Specify the name and destination of the file you want to export and click
[Save]. The JXD file is exported to the specified location.
MEMO The exported JXD-file can be imported into JMAG-Express. To
import the JXD file to JMAG-Express, execute one of the following com-
mands.
• [Open Other Files] in the template window
• [Open] the [File] tab in the main window
[Export JMAG-Designer Exports the model displayed in the main window as a JPROJ file.
Project File] Click [Export JMAG-Designer Project File] to display the [Export Project]
dialog. Specify the name and destination of the file you want to export and
click [Save]. The JPROJ file is exported to the specified location.
For information about what is exported to a JPROJ file, see “Contents of
JPROJ File Exported from JMAG-Express” on page 124 for reference.
MEMO The exported JPROJ file can be imported into JMAG-Designer
Version 20.1 and later versions.
MEMO The exported JPROJ file will contain studies for each evaluation
item. It is not affected by the evaluation item settings in the [Home] tab of
the main window.
[Export Report] Exports the design parameters and evaluation results of the model dis-
played in the main window to a file (.pdf or.csv).
Click [Export Report] to display the [Export Report] dialog. Specify the
name, type, and destination of the file you want to export and click [Save].
The file is exported to the specified location.
MEMO Evaluation results are exported when the characteristics of the
model have already been evaluated.
[Close] Exits JMAG-Express.
33
JMAG Version 22.2 User's Manual
JMAG-Express
Command Description
[Options] Opens the [Options] dialog. The following settings can be changed in the
[Options] dialog.
• Display language in JMAG-Express
• Maximum number of jobs for an efficiency map analysis study (reduced
order model)
• Maximum number of jobs for a magnetic field transient analysis study
• Job parallelism for an efficiency map analysis study (reduced order
model)
• Cores of shared memory multiprocessing (SMP) for a magnetic field
transient analysis study
• Machine settings used for batch execution
• Display settings in the main window [Model Diagram] tab (background
colors, dimension line thickness, etc.)
See “JMAG-Express Options” on page 41.
[Help] Displays JMAG-Express help.
[About] Displays the version information of JMAG-Express in the [About] dialog.
[Home] Tab
To change the button displayed on the screen, click the down arrow and select a button from the
drop-down menu.
34
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
35
JMAG Version 22.2 User's Manual
JMAG-Express
36
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
[View] Tab
37
JMAG Version 22.2 User's Manual
JMAG-Express
In the [Dimensions] tab, set the dimension values for the motor (page 85).
In the [Material] tab, set the material for each part of the motor (page 90).
In the [Winding] tab, set the coil pitch and wire connection information (page 96).
In the [Drive] tab, set the drive circuit and driving current (page 102).
[Characteristics] tab
The [Characteristics] tab is divided into 3 frames and displayed as the design comparisons, perfor-
mances, and design sheet.
Design comparisons In this frame, the history of the characterization is displayed in a table for-
mat.
Performances In this frame, the results (graphs and maps) are displayed after the charac-
terization.
Design sheet In this frame, the design parameters and their values set in the [Dimen-
sions] tab, [Material] tab, [Winding] tab, and [Drive] tab are displayed.
38
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
Design comparisons
Performances
Design sheet
[Response] Tab
The [Response] tab is divided into 3 frames and displayed as the case group table, the response value
graph and the case setting table.
Case group table This frame displays a list of the groups of design cases that have been added
to the model.
Response graph This frame displays the response graphs that have been added to the model.
Response graphs can be created for each case group.
Case setting table This frame displays information for each proposed design case that has
been added to the group selected in the Case Groups table. The following
information is displayed.
• Design variable value:
When there is a parameter that uses different values depending on the
case within the group, that parameter value is displayed.
• Comments given to cases:
Comments can be given to each case in the design table of the [Charac-
teristics] tab. The comments are displayed in the case setting table.
39
JMAG Version 22.2 User's Manual
JMAG-Express
Response graph
For details see “Comparing Results of Multiple Cases Using Response Graphs” on page 77.
40
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
JMAG-Express Options
When the [Options] menu command of JMAG-Express is executed, the [Options] dialog is dis-
played. The following settings can be set in the [Options] dialog:
Setting Description
[Language] Setting for display language in JMAG-Express
[Maximum Number of Setting for maximum number of jobs for an efficiency map analysis study
Jobs (Licenses)] (reduced order model) and magnetic field transient analysis. This setting
controls the maximum number of licenses.
[Number of Cores per Setting for number of parallel jobs of an efficiency map analysis study
Job] (reduced order model) and cores of shared memory multiprocessing (SMP)
of magnetic field transient analysis.
[Save Folder for JMAG- Setting folder for saving a project file when sending a model to JMAG-
Designer Project] Designer.
[Execution Method] Setting for the machine used for batch execution.
[Appearance] Display settings of the main window [Model Diagram] tab (background
colors, dimension line thickness, etc.)
The settings are applied to JMAG-Express when [OK] is clicked in the [Options] dialog.
[Language]
Select the language used in the user interface for JMAG-Express.
The language for the user interface is automatically determined based on the language of the operat-
ing system when [System Default] is selected.
Parameter Description
[Machine Characteristics When machine characteristics are evaluated from JMAG-Express, an effi-
(Consume JMAG- ciency map analysis study (reduced order model) is created, and this is sub-
Express_FR License Fea- mitted to JMAG-Designer or JMAG-Scheduler as a job.
ture)] For the efficiency map analysis study (reduced order model) run from
JMAG-Express, the Express_FR license is used.
In [Machine Characteristics (Consume JMAG-Express_FR License Fea-
ture)], enter the maximum value of the Express-FR license available in
JMAG-Express being used.
The default value of [Machine Characteristics (Consume JMAG-
Express_FR License Feature)] is 1. The maximum value is 10.
41
JMAG Version 22.2 User's Manual
JMAG-Express
Parameter Description
[Except for Machine When characteristics other than machine characteristics are evaluated by
Characteristics (Consume JMAG-Express, a magnetic field transient analysis study is created in the
JW_MAG_DPL License background, and this is submitted to JMAG-Designer or JMAG-Scheduler
Feature)] as a job.
For the magnetic field transient analysis study to run from JMAG-Express,
the JW_MAG_DPL license is used. In [Except for Machine Characteristics
(Consume JW_MAG_DPL License Feature)], enter the maximum value
of the JW_MAG_DPL license available in JMAG-Express currently in use.
The default value of [Except for Machine Characteristics (Consume
JW_MAG_DPL License Feature)] is 1. The maximum value is 8.
Parameter Description
[Parallel Jobs of Machine When machine characteristics are evaluated from JMAG-Express, an effi-
Characteristics] ciency map analysis study (reduced order model) is created, and this is sub-
mitted to JMAG-Designer or JMAG-Scheduler as a job.
In the efficiency map analysis study (reduced order model), computations
at multiple calculation points are run in one study. To parallelize the com-
putation at each calculation point, change values of [Parallel Jobs of
Machine Characteristics].
The default value or maximum value of [Parallel Jobs of Machine Charac-
teristics] is 6.
[Cores of Shared Memory When characteristics other than machine characteristics are evaluated from
Multiprocessing (SMP) JMAG-Express, a magnetic field transient analysis study is created, this is
except for Machine Char- submitted to JMAG-Designer or JMAG-Scheduler as a job.
acteristics] In the magnetic field transient analysis study, computation processing can
be parallelized on per-thread basis by using shared memory multiprocess-
ing function (SMP). To parallelize computation processing, change values
of [Cores of Shared Memory Multiprocessing (SMP) except for Machine
Characteristics].
The default value of [Cores of Shared Memory Multiprocessing (SMP)
except for Machine Characteristics] is 1 (non-parallel). The maximum
value is 8.
42
Starting JMAG-Express 21.2 and JMAG-Express 21.2 Screen Configuration
When changing from the default, click the button to open the [Save Folder for JMAG-Designer
Project] dialog and specify a folder.
[Execution Method]
This setting is for batch execution of characteristic evaluation. For details on characteristic evalua-
tion, see “Executing Characteristics Evaluation” on page 63.
Parameter Description
[Machine Name (Server Select the machine to run jobs when a batch job is running characteristic
Name)] evaluation.
• [Local Execution]:
Runs JMAG-Express jobs using the current machine.
• Remote machine:
Runs JMAG-Express jobs using a previously registered remote machine.
Remote machine settings are made in the JMAG-Designer [Preferences]
dialog, see the JMAG-Designer Help.
• Job scheduler server:
Runs JMAG-Express jobs using computation nodes managed by a previ-
ously registered job scheduler system.
To use the JMAG-RemoteSystem provided by JMAG, see “JMAG Instal-
lation Manual”.
The settings for using the commercial job scheduler system are made in
the JMAG-Designer [Preferences] dialog, see the JMAG-Designer Help.
[CPU Group] If you selected a JMAG-RemoteSystem server in [Machine Name (Server
Name)], select the CPU node group to be used to execute jobs.
[Appearance]
Settings related to the display of the [Motor Diagram] tab on the main window.
43
JMAG Version 22.2 User's Manual
JMAG-Express
Parameter Description
[Use Gradient Back- To apply a gradient background to the [Motor Diagram] tab, select [Use
ground] Gradient Background]. For a single color background, clear [Use Gradient
Background].
44
Getting Started with JMAG-Express 21.2
JMAG-Express is intended to be used according to the following workflow. This chapter describes the operation
procedure in accordance with this flow.
• (1) Creating a template (page 47):
By default, the templates installed in JMAG-Express are called basic templates. Original templates created by
users are called user-defined templates.
This step is not required when using the basic template. The geometry library function in Geometry Editor
is used for user-original motor geometry templates in JMAG-Express.
• (2) Designing the motor from the template (page 59):
Create a model from the template and specify the motor specifications (geometry, material, winding, drive
condition, and performance targets).
The sizing function can also be used for JMAG-Express to calculate the proposed motor specification of the
performance target.
• (3) Evaluating the characteristics of the designed motor (page 63):
Run an FEA from JMAG-Express. You can check the results in tables, graphs, or maps. Complete the initial
design proposal model by repeatedly modifying and characterizing the design parameter values.
• (4) Run a high accuracy FEA of the designed motor (page 81):
To validate the initial design proposal and determine the details of the specifications, send the initial design
proposal models to JMAG-Designer to run a high accuracy FEA.
45
JMAG Version 22.2 User's Manual
JMAG-Express
46
Getting Started with JMAG-Express 21.2
Creating Templates
By default, the templates installed in JMAG-Express are called basic templates. Original templates
created by users are called user-defined templates.
This section describes how to create a user-defined template.
• Creating Custom Templates (Working with Geometry Editor) (page 47)
• Using a Created Template in Another Machine (page 57)
MEMO The steps described here are not required when using the basic template. Proceed to “Designing
Motors From Templates” on page 59.
47
JMAG Version 22.2 User's Manual
JMAG-Express
• Include only the rotor or stator geometry for one assembly (create a separate assembly for the
rotor template geometry and stator template geometry).
MEMO To create a template that includes both the rotor geometry and stator geometry, execute
[Register User-Defined Template] in the [File] tab of the JMAG-Express main window. For
details, see “Creating New Templates by Combining a Rotor Template and Stator Template” on
page 57.
• Prepare a geometry, in the smallest unit of geometry pattern.
The smallest unit of geometry pattern for rotor geometry is the geometry for one pole. For
stator geometry, it is for one slot.
In addition, extend geometries by one pole by setting the region pattern feature ([Region
Radial Pattern]/[Region Mirror Copy]) in the one slot geometries created for the stator.
If a geometry greater than or equal to the smallest unit has been created, use the conversion
function in Geometry Editor ([Convert to Linear Pattern Feature]/[Convert to Circular Pat-
tern Feature]/[Convert to Mirror Copy Feature]). This function allows you to extract the
smallest units of a geometry pattern from the geometry and apply region pattern features to
them. For details, see the “Parameter Explanation Edition.”
• When changing the dimension value of the motor geometry in JMAG-Express, set con-
straints to the geometry. Assign a variable to dimension value for constraints that define
dimension value (distance/angle).
However, if you do not plan to change the dimension value of motor geometry in JMAG-
Express, the constraint settings are not required.
MEMO Refer to the setting added to motor geometry in the [Geometry Library] tab of Geome-
try Editor as an example of settings for the smallest units of geometry and constraints in geometry
pattern.
48
Getting Started with JMAG-Express 21.2
• When using equations (variables) for dimensional parameters, clear [Register to Designer]
when creating equations in the [Edit Equation] dialog.
49
JMAG Version 22.2 User's Manual
JMAG-Express
50
Getting Started with JMAG-Express 21.2
Sample of set
Examples
51
JMAG Version 22.2 User's Manual
JMAG-Express
iii. If there is a possibility that you may use the sizing function in JMAG-Express, add the
geometry parameter set list to motor geometry.
Sizing is a function for JMAG-Express to calculate proposed design parameters, such as
dimensions, material, and windings, for a user-specified target, such as rated power.
The geometry parameter set list is the correspondence table for the key geometry parameter
value and other geometry parameter values. The geometry parameter set list is also used to
prevent geometry from breaking down when key geometry parameter values such as the num-
ber of poles and number of slots are parametrically changed during sizing.
For sizing function, see “Deriving Motor Size Using the Sizing Function” on page 60. For
geometry parameter set list, see the “Parameter Explanation Edition”.
4. Add the created motor geometry in the geometry library.
i. Right-click [Assembly] in the [Model Manager] tree, and select [Add to Geometry
Library].
The [Add to geometry library] dialog is displayed.
ii. Enter the explanation to be added to the geometry in [Explanation].
The [Model Number] setting is optional.
iii. Click [Select].
The [Select Tags] dialog is displayed. Select the tags to be added to the geometries in this dia-
log.
In JMAG-Express, templates are categorized for each type of motor. The tag attached to the
geometry is used to determine the categories. For example, a geometry tagged with three
labels “IPM Inner Rotor” is imported into JMAG-Express as a rotor template for brushless
motors (IPMs).
52
Getting Started with JMAG-Express 21.2
Note that geometries that are not set according to the rules will not be displayed in JMAG-
Express.
The following are the tagging rules:
Motor type Rotor/Stator Tags (includes spaces for delimiters)
Brushless motor Rotor IPM Inner Rotor
(IPM) Stator Outer Stator
Brushless motor Rotor SPM Inner Rotor
(SPM) Stator Outer Stator
Brushless motor Rotor IPM Outer Rotor
(Outer rotor/IPM) Stator Inner Stator
Brushless motor Rotor SPM Outer Rotor
(Outer rotor/SPM) Stator Inner Stator
Induction motor Rotor IM Rotor
Stator Outer Stator
iv. Select [JMAG-Express Tags] and select the type of the created motor geometry from
the [Type] list.
Tags for JMAG-Express are displayed in the list. The selected tag differs depending on the
type.
v. Click [OK].
Tags are added to the [Tag] box of the [Add to Geometry Library] dialog according to the set-
tings in the [Select Tag] dialog.
vi. Click [OK].
The created geometry is added to the geometry library.
5. Export the motor geometry added in the geometry library to a file.
i. Right-click the motor geometry added in [Geometry Library] and select [Export
Library].
The [Export Library] dialog is displayed.
ii. Select the folder you want to export the motor geometry to.
53
JMAG Version 22.2 User's Manual
JMAG-Express
1. Start JMAG-Express
The template window is displayed.
2. Click [Import Geometry Library].
The [Import Libraries] dialog is displayed.
MEMO [Import Geometry Library] is also displayed in the [File] tab of the JMAG-Express main
window.
3. Specify a folder where JMAG-Express motor geometry file sets (.jmdl, .xml, .png) are
saved.
4. Click [Select Folder].
The file for the JMAG-Express motor geometry is imported.
MEMO The same as the custom geometries in the geometry library, the motor geometries imported
to JMAG-Express are organized into folders by version under the JMAG user folder and saved as
JMAG model files (.jmdl).
Checking Imported Rotor and Stator Geometries and Matching to JMAG-Express Template
Function
Check whether a motor geometry is properly imported to JMAG-Express, and match the created
motor geometry to a fixed name used in the JMAG-Express template function.
1. Start JMAG-Express.
The template window is displayed.
54
Getting Started with JMAG-Express 21.2
• To match JMAG-Express part names to motor geometry parts, select a row of parts that
are not matched from the [Template] table, and also select parts from the [Model] list.
Then click [Set].
• To remove links, select a row to remove from the [Template] table and select [Remove
Link].
55
JMAG Version 22.2 User's Manual
JMAG-Express
• When the numbers of magnet parts in JMAG-Express and the motor geometry are differ-
ent, click [Add Magnet] or [Remove Magnet] to match the number of magnet parts.
For example, you need to match the number of magnet parts when the magnet parts are
divided into several pieces to change magnetization directions for each magnet part.
• To change motor geometry part names or check parts, click [Edit Rotor] or [Edit Stator].
JMAG-Designer Geometry Editor starts and displays rotor geometries or stator geome-
tries.
When the part name is changed, right-click [Assembly] of the Geometry Editor [Model
Manager] tree and select [Add to Geometry Library]. Then save it with the same name
and tag as the rotor geometry or stator geometry being set. After saving, the contents dis-
played in the [Model] list of the JMAG-Express [Match Names] dialog are updated.
iv. After settings are completed in the [Part ID Settings] setting panel, click [Next].
The [Part ID Settings] setting panel switches to the [Set Settings] setting panel.
v. Link the motor geometry sets to JMAG-Express reference sets in the [Sets Settings]
setting panel.
The set names referenced by JMAG-Express are displayed in the [Name] column of the
[Template] table.
The displayed set names differ depending on motor types.
• Periodic_Boundary (edge set settings, determining periodic boundary)
• Coil.1, Coil.2 (solid/region set settings, determine coil layer 1 and 2)
• Bar.1 (solid/region set settings, determine rotor bars for induction motor)
The motor geometry set names linked to JMAG-Express reference sets are displayed in the
[Link Item] column. If motor geometry sets and JMAG-Express reference sets are set with the
same name, they are automatically linked.
The set names of motor geometries that cannot be linked are displayed in the [Model] list.
Link all reference sets displayed in the [Template] table.
The procedure for linking items and using buttons is the same as for the [Part ID Settings]
setting panel.
vi. After completing the settings in the [Sets Matching] setting panel, click [Next].
Click [Next] and the [Sets Settings] setting panel switches to the [Reference (Vector/Point)
Settings] setting panel.
vii.Link the motor geometry sets to JMAG-Express reference sets in the [Reference (Vec-
tor/Point) Settings] setting panel.
Set names referenced by JMAG-Express are displayed in the [Name] column of the [Tem-
plate] table.
The displayed set names differ depending on motor type.
• Magnet_Direction (direction set settings, reference direction of [Parallel] magnetization
patterns for magnets)
The procedure for linking items and using buttons are the same as for the [Part ID Settings]
setting panel and the [Set Settings] setting panel.
56
Getting Started with JMAG-Express 21.2
57
JMAG Version 22.2 User's Manual
JMAG-Express
58
Getting Started with JMAG-Express 21.2
59
JMAG Version 22.2 User's Manual
JMAG-Express
Tab Description
[Requirement] tab Set targets in this tab when evaluating characteristics. Values specified here
are also rendered in result graphs.
See “[Requirement] Tab” on page 84.
[Dimensions] tab Set motor dimensions in this tab. Diagrams are rendered in the [Model
Diagram] tab based on the values specified in this tab.
See “[Dimensions] Tab” on page 85.
[Material] tab Set the materials of each part in this tab. Custom materials and the data of
actual existing materials provided by material manufacturers can also be
used.
See “[Materials] Tab” on page 90.
[Winding] tab Set windings in this tab. Diagrams are rendered in the [Model Diagram]
tab, the [Winding Diagram] tab, and the [Slot Diagram] tab based on the
values specified in this tab.
See “[Winding] Tab” on page 96.
[Drive] tab Set the drive circuit to use when evaluating characteristics.
See “[Drive] Tab” on page 102.
Notes
• When using the sizing function for models created from user-defined templates, settings for the
geometry parameter set list must be configured. For details on the geometry parameter set list,
see “Parameters Explanation Edition”.
60
Getting Started with JMAG-Express 21.2
Tab Parameters
[Dimensions] tab • All dimensions
• Number of slots
• Number of poles
• Number of secondary conductor (induction motor only)
[Materials] tab • Magnet (brushless motor only)
• Cage (induction motor only)
When [Magnet] or [Cage] is specified in the [Sizing] dialog, the settings are
not updated even if the sizing function is used.
[Winding] tab • Phase resistance
• Number of turns
• Layers
• Coil pitch
• Winding scheme (distributed winding/concentrated winding):
When [Winding] is specified in the [Sizing] dialog, the settings are not
updated even if the sizing function is used.
[Drive] tab • Drive circuit:
Maximum voltage, maximum current
61
JMAG Version 22.2 User's Manual
JMAG-Express
62
Getting Started with JMAG-Express 21.2
Evaluation Items
The required license differs depending on the evaluation item; see “License Required to Use JMAG-
Express” on page 24.
For details of the results, see “Evaluation Results in JMAG-Express 21.2” on page 105.
63
JMAG Version 22.2 User's Manual
JMAG-Express
64
Getting Started with JMAG-Express 21.2
Notes
• You can interrupt a characteristic evaluation. However, an interrupted characteristic evaluation
cannot be resumed.
• Batch execution for characteristics evaluation can be performed in remote machines managed by
JMAG-RemoteSystem and remote machines connected via SSH. The remote machine to be
used for characteristics evaluation can be set in the JMAG-Express [Options] dialog.
Note that JMAG-RemoteSystem and SSH connection cannot be set in JMAG-Express. Refer to
the “JMAG Installation Manual” for setting JMAG-RemoteSystem. For SSH connection, create
settings in the JMAG-Designer [Preference] dialog.
• If you exit JMAG-Express before loading the results of a characterization run in batch mode
using remote machines, the results that were not loaded will be deleted.
Procedures
65
JMAG Version 22.2 User's Manual
JMAG-Express
• When [Evaluate] is clicked, the progress bar is displayed while characteristics evaluation is
running. JMAG-Express cannot be operated during characteristics evaluation.
To cancel characteristics evaluation, click [Cancel].
When the evaluation is finished, the main window [Characteristics] tab is displayed,
showing the specification values and evaluation results.
66
Getting Started with JMAG-Express 21.2
ii. In the design table of the [Characteristics] tab, select the checkboxes of the design
case where you want to add evaluation items.
67
JMAG Version 22.2 User's Manual
JMAG-Express
• When [Add Result] is clicked, the progress bar is displayed while characteristics evaluation
is running. JMAG-Express cannot be operated during characteristics evaluation.
• When [Add Result (Batch Execution)] is clicked, JMAG-Scheduler starts in the back-
ground and characteristics evaluation jobs are added. Then JMAG-Scheduler runs the
characteristics evaluation jobs.
The procedure of canceling characteristics evaluation when [Add Result] is clicked is the same
as when [Evaluate] is clicked. When [Add Result (Batch Execution)] is clicked, the proce-
dures for checking job progress and canceling are the same as when [Evaluate (Batch Execu-
tion)] is clicked. See “Executing Characteristics Evaluation” on page 63.
3. When executing characteristics evaluation in batch mode, click JMAG-Express [Check
New Results] after the characteristics evaluation jobs are finished in JMAG-Sched-
uler.
The executed characteristics evaluation batch job results are loaded to JMAG-Express.
4. Check the evaluation results.
See “Checking Evaluation Results” on page 70.
68
Getting Started with JMAG-Express 21.2
To change buttons displayed in the window, click the down arrow and select the buttons from
the drop down menu.
This setting changes the button ([Evaluate] or [Evaluate (Batch Execution)]) that is displayed by
default in the [Parametric Settings] dialog described below.
2. Select a design parameter to use as design variables.
The cells with the values of the design parameters that can be used as design variables are filled in
yellow in the design sheet in the [Characteristics] tab.
69
JMAG Version 22.2 User's Manual
JMAG-Express
4. To add design parameters to use as design variables, add the design parameters from
[Select Multiple Parameters] first, and then enter the design parameter values.
The [Select Multiple Parameter] button will become active when [Table] is selected.
i. Click [Select Multiple Parameters].
The [Select Parameter] dialog is displayed.
In this dialog, all parameters that can be used as design parameters are displayed according to
each tab displaying the parameters.
ii. Select the checkboxes of design parameters to be used as design variables.
To cancel the design parameters being used as design variables, clear the checkboxes of the
design parameters.
iii. Click [OK].
The [Select Parameter] dialog closes.
The table in the [Parametric Settings] dialog displays the columns of the new design parame-
ters that are to be used as the design variables.
iv. Set values for the added columns.
If an error occurs with the set value, a design case for the row including the value is not cre-
ated.
Example:
When there is a discrepancy in the settings for shape dimension and duplication errors etc.
occur.
5. Execute parametric evaluation.
i. Click [Evaluate] or [Evaluate (Batch Execution)] in the [Parametric Settings] dialog.
• When [Evaluate] is clicked, the progress bar is displayed while characteristics evaluation is
running. JMAG-Express cannot be operated during characteristics evaluation.
• When [Evaluate (Batch Execution)] is clicked, JMAG-Scheduler starts in the background
and characteristics evaluation jobs are added. Then JMAG-Scheduler runs the characteris-
tics evaluation jobs.
The procedure of canceling characteristics evaluation when [Evaluate] is clicked is the same as
when [Evaluate] is clicked on the toolbar. When [Parametric (Batch Execution)] is clicked,
the procedures for checking job progress and canceling are the same as when the [Evaluate
(Batch Execution)] is clicked. See “Executing Characteristics Evaluation” on page 63.
6. Check the evaluation results.
See “Checking Evaluation Results” on page 70 and “Comparing Results of Multiple Cases
Using Response Graphs” on page 77.
70
Getting Started with JMAG-Express 21.2
Design comparisons
Performances
Design sheet
Design Comparisons
This frame displays the history of characteristics evaluation for each design. One row is for one
design (one case).
71
JMAG Version 22.2 User's Manual
JMAG-Express
Column Description
[Graph] A checkbox and color icon are displayed in the cell of this column.
• Checkbox
• Design cases with selected checkboxes are displayed in the result graph.
• Design cases with selected checkboxes are subject to characteristics
evaluation. For design cases with cleared checkboxes, even if [Evaluate]
or [Add Result] is selected, characteristics evaluation is not executed.
• Color icon:
The color of the line used for the design case in the result graph. This
cannot be changed.
You can choose a flag to be set as a mark for a design case. Click the flag
[Flag]
displayed in each cell to switch the flag on and off.
Design cases to be displayed in the result graph can be sorted by flags. See
the explanation on [Filter by Flag] described later.
[Comment] Any comment can be entered by clicking a cell in this column.
Design variable ([GAP], When design parameters have different values depending on the design
[RD1] etc.) cases, the column of the value of that design parameter is displayed.
In addition to parameters with values that you directly changed, parameters
associated to those that have been changed are also displayed.
Evaluation result See “Evaluation Results in JMAG-Express 21.2” on page 105.
Performances
The result graphs, result maps, contour plots, and flux lines are displayed in this frame.
72
Getting Started with JMAG-Express 21.2
Click [Graph] above [Report], and the [Graph Layout] dialog is displayed. The result items that
are checked in this dialog will be displayed on JMAG-Express in the order they are displayed in this
dialog.
• Clear the checkmarks of the result items that no longer need to be displayed.
• Select a result item and click [Up] or [Down] to move the order of the result item up or
down one line.
Click [Close] to update the display in JMAG-Express.
Result graphs
• A line showing the operating range in a graph for an evaluation result is displayed when specify-
ing target values in the [Requirement] tab.
• The value of each point on a graph is displayed on a table when clicking on each result graph.
Right-click a table and specify [Copy All] to copy the entire contents in a table onto calculation
software.
• Each evaluation result is displayed with the color shown in the [Graph] cell in the table for the
design case.
• When one design case is selected in the design comparisons, a marker will appear on the graph
line for that design case.
Command Icons
Icon Description
[Zoom] Drag on the graph after click this icon to enlarge the graph.
[Pan] Drag on the graph after click this icon to move the graph curves while
changing the display of the axes.
[Zoom In] Each time this icon is clicked, the graph is zoomed in.
[Zoom Out] Each time this icon is clicked, the graph is zoomed out.
[Fit] Click this icon to adjust the size so that the entire graph is displayed.
[Toggle Spike Lines] After clicking this icon, hover the mouse pointer over the graph line to dis-
play the auxiliary line.
[Show Closest Data on When you place the mouse pointer on the graph line after clicking this
Hover] icon, the X-axis value and Y-axis value at the position pointed by the mouse
will be popped up.
73
JMAG Version 22.2 User's Manual
JMAG-Express
Icon Description
[Compare Data on When you place the mouse pointer on the graph after clicking this icon,
Hover] the Y-axis value at the X-axis value at the position pointed by the mouse
will be popped up. If multiple graph lines are displayed, the Y-axis values
for all lines will pop up.
[Display Graph Value] Click this icon to display the graph data table in the [Graph Value] dialog.
Right-clicking a cell in the data table copies the data in that cell.
[Edit Graph Property] Click this icon to display the [Axis Property] dialog.
In this dialog, you can specify the following parameters for each axis.
• [Label]
• [Scaling]
• [Precision]
• [Default Min]/[Default Max]
Click [OK] to reflect the settings in the graph.
74
Getting Started with JMAG-Express 21.2
Result maps
Command Icons
Icon Description
[Map Property] Click this icon to display the [Map Property] dialog.
In this dialog, you can specify the following parameters.
• [Label]
• [X-axis]/[Y-axis (Left)]/[Y-axis (Right)]
• [Label]
• [Precision]
• [Default Min]/[Default Max]
• [Major Tick Marks]/[Minor Tick Marks]
These parameters can only be specified for the [X-axis] and [Y-axis
(Left)].
• [Grid Line]
• [Colors]
• [Gradient]
• [Smooth] or [Color Bands]
• [Levels]:
The number of bands to display for the color bands.
• [Labels]:
The number of labels to display for the scale bar.
• [Show Isolines]
• [Show Isolines Labels]
• [Isoline Label Precision]
Click [OK] to reflect the settings in the map.
[Expanded View] Click this icon to start JMAG-Designer and display the selected map in the
JMAG-Designer.
75
JMAG Version 22.2 User's Manual
JMAG-Express
Command Icons
Icon Description
[Contour Property] Click this icon to display the [Map Property] dialog.
• [Contour Type] ([Shaded] or [Isolines])
• [Scaling]
• [Scaling] ([Linear] or [Logarithmic])
• [Range] ([Autoscale] or [Fixed Range])
• [Scale Bar Digits Notation] ([Auto], [Scientific], or [Decimal])
When [Scientific] is selected, type the number of digits of the mantissa to
display (ex.: the “234567” portion of “1.234567E + 8” is a mantissa).
When [Decimal] is selected, type the number of digits after the decimal
point to display.
• [Colors]
• [Gradient]
• [Smooth] or [Color Bands]
• [Levels]:
The number of bands to display for the color bands.
• [Labels]:
The number of labels to display for the scale bar.
Click [OK] to reflect the settings in the diagram.
[Flux Line Property] Click this icon to display the [Flux Line Property] dialog.
In this dialog, you can specify the following parameters.
• [Number of Lines] or [Fixed Flux, Wb]:
When [Number of Lines] is selected, specify the maximum number of
lines to be displayed.
When [Fixed Flux, Wb] is selected, specify the amount of magnetic flux
between lines. This value determines the number of lines to be displayed.
• [Line Color]
Click [OK] to reflect the settings in the diagram.
Click this icon to start JMAG-Designer and display the selected contour or
[Expanded View]
flux diagram in the JMAG-Designer.
Design Sheet
In this frame, the design parameters and their values in the [Dimensions] tab, [Material] tab,
[Winding] tab, and [Drive] tab.
76
Getting Started with JMAG-Express 21.2
For design parameters that can be used as design variables in the parametric analysis, the cells with
the values of the design parameters are filled in yellow.
Notes
• The created case groups cannot be edited.
• Settings of the created response graphs cannot be edited.
Procedures
77
JMAG Version 22.2 User's Manual
JMAG-Express
Response graph
78
Getting Started with JMAG-Express 21.2
teristics] and [Cogging Torque]. When [Case Number] is selected, only the parameter for
[Evaluation Type] needs to be set.
• [Type]:
Items displayed in the [Type] list are different depending on the selected evaluation items.
When [Machine Characteristics] is selected, select [Point on NT Curve] or [Operating
Point].
When other evaluation items are selected, select one of the following: [RMS], [Integral
Average], [Maximum], [Minimum], [Range], or [Ripple Rate].
• [Result Type]:
Items displayed in the [Result Type] list are different depending on the selected evaluation
items. For the result of each evaluation item, see “Evaluation Results in JMAG-Express
21.2” on page 105.
• [Speed], [Torque]:
When [Machine Characteristics] is selected for [Evaluation Type] and [Point on NT
Curve] is selected for [Type], enter the value for [Speed]. This value determines the speed
at one point on the NT curve.
When [Machine Characteristics] is selected for [Evaluation Type] and [Operating Point] is
selected for [Type], enter values for [Speed] and [Torque]. These values determine the
operating points.
MEMO When the result of the selected evaluation type and the results of the specified speed
and torque are not in the design case, points for the design case are not output to the response
graph.
iv. Click [OK].
The [Create Response Graph] dialog closes.
The created response graph is displayed in the [Response] tab.
The same operation as the result graph displayed in the [Characteristics] tab can be used for
the response graph. See “Performances” on page 72.
To cancel a response graph, click the [Delete Graph] icon.
MEMO When [Resister User-Defined Template] and [Export Template File] in the [File] menu
are executed, the case group setting and response graph are saved with the model.
Exporting Specifications and Evaluation Results to Reports for the Active Case
The specifications of designed motors can be exported to PDF files and CSV files. For motors where
evaluations have already been executed, evaluation results can be exported also.
Notes
• The design parameter values for the design case displayed in JMAG-Express can be output to
PDF and CSV files.
• The content of design sheets in the main window [Characteristics] tab is output to both PDF
files and CSV files.
• The results (graphs and maps) displayed in the [Characteristics] tab and [Response] tab are out-
put to the PDF file. The data table of the graphs are not output.
79
JMAG Version 22.2 User's Manual
JMAG-Express
• The data table of the graphs displayed in the [Characteristics] and [Response] tabs are output to
the CSV file. The graphs and figures are not output.
Running procedure
80
Getting Started with JMAG-Express 21.2
Notes
• The location where the JPROJ file is exported when [Open in JMAG-Designer] is executed can
be specified in the [Options] dialog.
If the location where the JPROJ file is exported is not specified in the [Options] dialog, the
JPROJ file will be exported to the location specified by JMAG-Express. The following is an
example for a Windows 10 machine; the date and time of the export are used for the JPROJ file
name.
C:\Users\(login user name)\Documents\JMAG\JMAG-
ExpressX\projects\(yyyymmdd_hhmmss).jproj
Running procedure
1. If the motor model has multiple design cases, select the checkboxes for the design cases
to be sent to JMAG-Designer.
2. Click [Open in JMAG-Designer] or [Send to Path] in the main window [Home] tab.
Use the arrow icon to switch between [Open in JMAG-Designer] and [Send to Path].
• When [Open in JMAG-Designer] is clicked, the motor model JPROJ file is exported to the
folder specified in the [Option] dialog in JMAG-Express. After the motor model JPROJ file is
exported, JMAG-Designer starts and the JPROJ file opens.
A processing icon is displayed above [Open in JMAG-Designer] while the file is being
exported. In JMAG-Express, other operations can be performed while the icon is displayed.
• When [Send to Path] is clicked, the [Export Project] dialog is displayed. Specify the name and
destination of the JPROJ file to be exported, and click [Save]. After the JPROJ file has been
saved to the specified location, JMAG-Designer starts, and the exported JPROJ file is opened
in JMAG-Designer.
81
JMAG Version 22.2 User's Manual
JMAG-Express
• Design cases in JMAG-Express are managed in the [Case Control] of each study.
To check the cases that have been added to each study, right-click the [Case Control] of each
study in the [Project Manager] tree and select [Show Cases].
• The evaluation results for each design case are also exported from JMAG-Express to JMAG-
Designer.
For details on the specifications of JPROJ files exported from JMAG-Express, see “Contents of
JPROJ File Exported from JMAG-Express” on page 124.
82
Design Parameters in JMAG-Express 21.2
83
JMAG Version 22.2 User's Manual
JMAG-Express
[Requirement] Tab
In the [Requirement] tab in the main window, set the performance target values for the motor.
• Parameters (page 84)
Parameters
[Targeted Value]
After setting the target values and executing the motor characterization, a line indicating the opera-
tional range of the motor will be displayed in the performance graph.
Select the checkboxes of the items that will be used as target values from those shown below, and
enter a value in the text box.
Parameter Description
[Rated Power, kw] In the [Rated Revolution Speed, rpm], enter the target revolution speed during
[Maximum Torque, maximum torque.
Nm] The relational equation of rated output, maximum torque, and rated revolu-
[Rated Revolution tion speed is the following:
Speed, rpm] (Rated output (W))
= (Maximum torque (N x m)) × 2p × (Rated revolution speed (rpm) /60)
When the specified values do not satisfy this formula, a warning message is
shown.
[Maximum Revolu- When [Maximum Revolution Speed, rpm] is selected, this value is carried over
tion Speed, rpm] to the maximum revolution speed of the line showing the range of possible
operation.
84
Design Parameters in JMAG-Express 21.2
[Dimensions] Tab
In the [Dimensions] tab in the main window, set the dimension values for the motor.
The variables (geometry parameters) are displayed in a tree. When the text box for each variable is
activated, a dimension line for that variable is shown in the [Motor Diagram] tab.
Notes
• When interference occurs in geometry and regions cannot be created, the locations experiencing
problems are highlighted in red. Use [Undo] or correct values that were changed immediately
prior.
Parameters
[All]
Variables (geometry parameters) that affect the entire model are displayed below [All].
85
JMAG Version 22.2 User's Manual
JMAG-Express
86
Design Parameters in JMAG-Express 21.2
[Cage]
The [Cage] is displayed in the [Dimension] tab for induction motors.
In the [Cage], parameters are displayed to determine the resistance between the rotor bars. You can
either specify the resistance directly or by specifying the end ring cross-sectional area.
Parameters Description
[Input Type] Select from the following:
• [Resistance]:
Applies specified resistance values to both the end ring upper side and
lower side.
• [Upper/Lower Resistances]:
Applies differing resistance values to the end ring upper side and lower
side.
Select [Upper/Lower Resistances] and [Upper/Lower Sections] when the
end ring upper side and lower side differ in cross-section geometry.
• [Section]:
Applies resistance values calculated from the specified end ring cross-sec-
tion area to both the end ring upper side and lower side.
• [Upper/Lower Sections]:
Resistance values calculated from the end ring cross-section areas speci-
fied separately for the upper side and lower side are applied to the upper
side and lower side respectively.
For details on calculation methods for resistance values from end ring
cross-section areas, see “The calculation formula for resistance values in-
between the rotor bar from the end ring cross-section area” on page
89.
[Upper Ring Resistance], When [Resistance] is selected for [Input Type], specify the resistance values
[Lower Ring Resistance] to apply to both the end ring upper side and lower side via [Upper Ring
Resistance].
When [Upper/Lower Resistances] is selected for [Input Type], specify the
resistance values to apply to the upper side end ring via [Upper Ring Resis-
tance], and specify the resistance values to apply to the lower side end ring
via [Lower Ring Resistance].
[Upper Ring Section Select one of the following when [Section] or [Upper/Lower Sections] is
Type], [Lower Ring Sec- selected for [Input Type].
tion Type] • [Rectangle]:
Determines the end ring cross-section area by specifying the end ring
height and width.
• [Trapezoid]:
Determines the end ring cross-section area by specifying the end ring
height as well as the width of the upper side and lower side.
• [Section Area]:
Directly specifies the end ring cross-section area.
[Upper Ring Height], Specify the height of end ring when [Rectangle] or [Trapezoid] is
[Lower Ring Height] selected in [Upper Ring Section Type] or [Lower Ring Section Type].
87
JMAG Version 22.2 User's Manual
JMAG-Express
Parameters Description
[Upper Ring Width], Specify the width of end ring when [Rectangle] is selected in [Upper
[Lower Ring Width] Ring Section Type] or [Lower Ring Section Type].
[Upper Ring Top Width], Specify the width of the top and bottom sides of the end ring cross-sec-
[Upper Ring Bottom tion when [Trapezoid] is selected in [Upper Ring Section Type] or
Width], [Lower Ring Top [Lower Ring Section Type].
Width], [Lower Ring Bot-
tom Width]
[Upper RingHeight]
Lower side
[Upper Ring Top Width], [Upper Ring Bottom Width], [Upper Ring Height]
Parameters Description
[Upper Ring Offset], Displayed when [Section] or [Upper/Lower Section] is selected in
[Lower Ring Offset] [Input Type].
Specify how much the center position of the end ring is offset from the
center position of the bar. The arithmetic mean value of the vertex coor-
dinates of the bar region is used as the center position of the bar.
• With the default value set to 0, the center positions of the end ring and
bar are the same.
• Entering a positive value moves the center position of the end ring away
from the model center.
• Entering a negative value moves the center position of the end ring
towards the model center.
This parameter is used when calculating the circumference of the end
ring.
88
Design Parameters in JMAG-Express 21.2
Bar
[Offset] [Offset]
Center
Parameters Description
[Upper Ring Area], Displayed when [Section Area] is selected in [Upper Ring Section Type]
[Lower Ring Area] or [Lower Ring Section Type]. Enter the cross-sectional area of the end
ring.
[Upper Ring Area Fac- Displayed when [Section] or [Upper/Lower Section] is selected in
tor], [Lower Ring Area [Input Type].
Factor] When the cross-section area of the end ring is set to 100%, specify the per-
centage of the area that has current running through it.
(Effective cross-section area of end ring)
= (End ring cross-section area) x (Effective cross-section area)/100
The calculation formula for resistance values in-between the rotor bar from the end ring
cross-section area
(Resistance value in between rotor bar) = (end ring circumference)/
(effective cross-section area of end ring) x (electric conductivity of cage) x (number of rotor bars)
Circumference of the end ring, (end ring circumference) = (center position of bar + offset from
m the center position of the bar) x 2π
Effective cross-section area of (effective cross-section area of end ring) = (cross-section area of
end ring, m^2 end ring) x (effective cross-section area)/100
The electric conductivity of The value of [Electric Conductivity] in the [Material] tab is used.
cage
Number of rotor bars The value in [BARS: Number of Bars] of the [Dimension] tab is
used.
89
JMAG Version 22.2 User's Manual
JMAG-Express
[Materials] Tab
In the [Material] tab in the main window, set the material for each part of the motor.
• Notes (page 90)
• Parameters (page 90)
Notes
• Custom materials cannot be created in JMAG-Express.
Parameters
[Part]
Select parts to set materials from the list. Selecting a part will highlight that part in the [Model Dia-
gram] tab.
[Category]
Select categories in which materials to use are categorized. Selections displayed under [Category] will
vary depending on the part.
90
Design Parameters in JMAG-Express 21.2
[Product]
In [Product], the materials that are categorized in the material category selected in [Category] will be
displayed. Select the material to be applied to the part from among the displayed materials.
• For [Nonlinear (Reversible/Temperature dependent)] magnets, “(Temperature Dependent)” is dis-
played at the end of the material name.
• For [Nonlinear (Irreversible/Thermal demagnetization/Demagnetizing field) (Bilinear Approxima-
tion)] magnets, “(Irreversible, Temperature Dependent)” is displayed at the end of the material
name.
• For details on material data provided by material manufacturers, please contact the material
manufacturers directly. See “Parameters Explanation Edition” for material manufacturer contact
details.
[Temperature, deg C]
This parameter is displayed when the following magnets are applied to the part.
• [Nonlinear (Reversible/Temperature dependent)] magnets:
When this magnet is used, select a temperature from the [Temperature] list. The B-H curve at
the selected temperature will be used for the analysis.
• [Nonlinear (Irreversible/Thermal demagnetization/Demagnetizing field) (Bilinear Approximation)]
magnets:
When this magnet is used, enter the temperature in the [Temperature] box. During the analysis,
a B-H curve at the specified temperature will be generated and the B-H curve will be used in the
analysis.
91
JMAG Version 22.2 User's Manual
JMAG-Express
[B-H Curve]
When soft magnetic materials or magnets are selected for [Product], the B-H curves of those materi-
als are displayed.
• B-H curve numerical value data cannot be checked in JMAG-Express.
92
Design Parameters in JMAG-Express 21.2
Parameter Description
[Saturation, %] A correction value can be multiplied by the size of saturation magnetization.
This function can be used for making fine adjustments in the difference
between magnetic properties used for the calculation and magnetic properties
for the actual machine.
93
JMAG Version 22.2 User's Manual
JMAG-Express
[Magnetization Pattern]
Select a magnetization pattern for the magnet when magnet is selected in [Type].
When magnetization pattern is selected, the magnetization direction of the magnet is previewed in
the [Model Diagram] tab.
Type Description
[Parallel] When [Parallel] is selected for [Magnetization Pattern], either [[Parallel
Pattern (Circular Direction)] or [Parallel Pattern (Circular Any Direction)]
is used for evaluation in JMAG-Designer. Which one is used depends on
the arrangement of the magnets.
To use [Parallel Pattern (Circular Any Direction)] in the user defined tem-
plate, create a direction set (Magnet_Direction) when creating a motor
shape in Geometry Editor. The magnetization direction vector is deter-
mined by this direction set.
94
Design Parameters in JMAG-Express 21.2
Type Description
[Radial] When [Radial] is selected for [Magnetization Pattern], either [Radial Pat-
tern (Circular Direction)] or [Radial Pattern (Circular Any Radial Center)]
is used for evaluation in JMAG-Designer. Which one is used depends on
the shape of the magnet.
To use [Radial Pattern (Circular Any Radial Center)] in the user defined
template, create direction set (Magnet_RadialDirection) when creating a
motor shape in Geometry Editor. The radial magnetization vector is deter-
mined by this direction set.
[Polar Anisotropy] When [Polar Anisotropy] is selected in [Magnetization Pattern], [Polar
Anisotropic Pattern (Circular Direction)] is used for evaluation in JMAG-
Designer.
When [Polar Anisotropy] is selected, input the radius from the center of
the magnetic pole in the [Radius] box.
Center of
magnetic pole
[Radius]
95
JMAG Version 22.2 User's Manual
JMAG-Express
[Winding] Tab
In the [Winding] tab, set the coil pitch and wire connection information.
• Notes (page 96)
• Parameters (page 96)
MEMO Windings determined from settings in the [Winding] tab can be checked via diagrams in the
[Model Diagram] tab, the [Winding Diagram] tab, and the [Slot Diagram] tab.
Notes
• The unit for CAD parameter values ([Wire Diameter] and [Wire Width], etc.) specified in the
[Winding] tab is Millimeters (mm).
Parameters
[Number of phases]
Motor type Description
Brushless motor [3] or [6] can be selected.
Induction motor [Number of phases] is not displayed in the [Winding] tab because it is
fixed to 3-phase.
[Connect Method]
Select either [Star] or [Delta].
[Parallel Number]
In [Parallel Number], the divisors for the number of coils are displayed. For example, if the number
of slots is 24, “1, 2, 4, 8” is displayed. When [Parallel Number] is set, the series number is automat-
ically determined.
• When [Turns/Wire Size], [Turns/Slot-Fill Factor], or [Wire Size/Slot-Fill Factor] for [Input
Item] under [Coil Property] is selected, the phase resistance is calculated taking into account
whether the coils are in series or parallel.
[Coil Property]
Specify details of the coil such as the number of turns, the size and geometry of the wire cross-sec-
tion, and insulating film. The phase resistance or coil resistance is calculated based on these parame-
ters and used for the evaluation.
96
Design Parameters in JMAG-Express 21.2
[Input Item]
Select the type of parameter to specify.
Since there is a correlation among the number of turns, wire size, and slot fill factor (ratio of the wire
cross-section area against the slot cross-section), specifying two of the three parameters determines
the remaining parameter.
Type Description
[Turns/Wire Size] Specify the number of turns of the coil, as well as the geometry and size of
the wire cross-section.
The slot fill factor is calculated based on these parameters and the following
formula.
(Slot fill factor) = (Wire cross-section area + Insulation film area) x
(Number of turns)/(Slot area - Insulation sheet area)
[Turns/Slot Fill Factor] Specify the number of turns of the coil and ratio of the wire cross-section
area to the slot cross-section.
The cross-section area of the wire is calculated based on these parameters
and the following formula.
(Wire cross-section area; including film thickness) = (Slot area - Insula-
tion sheet area) x (Slot fill factor)/(Number of turns)
Before selecting [Turns/Slot Fill Factor] in [Input Item], select the type of
geometry of the wire cross-section in the [Setting Type]. Also, enter the
ratio of the width and height of the rectangular wire when selecting the
[Rectangle Wire Dimension].
The diameter of the round wire or width and height of the rectangle wire is
calculated based on the wire cross-section area including the film thickness.
The ratio of the width and height of the rectangle wire uses the value that
has been calculated.
[Wire Size/Slot Fill Fac- Specify the geometry and size of the wire cross-section and the ratio of the
tor] area of wire cross-sectional area to the slot-section area.
The number of turns of the coil is calculated based on these parameters and
the following formula.
(Turns) = (Slot area) x (Slot fill factor)/(Wire cross-section area + Insula-
tion film area)
[Phase Resistance] Specify the resistance of the entire coil per phase. In addition to [Phase
Resistance], it also specifies [Number of Turns] and [Slot Fill Factor].
97
JMAG Version 22.2 User's Manual
JMAG-Express
N coil : Number of coils (for multiple phase motor, number of coils per phase),
N turn : Number of turns (turn) (for multiple phase motor, number of turns per phase),
S wire : cross-section area (m2) for one wire
Coil region 2
Coil region 1
Number of turns
to specify
[Setting Type], [Wire Diameter, mm], [Wire Width, mm], [Wire Height, mm]
Specify [Setting Type] when either [Turns/Wire Size] or [Wire Size/Slot Fill Factor] is selected in the
[Input Item].
Select [Round Wire Dimension] or [Rectangle Wire Dimension] as the wire cross-section geometry.
Furthermore, enter [Wire Diameter, mm] when [Round Wire Dimension] is selected and [Wire
Width, mm] and [Wire Height, mm] when [Rectangle Wire Dimension] is selected.
Parameter Description
[Film Thickness] Enter thickness for insulation that wraps the wire.
[Number of Strands] When winding a wire in parallel, enter the number of wires to put in paral-
lel.
[Insulation Thickness] Enter insulation thickness to prevent contact with the slot and wire. This
parameter is used to calculate the slot fill factor.
98
Design Parameters in JMAG-Express 21.2
[Slot-Fill Factor, %]
Specify [Slot-Fill Factor, %] when either [Turns/Slot Fill Factor], [Wire Size/Slot Fill Factor] or
[Phase Resistance] is selected in the [Input Item].
Enter the value defined with the following formula as the [Slot Fill Factor] when selecting either
[Turns/Slot Fill Factor] or [Wire Size/Slot Fill Factor].
(Slot fill factor) = (Wire cross-section area + Insulation film area) x (Number of turns)/(Slot area
- Insulation sheet area)
Enter the value defined with the following formula as the [Slot Fill Factor] when [Phase Resistance]
is selected.
(Slot fill factor) = (Wire cross-section area) x (Number of turns)/(Slot area - Insulation sheet area)
• The slot area is determined by the coil area.
• One layer corresponds to one coil bundle, and the insulation sheet is considered for each layer.
The definition of the insulation sheet is shown in the figure below.
[Correction Factor]
Specify [Correction Factor] when either [Turns/Wire Size], [Turns/Slot Fill Factor], or [Wire Size/
Slot Fill Factor] is selected in [Input Item].
Enter the multiplier for the coil length.
99
JMAG Version 22.2 User's Manual
JMAG-Express
Resistance of coil
[Layers]
Select [1] or [2] as the number of the coil side which passes through each slot.
If you select [1], one coil side is housed in one slot. If you select [2], two coil sides are housed in one
slot.
The number of layers is accounted for when either [Turns/Wire Size], [Turns/Slot Fill Factor], or
[Wire Size/Slot Fill Factor] is selected in [Input Item] during the calculation of phase resistance.
The number of layers is automatically fixed to “2” when [Automatic (Concentrated Winding)] is
selected as the coil winding method in the [Winding] group box.
[Winding]
The winding condition is displayed in the [Motor Diagram] tab once the coil winding is set.
[Winding Scheme]
Method Description
[Automatic] Determines the winding based on the coil pitch. Enter a value in the [Coil
Pitch] box.
[Automatic (Concentrated In this winding method, the coil pitch is 1 and the number of layers is 2.
Winding)]
[Manual] Determines the winding according to the winding table. Select a phase
from [Edit Phase], then enter a value in each cell of the winding
table.When [6] is selected for [Number of phases], [Manual] is automati-
cally selected for [Winding Scheme].
[Coil Pitch]
Enter the number of slots spanned by one coil in [Coil Pitch]. For example, enter “4” for the coil of
the diagram below.
100
Design Parameters in JMAG-Express 21.2
Example
101
JMAG Version 22.2 User's Manual
JMAG-Express
[Drive] Tab
In the [Drive] tab of the main window, set the drive circuit and driving current.
• Notes (page 102)
• Parameters (page 102)
Notes
• For induction motors, the control method cannot be selected.
Parameters
[Drive Circuit]
The parameters and options under [Drive Circuit] are used when [Machine Characteristics] is
selected as the evaluation item. For each parameter and option, see the explanation in the “Efficiency
Map” chapter of the “Parameter Explanation Edition”.
Parameter Description
[Motor Control] This parameter is displayed for brushless motors.
Select one of the following:
• [Max Power/Efficiency]:
While varying the current amplitude/current phase, the point where the
efficiency is maximized is searched.
• [Max Torque/Current (MTPA)]:
For a given current, the current phase is controlled so that the torque
stays maximized.
• [Max Torque/Current + Field Weakening]:
When the terminal voltages are all lower than the maximum voltage, for
a given current the current phase is controlled so that the torque stays
maximized. When any terminal voltage rises above the maximum volt-
age, by flux-weakening control the current phase is advanced until the
terminal voltage falls below the maximum voltage.
• [Unity Power Factor]:
The current is controlled so that the power factor remains at 1.
MEMO [Unity Power Factor] is not supported for a six-phase motor.
• [Id = 0]:
The d-axis is controlled so that it remains at 0, that is, the phase current
remains at 0 deg.
[Maximum Voltage, V] Input the maximum value of the fundamental line voltage supplied from
the inverter to the motor.
When the amplitude of the phase voltage of the motor is Vph, the motor is
controlled in a range where √3 × Vph <= Vmax for a star connection. For a
delta connection, the motor is controlled in a range where Vph <= Vmax.
Enter a value greater than zero.
102
Design Parameters in JMAG-Express 21.2
Parameter Description
[Maximum Current, A] Input the maximum amplitude of the line current supplied from the
inverter to the motor.
When the amplitude of the phase current of the motor is Iph, the motor is
controlled in a range where Iph <= Imax for a star connection. For a delta
connection, the motor is controlled in a range where Iph × √3 <= Imax.
Enter a value greater than zero.
[Maximum Rotating This parameter determines the evaluation range. The range from 0 rpm to
Speed, rpm] the value of [Maximum Rotating Speed, rpm] is calculated and displayed
on the N-T graph.
Enter a value greater than zero.
[Mechanical Loss Factor, When taking into account the mechanical loss proportional to the speed,
W/k rpm] enter a correction factor.
[Add Approximate PWM • Cleared (default):
Iron Losses] Does not calculate PWM iron loss.
• Selected:
Calculates approximate PWM iron losses and adds PWM iron losses to
total losses and iron losses. Specify [DC Bus Voltage] and [Carrier Fre-
quency] described later.
MEMO The calculated PWM iron losses are reflected in the loss map, but
not in the design comparisons.
[Add Approximate PWM • Cleared (default):
Magnet Eddy Current Does not calculate permanent magnet eddy current loss.
Losses] • Selected:
Approximately calculates permanent magnet eddy current losses and
adds them to total losses. Specify [DC Bus Voltage] and [Carrier Fre-
quency] described later.
IMPORTANT This option is intended for use with IPM motors
that contain rectangular magnets; if you use this option for SPM
motors or motors that contain curved magnets, the calculation may
not be sufficiently accurate.
MEMO The calculated permanent magnet eddy current loss is reflected in
the loss map, but not in the design comparisons.
MEMO The electrical conductivity of the magnet is used in the approxi-
mate calculation of the magnet eddy current loss by JMAG-Express. If you
want to change the value of the electrical conductivity of the magnet used
in this calculation, run an efficiency map analysis study in JMAG-
Designer.
For information on how to send model data to JMAG-Designer, see
“Sending Designed Motor Models to JMAG-Designer” on page 81.
[DC Bus Voltage, V] This parameter is used when [Add Approximate PWM Iron Losses] or
[Add Approximate PWM Magnet Eddy Current Losses] is selected.
This value is used to find the modulation index of the PWM.
The modulation index is the ratio of fundamental wave amplitude and car-
rier wave amplitude.
[Carrier Frequency Hz] This parameter is used when [Add Approximate PWM Iron Losses] or
[Add Approximate PWM Magnet Eddy Current Losses] is selected.
Enter the PWM carrier frequency.
103
JMAG Version 22.2 User's Manual
JMAG-Express
[Operating Point]
If [Torque Ripple] or [Demagnetization] is selected as the evaluation item, transient analysis at an
operating point will be performed. Here, determine the operating point to be used for the analysis.
Parameter Description
[Use Operating Point at • Selected (default):
Maximum Power] Transient analysis is performed using the operating point with the maxi-
mum mechanical power obtained from the machine characteristics anal-
ysis.
If the model has already output the results of the machine characteristics
analysis, the results will be used. If the model does not have the results of
the machine characteristics analysis, the machine characteristics analysis
will be performed before the transient analysis, even if [Machine Charac-
teristics] is cleared in the evaluation item.
• Cleared:
Transient analysis will be performed using the specified operating points.
Parameters for determin- When [Use Operating Point at Maximum Power] is cleared, specify the fol-
ing the operating point lowing parameters. The operating point determined by these parameters
will be used for the analysis.
• Brushless motors:
[Current, A], [Phase, deg], [Speed, rpm]
• Induction motors:
[Current, A], [Speed, rpm], [Slip]
The values of [Speed, rpm] and [Slip] will also be used to step control set-
tings when [Cogging Torque], [Torque Ripple], [Induced Voltage], or
[Demagnetization] is selected as the evaluation item.
MEMO Each value of the operating point used in the analysis is displayed in the title of the contour plot
or flux line diagram.
104
Evaluation Results in JMAG-Express 21.2
This chapter details the values obtained as a result of motor characterization using JMAG-Express.
In the following table, “evaluation item” means each checkbox in the [Evaluate] group on the [Home] tab of the
main window. For example, the result of the row displaying “[Machine Characteristics]” in the “Evaluation
Item” column is output when [Machine Characteristics] is selected.
MEMO In the step control, you can change the analysis step of the contour plots and flux lines.
105
JMAG Version 22.2 User's Manual
JMAG-Express
Notes
Accuracy of evaluation results
Evaluation results are calculated numerically using the finite element method. For this reason, the
accuracy of the evaluation results will depend on the mesh of the calculation model.
In JMAG-Express, depending on the evaluation items, calculations are performed once mesh set-
tings are configured as described in “Contents of JPROJ File Exported from JMAG-Express” on
page 124.
Perform the following operations to check the mesh that is used in calculations.
(1) Export JPROJ files from JMAG-Express to JMAG-Designer. For details, see “Sending
Designed Motor Models to JMAG-Designer” on page 81.
(2) Select the study corresponding to the evaluation items in JMAG-Designer, then click [View
Mesh] .
The sensitivity of the mesh for the evaluation results can be investigated by changing the mesh set-
tings in JMAG-Designer and running additional analysis. If the results change significantly due to
changes made to the mesh settings, run analysis with a finer mesh and higher accuracy in JMAG-
Designer, then re-evaluate the results.
The following is an example of how to make the mesh finer.
• Increase the slide mesh [Circumferential Divisions] and [Radial Divisions] values.
• Set a smaller element size for parts.
106
Evaluation Results in JMAG-Express 21.2
Design Table
Physical quantity Description
Current (A) The amplitude value of the line current.
The value at the operating point that results in the maximum output. Or, the
value specified in the [Operating Point] group box in the [Drive] tab.
Phase (deg) The current phase value.
The value at the operating point that results in the maximum output. Or, the
value specified in the [Operating Point] group box in the [Drive] tab.
Speed (r/min) Rotational speed.
The value at the operating point that results in the maximum output. Or, the
value specified in the [Operating Point] group box in the [Drive] tab.
Torque (Nm) The average electromagnetic torque output from the Torque condition set for the
rotor.
MEMO Stator copper loss accounted for in electromagnetic torque.
Voltage (V) Peak Line-to-Line voltage between U- and V- phases.
This value is calculated from the magnetic flux and coil resistance.
dI dφ
V = IR + L ----- + ------
dt dt
V : voltage (V)
I : coil current (RMS value) (A)
R : coil resistance (ohm)
L : leakage inductance of the coil (H)
dφ
φ : magnetic flux (Wb). φ is calculated at a single speed, but ------ varies with
dt
speed.
Fundamental volt- The amplitude of the fundamental harmonic detected using the discrete Fourier
age (V) transform
107
JMAG Version 22.2 User's Manual
JMAG-Express
V q = RI q + ωφ d
pf : power factor
Total loss (W) Sum of iron loss, copper loss, and circuit loss
Iron loss (W) Iron loss value from the Iron Loss condition (sum of hysteresis loss and eddy cur-
rent loss)
Hysteresis loss Hysteresis loss from the Iron Loss condition
(iron loss) (W)
Eddy current loss Eddy current loss of laminated steel sheet from the Iron Loss condition
(iron loss) (W)
Copper loss (W) Loss that occurs in windings.
This is calculated using coil resistance and currents.
W copper = 3 I 2 R
108
Evaluation Results in JMAG-Express 21.2
2 2
cos Θ cos Θ – --- π cos Θ + --- π φu
φd 3 3
= K× × φv
φq 2 2
– sin Θ – sin Θ – --- π – sin Θ + --- π φw
3 3
φ d , φ q : coil flux linkage of d-axis and q-axis (Wb)
K : transform factor.
• K = 2 ⁄ 3 : relative conversion
Θ : rotor electrical angle (rad)
Θ = θ deg × π ⁄ 180 θ deg = θ e + θ e0
L ds , L qs : d-axis and q-axis static inductance (H). For six-phase motors, the
mutual inductance value is included.
φ d , φ q : d-axis and q-axis total magnetic flux (Wb). The flux linkage in the FEM
coil at the specified current calculated from the magnetic field analysis.
φ magnet d , φ magnet q : d-axis and q-axis magnet magnetic flux (Wb). The flux
linkage for the FEM coil when the current is zero.
I d , I q : d-axis and q-axis current in the coil (A). The value specified in the [Cre-
ate Response Table] dialog.
Magnet flux (d- The amplitude value of the primary component of magnet magnetic flux.
axis) (Wb) This value is obtained by converting the flux linkage of the U-, V-, and W-phase
into the dq-axis and averaging the d-axis flux.
Magnet flux (d- Output for dual three-phase windings or six-phase windings.
axis-1) (Wb) This is the amplitude value of the primary component of magnet magnetic flux.
This value is obtained by converting the flux linkage of the first winding (U-V-W)
into the dq-axis and averaging the d-axis flux.
109
JMAG Version 22.2 User's Manual
JMAG-Express
Graphs
Evaluation item Result Description
[Mechanical Charac- N-T X-axis: speed (rpm), Y-axis: torque (Nm)
teristics] N-Output power X-axis: speed (rpm), Y-axis: output power (W)
N-Id X-axis: speed (rpm), Y-axis: d-axis current (A)
N-Iq X-axis: speed (rpm), Y-axis: q-axis current (A)
N-Iam X-axis: speed (rpm), Y-axis: current amplitude (A)
[Cogging Torque] Cogging torque X-axis: electric rotational angle (deg), Y-axis: torque
(Nm).
History graph of torque for no-load analysis.
Air gap magnetic flux X-axis: position (electrical angle) (deg), Y-axis: mag-
density (no load) netic flux density (T)
[Torque Ripple] Torque ripple X-axis: electric rotational angle (deg), Y-axis: torque
(Nm).
History graph of torque for load analysis.
Air gap magnetic flux X-axis: position (electrical angle) (deg), Y-axis: mag-
density (load) netic flux density (T)
[Induced Voltage] Induced voltage X-axis: electric rotational angle (deg), Y-axis: voltage
(V)
• For star connection, U-phase induced voltage wave-
form is output.
• For delta connection, the induced voltage waveform
between U and V phases is output.
[Demagnetization] Induced voltage after X-axis: electric rotational angle (deg), Y-axis: voltage
demagnetization (V)
• For star connection, U-phase induced voltage wave-
form is output.
• For delta connection, the induced voltage waveform
between U and V phases is output.
110
Evaluation Results in JMAG-Express 21.2
pf : power factor
111
JMAG Version 22.2 User's Manual
JMAG-Express
Contour Plots
112
Evaluation Results in JMAG-Express 21.2
Flux Lines
113
JMAG Version 22.2 User's Manual
JMAG-Express
Design Table
Physical quantity Description
Current (A) The amplitude value of the line current.
The value at the operating point that results in the maximum output. Or, the
value specified in the [Operating Point] group box in the [Drive] tab.
Slip (Hz) The value at the operating point that results in the maximum output. Or, the
value specified in the [Operating Point] group box in the [Drive] tab.
Speed (r/min) Rotational speed.
The value at the operating point that results in the maximum output. Or, the
value specified in the [Operating Point] group box in the [Drive] tab.
Torque (Nm) The shaft torque at the operating point calculated from the equivalent circuit.
MEMO Stator copper loss and iron loss are account for in shaft torque. Other
losses (AC copper loss, mechanical loss, circuit loss) are not accounted for.
Voltage (V) The amplitude value of phase voltage calculated from the equivalent circuit
Power factor The ratio of active power to apparent power
Total loss (W) Sum of the rotor copper loss, stator copper loss, iron loss, stray load loss, and cir-
cuit loss
Iron loss (W) The iron loss calculated from the equivalent circuit
Stator copper loss Stator winding loss.
(W) This is calculated using the coil resistance and the current.
W copper = 3 I 2 R
114
Evaluation Results in JMAG-Express 21.2
L2 (rotor leakage Rotor cage leakage inductance that is transferred to the stator.
inductance) (H) An equivalent circuit parameter.
X 2 = ωL 2
115
JMAG Version 22.2 User's Manual
JMAG-Express
Graphs
Evaluation item Result Description
[Mechanical Charac- N-T X-axis: speed (rpm), Y-axis: torque (Nm)
teristics] N-Output power X-axis: speed (rpm), Y-axis: Output power (W)
N-Slip X-axis: speed (rpm), Y-axis: slip
N-Iam X-axis: speed (rpm), Y-axis: current amplitude (A)
[Torque Ripple] Torque ripple X-axis: electric rotational angle (deg), Y-axis: torque
(Nm).
History graph of torque for load analysis.
Air gap magnetic flux X-axis: position (electrical angle) (deg), Y-axis: mag-
density (load) netic flux density (T)
116
Evaluation Results in JMAG-Express 21.2
X1: Primary leakage reactance (ohm) Rst: Stray load loss resistance (ohm)
X2: Secondary leakage reactance (ohm) Lm: Magnetizing inductance (H)
R1: Primary resistance (ohm) G0: Exciting conductance (S)
R2: Secondary resistance (ohm) S: Slip
117
JMAG Version 22.2 User's Manual
JMAG-Express
Contour Plots
Evaluation item Result Description
[Torque Ripple] Magnetic flux density (load) (T)
Iron loss density (load) (W/m3) Stator iron loss.
Current density (A/m2)
Flux Lines
Evaluation item Result Description
[Torque Ripple] Magnetic flux line (load) (Wb)
118
JMAG-Express 21.2 Appendix
This chapter describes the basic template of JMAG-Express, the specifications of the output JPROJ file, and the
shortcut keys.
119
JMAG Version 22.2 User's Manual
JMAG-Express
Basic Templates
This section shows the templates that are preinstalled in JMAG-Express. Some of the basic templates
include both rotor and stator geometries, some include only rotor geometries, and some include
only stator geometries.
• Brushless Motor (IPM) (page 120)
• Brushless Motor (SPM) (page 121)
• Brushless Motor (Outer Rotor/IPM) (page 121)
• Brushless Motor (Outer Rotor/SPM) (page 122)
• Induction Motor (page 122)
MEMO The same geometry as the motor geometry used in the basic template of JMAG-Express is reg-
istered in the [Geometry Library] tab of Geometry Editor.
Rotor templates
rip_000 IPM Rotor, Basic
rip_001 Standard
rip_003 Spoke
rip_004 Hexagon barrier. Operating 2 points on an edge
rip_005 V standard
rip_006 Crescent
rip_007 Twin crescent
rip_008 Bisection
rip_009 Bisection. Two-layer
rip_010 Bisection. Three-layer
rip_011 Disposed in center of the flux barrier
rip_012 Connected inner slit
rip_013 Inverted triangle
rip_014 V-type. Two-layer
Stator templates
so_000 Stator core basic geometry
so_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
so_002 Teeth top angle, Arc bottom, Teeth width, Core back width
so_003 Fixed teeth angle, Arc bottom, Teeth width, Core back width
so_004 Straight teeth, Arc bottom, Teeth angle, Core back width
so_005 Straight teeth, Flat bottom, Slot width, Core back width
120
JMAG-Express 21.2 Appendix
Rotor templates
rsp_001 Ring
rsp_002 Constant angle
rsp_003 Constant width
rsp_004 Constant spacing
rsp_006 Constant width. Semi-circular
rsp_007 Constant width. Decay
Stator templates
The same stator templates can be used for brushless motors (IPMs); see “Brushless Motor (IPM)”
on page 120.
Rotor templates
rip_101 Standard
121
JMAG Version 22.2 User's Manual
JMAG-Express
rip_103 Spoke
rip_106 Crescent
Stator templates
si_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
si_002 Parallel sided teeth, Flat bottom, Teeth width, Core back width
si_003 Teeth top angle, Arc bottom, Teeth width, Core back width
si_004 Teeth top angle, Flat bottom, Teeth width, Core back width
si_006 Straight teeth, Arc bottom, Teeth width, Core back width
si_007 Straight teeth, Flat bottom, Teeth width, Core back width
si_008 Straight teeth, Arc bottom, Slot width, Core back width
si_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
si_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
si_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
si_014 Straight teeth, Arc bottom, Slot angle, Slot depth
si_015 Straight teeth, Flat bottom, Slot angle, Slot depth
si_016 Straight teeth, Round bottom, Teeth width, Slot depth
Rotor templates
rsp_101 Ring
rsp_102 Constant angle
rsp_103 Constant width
rsp_104 Constant spacing
rsp_106 Crescent
rsp_107 Constant width, Decay
Stator templates
The same stator templates can be used for brushless motors (Outer Rotor/IPMs); see “Brushless
Motor (Outer Rotor/IPM)” on page 121.
Induction Motor
122
JMAG-Express 21.2 Appendix
Rotor templates
rim_001 Round bar
rim_002 Oval bar
rim_003 Rectangular bar
rim_004 Sector bar
rim_005 Trapezoidal bar
rim_006 Parallel sided teeth
rim_007 Diamond bar. Inside of bar with sharp
rim_008 Diamond bar. Inside of bar with arc
rim_101 Rectangle & Rectangle double-case bar
rim_102 Round & Rectangle double-case bar
rim_103 Round & Oval double-case bar
Stator templates
The same stator templates can be used for brushless motors (IPMs); see “Brushless Motor (IPM)”
on page 120.
123
JMAG Version 22.2 User's Manual
JMAG-Express
Studies
The following studies have been added to the JPROJ file exported from JMAG-Express.
124
JMAG-Express 21.2 Appendix
Study Properties
[Step Control]
Each parameter of the step control is determined based on the number of poles, number of slots,
and speed for a brushless motor, and speed and slip for an induction motor.
[Circuit Settings]
Motor type Circuit conversion settings
Brushless motor The conversion factor is determined by the settings in [Parallel Number]/
[Series Number] (or [Coil Connection]) under the [Winding] tab.
Induction motor In [Circuit Settings], [Do Not Convert] is selected.
Analysis Conditions
Motion conditions
Motor type Settings
Brushless motor, • [Displacement Type]: [Constant Revolution Speed].
induction motor For efficiency map analysis, the value of [Maximum Rotating Speed] is used.
For all other analyses, the value of the velocity of the operating point is used.
125
JMAG Version 22.2 User's Manual
JMAG-Express
Circuits
Motor type: analysis
Circuit components
type
Brushless motor: • Three-phase Current Source component
efficiency map analysis • Winding Multiphase Coil component
• Ground component
Brushless motor: • Electric Potential Probe components
no-load analysis, induced • Winding Multiphase Coil component
voltage analysis • Ground component
Brushless motor: • Three-phase Current Source component
load analysis • [X-axis Type]: [Angle]
• [Amplitude]: current at operating point
• [Period (mechanical angle)]: 360/(number of poles/2)
• [U-phase (electrical angle)]: Phase value at operating point
• Winding Multiphase Coil component
• Ground component
Brushless motor: • Three-phase Current Source macro component:
demagnetization analysis The values of the Current Source (1 Terminal) component in the sub
circuit are as follows:
• [X-axis Type]: Time
• [Amplitude]: (speed at operating point)/60
• [Frequency]: (number of poles/2)*(speed at operating point)/60
• [Phase]: 0
• [Start Point]: 1/(number of poles/2*(speed at operating point)/60)
• [End Point]: 2/(number of poles/2*(speed at operating point)/60)
• [X-axis Offset]: 1/(number of poles/2*(speed of operating point)/60)
• Winding Multiphase Coil component
• Ground component
126
JMAG-Express 21.2 Appendix
Mesh Settings
JPROJ files exported from JMAG-Express also contain mesh information.
• Rotation slide mesh is used as the [Mesh Type] for all analyses.
• The number of divisions for calculation models is, for example, “4” for 1/4 models.
Motor type: analysis
Mesh settings
type
Brushless motor: • [Generation Method]:
efficiency map analysis [Method 2 (Used from V.10.3)]
• [Circumferential Divisions]:
(least common multiple of the number of slots and poles)/(number of cal-
culation model divisions)*32
127
JMAG Version 22.2 User's Manual
JMAG-Express
128
JMAG-Express 21.2 Appendix
129
JMAG Version 22.2 User's Manual
JMAG-Express
Keyboard Shortcuts
View control
To do this Press
Zoom in/out the model view Scroll the mouse wheel back and forth. Or, hold down the
mouse wheel and drag.
Move the model view Hold down the mouse wheel and drag with the left mouse
button.
130
JMAG-Express Classic
JMAG-Express Classic Overviews
133
JMAG Version 22.2 User's Manual
JMAG-Express Classic
JMAG provides various tools for virtual evaluation of performance in terms of steps in product
design of electric machinery. JMAG-Express Classic is meant to be used in the preliminary design
stage of motors.
Generally, the following functions can be used in JMAG-Express Classic.
• Motor design using a template:
JMAG-Express Classic provides templates standardizing information such as motor geometries
(2D), materials, circuits, and drive conditions for each type of motor. Users can easily design
motors by selecting a template and setting specification values.
User-original templates can be created using 2D geometries created with other commercial CAD
software.
Motors designed in JMAG-Express Classic and exported as JCF files and DXF files can be used
in JMAG-Designer and other analysis software.
• Motor property evaluation:
Clicking one button after motor design allows evaluation of motor characteristics using elec-
tromagnetic field analysis after a short wait time. Characteristics evaluation can also be run for
2D geometries created in other commercial CAD software.
Obtained evaluation results can be used as input data of circuit simulators such as Simulink and
PSIM by exporting it as the JMAG-RT model data file (also known as RTT file. Extension:
*.rtt).
In addition, JMAG-Express Classic can be used when researchers of motor design are learning its
behavior principle and design method.
134
JMAG-Express Classic Overviews
First row: Brushless motor (IPM, SPM, outer rotor/IPM, outer rotor/SPM),
induction motor, single-phase induction motor,
Second row: switched reluctance motor, brush motor, externally excited synchronous machine,
wound-field AC synchronous machine, Claw Pole alternator, universal motor
IMPORTANT Some functions cannot be used depending on the motor type. For details, see
“Functions of JMAG-Express Classic” on page 137.
135
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Induction Motor
This is a squirrel cage induction motor. It is composed of a coil-wound stator and a cage-mounted
rotor. Three-phase, six-phase and nine-phase are supported.
Brush Motor
This is a DC motor with brush/commutator. It is composed of a coil-wound rotor and a magnet-
mounted stator. This motor runs on direct voltage.
Universal Motor
This is a universal motor (single-phase series commutator motor). It is composed of a coil-wound
stator, rotor, brush, and commutator.
136
JMAG-Express Classic Overviews
Temperature Evaluation
Motor Sizing
Evaluation
137
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Evaluation
Characteristics of a motor speed can be evaluated at high speed.
• JMAG-Express Classic license is required.
• This function can be run when using a 2D geometry created using the Geometry Editor in
JMAG-Designer or commercial CAD software.
• This characterization process prioritizes calculation speed and is therefore inferior to JMAG-
Designer in terms of calculation accuracy.
For details, see “Running a Characteristics Evaluation” on page 238.
For details about using motor geometry data created in commercial CAD software, see “Creating a
Template Using the Geometry Created with the Geometry Editor and commercial CAD soft-
ware” on page 296.
Motor Sizing
Sizing is a function for outputting the values of the main dimensions which fulfill desired value of
the specified rated output. The target motor can be easily designed by adjusting each design param-
eter after using the sizing function and determining approximate specifications.
For details, see “Calculating Recommended Specifications Using the Sizing Function” on page
231.
Parametric Evaluation
Parametric evaluation is a function for performing multiple evaluations for multiple cases in which
the design parameters (geometry, winding, and drive circuit) were modified automatically.
Responses from design parameter changes can be verified.
For details, see “Running Parametric Evaluation” on page 258.
138
JMAG-Express Classic Overviews
Temperature Evaluation
Heat generation due to loss such as copper loss, iron loss, or mechanical loss can be taken into
account when evaluating motor characteristics.
For details, see “Performing an Evaluation Taking Into Account Temperature” on page 260.
139
JMAG Version 22.2 User's Manual
JMAG-Express Classic
140
Basic Operation of JMAG-Express Classic
This chapter describes how to start JMAG-Express Classic, as well as its window configuration and menu.
141
JMAG Version 22.2 User's Manual
JMAG-Express Classic
142
Basic Operation of JMAG-Express Classic
Screen Configuration
This chapter describes each of the screen configurations in JMAG-Express Classic.
• Startup Window (page 143)
• Template Window (page 143)
• Main Window (page 144)
• Template Editor Window (page 148)
MEMO The menus and tabs that are displayed in each of the screens differ depending on the type of
motor or evaluation item.
Startup Window
The startup window is displayed when JMAG-Express Classic starts.
Startup window
Template Window
Select a template to use in the template window.
143
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Template Window
Tabs
The following tabs appear in the template window.
Tabs
[Links] tab
A link button linking to the JMAG website will be displayed in the [Links] tab.
[Template] tab
The list of templates are categorized by the type of motor and displayed in the [Template] tab. Orig-
inal templates created by the user will also be displayed in this tab.
The JMAG-Express Classic main window is displayed with one of the following operations.
• Click the template icon of the entire motor or the link displayed in the tab.
• Click the [Build New Combination] link and select both the rotor template and stator template.
Run the following operations to display the template editor window.
• Click the [Import DXF File] link and specify the DXF file of the motor geometry of the full
model.
MEMO For details about [Export DXF File], see “Evaluating Geometries Created in commercial CAD
software with JMAG-Express Classic” on page 290.
Main Window
Motor specifications are entered and characteristics evaluation is run in the main window.
144
Basic Operation of JMAG-Express Classic
Main Window
Tabs
The following tabs are displayed in the main window.
[Requirement] tab
The [Requirement] tab is displayed only for brushless motor, induction motor, switched reluctance
motor, brush motor, externally excited synchronous machine, wound-field AC synchronous
machine, and claw pole alternator.
Specifies settings for target value of motors and sizing parameters.
For details, see “[Requirement] Tab” on page 162.
[Dimensions] tab
Specifies the dimensions of a motor.
The name of the template is displayed at the top of the tree. Variables (dimensions) are displayed
and categorized by motor parts (such as stator or im_rotor).
For details, see “[Dimensions] Tab” on page 163.
[Materials] tab
Specifies the material of each part.
The name of the template is displayed at the top of the tree. Motor parts are displayed below, and
parts are displayed below that.
For details, see “[Materials] Tab” on page 171.
[Winding] tab
Specify coil pitch and connection information in the [Winding] tab.
For an externally excited synchronous machine, wound-field AC synchronous machine, or claw pole
alternator, specify the settings for the main winding on the stator side in the [Winding] tab.
See the following pages for details.
145
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• All motors:
“[Winding] Tab (Shared)” on page 177.
• Brushless motor:
“[Winding] Tab” on page 189
• Induction motor:
“[Winding] Tab (Multi-phase Induction Motor (Three-phase/Six-phase/Nine-phase))” on
page 196, “[Winding] Tab (Single-phase Induction Motor)” on page 198
• Switched reluctance motor:
“[Winding] Tab” on page 200
• Brush motor:
“[Winding] Tab” on page 202
• Externally excited synchronous machine:
“[Winding] Tab, [Field Coil] Tab” on page 204
• Wound-field AC synchronous machine and claw pole alternator:
“[Winding] Tab, [Field Coil] Tab” on page 205
• Universal motor:
“[Winding] Tab” on page 207
[Drive] tab
A drive circuit and power supply to evaluate characteristics are specified. The template name is dis-
played at the top of the tree. Components of the circuit and design parameters for the circuit are dis-
played below.
For details, see the following pages:
• Brushless motor:
“[Drive] Tab” on page 191
• Induction motor:
“[Drive] Tab” on page 199
• Switched reluctance motor:
“[Drive] Tab” on page 201
• Brush motor:
“[Drive] Tab” on page 203
• Externally excited synchronous machine:
“[Drive] Tab” on page 204
• Wound-field AC synchronous machine and claw pole alternator:
“[Drive] Tab” on page 205
• Universal motor:
“[Drive] Tab” on page 208
146
Basic Operation of JMAG-Express Classic
[Thermal] tab
The [Thermal] tab is displayed when [Temperature Evaluation] is selected. This tab allows you to
set the parameters for evaluation considering temperature.
See “[Thermal] Tab” on page 182 for details.
[Correction] tab
The [Correction] tab is displayed by selecting [Correction Factor] after running an evaluation of
characteristics.
The correction factor can be set in this tab for materials, constants, and result values, after running
an evaluation of characteristics.
For details, see “[Correction] Tab” on page 187.
147
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Characteristics] tab
The tab is divided into the following three frames: “design comparisons”, “performance graph”, and
“design sheet.”
• Design comparisons:
Design comparisons shows the history of characteristics evaluations in table form. Flags and
comments can be added to each case displayed in the table.
• Performance graph:
Performance graph is shown after running a characteristics evaluation. The value of each point
on a graph is displayed in table form when clicking on each graph and opening the [Graph Plot
Value] dialog. Right-click the table and specify [Copy All] to paste all contents in the table onto
a calculation software.
• Design sheet:
Design sheet shows the list of the parameters set in the [Dimensions], [Materials], [Winding],
and [Drive] tabs, as well as their corresponding values. Running characteristics evaluation dis-
plays evaluation value tables at a certain X-axis.
Design comparisons
Performance graph
Design sheet
See “Checking Evaluation Results (Operations in the [Characteristics] Tab)” on page 238.
148
Basic Operation of JMAG-Express Classic
MEMO In the former, the [Model], [Constraint], [Preview], and Editor] tabs are displayed in the tem-
plate editor window. The [Model] and [Editor] tabs are displayed in the latter.
This window is used when specifying the following settings for the template.
• Type of material applied to the components and parts of the template
• Associations with the edge and condition
• Constraint settings to control the geometry (changing dimensions to variables)
• Feature settings to define the regularity of the geometry (periodicity/symmetricity)
This window can also link to JMAG-Designer and make modifications to the geometry.
Tabs
The following tabs are displayed in the template editor window.
[Model] tab
The [Model] tab specifies the type of material applied to each component and part of the template,
and makes associations to edges and conditions.
For details, see “[Model] Tab” on page 209.
[Constraint] tab
The [Constraint] tab specifies the constraint to control the geometry and feature to define the regu-
larity of the geometry.
For details, see “[Constraint] Tab (Constraint/Feature)” on page 215.
[Preview] tab
The [Preview] tab allows confirmation of constraints and features specified for the template.
For details, see “[Preview] Tab” on page 221.
149
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Editor] tab
The [Editor] tab displays the geometry defined by the [Model] tab, [Constraint] tab, and [Preview]
tab.
MEMO The color for regions, edges, and vertices in the [Editor] tab changes depending on the status.
The following describes the meaning of each color.
Color Description
Light blue The edge is displayed in light blue when it is registered as [Hidden Edges] in the
[Model] tab.
Edges displayed as light blue in the template editor window cannot be seen in the
main window.
Red Target edges are displayed in red when [d-Axis], [Boundary Edge], or [Hidden Edges]
is clicked in the treeview of the [Model] tab.
Orange The outline for a region selected in the [Editor] tab is displayed in orange.
Green Edges or vertices set with a constraint while selected in the treeview of the [Con-
straint] tab are displayed in green.
(Optional) Variables and supporting dimension lines selected in the tree of the [Preview] tab are
displayed in the color specified in the [Appearance] tab of the [Options] dialog. The
[Options] dialog is displayed when selecting [Tool] > [Options] from the menu bar.
150
Basic Operation of JMAG-Express Classic
Menu
The menu bar of JMAG-Express Classic displays [File], [Edit], [View], [Template], [Sizing], [Char-
acteristics], [Tool], and [Help] depending on the window.
From top to bottom: Menu of the template window, menu of the main window,
menu of the template editor window
[File] Menu
The [File] menu is displayed in the template window, main window, and template editor window.
[New]
This command is displayed in the main window.
Operation of selecting the template can be started again by returning to the template window.
A message dialog asking whether to save the changes is displayed when this command is selected
with template specifications entered. Click either [Yes] or [No]. [Register Template to Database] dia-
log is displayed when [Yes] is clicked. For details about this dialog, see “[Register to Database]” on
page 155.
[Open]
This command can be selected from the template window or the main window.
The [Open] dialog is displayed when this command is selected.
Open the following files and simulate the motor model created previously.
• JMAG-MotorTemplate files (.jmd)
• Parameter files (.csv):
The parameter file can only be selected when [Open] is selected from the main window
For details, see “Import the Specifications Entered Previously from the File” on page 230.
[Save]
This command can be selected from the main window.
[Save] saves the dimensions, materials, winding, and drive conditions specified in JMAG-Express
Classic to a JMAG-MotorTemplate files (.jmd). The first time a file is saved, [Save] performs the
same operations as [Save As]. After the file has been saved once, [Save] overwrites the previously
saved file.
[Save As]
This command can be selected from the main window.
The designed motor is saved to a file. The types of files that can be saved are as follows:
151
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Print]
This command can be selected from the main window.
[Print] prints displayed contents in the [Characteristics] tab.
[Exit]
This command can be selected from the template window and the main window.
[Exit] closes JMAG-Express Classic.
MEMO JMAG-Express Classic cannot be closed from the template editor window.
[Edit] Menu
The [Edit] menu is displayed in the main window and the template editor window.
152
Basic Operation of JMAG-Express Classic
[Undo]
This command can be selected from the main window.
[Undo] cancels the last operation.
MEMO The number of times a selected operation can be undone is specified by using [Max Undo Stack
Size] in the [System] tab of the [Options] dialog. The [Options] dialog is displayed when [Tool] >
[Options] is selected from the menu bar.
[Redo]
This command can be selected from the main window.
This menu reverses the action that has been undone.
[Undo List]
This command can be selected from the main window.
The [Undo List] dialog is displayed when this command is selected. This dialog displays the list of
operations from the start of JMAG-Express Classic to the current state. When an operation is
selected from the list and [Undo] is clicked, the state will be reversed to where the selected operation
was run.
Click [Close] to exit the [Undo List] dialog.
[Edit in JMAG-Designer]
This command can be selected from the template editor window.
[Edit in JMAG-Designer] changes the template geometry using the Geometry Editor of JMAG-
Designer.
For details, see “Editing the Template Geometry Using the JMAG-Designer Geometry Editor” on
page 303.
[Create Region]
This command can be selected from the template editor window.
[Create Region] creates regions for geometries imported from DXF files.
For details, see “Manually Create the Region” on page 300.
153
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[View] Menu
The [View] menu is displayed in the main window and the template editor window.
[Select]
This command can be selected from the main window and template editor window.
[Select] enables the selection of edges and vertices in the [Edit] tab of the template editor window.
[Zoom]
This command can be selected from the main window and template editor window. [Zoom] zooms
in on or zooms out from the geometry displayed in the [Motor Diagram] tab of the main window or
the [Editor] tab of the template editor window.
While [Zoom] is pressed, clicking the left-mouse button and dragging upward zooms in on the
geometry. Dragging downward zooms out from the geometry.
[Move]
This command can be selected from the main window and template editor window.
[Move] moves (pans) the geometry displayed in the [Motor Diagram] tab of the mail window or
[Editor] tab of the template editor window.
While [Move] is pressed, clicking the left-mouse button and dragging will move the geometry to
the direction it is dragged.
[Fit to Window]
This command can be selected from the main window or the template editor window.
[Fit to Window] displays the entire geometry in the [Motor Diagram] tab of the main window or
the [Editor] tab of the template editor window.
[Template] Menu
The [Template] menu is displayed in the template window, main window, and template editor win-
dow.
[Property]
This command can be selected from the main window.
The [Template Properties] dialog is displayed when this command is selected.
The unit of the dimension and the number of decimal places can be changed in this dialog.
• The unit of dimension is (mm) and the number of decimal places is set at “4” in the default state.
• Settings for the unit of dimension and number of decimal places are applied to parameters
related to the dimensions in the [Dimensions] tab and the [Winding] tab, as well as design com-
parisons of the [Characteristics] tab.
MEMO The effective number of digits for the parameter not related to the dimensions of the [Wind-
ing] tab is “5.”
• Values are not converted even if the units of dimension are changed while entering specifications.
154
Basic Operation of JMAG-Express Classic
• The dimension value is rounded off to the number of digits after the change when the number of
decimal places is decreased while entering specifications. When [Fix] is selected from the [Gap
Type] list in the [Dimensions] tab, the other dimension values are updated based on the
rounded-off value of the gap length.
• Information on units of dimension and the number of decimal places are saved to the template.
[Register to Database]
The [Register Template to Database] dialog is displayed when this command is selected from the
main window or template editor window.
This dialog can register motor specifications, correction factors, and report layouts as a template in
the database.
The items are registered in the database after specifying the following settings and clicking [OK].
[Save Target]
Select a data to save as a template from the [Save Target] list.
Type Description
[All] Saves the rotor and stator in a single template.
[Rotor] or [Stator] Saves a part template with only a rotor or stator.
[Material Correction Factor], [Constant Correc- Saves the correction factor applied to the model.
tion Factor], or [Result Value Correction Factor]
[Report Layout] Saves the “performance graphs” frame layout in the
[Specifications] tab.
[Template Name]
Specify a file name for the template in the [Template Name] box. Multi-byte characters can also be
used. If a file with the same name exists, the file is overwritten.
The [OK] button in the [Register Template to Database] is not active unless a template name is
specified in the [Template Name] box.
[Image File]
An image used as a description can be attached to the template when either [All], [Rotor], or [Sta-
tor] is selected from the [Save Target] list.
Specify an image file (.png) after clicking on [Import], and opening the [Image File] dialog when
attaching an image.
The image specified here will be displayed in the template editor window, [Build New Combina-
tion] dialog, and the [Select Template] dialog.
[Description]
Specify information or comment related to the created template in the [Description] box. Informa-
tion specified here will be displayed in the template editor window, the [Build New Combination]
dialog, and the [Select Template] dialog.
155
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Manage Database]
The [Manage Database] dialog is displayed when this command is selected from the template win-
dow and main window.
Templates, correction factors, and custom materials registered in the database can be imported/
exported and deleted in this dialog. For operations in the [Manage Database] dialog, see the follow-
ing pages.
• “Exporting Data from the Database” on page 304
• “Importing Data into the Database” on page 304
• “Deleting Data from the Database” on page 305
[Sizing] Menu
The [Sizing] menu is displayed in the main window.
For details about the sizing function, see “Calculating Recommended Specifications Using the Siz-
ing Function” on page 231.
[Preset Sizing]
Specify variables (geometry parameters) to be referenced when calculating a recommended dimen-
sion using the sizing function.
[Characteristics] Menu
The [Characteristics] menu is displayed in the main window.
[Evaluate]
Runs characteristics evaluation of a motor.
High-speed characteristics evaluation can be run. For details, see “Running a Characteristics Evalu-
ation” on page 238.
156
Basic Operation of JMAG-Express Classic
[Parametric Mode]
Runs a parametric evaluation.
For details, see “Running Parametric Evaluation” on page 258.
[Calc in Designer]
This command is displayed when JMAG-Express Classic is run from the Windows menu.
Exports a motor designed in JMAG-Express Classic to JMAG-Designer and runs analysis.
For details, see “Calculating Designed Motors in JMAG-Designer” on page 278.
[Correction Factor]
The correction factor can be set on materials, constants, and result values after running an evalua-
tion of characteristics.
For details, see “[Correction] Tab” on page 187.
[Stack Design]
The history of characteristics evaluation is saved.
[Edit Characteristics]
Changes the items displayed in the [Characteristics] tab.
For details, see “[Correction] Tab” on page 187.
[Map]
Creates efficiency maps and output maps.
See “Evaluating Motor Performance Using Maps” on page 263 for details.
[Temperature Evaluation]
Runs characteristics evaluation considering heat generation due to specified copper loss, iron loss,
mechanical loss, etc.
See “Performing an Evaluation Taking Into Account Temperature” on page 260 for details.
[Tool] Menu
The [Tool] menu is displayed in the template window, main window, and template editor window.
[Send to JMAG-Designer]
This command can be selected from the main window.
The designed motor is exported to JMAG-Designer.
For details, see “Sending Designed Motors to JMAG-Designer” on page 279.
157
JMAG Version 22.2 User's Manual
JMAG-Express Classic
MEMO JMAG-Designer and JMAG-Express Classic are automatically linked at the following timing.
• When starting JMAG-Express Classic from JMAG-Designer
• When sending a motor designed from JMAG-Express Classic to JMAG-Designer
[Options]
This command can be selected from the template window, main window, and template editor win-
dow. The [Options] dialog is displayed when selecting this command.
The following settings can be specified in this dialog.
[System] tab
Parameter Description
[User-Defined Template] Specify the folder to save user-defined templates.
[Max Undo Stack Size] Specify the number of times a selected operation can be undone
using [Undo] . The default value is 20.
[Display] tab
Parameter Description
[Language] Select the language used in the user interface for JMAG-Express
Classic. The language for the user interface is automatically deter-
mined based on the language of the operating system when [System
Default] is selected.
[Window] Select [Do not show startup window] to hide the startup window
during JMAG-Express Classic startup.
[Appearance] tab
• [Background Color]:
Determine the background color for the [Motor Diagram] tab in main window or the [Editor]
tab in the template editor window.
Parameter Description
[Use Gradient Background] To apply a gradient background to the [Motor Diagram] tab or the
[Editor] tab, select [Use Gradient Background]. For a single color
background, clear [Use Gradient Background]. Click the color but-
ton displayed to the right of [Background Color] to display a color
palette. Select the color to be applied to the background from the
color palette.
[Top Color], [Bottom Color] These options are shown when [Use Gradient Background] is
selected.
Specify the color at the top/bottom of the window when displaying
a gradient color. Click the color button displayed to the right of
[Top Color]/[Bottom Color] to display a color palette. Select a color
to be applied to the top/bottom window from the color palette.
• [Model Diagram]
158
Basic Operation of JMAG-Express Classic
Parameter Description
[Color] and [Line Width] for Specify the color and width of the model outline. Click the color
[Model Outline] button displayed to the right of [Color] to display a color palette.
Select a color to be applied to the model outline from the color pal-
ette.
[Fill Region] Clear [Fill Region] when displaying a region with the same color as
the background with no fill.
[Color] and [Line Width] for Specify the color and width of the dimension line when highlighted.
[Dimension Line (Highlight)] Click the color button displayed to the right of [Color] to display a
color palette. Select a color to be applied to the dimension line from
the color palette.
[Feature Size Background] Specify a background color of the dimension value. Click the color
button displayed to the right of the [Color] to display a color pal-
ette. Select a color to be applied to the background of the dimension
value from the color palette.
[Help] Menu
The [Help] menu is displayed in the template window, main window, and template editor window.
[Help]
This command can be selected from the template window, main window, and template editor win-
dow.
Opens the JMAG-Express Classic Help.
[About]
This command can be selected from the template window, the main window, and the template edi-
tor window.
[About] displays the version information of JMAG-Express Classic.
159
JMAG Version 22.2 User's Manual
JMAG-Express Classic
160
JMAG-Express Classic Design Parameters and
Template Parameters
161
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Requirement] Tab
Set the motor target values and sizing parameters in the [Requirement] tab in the main window.
[Targeted Value]
When a characteristics evaluation is performed after setting the target values for the motor, a line
showing the range of possible operation is displayed in the performance graph.
Select the flags of the items that will be used as target values from those shown below, and enter a
value in the text box.
• [Rated Power, kw]:
When [Rated Power, kw] is deselected, the [Apply] button of the [Requirement] tab will not be
activated.
• [Maximum Torque, Nm]
• [Rated Revolution Speed, rpm]:
Enter the target revolution speed during maximum torque.
For brushless motors, when [X-axis] in the [Drive] tab is set to anything other than [Revolution
Speed, rpm], after clicking [Apply] in the [Requirement] tab, the [Rated Revolution Speed, rpm]
value is carried over to the [Revolution Speed, rpm] in the [Drive] tab.
• [Maximum Revolution Speed, rpm]:
When [Maximum Revolution Speed, rpm] is selected, this value is carried over to the maximum
revolution speed of the line showing the range of possible operation.
For brushless motors, when [Maximum Revolution Speed, rpm] is not selected and [X-axis] in
the [Drive] tab is set to [Revolution Speed, rpm], a graph that covers the maximum revolution
speed is displayed.
162
JMAG-Express Classic Design Parameters and Template Parameters
MEMO The relational equation of rated output, maximum torque, and rated revolution speed is the fol-
lowing:
(Rated output (W)) = (Maximum torque (N x m)) × 2p × (Rated revolution speed (rpm) /60)
When the specified values do not satisfy this formula, a warning message is shown.
[Sizing Parameter]
Using the sizing function allows the calculation of recommended values of design parameters such as
dimensions, materials, and windings by simply specifying the desired rated output.
The recommended value is reflected in the parameter for each tab of [Dimensions], [Materials],
[Winding], and [Drive].
By using the sizing function, after determining approximate specifications, adjust each parameter
and design the motor so the desired performance is satisfied.
MEMO For details about the sizing function, see “Calculating Recommended Specifications Using the
Sizing Function” on page 231.
[Dimensions] Tab
The [Dimensions] tab is displayed in the main window. Specifies dimensions for a motor.
• The template label is displayed at the top of the tree.
• Variables (geometry parameters) are categorized and displayed by the structural components of
the motor.
MEMO When constraints and features are set in the geometry, variables linked to these are displayed
in the [Dimensions] tab. Constraints and features are set in the [Constraint] tab of the template edi-
tor window.
• Each parameter has a variable, name, and value.
Component
Label
Variable name
Value
When a variable such as [SD1: Outside Diameter] is selected from the tree, a dimension line for
that variable is shown in the [Motor Diagram] tab. The variable value can be specified at the
same time.
• Click [Modify] displayed on the right side of the components to change or edit templates. For
details, see “Change the Template of the Stator or Rotor While Entering the Specifications”
on page 227, and “Editing Templates” on page 302.
• An expression can be specified for the value.
163
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• Variables used for parameters can be used in the expression. For example, when variable B is
two times variable A, “2*A” is entered for the value of variable B.
• When variables of different parts are used, the part name needs to be included in the expres-
sion as “Part! Variable” (e.g. stator!SD1).
[Unit]
The unit of dimension is displayed. To change the unit of dimension, select [Template] > [Property]
from the menu bar. For details, see “[Template] Menu” on page 154.
[all]
The following variables are displayed in [all] for components.
[Gap Type]
• When [Fix] is selected, the gap length of the stator inner diameter and rotor outer diameter is
fixed for the inner rotor. For the outer rotor, gap length of the rotor inner diameter and the stator
outer diameter is fixed.
For the inner rotor, when the stator inner diameter is changed the rotor outer diameter is
updated, and when the rotor outer diameter is changed the stator inner diameter is updated. The
same applies to the outer rotor.
• When [Free] is selected, the gap length will shrink/expand along with changes made to other
variables.
164
JMAG-Express Classic Design Parameters and Template Parameters
in the [Constraint] tab of the template editor window, when setting [OUTD: Outer Diameter]
to active.
• [GAP: Gap Length] is not displayed in the [Dimensions] tab, if the diameter constraint which
displays the outside diameter of stator in the template of an inner rotor motor is not set. This
also applies when the diameter constraint for the outside diameter of a rotor in the template of
an outer rotor motor is not set.
Specify the diameter constraint in the [Constraint] tab of the template editor window, when set-
ting [GAP: Gap Length] to active.
• [GAP: GAP Length] is not displayed in the [Dimensions] tab, if the diameter constraint which
displays the inside diameter of a stator and the outside diameter of a rotor in the template of an
inner rotor motor is not set.
This also applies when the diameter constraint which displays the inside diameter of a rotor and
the outside diameter of a stator is set, in the template of the outer rotor motor.
Specify the diameter constraint in the [Constraint] tab of the template editor window, when set-
ting [Gap Length] to active. Furthermore, click [Preset Sizing] , open the [Preset Sizing] dia-
log, and set which variable (diameter constraint) indicates the stator inner diameter and rotor
outer diameter (or the rotor inner diameter, stator outer diameter).
[End Ring]
The cross section of a cage can be defined for induction motors. For some of the templates for exter-
nally excited synchronous machines and wound-field AC synchronous machines, the end ring cross
section of a damper bar can be defined.
The resistance value between the rotor bar is accounted for during evaluation based on the section
settings.
The resistance value in between the rotor bar is calculated with the following formula.
(Resistance value in between rotor bar) = (end ring circumference)/
(effective cross section area of end ring) x (electric conductivity of cage) x (number of rotor bars)
165
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Section Type]
Select [Rectangular] or [Trapezoid] when calculating the cross section area from the dimensions of
the end ring cross section.
When specifying the cross section area of the end ring directly, select [Section Area].
The parameters displayed in the tree will differ depending on the selected [Section Type].
[Upper Width]
[Height]
[Lower Width]
[CEP: Offset] (Offset amount from the center position of the bar)
Specify how much the center position of the end ring is offset from the center position of the bar.
The arithmetic mean value of the vertex coordinates of the bar region is used as the center position
of the bar.
With the default value set to 0, the center positions of the end ring and bar are the same. Entering a
positive value moves the center position of the end ring away from the model center. Entering a neg-
ative value moves the center position of the end ring towards the model center.
This parameter is used when calculating the circumference of the end ring.
166
JMAG-Express Classic Design Parameters and Template Parameters
Bar
[Offset] [Offset]
Center
Specify the following dimension values for temperature evaluation. Changing these dimension val-
ues will be reflected in the model section view under the [Thermal Model] tab.
167
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Claw Pole
For claw pole alternator, the shape of the claw poles can be defined from the following parameters.
• RE: Root Embrace
• TE: Tip Embrace
• RT: Root Thickness
• DSLOT: Slot Depth
• TT: Tip Thickness
• SHT: Shoe Thickness
• RFR: Root Fillet Radius
• TFR: Tip Fillet Radius
• ECL: Edge Chamfer Length
• ECA: Edge Chamfer Angle
Please check the figure below for the points where each parameter is defined.
168
JMAG-Express Classic Design Parameters and Template Parameters
Notes
• The volume for a model is calculated from the specifications in the [Dimensions] tab, [Winding]
tab, and [Field Coil] tab to calculate mass/inertia moment.
The entire volume is calculated by the following formula.
(Entire coil volume) = (Area for each coil area) x (Slot fill factor) x (Length of single coil) x
(Number of coils)
Item Description
Area of single The area of a single coil region differs based on the [Layers] settings in the [Wind-
coil region ing] tab.
• The value with the sum of an area in a region specified for [Layer 1] and [Layer 2]
of [Coil Layer], is used when [Layers] is “1”.
• The area of a region set for [Layer 1] in [Coil Layer] is used when [Layers] is “2.”
For field winding, the area of the region set to coil layer [Layer 1] is used.
* The specifications for [Layers], are set in the [Model] tab of the template editor
window.
Lamination fac- The set values or calculated values in the [Winding] tab and [Field Coil] tab are
tor used.
Length of a sin- The calculation is run by the following formula.
gle coil (Length of a single coil) = ((Height) + (Length of end winding)) x 2
(Length of end winding) = (Distance between slots) + (Raised length of coil)
Height The value set in the [Dimensions] tab is used.
Distance The length of arc which is connected from the region where the coil is exiting, to the
between slots center of area where it is entering.
169
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Coil region
Item Description
Raised length of • The calculation is run by the following formula for concentrated winding.
coil (Raised length of coil) = ((coil width)/2) x 2
• The calculation is run by the following formula for distributed winding.
(Raised length of coil) = ((Coil width) /2) x 6
*The length of distributed winding also includes the length required to wind over
other coils.
Coil width The calculation is run by the following formula.
(Coil width) = (Area of coil region)/(Length of radial direction of coil region)
Concentrated winding (left: full model view, right: enlarged view of upper area)
• For distributed windings, the raised length of the top area of the coil when L is “1/2 the coil width” is
6L.
170
JMAG-Express Classic Design Parameters and Template Parameters
Distributed winding (left: full model view, right: enlarged view of upper area)
[Materials] Tab
This tab is displayed in the main window.
Materials for each part in a motor can be specified in this tab.
• At the top of the tree, the template label is displayed. Each part of a motor is listed in the
treeview.
• When a part is selected from the treeview, the corresponding part of a model is highlighted in the
[Motor Diagram] tab. The material properties of the selected part are also displayed in the
[Material] settings.
• The types of materials which can be applied to each part are determined in advance as a tem-
plate, and detailed settings are performed for each type of material in the [Material] tab.
Left: main window [Materials] tab, Right: template editor window [Model] tab.
The types of materials which can be applied to each part are determined for each template.
171
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• Magnetic Material:
For the default templates, the [Material Type] for “stator core”, “rotor core”, and “shaft” is
specified as [Magnetic Material].
• Magnet:
For the default templates, the [Material Type] for “rotor magnet”, and “stator magnet” is
specified as [Magnet].
• Coil:
For the default templates, the [Material Type] for “coil” and “stator coil” is specified as [Coil].
• Non-Magnetic Material:
For the default templates, the [Material Type] for the induction motor part “cage” is specified
as [Non-Magnetic Material].
• Air:
For the default templates, the [Material Type] for the induction motor part “air (cage air
gap)” is specified as [Air].
• Field coil:
For the default templates, [Material Type] of the part “field coil” for an externally excited syn-
chronous machine, wound-field AC synchronous machine, and claw pole alternator is speci-
fied as [Field Coil].
• Damper bar (Control winding):
For the default templates, [Material Type] of the part “damper bar” for an externally excited
synchronous machine, wound-field AC synchronous machine is specified as [Damper Bar].
[Category], [Product]
From the [Category] list, select a category of the categorized materials to be used.
• [JSOL - Steel_Sheets]:
Select this when using sample data provided by JSOL. This sample data is specified for JIS model
numbers.
• Material manufacturer company and material type:
Select when using material data of an actual product provided by the material manufacturer.
• [Custom Steel]:
Select to manually define material characteristics (B-H curve, iron loss equation, mass density) of
the material applied to the parts. For details, see “Using Custom Materials (Soft Magnetic
Materials)” on page 175.
When [Custom Steel] is selected, materials (parts) created by the user in JMAG-Designer can be
selected.
When the [Category] list is selected, the material in the selected category is shown in the [Product]
list. Select one of the materials to be applied to the part.
Notes
When [Custom Steel] is selected from the [Category] list, the [Product] list displays a soft magnetic
material created by a user in JMAG-Designer that satisfies the following conditions.
• [B-H curve] is set as [Magnetic Property Type]
• [Iron Loss Equation] or [Iron Loss Table] is specified as [Iron Loss type].
When [Iron Loss Equation] is specified, setting method for each coefficient/multiplier is [Con-
stant].
• The [Anisotropy Type] of [Iron Loss] is [Isotropic]
172
JMAG-Express Classic Design Parameters and Template Parameters
• [Use Hysteresis Loop] and [Residual Strain Loss Correction] of [Iron Loss] are set to Off
N
VI = 2π ------ τ + βP Iron + P Copper
60
β≥0
VI : Input (w), N : Revolution speed of the rotor (rpm), τ : Torque (Nm),
β : Iron loss correction factor, P Iron : Iron loss of the steel sheet (W),
P copper : Copper loss of the coil (W)
[Category], [Product]
From the [Category] list, select a category of the categorized materials to be used.
• [JSOL - Ferrite Magnet], [JSOL-Nd-Fe-B_Magnet]:
Select this when using sample data provided by JSOL. This sample data is specified for JIS model
numbers.
• Material manufacturer company and material type:
Select when using material data of an actual product provided by the material manufacturer.
• [Custom Magnet]:
Select to manually define material characteristics (relative permeability, coercive force, mass den-
sity) of the material applied to the parts. For details, see “Using Custom Materials (Magnets)”
on page 176.
When [Custom Magnet] is selected, materials (partially) created by the user in JMAG-Designer
can be selected.
When the [Category] list is selected, the materials in the selected category is shown in the [Type] list.
Select one of the materials to be applied to the part.
Notes
• The two types of sample data provided by JSOL are Ferrite magnets and Neodymium magnets.
The numbered section for magnet names are numeric values for residual magnetic flux density.
For example, the residual magnetic flux density for “Ferrite_br02” is 0.2 (T).
• When [Custom Magnet] is selected from the [Category] list, one of the following applicable
items from the magnets created by a user in JMAG-Designer is shown.
• [Magnetic Property Type] is [Nonlinear (Reversible)]
• [Magnetic Property Type] is [Nonlinear (Reversible/Temperature dependent)].
• “Temperature Dependent” is displayed at the end of the material name when the magnet is tem-
perature dependency.
• To set the thermal or irreversible demagnetization for a magnet, send the model data to JMAG-
Designer, and then specify the settings.
173
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Temperature, deg]
When a temperature dependent magnet is selected from the [Product] list, select at which tempera-
ture magnetic properties data is used in the characteristics evaluation.
[Magnetization Pattern]
Specify the magnetization distribution using some simplified patterns.
Lists the magnetization patterns, including [Radial], [Parallel], and [Polar Anisotropy]. For [Polar
Anisotropy], specify the radius of the pole in the magnetization.
Magnetization Pattern
[Correction Factor]
The magnet flux is corrected according to the following formula.
k
F ′ = F 1 + --------- ( Tf now – Tf base )
100
k : The [Temperature Correction Factor, %/K] value for a magnet part under the [Materials]
tab
Tf now : Temperature during evaluation (K)
Tf base : The [Base Temperature, K] value for a magnet part under the [Materials] tab
Notes
• The temperature correction factor can be applied to magnets with no temperature dependency.
174
JMAG-Express Classic Design Parameters and Template Parameters
• Heat generation due to loss such as copper loss, iron loss, or mechanical loss can be taken into
account when evaluating motor characteristics. See “Performing an Evaluation Taking Into
Account Temperature” on page 260.
[Category]
From the [Category] list, select a material.
Type Description
[Copper] The density is set to 8960 (kg/m3).
The electric conductivity is set to 64500000 (S/m).
[Aluminum] The density is set to 2699 (kg/m3).
The electric conductivity is set to 40000000 (S/m).
[Other] Select this when applying densities and electric conductivity to parts.
Point of inflection #2
Point of inflection #1
Monotonous Monotonous
increase increase
Monotonous
decrease
Example: B-H curve with multiple inflection points (w-shaped curve)
175
JMAG Version 22.2 User's Manual
JMAG-Express Classic
α β r δ
W = Kh ⋅ B ⋅ f + Ke ⋅ B ⋅ f
W : Loss Density [W/m3], B : Magnetic Flux Density [T], f : Frequency [Hz]
1. Select [Custom Magnet] from the [Category] list in the [Materials] tab.
Relative permeability μ r
176
JMAG-Express Classic Design Parameters and Template Parameters
[Coil Property]
Specify details of the coil such as the number of turns, the size and geometry of the wire cross sec-
tion, and insulating film. The phase resistance or coil resistance is calculated based on these parame-
ters and used for the evaluation.
Phase resistance or coil resistance can also be specified directly.
[Input Item]
Select the type of parameter to specify.
Since there is a correlation among the number of turns, wire size, and slot fill factor (ratio of the wire
cross section area against the slot cross section), specifying two of the three parameters determines
the remaining parameter.
Type Description
[Turns/Wire Size] Specify the number of turns of the coil, as well as the geometry and size of
the wire cross section.
The slot fill factor is calculated based on these parameters and the following
formula.
(Slot fill factor) = (Wire cross section area + Insulation film area) x (Num-
ber of turns)/(Slot area - Insulation sheet area)
[Turns/Slot Fill Factor] Specify the number of turns of the coil and ratio of the wire cross section
area to the slot cross section.
The cross-section area of the wire is calculated based on these parameters
and the following formula.
(Wire cross section area; including film thickness) = (Slot area - Insulation
sheet area) x (Slot fill factor)/(Number of turns)
Before selecting [Turns/Slot Fill Factor] in [Input Item], select the type of
geometry of the wire cross section in the [Setting Type]. Also, enter the
ratio of the width and height of the rectangular wire when selecting the
[Rectangle Wire Dimension].
The diameter of the round wire or width and height of the rectangle wire is
calculated based on the wire cross section area including the film thickness.
The ratio of the width and height of the rectangle wire uses the value that
has been calculated.
177
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Type Description
[Wire Size/Slot Fill Fac- Specify the geometry and size of the wire cross section, and the ratio of the
tor] wire cross section area to the slot cross section.
The number of turns of the coil is calculated based on these parameters and
the following formula.
(Turns) = (Slot area) x (Slot fill factor)/(Wire cross section area + Insulation
film area)
[Phase Resistance] Can be selected for a brushless motor, induction motor, switched reluc-
tance motor, externally excited synchronous machines, wound-field AC
synchronous machines, or claw pole alternator. Specify the resistance of the
entire coil per phase. In addition to [Phase Resistance], it also specifies
[Number of Turns] and [Slot Fill Factor].
[Coil Resistance] Can be selected for a brush motor or universal motor. Specify the resistance
of each coil. In addition to [Coil Resistance], it also specifies [Number of
Turns] and [Slot Fill Factor].
MEMO The slot area is determined by the area of the coil region.
Coil region 2
Coil region 1
MEMO Phase resistance R phase is calculated based on the following formula when either [Turns/Wire
Size], [Turns/Slot Fill Factor]. or [Wire Size/Slot Fill Factor] is selected.
1 L phase × Kl × N turn × N coil
R phase = --- × ------------------------------------------------------------------
σ S wire
σ : Electric conductivity of materials (S/m),
L phase : Length (m) per coil,
Kl : Correction factor for the length of the coil,
N coil : Number of coils (for multiple phase motor, number of coils per phase),
N turn : Number of turns (turn) (for multiple phase motor, number of turns per phase),
S wire : Cross section area (m2) for one wire
MEMO For details about the calculation method for the length per coil, see the notes of “[Dimensions]
Tab” on page 163.
[Number of Turns]
Specify [Number of Turns] when either [Turns/Wire Size], [Turns/Slot Fill Factor], [Phase Resis-
tance], or [Coil Resistance] is selected in [Input Item].
• Enter the number of turns per coil when it is a brushless motor, induction motor (three-phase/
six-phase/nine-phase), switched reluctance motor, externally excited synchronous machines,
wound-field AC synchronous machines, or claw pole alternators. For example, one phase is con-
figured from two teeth, and when there are 50 turns wound per phase, enter “25” in the [Num-
ber of Turns].
178
JMAG-Express Classic Design Parameters and Template Parameters
Number of turns
to specify
MEMO Coils are created to match the number of phases for a switched reluctance motor.
• Enter the number of coil wires that pass each slot for a single-phase induction motor. Enter “6”
in the [Number of Turns] (number of wires in the black square).
Example
• Enter the number of coil wires that pass one side of the teeth when it is a brush motor or univer-
sal motor.
Example
179
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Parameter Description
[Film Thickness] Enter thickness for insulation that wraps the wire.
[Number of Strands] When winding a wire in parallel, enter the number of wires to put in paral-
lel.
[Insulation Thickness] Enter insulation thickness to prevent contact of the slot and wire. This
parameter is used to calculate slot fill factor.
MEMO The unit of [Film Thickness] and [Insulation Thickness] follows the unit specified in the
[Dimensions] tab. Note that the value is not converted when the unit changes in the [Dimensions] tab
after the value is input.
180
JMAG-Express Classic Design Parameters and Template Parameters
[Correction Factor]
Specify [Correction Factor] when either [Turns/Wire Size], [Turns/Slot Fill Factor], or [Wire Size/
Slot Fill Factor] is selected in [Input Item]. Enter the multiplier for the coil length.
[Phase Resistance]
Specify [Phase Resistance] when [Phase Resistance] is selected in [Input Item]. Enter the resistance
of the entire coil per phase (the resistance of the area enclosed with dotted lines in the diagram
below).
Resistance of coil
[Coil Resistance]
Specify [Coil Resistance] when [Coil Resistance] in [Input Item] is selected. Enter the resistance per
coil. “1 coil” is a bundle of wire winded through two slots.
[Layers]
Specify [Layers] for brushless motors, induction motors (three-phase/six-phase/nine-phase), exter-
nally excited synchronous machines, wound-field AC synchronous machines, or claw pole alterna-
tors.
Select [1] or [2] as the number of the coil side which pass through each slot.
If you select [1], one coil side is housed in one slot. If you select [2], two coil sides are housed in one
slot.
The number of layers is accounted for when either [Turns/Wire Size], [Turns/Slot Fill Factor], or
[Wire Size/Slot Fill Factor] is selected in [Input Item] during the calculation of phase resistance.
The number of layers is automatically fixed to “2” when [Automatic (Concentrated Winding)] is
selected as the coil winding method in the [Winding] group box.
[Number of Coils]
Specify [Number of Coils] for a single-phase induction motor. Type the number of coils per pole of
the main winding.
181
JMAG Version 22.2 User's Manual
JMAG-Express Classic
MEMO The number of coils per pole is accounted for when either [Turns/Wire Size], [Turns/Slot Fill
Factor] or [Wire Size/Slot Fill Factor] is selected in [Input Item] during the calculation of phase resis-
tance.
[Thermal] Tab
The [Thermal] tab on the main window is displayed when [Temperature Evaluation] is selected.
Notes
• Derived units are fixed, such as the heat transfer coefficient (W/(m^2K)), thermal conductivity
(W/(m K)), and thermal resistance (K/W) units. If the length or temperature unit is changed in
the [Template Properties] dialog, the derived units will not change.
• The following heat source components are used in the thermal equivalent circuit.
Pjs: coil copper loss
Pjr: secondary conductor copper loss
Pis: stator core iron loss
182
JMAG-Express Classic Design Parameters and Template Parameters
Parameters
[Setting]
Parameter Description
[Evaluation Type] Select one of the following:
• [Startup Temperature] (Default):
The temperature immediately after starting the motor is evaluated.
• The thermal equivalent circuit calculations are performed only once.
• [Steady Temperature]:
The steady state temperature of the motor is evaluated. Steady state is
where the temperature distribution variations cannot be seen over the
passage of time.
• The thermal equivalent circuit calculations are repeated until the tem-
perature converges.
The temperature of the current iteration (the current execution of the
thermal equivalent circuit calculations) and its previous iteration is
compared, and when the difference is within 1 deg C (or 1 K, 1.8 deg
F), the temperature is judged to have converged.
• If the temperature does not converge after 10 iterations of thermal
equivalent circuit calculations, the execution is aborted and an error
message is displayed.
• At each iteration, the current temperature is used to correct the coil
and secondary conductor resistance values and the magnet flux values.
[Revolution Speed, rpm] The revolution speed of the motor.
Depending on the selection from the [Mode] list, the [Revolution
Speed] box may be displayed as an input parameter under the [Drive]
tab. The value specified in the [Revolution Speed] box under the
[Drive] tab is entered in the [Revolution Speed] box under the [Ther-
mal] tab.
However, the [Revolution Speed] box under the [Drive] tab and the
[Revolution Speed] box under the [Thermal] tab are not necessarily the
same value. If the [Revolution Speed] value is changed under the
[Drive] ([Thermal]) tab, change the [Revolution Speed] value under the
[Thermal] ([Drive]) tab to the same value.
[Ambient, degC] The temperature of the motor drive environment.
The unit of temperature can be changed in the [Template Properties]
dialog.
183
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Parameter Description
[Stator-Case Gap], [Coil- Select the contact status between parts from the following. Depending on
Stator Gap], [Coil-Case the contact state setting, the contact coefficient and thermal resistance
Gap] value between parts change.
• [Perfect]:
When [Perfect] is selected, the temperature evaluation is performed with
the contact coefficient and thermal resistance set to 0.
• [Good]
• [Average] * Default
• [Poor]
In the [Perfect] > [Good] > [Average] > [Poor] order, the degree of adhesion
between parts changes from high to low.
184
JMAG-Express Classic Design Parameters and Template Parameters
Parameter Description
[Fan Flow Rate, m/s] Specifies the cooling fan wind speed when [Forced] is selected for
[Cooling Method].
[Fan Flow Rate, m/s] is modeled in the thermal equivalent circuit as fol-
lows:
• [Fan Flow Rate, m/s]: Reca
[Advanced Settings]
Select [Advanced Settings] when specifying the following parameters.
• Convection heat transfer coefficient
• Equivalent heat transfer coefficient of filling material
• Gap contact coefficient
• Thermal conductivity of each part
• Part (or gap, convection) thermal resistance
[Detail (Coefficient)]
Select the checkbox for an input parameter to change its value. The text box to the right of the
checkbox becomes active.
Parameter Description
[Natural Convection Heat Transfer If [Natural] is selected for [Cooling Method], the value spec-
Coefficient, W/(m^2K)] ified here is used.
[Forced Convection Heat Transfer Coef- If [Forced] is selected for [Cooling Method], this value is
ficient, W/(m^2K)] changed based on the [Fan Flow Rate, m/s] value.
[Stator Core-Case Gap] Specify the air gap coefficient of the gap between the stator
core and the case.
This value changes depending on the [Stator-Case Gap] set-
ting under [Setting].
185
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Parameter Description
[Filling Material Equivalent Heat Trans- If the motor contains resin or inorganic materials, specify the
fer Coefficient, W/(m K)] heat transfer coefficient of those materials.
[Coil-Case Contact Coefficient] This value changes depending on the [Coil-Case Gap] set-
ting under [Setting].
[Rotor Material Thermal Conductivity, Specify the material thermal conductivity of each part.
W/(m K)]
[Stator Material Thermal Conductivity,
W/(m K)]
[Coil Material Thermal Conductivity,
W/(m K)]
[Shaft Material Thermal Conductivity,
W/(m K)]
[Air Thermal Conductivity (External), Specify the thermal conductivity of the air outside or
W/(m K)] inside the case.
[Air Thermal Conductivity (Internal),
W/(m K)]
186
JMAG-Express Classic Design Parameters and Template Parameters
[Correction] Tab
The [Correction] tab is displayed by selecting [Correction Factor] after running an evaluation of
characteristics. The correction factor can be set in this tab for materials, constants, and result values,
after running an evaluation of characteristics.
187
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• At the top of the tree, the template label is displayed. Each correction factor is listed in the
treeview.
Notes
• The types of correction factor that can be set vary on the type of motor.
• The correction factor is divided into the following categories.
• [Material]:
The [Magnetic Body - Saturation] setting is specified for the entire magnetic material of all
motors. The [Magnet - Residual Flux Density] and [Magnet - Coercive Force] setting is spec-
ified for brushless motors and the entire magnetic material for brushless motors and brush
motors.
• [Constant]
• [Result Value]
• Rerunning an evaluation of characteristics is required when modifying the correction factor set in
[Material] and [Constant].
• The correction factor is saved in templates.
• The correction factor is saved in JCF files. The correction factor specified only in [Material] can
be used in JMAG-Designer.
1. Select [Template] > [Register Template to Database] from the menu bar while the cor-
rection factor is set.
The [Register Template to Database] dialog is displayed.
2. Select either [All], [Material Correction Factor], [Constant Correction Factor], or [Result
Value Correction Factor] from [Save Target].
3. Specify [File Name] and [Description].
4. Click [OK].
MEMO Exporting a correction factor template to a file or importing a correction factor template
from a file, can be done in the [Manage Database] dialog. The [Manage Database] dialog is displayed
by selecting [Template] > [Manage Database].
1. Click [Modify] on the right side of each category of the [Correction] tab.
The [Select Correction Factor] dialog is displayed.
2. Select the correction factor to apply to a motor from the [Correction Factor] list.
3. Click [OK].
A correction factor template is applied to a motor.
188
JMAG-Express Classic Design Parameters and Template Parameters
[Winding] Tab
The [Winding] tab is displayed in the main window. The status and connection method for wind-
ings is specified in this tab.
MEMO The status windings set in the [Winding] tab can be confirmed in the [Motor Diagram] and
[Winding Diagram] tab of the graphics window.
[Number of phases]
[3], [6], or [9] can be selected.
• JMAG-RT models cannot be created when [9] is selected. For details on creating JMAG-RT
models, see “Exporting Evaluation Results for Control Circuit Simulation (JMAG-RT Models)”
on page 271.
[Connect Method]
Select either [Star] or [Delta].
[Coil Property]
See the “[Winding] Tab (Shared)” on page 177.
[Winding]
Set the winding method of the coil. Status of winding is displayed in the [Motor Diagram] tab on
the right once the winding method of the coil is determined.
189
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Coil Pitch]
Enter the number of slots spanned by one coil in [Coil Pitch]. For example, enter “4” for the coil of
the diagram below.
Example
[Phase Order]
The displacement method for the U, V, and W phase can be selected. Switching the phase order
changes the rotation direction of the rotating magnetic field.
• [UWV]:
At the current flow timing, V-phase shifts by -120 degrees and W-phase shifts by +120 degrees in
reference to the U-phase.
190
JMAG-Express Classic Design Parameters and Template Parameters
I u = I ⋅ sin ( 2πft + θ )
I v = I ⋅ sin ( 2πft + θ – 2π ⁄ 3 )
I w = I ⋅ sin ( 2πft + θ + 2π ⁄ 3 )
f : Frequency (Hz), t : Time (s), θ : Phase (rad)
• [UVW]:
At the current flow timing, V-phase shifts by +120 degrees and W-phase shifts by -120 degrees in
reference to the U-phase.
I u = I ⋅ sin ( 2πft + θ )
I v = I ⋅ sin ( 2πft + θ + 2π ⁄ 3 )
I w = I ⋅ sin ( 2πft + θ – 2 π ⁄ 3 )
f :Frequency (Hz), t :Time (s), θ :Phase (rad)
[Drive] Tab
This tab specifies a motor power source when running an evaluation of characteristics in a brushless
motor.
MEMO For details, see “Running a Characteristics Evaluation” on page 238.
[Circuit Property]
Select a drive mode from the [Mode] list, and then enter each parameter.
There are three drive mode types as follows:
The drive mode selection pertains to the control method and the evaluation axis (the X-axis of the
evaluation results graph displayed from performing a characteristic evaluation).
191
JMAG Version 22.2 User's Manual
JMAG-Express Classic
192
JMAG-Express Classic Design Parameters and Template Parameters
193
JMAG Version 22.2 User's Manual
JMAG-Express Classic
MEMO Enter the values shown in the following diagram for [Line Current (Amp), A] and [Line Voltage
(Amp), V].
MEMO When evaluating characteristics, output is produced for 10 equally spaced values for the param-
eter selected from the [X-axis] list.
However, data points with negative efficiency values are not displayed for efficiency evaluation results
graphs.
194
JMAG-Express Classic Design Parameters and Template Parameters
Furthermore, if the following conditions are satisfied, output is produced for 20 equally spaced values for
the parameter selected from the [X-axis] list.
• [Current Phase] or [Advance Phase Angle] is selected in the [X-axis] list
• [Current Phase Range Upper, deg] - [Current Phase Range Lower, deg] > 180 degrees
(or [Advance Phase Angle Range Upper, deg] - [Advance Phase Angle Range Lower, deg] > 180
degrees)
195
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Number of phases]
[3], [6], or [9] can be selected.
• JMAG-RT models cannot be created when [6] or [9] is selected. For details on creating JMAG-
RT models, see “Exporting Evaluation Results for Control Circuit Simulation (JMAG-RT Mod-
els)” on page 271.
[Connect Method]
Select either [Star] or [Delta].
[Coil Property]
See the“[Winding] Tab (Shared)” on page 177.
196
JMAG-Express Classic Design Parameters and Template Parameters
[Winding]
Set the winding method of the coil. Status of winding is displayed in the [Motor Diagram] tab on
the right once the winding method of the coil is determined.
[Coil Pitch]
Enter the number of slots spanned by one coil in [Coil Pitch]. For example, enter “4” for the coil of
the diagram below.
[Phase Order]
The displacement method for the U, V, and W phase can be selected. Switching the phase order
changes the rotation direction of the rotating magnetic field.
• [UWV]:
At the current flow timing, V-phase shifts by -120 degrees and W-phase shifts by +120 degrees in
reference to the U-phase.
197
JMAG Version 22.2 User's Manual
JMAG-Express Classic
I u = I ⋅ sin ( 2πft + θ )
I v = I ⋅ sin ( 2πft + θ – 2π ⁄ 3 )
I w = I ⋅ sin ( 2πft + θ + 2π ⁄ 3 )
f : Frequency (Hz), t : Time (s), θ : Phase (rad)
• [UVW]:
At the current flow timing, V-phase shifts by +120 degrees and W-phase shifts by -120 degrees in
reference to the U-phase.
I u = I ⋅ sin ( 2πft + θ )
I v = I ⋅ sin ( 2πft + θ + 2π ⁄ 3 )
I w = I ⋅ sin ( 2πft + θ – 2 π ⁄ 3 )
f : Frequency (Hz), t :Time (s), θ :Phase (rad)
[Coil Property]
See the “[Winding] Tab (Shared)” on page 177.
[Winding]
Set the winding method of the coil. Status of winding is displayed in the [Motor Diagram] tab on
the right once the winding method of the coil is determined.
Winding table
The winding table is specified when [Manual] is selected as the setting method of winding coils.
Enter ID of the slot where each coil enters and exits in the winding table. Slot ID is assigned in a
counter clockwise direction. Specify ID of the slot where a coil penetrates upward vertically to the
graphics window in the [Go] column. Specify ID of the slot where a coil penetrates downward verti-
cally to the graphics window in the [Return] column.
198
JMAG-Express Classic Design Parameters and Template Parameters
[Drive] Tab
This tab specifies a motor power source when running an evaluation of characteristics in a induction
motor.
MEMO For details, see “Running a Characteristics Evaluation” on page 238.
[Circuit Property]
The voltage source and cage component needs to be specified for an induction motor.
199
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Winding] Tab
The [Winding] tab is displayed in the main window. The winding state can be specified in this tab.
MEMO The status of winding set in the [Winding] tab can be confirmed in the [Motor Diagram] tab
and [Winding Diagram] tab of the graphics window.
[Phases]
Either three-phase, four-phase, or five-phase can be selected.
[Coil Connection]
Select one of the following for the connection status of each coil.
Type Description
[Series] Connects all the coils in series.
[Parallel] Connects all the coils in parallel.
MEMO The phase resistance accounting for series/parallel of the coil is calculated when either [Wire
Size/Slot Fill Factor], [Turns/Slot Fill Factor], or [Wire Size/Slot Fill Factor] is selected in [Input Item] of
[Coil Property].
[Coil Property]
See the “[Winding] Tab (Shared)” on page 177.
[Winding]
Set the winding method of the coil. Status of winding is displayed in the [Motor Diagram] tab on
the right once the winding method of the coil is determined.
200
JMAG-Express Classic Design Parameters and Template Parameters
Next, enter ID of the slot where each coil enters and exits in the winding table. Slot ID is assigned in
a counter clockwise direction. Specify ID of the slot where a coil penetrates upward vertically to the
graphics window in the [Go] column. Specify ID of the slot where a coil penetrates downward verti-
cally to the graphics window in the [Return] column.
[Drive] Tab
This tab specifies a motor power source when running an evaluation of characteristics in a switched
reluctance motor.
MEMO For details, see “Running a Characteristics Evaluation” on page 238.
[Circuit Property]
Specify the power supply and the applied voltage timing when setting the switched reluctance
motor.
Components of drive
Description
circuit
DC Voltage, V Enter the applied voltage for direct current.
Voltage Application Start Specify the timing to start applying voltage by an angle. This setting is spec-
Angle, deg ified when the salient poles for the rotor and stator in a position where they
are not facing each other is specified at 0 degrees.
Voltage Application Specify the timing to stop applying voltage in the rotational displacement
Width (Mechanical for a rotor, from, the applied voltage start position.
angle), deg
Maximum Current, A Enter the maximum value of the electric current flowing in a coil when volt-
age is applied.
Revolution Speed, rpm Enter the maximum revolution speed.
201
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Winding] Tab
The [Winding] tab is displayed in the main window. The winding state can be specified in this tab.
MEMO The status of winding set in the [Winding] tab can be confirmed in the [Motor Diagram] tab
and [Winding Diagram] tab of the graphics window.
[Winding System]
Select either [Lap Winding] or [Wave Winding].
Type Description
[Lap Winding] When [Lap Winding] is selected, each coil exits from a com-
mutator and passes over as many slots as specified in [Coil
Pitch] and connects to the next commutator.
[Wave Winding] When [Wave Winding] is selected, each coil exits from a com-
mutator and passes over as many slots as specified in [Coil
Pitch] and connects to the commutator that is the number of
commutators away that is specified in [Commutator Bar
Pitch].
[Coil Property]
See the “[Winding] Tab (Shared)” on page 177.
[Coil Pitch]
Enter the number of slots spanned by one coil in [Coil Pitch]. For example, enter “4” for the coil of
the diagram below.
202
JMAG-Express Classic Design Parameters and Template Parameters
Each coil that exits from a commutator passes over as many slots as specified in [Coil Pitch] and
connects to the commutator that is the number of commutators away that is specified in [Commu-
tator Bar Pitch].
[Drive] Tab
This tab specifies a motor current source when running an evaluation of characteristics in a brush
motor.
[Drive]
Specify the properties for the brush and commutator.
Brush width
Brush
Rotation
direction
Lead angle
Commutator
203
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Drive] Tab
Set the motor power source to be used for characteristics evaluation in the [Drive] tab of the main
window. For an externally excited synchronous machine, some of the settings in the [Drive] tab are
the same as a brushless motor.
MEMO For details, see “Running a Characteristics Evaluation” on page 238.
[Drive Circuit]
The parameters to be displayed additionally depending on the item from [Mode] and [X-axis] are
the same as a brushless motor. For details, see “[Drive] Tab” on page 191.
[Field Current, A]
Enter the direct current value to be applied to the rotor-side field coil.
204
JMAG-Express Classic Design Parameters and Template Parameters
[Drive] Tab
Set the motor power source to be used for characteristics evaluation in the [Drive] tab of the main
window.
MEMO For details, see “Running a Characteristics Evaluation” on page 238.
[Drive Circuit]
Type the following parameters.
Parameter Description
[Rated Voltage, V] The rated voltage (effective value) for the stator-side coil. Specify
the line voltage value. This value is used as the reference for volt-
age (p.u) of the evaluation results graph.
[Rated Short Circuit Current, The rated short circuit current (effective) for the stator-side coil.
A] Specify the line current value. This value is used as the reference
for voltage (p.u) of the evaluation results graph.
[Maximum Field Current, A] The maximum current value that passes through the rotor-side
field coil.
[Revolution Speed, rpm] The rated revolution speed to be evaluated.
[Power Factor Angle, deg] The phase difference between the stator voltage and stator cur-
rent. This value is used for creating the phase diagram.
[Stator Voltage, V] The phase voltage (effective value) for the stator side. This value
is used for creating the phase diagram.
[Stator Current, A] The phase current (effective value) for the stator side. This value
is used for creating the phase diagram.
205
JMAG Version 22.2 User's Manual
JMAG-Express Classic
206
JMAG-Express Classic Design Parameters and Template Parameters
[Winding] Tab
The [Winding] tab is displayed in the main window. The winding state can be specified in this tab.
MEMO The status of winding set in the [Winding] tab can be confirmed in the [Motor Diagram] tab
and [Winding Diagram] tab of the graphics window.
[Winding System]
Select either [Lap Winding] or [Wave Winding].
Type Description
[Lap Winding] When [Lap Winding] is selected, each coil exits from a com-
mutator and passes over as many slots as specified in [Coil
Pitch] and connects to the next commutator.
[Wave Winding] When [Wave Winding] is selected, each coil exits from a com-
mutator and passes over as many slots as specified in [Coil
Pitch] and connects to the commutator that is the number of
commutators away that is specified in [Commutator Bar
Pitch].
[Coil Property]
See “[Winding] Tab (Shared)” on page 177.
[Coil Pitch]
Enter the number of slots spanned by one coil in [Coil Pitch]. For example, enter “4” for the coil of
the diagram below.
207
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Each coil that exits from a commutator passes over as many slots as specified in [Coil Pitch] and
connects to the commutator that is the number of commutators away that is specified in [Commu-
tator Bar Pitch].
[Drive] Tab
This tab is available in the main window.
The power supply and connection can be set for the circuit. The template name is displayed at the
top, and each component and setting items of a circuit are listed in the treeview.
208
JMAG-Express Classic Design Parameters and Template Parameters
[Model] Tab
The following settings are specified in the [Model] tab in the template editor window.
• Part configuration (stator core, coil, rotor core, cage, shaft, etc.)
• Material types applied to each part (magnetic material, magnet, coil, non-magnetic material,
etc.)
• Boundary edge (Edge set with Rotation Periodic Boundary condition)
• Display/hide edges in the [Model] tab of the main window
• d-axis direction (pole direction) *For brushless motors, brush motors, externally excited synchro-
nous machines, and wound-field AC synchronous machines
• Teeth position *For switched reluctance motors
• Sets *For switched reluctance motors
MEMO Some of the parameters in the [Model] tab are different when clicking [Import DXF File] in the
template window and opening the template editor window. For details, see “Evaluating Geometries Cre-
ated in commercial CAD software with JMAG-Express Classic” on page 290.
[Parts]
Add and remove parts which compose the template, set material types applied to each part, and link
part characteristics to geometry.
• To add parts, click [Add] .
• To delete parts, select the part from the tree and click [Delete] .
209
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• Selecting each part from the tree allows the part's properties to be set.
After setting the properties, click [Apply] in the lower part of the [Model] tab. When another
item in the tree is clicked before clicking [Apply], the settings are not applied.
[Name]
Enter the part name.
[Material Type]
Select the type of material to be applied to the part. The following materials can be chosen from.
• [Magnetic Material]:
For materials specified as a [Magnetic Material], the material and iron loss correction factor can
be specified in the [Materials] tab in the main window.
• [Magnet]:
For materials specified as a [Magnet], the material, magnetization pattern, and temperature cor-
rection factor can be specified in the [Materials] tab in the main window.
• [Coil]:
For materials specified as a [Coil], the electric conductivity, and density can be specified in the
[Materials] tab in the main window.
• [Cage]:
For materials specified as a [Cage], the electric conductivity and density can be specified in the
[Materials] tab in the main window.
• [Non-magnetic Material]:
For materials specified as a [Non-magnetic Material], the electric conductivity and density can be
specified in the [Materials] tab in the main window.
• [Field Coil]:
For parts with [Field Coil] selected, the electric conductivity and density can be specified in the
[Materials] tab in the main window.
• [Damper Bar]:
For parts with [Damper Bar] selected, the electric conductivity and density can be specified in
the [Materials] tab in the main window.
• [Air]
MEMO When geometry created in JMAG-Designer is imported into JMAG-Express Classic in the JCF
format, the material types set in JMAG-Designer are inherited and shown in the JMAG-Express Classic
tree.
[Target Regions]
Specify which regions of the geometry apply to the part.
• Clicking the [Target Regions] list changes the background color to pink. The region can now be
selected from the [Editor] tab.
• To remove a selection from [Target Regions], select a region in the [Target Regions] list, and then
press the [Delete] key on the keyboard.
210
JMAG-Express Classic Design Parameters and Template Parameters
MEMO To express the inflow/outflow of the current to each coil in JMAG-Express Classic, divide one
coil into two regions. To use two regions composed of one coil as one region, select [1] from the [Layers]
list in the [Winding] tab in the main window.
Parameters Description
Default Determines the magnetization direction automatically based on the
number of poles. The magnetization direction of the first pole is
arranged at (360/(number of poles*2) degrees counter-clockwise from
the X-axis and is outward.
Edge Direction The [Edge Direction] setting is used when [Magnetization Pattern] is
set to [Parallel] in the [Materials] tab in the main window.
Specify the standard edge (line). The magnetization direction is set as
parallel to that edge. To change the magnetization direction to the
opposite direction of the arrows shown in the window, select [Reverse
Direction].
Normal Line The [Normal Line] setting is used when [Magnetization Pattern] is set
to [Parallel] in the [Materials] tab in the main window.
Specify the standard edge (line). The magnetization direction is set as
perpendicular to that edge. To change the magnetization direction to
the opposite direction of the arrows shown in the window, select
[Reverse Direction].
Parameters Description
Default The magnetization direction is determined automatically based on the
number of poles.
The magnetization direction of the first pole is set so that it spreads
radially from the center point.
Entity The [Entity] setting is used when [Magnetization Pattern] is set to
[Radial] in the [Materials] tab in the main window.
Specify the standard vertex and edge (arc). The magnetization direc-
tion is set radially from the vertex (or center point of an arc). To
change the magnetization direction to the opposite direction of the
arrows shown in the window, select [Reverse Direction].
[Number of Bars]
When [Material Type] is set to [Cage], specify the number of bars.
211
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Boundary Edge]
[Boundary Edge] is used for partial modeling during a characteristics evaluation and JCF file out-
put.
During partial modeling, the Rotation Periodic Boundary condition is set for the edge set to
[Boundary Edge].
• Clicking the [Target Edge] list changes the background color to pink. The edge (line) can now be
selected from the [Editor] tab.
• Specify the edge on the X-axis for a stator.
• For the rotor, specify the edge in the radial direction which is positioned on the clock-wise
side, looking from the center line of the region.
MEMO When specifying multiple edges as [Target Edge], they all must be positioned on identical
lines.
• To remove a selection from [Target Edge], select an edge in the [Target Edge] list, and then press
the [Delete] key on the keyboard.
After performing these settings, click [Apply] in the lower part of the [Model] tab. When another
item in the tree is clicked before clicking [Apply], the settings are not applied.
[Hidden Edges]
Edges set as [Hidden Edges] will no longer be shown in the [Motor Diagram] tab of the main win-
dow.
When creating a user-defined template, use JMAG-Designer's Geometry Editor or other commer-
cial CAD software to create a rotor with one pole and stator with one slot, and then import it into
JMAG-Express Classic. By copying the rotor with one pole or stator with one slot in the circumfer-
ential direction in JMAG-Express Classic, the motor can be displayed as a full model in the [Motor
Diagram] tab in the main window.
For motors that are not specified to hide edges, excessive edges are shown in the [Motor Diagram]
tab, as shown in the bottom-left image. By appropriately setting edges as hidden, only the boundary
edges of parts are shown in the [Motor Diagram] tab, as shown in the bottom-right image.
212
JMAG-Express Classic Design Parameters and Template Parameters
• Clicking the [Target Edge] list changes the background color to pink. The edge can now be
selected from the [Editor] tab.
• To remove a selection from [Target Edge], select an edge in the [Target Edge] list, and then press
the [Delete] key on the keyboard.
After performing these settings, click [Apply] in the lower part of the [Model] tab. When another
item in the tree is clicked before clicking [Apply], the settings are not applied.
MEMO Lines not belonging to a region can be handled as auxiliary lines in JMAG-Express Classic.
Constraints can be set to auxiliary lines. However, auxiliary lines cannot be shown in the [Motor Dia-
gram] in the main window.
[d-Axis]
When the pole direction is different than the default for brushless motors, brush motors, externally
excited synchronous machines, or wound-field AC synchronous machines, specify the pole direction
with [d-Axis]. The default pole direction is the rotated position in (360/(No. poles*2)) degrees
counterclockwise from the X-axis.
The initial position (position an angle of 0 degrees) is determined based on the specified d-axis
direction.
• Clicking the [Target Edge] list changes the background color to pink. The edge can now be
selected from the [Editor] tab. The specified edge (line) is set as the d-axis direction.
• To remove a selection from [Target Edge], select an edge in the [Target Edge] list, and then press
the [Delete] key on the keyboard.
After performing these settings, click [Apply] in the lower part of the [Model] tab. When another
item in the tree is clicked before clicking [Apply], the settings are not applied.
[Teeth Position]
[Teeth Position] is set for a rotor (sr_motor) and stator (sr_stator) of a switched reluctance motor.
This setting can be used during a characteristics evaluation.
Specify a vertex positioned in the center of the salient pole of the rotor or stator. The facing position
of the salient pole of the rotor and stator is determined based on the specified vertex.
• Clicking the [Target Vertex] list changes the background color to pink. The vertex can now be
selected from the [Editor] tab.
• To remove a selection from [Target Vertex], select a vertex in the [Target Vertex] list, and then
press the [Delete] key on the keyboard.
213
JMAG Version 22.2 User's Manual
JMAG-Express Classic
After performing these settings, click [Apply] in the lower part of the [Model] tab. When another
item in the tree is clicked be-fore clicking [Apply], the settings are not applied.
[Sets]
[Sets] is set for the edges of the rotor (sr_rotor) and the stator (sr_stator) of a switched reluctance
motor.
Sets are a function for grouping multiple regions (or edges and vertices).
MEMO Sets created in JMAG-Express Classic can be read by JMAG-Designer by using a JCF file.
Set parameter are as follows. After performing each setting, click [Apply] in the lower part of the
[Model] tab. When another item in the tree is clicked before clicking [Apply], the settings are not
applied.
[Set Name]
Enter a name.
[Target Entities]
Specify regions (or edges and vertices) included in a set.
• Clicking the [Target Entities] list changes the background color to pink. The region (or edge/ver-
tex) can now be selected from the [Editor] tab.
• To remove a selection from [Target Entities], select a region (or edge/vertex) in the [Target Enti-
ties] list, and then press the [Delete] key on the keyboard.
214
JMAG-Express Classic Design Parameters and Template Parameters
Select [Include Entities on Copied Regions] by copying the geometry pattern displayed in the [Edi-
tor] tab to include in the 'set' for regions (or edges or vertices).
Constraints and features do not need to be set when dimensions are not changed in JMAG-Express
Classic.
List of constraints or features that are already set are displayed in the tree of the [Constraint] tab.
• Click [Add] when setting new constraints or features.
• Click [Delete] when deleting constraints or features.
• Click the up and down arrow buttons to modify the order of application on the geometry
of the constraints or features.
Notes
• Constraints do not need to be set when changes are not made to dimensions in JMAG-Express
Classic.
• When the part scale feature is used, the size in the radial direction of the entire rotor or stator can
be controlled. However, the part scale feature cannot be used with other constraints.
• When there are more than enough constraints set on a template, dimensions may not be changed
appropriately in the [Dimensions] tab of the main window. When not enough constraints are
215
JMAG Version 22.2 User's Manual
JMAG-Express Classic
set, the geometry may become deformed during dimension change. Modify constraints accord-
ingly when a message is displayed informing that there are too many constraints or not enough
constraints.
• [OUTD: Outer Diameter] is not displayed in the [Dimensions] tab of the main window unless a
diameter constraint which displays the entire outer diameter is not set on a template. Specify the
diameter constraint in the [Constraint] tab when setting [OUTD: Outer Diameter].
• [GAP: Gap Length] is not displayed in the [Dimensions] tab of the main window unless a diam-
eter constraint which displays the outer diameter of a stator is not set in the template of an inner
rotor motor. This also applies when the diameter constraint for the outer diameter of a rotor is
not set in the template of an outer rotor motor.
Specify the diameter constraint in the [Constraint] tab when setting [GAP: Gap Length].
• [GAP: Gap Length] is not displayed in the [Dimensions] tab of the main window unless a diam-
eter constraint which displays the inner diameter of a stator and the outer diameter of a rotor is
not set in the template of an inner rotor motor. This also applies when the diameter constraint
which displays the inner diameter of a rotor and the outer diameter of a stator is set in the tem-
plate of the outer rotor motor. Specify the diameter constraint in the [Constraint] tab when set-
ting [GAP: Gap Length].
• Specify which variable (diameter constraint) is to display the inner diameter of a stator and the
outer diameter of a rotor (or the inner diameter of a rotor, outer diameter of stator) in the [Preset
Sizing] dialog.
Types of constraints
The types of constraints are as follows:
MEMO For details about the constraints for the Geometry Editor, see the “JMAG User's Manual
Parameter Explanation Edition” and “Operations Edition”.
Constraint Target Variable Description
Angle Two lines Angle Constrains the angle of two lines.
• [Double Angle] can be selected to make
the angle half the variable value.
• The angle of two lines can be defined to a
center angle, half the center angle, or a
rectangle.
• The third line becomes the center line
when it is selected.
Radius/Diame- Circle, Arc Radius/ Constrains radius/diameter of a circle or an
ter Diameter arc.
Parallelity Two lines N/A Constrains the position so that two lines
always remain parallel.
Distance Two targets from verti- Distance Constrains the distance between two tar-
ces, lines, arcs, or cir- gets.
cles • [Double Distance] can be selected which
constraints distance half the variable.
• The third line becomes the center line
when it is selected and the target is a line.
Concentric Two circles, two arcs, N/A Constrains the position so that the center is
the combination of a always coincident between two circles or
circle and an arc arcs.
216
JMAG-Express Classic Design Parameters and Template Parameters
Types of features
The types of features are as follows:
MEMO For details about the constraints for the Geometry Editor, see “JMAG User's Manual Parameter
Explanation Edition” and “Operations Edition”.
Feature Target Variable Description
Region Fillet Two lines that are con- Fillet radius Specifies a fillet between two lines.
tinuous or one line and This feature is inherited even when import-
one arc that is continu- ing a motor designed in JMAG-Express
ous Classic in the Geometry Editor of JMAG-
Designer.
Region Chamfer Two lines that are con- Length and Specifies a chamfer between two lines.
tinuous or one line and angle of This feature is inherited even when import-
one arc that is continu- chamfer ing a motor designed in JMAG-Express
ous Classic in the Geometry Editor of JMAG-
Designer.
Region Radial Region, feature Angle and Positions a region in the circumferential
Pattern number of direction around the vertex or origin. It is
copies possible to specify a feature as the target to
be copied.
This feature is inherited even when import-
ing a motor designed in JMAG-Express
Classic in the Geometry Editor of JMAG-
Designer.
217
JMAG Version 22.2 User's Manual
JMAG-Express Classic
From left to right: Original figure (Overlapping regions), region with [Union] selected,
region with [Subtraction] selected, region with [Subtraction] and [Delete Regions] selected, region
with [Intersection] selected
218
JMAG-Express Classic Design Parameters and Template Parameters
Setting Items
[Target Entities]
Specify an entity that will be the target for setting constraints or features.
Clicking the inside of each list will change the background to pink. Select a region (or edge, vertex)
from the [Editor] tab in this state.
MEMO When boolean for regions (Subtraction) is used, select a region considering that subtraction is
obtained using “[Target Entities 1] - [Target Entities 2]” as the formula.
[Features]
This setting is available for region radial pattern and region mirror copy.
Specifies the feature to be copied.
Clicking the [Features] list will change the background to pink. Select a feature from the [Con-
straints] list. The feature that can be selected in this case is the Boolean for Region.
219
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Delete Regions]
This setting is available for boolean for regions.
To remove the specified region in [Target Entities 2] after performing a Boolean operation, select
[Delete Regions].
[Parameter Name]
This setting is available for angle constraint, radius/diameter constraint, distance constraint, fillet
constraint, and chamfer constraint.
Specify a variable name.
[Label]
This setting is available for angle constraint, radius/diameter constraint, distance constraint, fillet
constraint, chamfer constraint, region fillet, region chamfer, region radial pattern and part scale.
Specify a description for variables.
[Default Value]
This setting is available for region fillet, region chamfer, region radial pattern and part scale.
[Radius]
[Length]
[Angle]
Part scale
Enter a default value for distance in the diagram below.
220
JMAG-Express Classic Design Parameters and Template Parameters
[Reference Entity]
This setting is available for setting region mirror copies. Select a line entity to be specified as a sym-
metry axis for a mirror copy.
MEMO For details about the procedures in selecting line entities, see “[Target Entities]” on page 219.
[Preview] Tab
This tab is available in the editor window.
221
JMAG Version 22.2 User's Manual
JMAG-Express Classic
222
Designing Motor Using JMAG-Express Classic
This chapter describes the procedures for motor design using JMAG-Express Classic.
223
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Selecting Templates
1. Click the link of the motor design in the [Template] tab of the template window.
The following motor links will be displayed in the [Template] tab.
• Brushless Motor (IPM)
• Brushless Motor (SPM)
• Brushless Motor (Outer Rotor/IPM)
• Brushless Motor (Outer Rotor/SPM)
• Induction Motor
• Single-phase Induction Motor
• Switched Reluctance Motor
• Brush Motor
• Externally Excited Synchronous Machine
• Wound-Field AC Synchronous Machine
• Claw Pole Alternator
• Universal Motor
Clicking the link of each motor displays its list of templates.
2. Click one of the following icons or links.
• Template of the entire motor (PM_I_D_I.2, IM_I_D_SC.2 etc.):
Clicking an icon or link displays the main window.
MEMO Icons or links of user-defined templates registered in the database are displayed in the
[Template] tab.
MEMO For details about templates built-in to JMAG-Express Classic by default, see “JMAG-
Express Classic Appendix” on page 307.
• [Build New Combination]:
Click [Build New Combination] to combine and use templates of only rotors or only stators.
Select the template to use from the [Rotor] and [Stator] list once the [Build New Combina-
tion] dialog is displayed. Click [OK] to display the main window.
MEMO For details about the part template built-in to JMAG-Express Classic by default, see
“JMAG-Express Classic Appendix” on page 307.
• [Import DXF File]:
Click [Import DXF File] when importing full model geometry created in the Geometry Edi-
tor of JMAG-Designer or commercial CAD software from a DXF file.
For details about procedures in this case, see “Evaluating Geometries Created in commercial
CAD software with JMAG-Express Classic” on page 290.
MEMO [Import DXF File] is a procedure used when not changing dimensions in JMAG-Express
Classic. To import geometry created in the Geometry Editor of JMAG-Designer or commercial
CAD software into JMAG-Express Classic and change the dimensions in JMAG-Express Classic,
a separate procedure needs to be run. For details, see “Creating a Template Using the Geome-
try Created with the Geometry Editor and commercial CAD software” on page 296.
224
Designing Motor Using JMAG-Express Classic
• Procedure to derive recommended specifications based on the objective value using the sizing
function. For details, see “Calculating Recommended Specifications Using the Sizing Function”
on page 231.
225
JMAG Version 22.2 User's Manual
JMAG-Express Classic
1. Specify the units for the dimension values and the number of decimal places as
required.
The unit of dimension is (mm) and the number of decimal places is set at “4” in the default state.
To change these settings, select [Template] > [Property] from the menu bar.
For details, see “[Property]” on page 154.
2. Specify settings for target values and sizing during characteristics evaluation in the
[Requirement] tab.
For details, see “[Requirement] Tab” on page 162.
For details about sizing, see “Calculating Recommended Specifications Using the Sizing Func-
tion” on page 231.
3. Specify motor dimensions in the [Dimensions] tab.
For details, see “[Dimensions] Tab” on page 163.
MEMO The template to be used (rotor, stator) can be changed from the [Dimensions] tab. For
details, see “Editing the Template Geometry Using the JMAG-Designer Geometry Editor” on page
303.
4. Specify materials of each part in the [Materials] tab.
For details, see “[Materials] Tab” on page 171.
5. Specify winding information in the [Winding] tab and [Field Coil] tab.
See the following pages.
• Common items:
“[Winding] Tab (Shared)” on page 177
• Brushless motor:
“[Winding] Tab” on page 189
• Induction motor:
“[Winding] Tab (Multi-phase Induction Motor (Three-phase/Six-phase/Nine-phase))” on
page 196, “[Winding] Tab (Single-phase Induction Motor)” on page 198
• Switched reluctance motor:
“[Winding] Tab” on page 200
• Brush motor:
“[Winding] Tab” on page 202
226
Designing Motor Using JMAG-Express Classic
Change the Template of the Stator or Rotor While Entering the Specifications
The template of the rotor or stator can be changed in the main window.
Notes
• The template of the motor cannot be changed to another type in the main window (e.g. brush-
less motor (IPM) to induction motor).
To change the motor template to a different type, select [File] > [New] from the menu bar, return
to the template window, and select a template again.
227
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• The numbers of poles and slots, as well as diameter values are inherited from the previous model
to the new when changing templates. The default values of the template after changing are auto-
matically applied to the motor, when values are not inherited due to large differences in geome-
tries.
Procedures
1. Click [Modify] on the right of the motor parts (stator, ipm_rotor etc.) in the [Dimen-
sions] tab of the main window.
The [Select Template] dialog is displayed.
2. Select [Switch to Selected Template].
3. Select the template of either the stator or the rotor from the [Templates] list.
4. Click [OK].
Return to the main window. It will change to the template selected in step 3.
1. Select [Template] > [Register to Database] from the menu bar in the main window.
The [Register Template to Database] dialog is displayed.
MEMO The [Register Template to Database] dialog is also displayed when selecting [File] > [New]
after entering the specifications and clicking [Yes] in the displayed message dialog.
2. Select either [All], [Rotor], or [Stator] from the [Save Target] list.
• When [All] is selected, it will be saved as a template of the entire motor including both the
rotor and stator.
• If either [Rotor] or [Stator] is selected, it will be saved as a part template of either just the
rotor or just the stator.
3. Type the template name in the [Template Name] box.
Multi-byte characters can also be entered in the [Template Name] box.
[OK] of the [Register Template to Database] dialog will be disabled unless the [Template Name]
box is specified.
MEMO To overwrite the existing template, select a template from the [Existing Templates] list (or
[Existing Rotors], [Existing Stators]).
4. Arbitrarily specify the [Image File] and [Description] box.
• Specify the path to the description image of the template in the [Image File] box. Click
[Import] to open the [Image File] dialog, and specify the image file (.png).
The image specified is displayed in the template window, the [Build New Combination] dia-
log, and the [Select Template] dialog.
• Specify information attached to the template in the [Description] box.
Details entered here will be displayed in the template window, [Build New Combination],
and [Select Template] dialog.
228
Designing Motor Using JMAG-Express Classic
5. Click [OK].
The entered specifications will be registered in the database as a user-defined template.
User-defined templates registered in the database can be selected from the template window.
1. Click the link of each motor in the [Template] tab of the template window.
Clicking the link of each motor displays its list of templates. The user-defined template regis-
tered in the database will also be displayed.
2. Click the icon or link of the user-defined template that will be used.
The main window is displayed.
MEMO Run the following procedures when specifications entered previously are saved as part tem-
plates of either just the rotor or just the stator.
1. Click the [Build New Combination] link in the [Template] tab of the template window.
2. Select a user-defined template to use from [Rotor] and [Stator] in the [Build New Combination]
dialog, and click [OK].
1. Select [File] > [Save As] from the menu bar of the main window.
The [Save As] dialog is displayed.
2. Select the format of the exported file from the [File Type] list.
The file formats that can be selected are the following:
• JMAG-MotorTemplate files (.jmd):
It is a file for the JMAG-Express Classic database. It includes information such as geometry,
material, and correction factor of the template.
• Parameter File (.csv):
It is a file for saving the specifications of JMAG-Express Classic. It includes the name of the
used template, setting parameters, and its value. Importing parameter files in JMAG-Express
Classic allows the simulation of specifications entered previously.
• JMAG-Designer Project File (.jproj), JCF File (.jcf ), DXF File (.dxf ):
These file formats are selected when using data outside JMAG-Express Classic. For details, see
“Exporting Designed Motors to a File” on page 276.
3. Specify the destination to save the file in the [Save In] list.
4. Specify the file name to export in the [File name] combo box.
5. Click [Save].
229
JMAG Version 22.2 User's Manual
JMAG-Express Classic
1. Select [File] > [Open] from the menu bar in the template window or the main window.
The [Open] dialog is displayed.
MEMO Parameter files can only be opened from the main window.
2. Select the file type to import.
• JMAG-MotorTemplate files (.jmd)
• Parameter files (.csv)
MEMO The parameter file can be selected when running the operation of step 1 in the main win-
dow.
3. Specify the file to import.
When multiple template data is included in the specified JMAG motor template file, a message
dialog asking which template to open is displayed. Specify one template to open from the list in
JMAG-Express Classic.
4. Click [Open].
The JMAG motor template file is imported.
Or the parameter file is imported and the content of the parameter file is applied to the displayed
motor.
MEMO When the template that is being used is different between the parameter file and the dis-
played motor, a message dialog confirming whether to import the parameter file is displayed. Click
[OK] to import the file.
230
Designing Motor Using JMAG-Express Classic
[Dimensions] tab
All dimensions, number of slots, number of poles, number of secondary conductor (induction
motor only)
[Materials] tab
Magnet (brushless motor only), Cage (induction motor only)
MEMO When [Magnet] or [Cage] is specified under [Sizing Parameters] in the [Requirement] tab, the
settings are not updated even if the sizing function is used.
[Winding] tab
• Brushless motor, three-phase induction motor:
Phase resistance, number of turns, layers, coil pitch, winding scheme (distributed winding/con-
centrated winding)
MEMO When [Winding] is specified under [Sizing Parameter] in the [Requirement] tab, the set-
tings are not updated even if the sizing function is used.
• Switched reluctance motor:
Phase resistance, number of turns
• Brush motor:
Coil resistance, number of turns
• Claw pole alternator:
• Stator coil: phase resistance, number of turns, number of layers, coil pitch
• Field coil: coil resistance, number of turns
231
JMAG Version 22.2 User's Manual
JMAG-Express Classic
[Drive] tab
• Brushless motor:
Line voltage (Amp), maximum line current (Amp), revolution speed
• Induction motor:
Phase voltage (Amp), revolution speed
MEMO Revolution speed is a settings parameter for JMAG-Designer. It is not used for a characteris-
tics evaluation in JMAG-Express Classic.
• Switched reluctance motor:
DC voltage, voltage application start angle, voltage application width (mechanical angle), maxi-
mum current
• Brush motor:
DC voltage, rated current, contact voltage drop, slit width between segments, brush width
• Claw pole alternator:
Rated voltage, rated short-circuit current, maximum field coil current, revolution speed, stator
voltage, stator current
232
Designing Motor Using JMAG-Express Classic
However, cases in which geometry can't be updated can be reduced by preemptively registering
“Geometry Parameter Set”. For details, see “Registering Geometry Parameter Set (User-
defined Templates is Used)” on page 234.
233
JMAG Version 22.2 User's Manual
JMAG-Express Classic
6. Make appropriate changes to the design parameters based on the recommended speci-
fications calculated using sizing to complete the specifications.
234
Designing Motor Using JMAG-Express Classic
If the geometry parameter set is registered in advance, the geometry parameter set is referenced, and
other geometry values are updated when calculating the recommended number of slots/poles and
number of the secondary conductors using the sizing function.
1. In the main window, select [Sizing] > [Geometry Parameter Set List] from the menu bar.
The [Geometry Parameter Set List] dialog is displayed. Currently registered geometry parameter
sets are displayed in a list in this dialog.
1. Specify [SLOTS: Number of Slots] in the [Dimensions] tab in the main window.
2. Specify other geometry parameter values (internal/external diameter of the stator, etc.)
for the number of slots specified in step 1.
3. Select [Sizing] > [Register Stator Geometry] from the menu bar.
The combinations of number of slots and values of each geometry parameter are registered as
geometry parameter sets.
MEMO Geometry parameter sets with the same number of slots cannot be registered multiple times.
4. Using the same procedure, register the geometry parameter sets as many as needed.
1. In the main window, select [Sizing] > [Geometry Parameter Set List] from the menu bar.
The [Geometry Parameter Set List] dialog is displayed. Currently registered geometry parameter
sets are displayed in a list in this dialog.
2. Select unneeded geometry parameter sets from the list and click [Delete].
235
JMAG Version 22.2 User's Manual
JMAG-Express Classic
236
Evaluating Motor Characteristics in JMAG-Express
Classic
This chapter describes the steps and Notes for running motor characteristics evaluation using JMAG-Express
Classic.
237
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Procedures
1. Specify the dimensions, drive condition and winding in each tab.
For details, see “Designing Motor Using JMAG-Express Classic” on page 223.
2. Click [Evaluate] .
Or, select [Characteristics] > [Evaluate] from the menu bar.
Design comparisons, performance graph, and design sheet are displayed in the [Characteristics]
tab.
MEMO The correction factor can be set on materials, constants, and result values after running an
evaluation of characteristics. For details, see “[Correction] Tab” on page 187 for details.
238
Evaluating Motor Characteristics in JMAG-Express Classic
Parameter Description
[Graph Title] Selecting [Graph Title] allows the title of the graph to be changed.
[Graph Type] Selecting [Series Lines] displays the results of multiple cases on one
graph. Selecting [Response Graph] creates a response value graph
based on the results of multiple cases. Specify [Target Point] below.
[Line Option] • [X Component]:
Select the component to be displayed as the X-axis.
• [Y Component], [Component]:
The components to be displayed as the Y-axis are shown in the
list. Multiple components can be set. Click for multiple set-
tings. The component type can also be selected from the [Com-
ponent] list. To remove components to display as the Y-axis, select
the component in the list and click .
• [Target Point]:
Displayed when [Response Graph] is selected in [Graph Type].
Any value can be specified for “X-axis used in the evaluation”. “X-
axis used in the evaluation” differs depending on the motor type.
For brushless motors and externally excited synchronous
machines, they are the components specified for [X-axis] in the
[Drive] tab (current amplitude, current phase, revolution speed,
or voltage).
For induction motors and switched reluctance motors, it is the
revolution speed. For brush motors, it is torque.
For wound-field AC synchronous machines, it is field current.
[Axis] This is specified when dividing and displaying the Y-axis into left
and right. Clicking [Edit] allows the title, scaling, and value
range of the X-axis, Y-axis (left), and Y-axis (right) to be specified.
[Line Style], [Line Width], The graph line properties can be specified.
[Marker], [Marker Size]
Design Comparisons
• History of characteristics evaluation will be saved in design comparisons when [Stack Design]
is selected in the toolbar.
• Flags can be set and comments can be inserted for each design proposal of design compari-
sons.
• Selecting multiple design proposals from the design comparisons can be done by holding the
[Ctrl] or [Shift] key while clicking on each design proposal.
239
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• Select and right-click a design proposal in design comparisons to display a menu. Select [Apply
Selected Case] from the menu to reflect specifications in the design proposal onto the [Dimen-
sions], [Materials], [Winding], [Drive], and [Correction] tab.
Performance Graph
• A line showing the operating range in a graph for an evaluation result is displayed when specify-
ing target values in the [Requirement] tab. For details, see “[Requirement] Tab” on page 162 for
details.
• The evaluation axis of a graph can be changed for brushless motors. Change [X-axis] on the
[Drive] tab to change the evaluation axis.
• The value of each point on a graph is displayed on a table when clicking on each result graph.
Right-click a table and specify [Copy All] to copy the entire contents in a table onto calculation
software.
• Each evaluation result is displayed with the color shown in the [Graph] cell in the table for the
design proposal.
• Only the evaluation results of design proposals are displayed in the performance graph when the
flag on the left of the design comparisons is on. Right-click design comparisons to display the
menu to switch on/off for all flags on the left of design comparisons.
• When one arbitrary design proposal is selected in the design comparisons, a marker will be
shown on the appropriate graph line of the design proposal on the graph.
Design Sheet
• Click a parameter such as [Winding] displayed in the design sheet to display a dialog to change
the value of its parameter.
• The evaluation results in the specified X-axis value can be displayed in a table format. Enter an
arbitrary value on the X-axis in the top of [Machine Constant] in the design sheet.
The value on the X-axis to be entered may vary depending on the motor type or the settings of
[X-axis] of the [Drive] tab as shown below:
Motor type [X-axis] of the [Drive] tab The X-axis value to be entered
Brushless motor, externally [Line Voltage (Amp), V] Line Voltage (Amp)
excited synchronous machines [Line Current (Amp), deg] Line Current (Amp)
[Current Phase, deg] Current Phase
[Revolution Speed, rpm] Revolution Speed
[Advance Phase Angle, deg] Advance Phase Angle
Induction motor - Revolution Speed
240
Evaluating Motor Characteristics in JMAG-Express Classic
Motor type [X-axis] of the [Drive] tab The X-axis value to be entered
Switched reluctance motor - Revolution Speed
Brush motor - Torque
Wound-field AC synchronous - Field current
machines
Graph
Notes
• For evaluation results graphs produced, characteristics are output for 10 equally spaced values for
the item (revolution speed, current phase, line current peak, line voltage peak, advance angle)
selected from the [X-axis] list under the [Drive] tab.
However, data points with negative efficiency values are not output for efficiency evaluation
results graphs.
Furthermore, if the following conditions are satisfied, characteristics are output for 20 equally
spaced values for the item (revolution speed, current phase, line current peak, line voltage peak,
advance angle) selected from the [X-axis] list under the [Drive] tab.
• [Current Phase] or [Advance Phase Angle] is selected in the [X-axis] list
• [Current Phase Range Upper, deg] - [Current Phase Range Lower, deg] > 180 degrees (or
[Advance Phase Angle Range Upper, deg] - [Advance Phase Angle Range Lower, deg] > 180
degrees)
241
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• The maximum revolution speed is automatically determined when selecting [Revolution Speed]
from the [X-axis] list.
• If [Voltage (Sin)] or [Voltage (120deg)] is selected from the [Mode] list under the [Drive] tab,
motor characteristics will be calculated based on flux linkage obtained by FEM calculations using
the current value of each point that is determined when dividing the range from 0 A to [Maxi-
mum Line Current (peak)] into three equal parts. For example, when [Maximum Line Current
(peak)] is 30 A, FEM calculations with “0 A, 10 A, 20 A, and 30 A” are executed.
Characteristics for current values other than those for each point are calculated based on the flux
linkage obtained by linear interpolation. Therefore, if the value of [Maximum Line Current
(peak)] is set to an excessive value, calculation accuracy may deteriorate.
Graph
• Revolution speed (current phase, line current peak, line voltage peak or advanced phase
angle) Vs. Torque (efficiency, power, copper loss, iron loss, power factor, phase current (RMS),
line voltage peak, phase voltage (RMS), line voltage (RMS))
• Slot number Vs. Magnetomotive force
Item Unit Description
Evaluation axis: revolution speed, current phase, line current peak, line voltage peak or advanced
phase angle
Torque Nm Steady state torque generated in a motor. Losses are taken into
account in this value.
The steady state is where fluctuation of electric current or speed in
time is fixed and the variations are stable.
Efficiency % Mechanical power according to input power. It is calculated from
the following formula.
• Motor mode:
η = ( P – W iron ) ⁄ ( P + W copper ) × 100
• Generator mode:
η = ( P + W copper + W iron ) ⁄ P × 100
• Generator mode:
L = P + W copper + W iron
242
Evaluating Motor Characteristics in JMAG-Express Classic
3 2π 3 2π
i d = – --- × I p × sin β × --------- i q = --- × I p × cos β × ---------
2 360 2 360
243
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• Magnetic circuit:
Average magnetic flux density (teeth, back yoke, gap)
• Electric part:
Rated current, wire current density, revolution speed at rated current
• Power
• Loss
• Electric circuit
244
Evaluating Motor Characteristics in JMAG-Express Classic
I dc = 3 ⁄ ( circular constant π ) ⋅ I 0
However,
• Motor mode:
T = ( T 0 – W iron ) ⁄ ω
• Generator mode:
T = ( T 0 + W copper + W iron ) ⁄ ω
245
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Magnetic circuit Average Teeth T Average value of magnetic flux density of teeth.
Flux Density Calculated in the following step.
1.Calculate the magnetic flux density of each tooth
cross section when applying the line current at 0
degree phase specified in the [Drive] tab.
See the figure below for the location of the cross sec-
tion evaluated here.
2.Calculate the average value based on the magnetic
flux density of all teeth cross sections.
Average Back T Average value of magnetic flux density of back yoke.
Yoke Flux Den- Calculated in the following step.
sity
1.Calculate the magnetic flux density of each back
yoke section when applying the line current at 0
degree phase specified in the [Drive] tab.
See the figure below for the location of the cross sec-
tion evaluated here.
2.Calculate the average value based on the magnetic
flux density of all back yoke cross sections.
246
Evaluating Motor Characteristics in JMAG-Express Classic
* For the wire cross section area, use the value calcu-
lated based on the following formulas.
• If selecting either [Round Wire Dimension] or
[Rectangle Wire Dimension] as the [Setting Type] in
the [Winding] tab:
(Wire cross section area) = (Cross section of 1 wire)
× (Number of strands)
• If selecting [Phase Resistance] as the [Setting Type]
in the [Winding] tab:
(Wire cross section area) = (Slot cross section area) ×
(Lamination factor)/(Number of turns)
Revolution speed rpm Revolution speed per minute in a motor given the
at phase current effective current
(RMS)
247
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• Generator mode:
η = ( P + W copper + W iron ) ⁄ P × 100
• Generator mode:
L = P + W copper + W iron
248
Evaluating Motor Characteristics in JMAG-Express Classic
3 2π
i d = – --- × I p × sin β × ---------
2 360
3 2π
iq = --- × I p × cos β × ---------
2 360
Induction Motor
Graph
• Revolution speed Vs. Torque (efficiency, power, copper loss, iron loss, primary current, 1st cur-
rent loss, 2nd current loss, power factor, magnetizing current)
• Slot number Vs. Magnetomotive force
Item Unit Description
Evaluation axis: revolution speed
Torque Nm This applies to ( 1 – s ) ⁄ s ⋅ r2 in the upper figure.
Average torque generated in a motor that is in steady state.
The steady state is where fluctuation of time for electric current
or speed is fixed and the variations are stable.
249
JMAG Version 22.2 User's Manual
JMAG-Express Classic
250
Evaluating Motor Characteristics in JMAG-Express Classic
Starting character- Starting imped- Ohm Impedance (Real) for the entire circuit of T-type
istics ance (Real) equivalent circuit, when slip is 0.
Starting imped- Ohm Impedance (Imaginary) for the entire circuit of T-
* Three-phase/six- ance (Imaginary) type equivalent circuit, when slip is 0.
phase/nine-phase Starting current A T-type equivalent circuit for 1 electric current when
motors slip is 0.
Starting torque Nm Torque when slip is 0.
Electric Part Phase Current A Phase current (RMS) in revolution speed where
(RMS) effective current is maximum.
Displayed only for single motors.
Primary current A Effective value of the primary current per phase
Displayed only for three-phase/six-phase/nine-
phase motors.
Wire current den- A/m^2 Calculate values from the following formula.
sity (Coil current density) = (Effective current)/(Circuit
parallel number)/(Wire cross section area)
* For the wire cross section area, use the value calcu-
lated based on the following formulas.
• If selecting either [Round Wire Dimension] or
[Rectangle Wire Dimension] as the [Setting Type]
in the [Winding] tab:
(Wire cross section area) = (Cross section of 1
wire) × (Number of strands)
• If selecting [Phase Resistance] as the [Setting
Type] in the [Winding] tab:
(Wire cross section area) = (Slot cross section area)
× (Lamination factor)/(Number of turns)
251
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Graph
Revolution speed Vs. Torque (efficiency, copper loss, iron loss, line current (amp), power, power
factor)
252
Evaluating Motor Characteristics in JMAG-Express Classic
* For the wire cross section area, use the value calcu-
lated based on the following formulas.
• If selecting either [Round Wire Dimension] or
[Rectangle Wire Dimension] as the [Setting Type]
in the [Winding] tab: (Wire cross section area) =
(Cross section of 1 wire) × (Number of strands)
• If selecting [Phase Resistance] as the [Setting
Type] in the [Winding] tab:
(Wire cross section area) = (Slot cross section area)
× (Lamination factor)/(Number of turns)
Power Torque Nm Steady state torque generated in a motor.
The steady state is where fluctuation of time for
electric current or speed is fixed and the variations
are stable.
Efficiency % Mechanical power according to input power. It is
calculated from the following formula.
Efficiency = (power)/(power + copper loss + iron
loss) * 100
Power W Motor power
Power factor - Ratio of active power against apparent power
Loss Copper loss W Joule loss generated in a coil
Iron loss W Iron loss generated in a stator and rotor
Brush Motor
Graph
Torque Vs. Revolution speed (current amplitude, copper loss, iron loss, efficiency, power)
253
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Torque constant Nm/A The ratio of the torque T produced by a motor to the
Kt current supplied to it.
The torque constant is defined as follows: where I dc
is the time averaged current, V is the rated voltage,
V e is the induced voltage, and R is the resistance.
K t = T ⁄ I dc
I dc = ( V – V e ) ⁄ R
However, T = T 0 – W iron ⁄ ω
T 0 : calculated torque not including iron loss,
W iron : iron loss (w), ω : angular velocity (rad/s)
254
Evaluating Motor Characteristics in JMAG-Express Classic
* For the wire cross section area, use the value calcu-
lated based on the following formulas.
• If selecting either [Round Wire Dimension] or
[Rectangle Wire Dimension] as the [Setting Type]
in the [Winding] tab:
(Wire cross section area) = (Cross section of 1
wire)× (Number of strands)
• If selecting [Phase Resistance] as the [Setting Type]
in the [Winding] tab:
(Wire cross section area) = (Slot cross section area)
× (Lamination factor)/(Number of turns)
Electric part Revolution speed rpm Revolution speed per minute in a motor given the
at current current
Power Revolution speed rpm Revolution speed per minute for motor
Efficiency % Mechanical power according to input power. It is cal-
culated from the following formula.
Efficiency = (power)/(power + copper loss + iron
loss) * 100
Power W Motor power
Loss Copper loss W Joule loss in the coil
Iron loss W Iron loss in the stator
Graph
• Field current vs no-load saturation curves (OCC), ((Three phase short circuit curve (SCC), gap
line (AGL), zero power factor full load saturation curves (ZPF))
Item Unit Description
Evaluation axis: field current
No-load saturation p.u. Upward curve of the armature winding line voltage when increasing
curve (OCC) field current and rotating with no-load and at the rated speed.
Expressed with the scaling factor based on the rated voltage (effective
value).
Gap line (AGL) p.u. Curve of the extended gradient of the no-load saturation curve when
field current is around zero. Expressed with the scaling factor based on
the rated voltage (effective value).
255
JMAG Version 22.2 User's Manual
JMAG-Express Classic
256
Evaluating Motor Characteristics in JMAG-Express Classic
257
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Notes
• Only a single design parameter can be changed for each parametric evaluation.
• The following design parameter cannot be changed in the parametric evaluation.
Tab Parameters not supported
[Requirement] tab All parameters
[Dimensions] tab Gap Type, units
[Materials] tab Category
[Winding] tab Wire property/Setting Type, Go/Return of Manual Winding
[Drive] tab Mode, X-axis
[Correction] tab All parameters
Procedures
1. Open the [Characteristics] tab in the main window.
Parameters that support parametric evaluation are highlighted in yellow in the design sheet
shown in the [Characteristics] tab.
2. Click the parameters to evaluate in the design sheet.
The [Input Parameter] dialog is displayed.
3. Click .
The dialog will change from [Input Parameter] to [Parametric Range Input].
4. Select either the [Range] or [Table] method to specify the design parameter values to
evaluate.
[Range] is a method to specify evaluation values at equal intervals based on start and end values,
and the divisions of range.
[Table] directly specifies evaluation values.
MEMO Some design parameters disable the selection of [Range].
5. When [Range] is selected in step 4, specify values in [Start], [End] and [Division].
For instance, when specifying “0” for [Start], “30” for [End] and “3” for [Division],
values of “0, 10, 20, 30” will be evaluated.
6. When [Table] is selected and the design parameter is a material, select a material from
the list in each cell. For any other design parameters, input numbers into each cell.
7. Click [Evaluate] .
Parametric evaluation will run.
258
Evaluating Motor Characteristics in JMAG-Express Classic
[Stack Design] in the main window will automatically be enabled and evaluation results will
be added in the [Characteristics] tab.
In the design comparisons of the [Characteristics] tab, the flag for the case added after the para-
metric evaluation will be selected.
On the other hand, the flag for the current case will be deselected.
MEMO Parametric evaluation can also be executed with the following procedures.
1. Select parameters to be evaluated in the [Dimensions], [Winding], and [Drive] tab.
2. Click [Parametric Mode] .
The following steps are the same as the procedure above from step 4 onwards.
259
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Notes
• Characteristics evaluation taking into account temperature is applicable to brushless motors and
induction motors.
A thermal equivalent circuit is used for characteristics evaluation taking into account tempera-
ture. A thermal equivalent circuit is created using the copper loss in the coils, the copper loss in
the secondary conductors, and the iron loss in the stator core as heat sources. Using the tempera-
ture obtained from thermal equivalent circuit calculations, the coil resistance, secondary conduc-
tor resistance, and magnet flux are corrected.
• The values for iron loss and copper loss in the graphs displayed in the [Specifications] tab are
used as the values for the heat sources in thermal circuits. The values used are determined by the
following rules:
• When the graph X-axis is the current value or the voltage value (brushless motors):
Values according to the current value or voltage value set under [Drive Circuit] in the [Drive]
tab are used.
• When the graph X-axis is the current phase or the advance phase angle (brushless motors):
Values according to the lower limit of the current phase range set under [Drive Circuit] in the
[Drive] tab are used.
• When the graph X-axis is the rotation speed (brushless motors, induction motors):
Values according to the rotation speed set under [Setting] in the [Thermal] tab are used.
• The coil resistance and secondary conductor resistance are corrected using the following formula.
–6
R′ = R ( 1 + α × 10 ( Tr now – Tr base ) )
α : The [Temperature Correction Factor, ppm/K] value for a conductive part under the [Materi-
als] tab
Tr now : Temperature during evaluation (K)
260
Evaluating Motor Characteristics in JMAG-Express Classic
Tr base : The [Base Temperature, K] value for a conductive part under the [Materials] tab
k : The [Temperature Correction Factor, %/K] value for a magnet part under the [Materials]
tab
Tf now : Temperature during evaluation (K)
Tf base : The [Base Temperature, K] value for a magnet part under the [Materials] tab
• When calculating iron loss, the magnet flux corrected using the following equation is used.
B = B load – B 0 ( k × ( Tf now – Tf base ) )
k : The [Temperature Correction Factor, %/K] value for a magnet part under the [Materials] tab
Tf base : The [Base Temperature, K] value for a magnet part under the [Materials] tab
• The magnet and cage temperatures are calculated with the assumption that they are the same as
the rotor core temperature.
• The temperature distribution in the axial direction of the case and shaft is not taken into
account.
Procedures
1. Specify the motor specifications using the same procedure as when using regular char-
acterization, that is, regular characteristics evaluation.
2. Click [Temperature Evaluation] in the [Input] window.
The [Thermal] tab is displayed on the left side of the window. Under the [Thermal] tab, input
parameters such as [Evaluation Type], [Revolution Speed], [Ambient], air gap status, and [Cool-
ing Method] are displayed.
The [Thermal Model] tab is displayed on the right side of the window. Under the [Thermal
Model] tab, a thermal equivalent circuit diagram and a section of the model are displayed. Each
figure shows the relationship between the input parameters under the [Thermal] tab.
3. Specify the temperature property parameters under the [Thermal] tab.
When [Advanced Settings] on the [Thermal] tab is selected, additional parameters such as the
convection heat transfer coefficient, part thermal conductivity, and part and gap thermal resis-
tances are displayed.
See “[Thermal] Tab” on page 182 for details.
261
JMAG Version 22.2 User's Manual
JMAG-Express Classic
4. Click the [Dimensions] tab and specify the dimensional parameters for [Shaft] and
[External Case].
The [Shaft Part] and [External Case] are displayed under the [Dimensions] tab when [Tempera-
ture Evaluation] has been selected.
See “[Dimensions] Tab” on page 163 for details.
5. Click the [Materials] tab and specify the temperature correction factor for each part.
For brushless motors, the temperature correction factor for each coil part and for each magnet
part can be specified.
For induction motors, the temperature correction factor for each coil and for the cage can be
specified.
See “[Materials] Tab” on page 171 for details.
6. Click [Evaluate] .
Characterization taking into account temperature is performed.
Under the [Characteristics] tab, result graphs for the characterization taking into account tem-
perature are displayed. The temperature result values are displayed in a design case table and a
characteristics table under the [Characteristics] tab.
The temperature of each part is also displayed in the model section figure and thermal equivalent
circuit diagram under the [Thermal Model] tab.
IMPORTANT Depending on the selection from the [Mode] list, the [Revolution Speed]
box may be displayed as an input parameter under the [Drive] tab. The value specified in
the [Revolution Speed] box under the [Drive] tab is entered in the [Revolution Speed] box
under the [Thermal] tab.
However, the [Revolution Speed] box under the [Drive] tab and the [Revolution Speed] box
under the [Thermal] tab are not necessarily the same value. If the [Revolution Speed] value
is changed under the [Drive] ([Thermal]) tab, change the [Revolution Speed] value under
the [Thermal] ([Drive]) tab to the same value.
262
Evaluating Motor Characteristics in JMAG-Express Classic
About Maps
Using the map function, the motor operating range and efficiency and power output at each operat-
ing point can be checked. When creating a map, voltage and current limits are used.
For a brushless motor, the following maps can be displayed.
• N-T-Efficiency (efficiency map)
• N-T-Power (power map)
• N-T-TotalLoss (total loss map)
• N-T-CopperLoss (copper loss map)
• N-T-IronLoss (iron loss map)
• N-T-CopperAndIronLoss (iron loss + copper loss map)
• N-T-MechanicalLoss (mechanical loss map)
• N-T-Id (d-axis current map)
• N-T-Iq (q-axis current map)
• N-T-Iam (phase current amplitude map)
• N-T-V (line voltage amplitude map)
• N-T-PowerFactor (power factor map)
• N-T-PhaseAngle (phase angle map)
For a induction motor (three-phase/six-phase/nine-phase), the following maps can be displayed.
• N-T-Efficiency (efficiency map)
• N-T-Power (power map)
• N-T-TotalLoss (total loss map)
• N-T-CopperLoss (copper loss map)
• N-T-StatorCopperLoss (stator copper loss map)
• N-T-RotorCopperLoss (rotor copper loss map)
• N-T-IronLoss (iron loss map)
• N-T-MechanicalLoss (mechanical loss map)
• N-T-I (current map)
• N-T-V (line voltage amplitude map)
• N-T-Slip (slip map)
• N-T-PowerFactor (power factor map)
MEMO For details on physical quantities, see “Physical Quantities Used For Maps” on page 267.
Notes
• The map function is for brushless motors and induction motors (three-phase/six-phase/nine-
phase).
Single-phase induction motors, switched reluctance motors, brush motors, externally excited
263
JMAG Version 22.2 User's Manual
JMAG-Express Classic
synchronous machines, wound-field AC synchronous machines, claw pole alternators, and uni-
versal motors are not supported.
• The results for both power running and regenerative operation are displayed on one map (nega-
tive torque is displayed on the map).
• Linear interpolation is performed between operating points.
Procedures
1. Specify the dimensions, drive condition and winding in each tab.
For details, see “Designing Motor Using JMAG-Express Classic” on page 223.
IMPORTANT When running characteristics evaluation for brush motors, the number of
poles and brushes need to be the same.
2. When creating multiple maps, select the checkboxes for the cases in the [Graph] column
in the design case table.
Multiple maps can be created at once (up to 4 cases).
3. Click [Map] .
Or, select [Characteristics] > [Map] from the menu bar.
The [Map Setting] dialog is displayed.
4. Select the motor control method from the [Control] list.
In the current version, the control method is fixed to [Maximum Power].
5. Specify the [Maximum Voltage, V], [Maximum Current, A], and [Maximum Speed, rpm]
values for motor constraints.
If [Maximum Voltage, V], [Maximum Current, A], or [Maximum Speed, rpm] is zero, the [Cre-
ate] button will not be active.
264
Evaluating Motor Characteristics in JMAG-Express Classic
265
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Show Closest Data When clicking on a point on a map curve after clicking this icon, the X-,
on Hover Y-, and Z-axis values of that point appear.
Display Map Table Click this icon to display the map data table in the [Map Table] dialog.
The [Map Table] dialog displays the X-, Y-, and Z-axis values of all the
operating points in table format.
• Right-click a cell in the table to copy the data in that cell.
• When [Table] is selected from [Data Type], a table of the selected physi-
cal quantity (efficiency, power, etc.) is displayed. When [Coordinate
Value] is selected, a table of the revolution speed, torque, and selected
physical quantity (efficiency, power, etc.) at each operating point is dis-
played.
• Click [Export] to export the table displayed in the [Map Table] dialog to
a CSV file (.csv).
• When changing the rotation speed range, torque range, or operating
point interval (resolution) output to the table, change the [Max Value],
[Min Value], and/or [Division] values under [Revolution Speed Resolu-
tion] for the rotation speed range or operating point interval (or [Torque
Resolution] for the torque range or operating point interval) and click
[Apply].
Edit Map Property Click this icon to display the [Map Property] dialog.
In the [Map Property] dialog, the values of the input parameters ([Con-
trol], [Maximum Voltage], [Maximum Current], [Maximum Speed]) for
editing the map can be edited.
• It is also possible to change the range of torque values and selected physi-
cal quantity (such as efficiency or power) displayed on the map. When
changing the range, clear [Default Maximum Torque] (or [Default Mini-
mum Torque], [Default Maximum Value], or [Default Minimum
Value]), and enter a maximum value (or minimum value) of the range in
the text box.
266
Evaluating Motor Characteristics in JMAG-Express Classic
Brushless motor
X-axis
Physical quantity Description
Revolution speed, rpm The speed of each operating point is determined by dividing the range
from 0 to [Maximum Speed, rpm] by 10. However, for the minimum
speed, use the larger of the following values.
• 1/100 of the maximum speed
• 0.1 x (Maximum speed - (Maximum speed x 1/100))/(Number of divi-
sions)
For example, if 1000 is specified for [Maximum Speed, rpm], the speed of
each operating point will be 10, 100, 200, 300, 400, 500, 600, 700, 800,
900, 1000.
Y-axis
Physical quantity Description
Torque, Nm The torque value at each operating point is determined by dividing the
range from the maximum torque to the minimum torque by 40.
Z-axis
Physical quantity Description
Efficiency, % Mechanical output vs. input power.
This is calculated from the following formula.
Power running mode:
ωT – W iron – W mech
η = 100 × -------------------------------------------------
ωT + W copper
Regenerative mode:
ωT + W copper + W iron
η = 100 × -------------------------------------------------------- * ωT is a negative value.
ωT – W mech
η : efficiency (%)
ω : angular velocity (rad/s). ( N : revolution speed (rpm))
T : torque (Nm). Value calculated from FEA.
W iron : iron loss (W)
267
JMAG Version 22.2 User's Manual
JMAG-Express Classic
LF : loss factor (W/k rpm). [Loss Factor] is set under the [Drive] tab.
N : rotor rotation speed (rpm)
Id, A d-axis current
Iq, A q-axis current
Iam, A Line current amplitude
Line voltage peak, V Peak value of the line voltage between the U-phase and V-phase
Power factor The ratio of active power to apparent power
Phase angle, deg The electrical angle difference between the d-axis of the rotor and the U-
phase coil axis at the initial position of the rotor
Induction motor
268
Evaluating Motor Characteristics in JMAG-Express Classic
X-axis
Physical quantity Description
Revolution speed, rpm The speed of each operating point is determined by dividing the range
from 0 to [Maximum Speed, rpm] by 40. However, for the minimum
speed, use the larger of the following values.
• 1/200 of the maximum speed
• 0.2 x (Maximum speed - (Maximum speed x 1/200))/(Number of divi-
sions)
Y-axis
Physical quantity Description
Torque, Nm The torque value at each operating point is determined by dividing the
range from the maximum torque to the minimum torque by 40.
Z-axis
Physical quantity Description
Efficiency, % Mechanical output vs. input power.
This is calculated from the following formula.
Power running mode:
ωT – W mech
η = 100 × --------------------------------------------------------
ωT + W copper + W iron
Regenerative mode:
ωT
η = 100 × -------------------------------------------------------------------------------
ωT – W copper – W iron – W mech
η : efficiency (%)
ω : angular velocity (rad/s). ω = 2π × N ⁄ 60 ( N : rotor rotation speed
(rpm))
T : torque (Nm) calculated from the equivalent circuit. This value takes
into account copper and iron losses.
W mech : mechanical loss (W)
269
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Total loss, W Total of copper loss, iron loss and mechanical loss
Copper loss, W Total of stator copper loss and rotor copper loss
Stator copper loss, W Loss generated in the coil windings used in the stator (primary resistance
loss)
Rotor copper loss, W Loss generated in the cage used in the rotor (secondary resistance loss)
Iron loss, W Loss generated in the stator
Mechanical loss, W Mechanical loss calculated from the following formula.
LF
W mech = ------------ × N
1000
W mech : mechanical loss (W)
LF : loss factor (W/k rpm). [Loss Factor] is set under the [Drive] tab.
N : rotor rotation speed (rpm)
Voltage, V Line voltage amplitude
Current, A Line current amplitude
Slip Ratio of rotor rotation speed to stator rotation speed.
N
s = 1 – ------
Ns
s : slip
N : rotor rotation speed (rpm)
N s : synchronous speed (rpm)
270
Evaluating Motor Characteristics in JMAG-Express Classic
Notes
• This function supports the following models.
• Three-phase brushless motor
• Three-phase induction motor:
* Coupling with Simulink is supported. Coupling with PSIM is not supported.
• Switched reluctance motor:
* Coupling with Simulink is supported. Coupling with PSIM is not supported.
JMAG-RT models cannot be created for single-phase induction motors, brush motors, externally
excited synchronous machines, wound-field AC synchronous machines, claw pole alternator, and
universal motors.
• A JMAG-RT model which accounts for iron loss is created for brushless motors. For other
motors, iron loss is not accounted for.
• Other than JMAG-Express Classic, motor models for JMAG-RT can be created on JMAG-RT.
The results may differ when JMAG-Express Classic and JMAG-RT use the same analysis model
to create a motor model for JMAG-RT that is referring to a circuit simulator. The difference is
that JMAG-RT prioritizes calculation accuracy and JMAG-Express Classic uses calculation speed
in which the results may change. The file exported from JMAG-Express Classic is used as a stan-
dard when obtaining a numerical value to be used for simulation, and the file exported from
JMAG-RT is used to obtain precise results.
JMAG-Designer
Version 18.0 or later is required.
Create a control circuit with Circuit Editor and add the JMAG-RT Model component. Set JMAG-
RTT model data file to refer to that JMAG-RT Model component.
For details, see the explanation of the JMAG-RT Model component in “Parameter Explanation Edi-
tion”.
271
JMAG Version 22.2 User's Manual
JMAG-Express Classic
272
Evaluating Motor Characteristics in JMAG-Express Classic
• [PSIM]:
(files to be copied: .xml)
Select this type when connecting JMAG-RT model blocks to electric circuits in PSIM. This
type cannot be selected in JMAG-RT Linux version.
MEMO A set of files that are exported with a RTT file is given the same name as RTT file.
MEMO A set of files that are exported with a RTT file needs to be saved in the same folder. If these
files are not located in the same folder, a control circuit simulation is not run correctly.
MEMO Only the files that are exported from the same version of JMAG-Express Classic can be used.
Only the files exported from the same version of Express can be used for a control circuit simulation.
MEMO When using the JMAG-RT model with JMAG-Designer Circuit Editor, clear [Copy Files
Required for Simulator].
5. Select [Enter Motor Information] to enable the display in JMAG-RT Viewer.
The motor information is displayed when RTT file is opened in JMAG-RT Viewer. These items
do not affect the model creation process of Express.
MEMO For details about JMAG-RT Viewer, see JMAG website (https://www.jmag-interna-
tional.com/).
6. Click [OK].
Motor characteristics are evaluated, and then a JMAG-RT model is created using the evaluation
results.
7. Create a circuit diagram or a block diagram for a circuit simulator to position a JMAG-RT
model.
8. Specify the properties for a JMAG-RT model to run a control circuit simulation.
273
JMAG Version 22.2 User's Manual
JMAG-Express Classic
274
Using Data Created in JMAG-Express Classic in Other
Software Applications
This chapter describes the steps and Notes for using data of motors designed in JMAG-Express Classic with
JMAG-Designer and other software.
275
JMAG Version 22.2 User's Manual
JMAG-Express Classic
1. To export JCF or JPROJ files, set up the following items in advance as needed.
• When [Do Not Use Adaptive Analysis] is selected in the [Drive] tab:
Can specify whether or not to use the Adaptive Mesh function.
When [Do Not Use Adaptive Analysis] is not selected and a data file is imported into JMAG-
Designer, [Use Adaptive Mesh Control] is selected in the [Mesh Properties] dialog in JMAG-
Designer.
MEMO For details on the Adaptive Mesh function, see “JMAG User's Manual Parameter Expla-
nation Edition”.
• For [Revolution Speed, rpm] for induction motors and brush motors:
Specify the rotor revolution speed. The specified revolution speed is used in the Rotation
Motion condition.
2. Select [File] > [Save As] from the menu bar in the main window.
The [Save As] dialog is displayed.
3. Select the file format to export from the [File Type] list.
The following options can be selected.
• JMAG-Designer Project File (.jproj):
This is a JMAG-Designer project file which includes settings information for geometry,
mesh, materials, and conditions. For details about exported JPROJ files, see “Notes on Using
Data Exported from JMAG-Express Classic with JMAG-Designer” on page 282.
• JCF File (.jcf ):
This is an input file for JMAG product shared calculations which includes settings informa-
tion for geometry, mesh, materials, and conditions. For details about exported JCF files, see
“Notes on Using Data Exported from JMAG-Express Classic with JMAG-Designer” on page
282.
• DXF file (.dxf ):
One of the file formats for saving CAD data developed by Autodesk.
• JMAG-MotorTemplate files (.jmd), Parameter File (.csv):
These file formats are for using data in JMAG-Express Classic. For details, see “Export the
Entered Specifications to a File” on page 229.
MEMO In the case of a claw pole alternator, JCF File (.jcf ) and DXF File (.dxf ) can not be selected.
4. Specify the directory to save the file in the [Save in] list.
5. Specify a file name in the [File Name] box.
6. Set the option as needed when [JCF File] or [JMAG-Designer Project File] is selected in
[File Type].
• [Partial Model]:
This option can be used when [JCF File] or [JMAG-Designer Project File] is selected.
• When [Partial Model] is selected, the minimum geometry to be analyzed is decided based
on the information such as periodicity of the geometry, magnetic field distribution, and
winding settings, and only that part is saved in a file.
276
Using Data Created in JMAG-Express Classic in Other Software Applications
• When [Full Model] is selected, the state displayed on the JMAG-Express Classic main
screen is saved in a file as is.
• [Model Dimension]:
This option can be used when [JMAG-Designer Project File] is selected.
• When [2D Model] is selected, save it as a 2D geometry in a file.
• When [3D Model] is selected, expand the model to 3D using the [HEIGHT: Stack
Height] value of the [Dimensions] tab, then save in a file.
• [Create Coil End]:
This option can be used when both [JMAG-Designer Project File] and [3D Model] are
selected.
When [Create Coil End] is selected, the end windings are modeled using the coil templates of
the Geometry Editor, then saved in a file.
MEMO When modeling the end windings, each setting in the [HEIGHT: Stack Height] of the
JMAG-Express Classic [Dimensions] tab or [Coil] tab is referenced.
MEMO [Create Coil End] is not available when [Manual] is selected in the [Winding] of the JMAG-
Express Classic [Winding] tab.
7. Click [Save].
The designed motor is exported to a file.
277
JMAG Version 22.2 User's Manual
JMAG-Express Classic
278
Using Data Created in JMAG-Express Classic in Other Software Applications
Notes
• For these described procedures, once motors have been imported from JMAG-Express Classic to
JMAG-Designer, they can no longer be edited in JMAG-Express Classic.
• Constraints and features set to geometry in JMAG-Express Classic are also inherited by the
geometry imported into JMAG-Designer's Geometry Editor. However, when geometry is
imported into the Geometry Editor, fillet constraints set in JMAG-Express Classic are replaced
with radius/diameter constraints and tangential constraints. Similarly, chamfer constraints are
replaced with distance constraints and angle constraints.
MEMO For details about settings for the file imported into JMAG-Designer, see “Notes on Using
Data Exported from JMAG-Express Classic with JMAG-Designer” on page 282.
Importing to JMAG-Designer
279
JMAG Version 22.2 User's Manual
JMAG-Express Classic
MEMO Conditions and circuits are set for the motor sent to JMAG-Designer based on the setting
on JMAG-Express Classic. For details on the settings, see “Notes on Using Data Exported from
JMAG-Express Classic with JMAG-Designer” on page 282.
1. Select [Tool] > [Close JMAG-Designer Link] from the menu bar in the main window.
A message “Exit the link to JMAG-Designer. OK?” is displayed.
2. Click [OK].
The JMAG-Designer linked with JMAG-Express Classic exits.
IMPORTANT When JMAG-Designer is terminated by releasing a link with JMAG-Express
Classic, JMAG-Designer's project is not saved automatically. If necessary, save the project
before releasing the link.
Importing to JMAG-Designer
280
Using Data Created in JMAG-Express Classic in Other Software Applications
1. In the JMAG-Designer [Project Manager] tree, right-click a model and select [Change
Link to Geometry Editor].
2. In the JMAG-Designer [Project Manager] tree, right-click the model, and select [Update
Model] when importing a geometry edited in the Geometry Editor into JMAG-Designer.
281
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Geometry
• For 3D and partial models, a model of half the size of the [HEIGHT: Stack Height] value of the
[Dimensions] tab is created in the rotation axis direction. When [Create Coil End] is selected,
the end windings are created only for the upper coil.
• For 3D and full models, a model will be created using the value of [HEIGHT: Stack Height] of
the [Dimensions] tab. When [Create Coil End] is selected, the end windings are created both for
the upper and lower coils.
Study Properties
Step control
Motor type Settings for the step control
Brushless motor, exter- Steps for two periods of cogging are set.
nally excited synchro- • [Regular Interval]
nous machine, wound- • [Start Time]: 0 (s)
field AC synchronous
• [End Time]: 1/revolution speed (rps)
machine
• [Divisions]: 16* (the least common multiple of the number of poles and
slots.)
• [Steps]: 33
282
Using Data Created in JMAG-Express Classic in Other Software Applications
MEMO If you want to analyze one period of electrical angle, modify the step control settings in JMAG-
Designer.
Circuit conversion
The conversion factor is determined by the settings in [Parallel Number]/[Series Number] (or [Coil
Connection]) under the [Winding] tab.
MEMO For induction motors and wound-field AC synchronous machines, circuit conversion is always
unselected.
283
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Conditions
Boundary conditions
• The Periodic Boundary condition settings are based on the setting for [Boundary Edge] for
[Edge] in the [Model] tab of the editor window.
• For 3D and partial models, the Symmetry Boundary condition is set to the XY plane.
Motion conditions
• [Initial Position] of the Motion condition uses the value for [Advance Phase Angle] that is auto-
matically calculated based on the winding settings in the [Winding] tab of the main window and
[d-axis Direction] for [Edge] in the [Model] tab of the editor window.
• [Constant Revolution Speed] of the Motion condition uses the value for [Rotational Speed] in
the [Drive] tab of the main window.
Circuit
Brushless Motor
MEMO When exporting data, the setting of [X-axis] on the [Drive] tab of the main window is ignored.
Winding
Settings are exported as Winding Multiphase Coil components.
• When 2 or more is selected in [Parallel Number] in the [Winding] tab, FEM Coil components
are arranged in parallel for each phase.
Drive
When [Current] is selected for [Mode] in the [Drive] tab of the main window, settings are exported
as Three-phase Current Source components.
• [X-axis Type] is set to [Angle].
• In [Amplitude], the value [Line Current (AMP), A] specified in JMAG-Express Classic is used.
• [Phase (electrical angle)] is set to the value specified for [Current Phase, deg] in JMAG-Express
Classic.
• The number of output Three-phase Current Source components changes depending on [Phase]
in the [Winding] tab, with one output for three-phase, two for six-phase, and three for nine-
phase.
When [Voltage (Sin)] is selected for [Mode] in the [Drive] tab of the main window, settings are ex-
ported as Three-phase Electric Potential Source components.
• [X-axis Type] is set to [Angle].
• In [Amplitude], the value of phase voltage (amplitude) calculated from [Line Voltage (AMP), V]
specified in JMAG-Express Classic is used.
• [Phase (electrical angle)] is set to the value specified for [Current Phase, deg] in JMAG-Express
Classic.
• The number of output Three-phase Current Source components changes depending on [Phase]
in the [Winding] tab, with one output for three-phase, two for six-phase, and three for nine-
phase.
284
Using Data Created in JMAG-Express Classic in Other Software Applications
When [Voltage (120 deg)] is selected for [Mode] in the [Drive] tab of the main window:
Settings are exported as Electric Potential Source (1 Terminal) components and PAM inverter
(diode) macro components.
• For Electric Potential Source component(1 Terminal), [X-axis Type] is [Time], and [Function] is
[Constant]. In [Constant], the value of phase voltage (amplitude) calculated from [Line Voltage
(AMP), V] specified in JMAG-Express Classic is used.
Winding
Settings are exported as Winding Multiphase Coil components.
• When 2 or more is selected in [Parallel Number] in the [Winding] tab, FEM Coil components
are arranged in parallel for each phase.
Drive
The settings are exported as a Three-phase Electric Potential Source component and a Cage macro
component.
• For Three-phase Electric Potential Source component, [X-axis Type] is [Time]. [Amplitude, V]
and [Frequency, F] use the values specified in JMAG-Express Classic. [Phase, θ] is “0”.
• The number of output Three-phase Current Source components changes depending on [Phase]
in the [Winding] tab, with one output for three-phase, two for six-phase, and three for nine-
phase.
• For the [X-axis Type] of Resistor components included in Cage macro components, [Constant]
and the value specified in JMAG-Express Classic are used.
However, Cage macro components do not support circuit conversions. Due to this, when out-
putting a partial model of an induction motor, power supply voltage and winding resistance are
output as values depending on the number of series and parallels (values for when circuit conver-
sion is not used). For example, for 2 series, power supply voltage and winding resistance are 1/2
the value.
Winding
The coil area is exported as FEM Coil component.
Drive
The drive area is exported as Electric Potential Source (1 Terminal) component and Cage macro
component. Each parameter is set as follows:
• [X-axis type] of Electric Potential Source component (1 Terminal) is [Time]. [Frequency, F] uses
the values specified in JMAG-Express Classic. [Phase, θ] is “0”.
• The [X-axis Type] of Resistor components included in Cage macro components is [Constant].
285
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Winding
The winding is exported as a FEM Coil component, Diode component, and Switch components for
each phase.
• FEM Coil components are positioned for each phase in parallel when [Parallel] is selected in
[Coil Connection] of the [Winding] tab.
• FEM Coil components are always positioned in a series when combinations of series -parallel is
selected in [Coil Connection] of the [Winding] tab.
Drive
The drive area is exported as electric potential source (1-terminal) component. The Resistor compo-
nent is outputted as an internal resistance for the power supply.
Brush Motor
Winding
The coil area is exported as macro component (lap winding or wave winding).
Drive
The drive area is exported as electric potential source (1-terminal) component and Brush/Commu-
tator component.
Stator side
Winding
Settings are exported as winding multi-phase coil components.
• When 2 or more is selected in [Parallel Number] in the [Winding] tab, FEM Coil components
are arranged in parallel for each phase.
Drive
When [Current] is selected in [Mode] in the [Drive] tab, Three-phase Current Source components
are output.
• [X-axis Type] is [Angle].
• In [Amplitude], the value [Line Current (Amp), A] specified in JMAG-Express Classic is used.
• [Phase (electrical angle)] uses the [Current Phase, deg] value specified in JMAG-Express Classic.
• The number of output Three-phase Current Source components changes depending on [Phase]
in the [Winding] tab, with one output for three-phase, two for six-phase, and three for nine-
phase.
When [Voltage (Sin)] is selected in [Mode] in the [Drive] tab, Three-phase Electric Potential Source
components are output.
• [X-axis Type] is [Angle].
• In [Amplitude], the value of phase voltage (amplitude) calculated from the value of [Line Voltage
(peak), V] specified in JMAG-Express Classic is used.
286
Using Data Created in JMAG-Express Classic in Other Software Applications
• [Phase (electrical angle)] uses the [Current Phase, deg] value specified in JMAG-Express Classic.
• The number of output Three-phase Current Source components changes depending on [Phase]
in the [Winding] tab, with one output for three-phase, two for six-phase, and three for nine-
phase.
When [Voltage (120deg)] is selected in [Mode] in the [Drive] tab, Three-phase Electric Potential
Source (1 Terminal) components are output.
• [X-axis Type] is [Angle].
• In [Amplitude], the value of phase voltage (amplitude) calculated from the value of [Line Voltage
(peak), V] specified in JMAG-Express Classic is used.
• [Phase (electrical angle)] uses the [Current Phase, deg] value specified in JMAG-Express Classic.
• The number of output Three-phase Current Source components changes depending on [Phase]
in the [Winding] tab, with one output for three-phase, two for six-phase, and three for nine-
phase.
Rotor side
Winding
Output as a macro component (field coil).
• When [Parallel] is selected as [Coil Connection] in the [Field Coil] tab, FEM Coil components
are placed in parallel for each phase.
MEMO Macro components (field coil) are for JMAG-Express Classic only.
Drive
Output as Current Source (1 Terminal) component.
• The [X-axis Type] of the Current Source (1 Terminal) component is [Time], and [Function] is
[Constant].
• In [Constant], the value [Field Current, A] specified in JMAG-Express Classic is used.
Stator side
Winding
• When [Delta] is selected as the [Connect Method] in the [Winding] tab, a macro component
(delta connection) is output.
• When [Star] is selected as the [Connect Method] in the [Winding] tab, a macro component (star
connection) is output.
• If 2 or more is selected in [Parallel Number] under the [Winding] tab, FEM Coil components
are arranged in parallel for each phase.
Drive
Output as a Three-phase Electric Potential Source component.
• The [X-axis Type] for a Three-phase Electric Potential Source component is [Angle]. [Ampli-
tude], [Frequency], and [Phase] are “0”.
287
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Rotor side
Winding
Output as a Filed Coil macro component. For models with a damper bar, a Cage macro component
is output.
• If 2 or more is selected in [Parallel Number] under the [Field Coil] tab, FEM Coil components
are arranged in parallel for each phase.
• The [Type] of Resistor components included in Cage macro components is [Constant].
MEMO Macro components (field coil) are for JMAG-Express Classic only.
Drive
Output as Current Source (1 Terminal) component.
• The [X-axis Type] of the Current Source (1 Terminal) component is [Time], and [Function] is
[Constant]. In [Constant], the value [Maximum Field Current, A] specified in JMAG-Express
Classic is used.
Universal Motor
Winding
The coil area is exported as a macro component (Lap Winding or Wave Winding) and FEM Coil
component.
Drive
The drive area is exported as Electric Potential Source (1 Terminal) component and Brush/Commu-
tator component.
Mesh
• The adaptive mesh control settings depend on the setting of [Do Not Use Adaptive Analysis] in
the [Drive] tab of the main window.
288
Using Data Created in Third-party Software in JMAG-
Express Classic
This chapter describes the steps and Notes for using geometry in JMAG-Express Classic that was created in the
Geometry Editor or other commercial CAD software.
289
JMAG Version 22.2 User's Manual
JMAG-Express Classic
To increase the dimension values that can be edited, set constraints for the model.
In that case, [Cut Out Partial Model] needs to be run to convert the geometry to minimal units
required in the evaluation. Minimal geometry required for evaluation are one pole for rotors and
one slot for stators.
See following pages:
• “Creating a Template Using the Geometry Created with the Geometry Editor and com-
mercial CAD software” on page 296
• “[Constraint] Tab (Constraint/Feature)” on page 215
• “Manually Create the Region” on page 300
290
Using Data Created in Third-party Software in JMAG-Express Classic
Procedures
1. Create motor geometry with commercial CAD software and save as a DXF file.
See “Notes for Creating Geometries” on page 291.
2. Run JMAG-Express Classic.
For details, see “Starting JMAG-Express Classic” on page 142.
3. Click the same type of motor as the geometry created in the template window of JMAG-
Express Classic (example: brushless motor (IPM), induction motor).
4. Click [Import DXF File].
The [Open] dialog is displayed.
5. Specify the file of step 1. Furthermore, enter the distance of two vertices in the [Merge
Vertex Tolerance] box so they are recognized as connected (same vertex).
The vertices are merged when the distance between the two vertices are below the value specified
in the [Merge Vertex Tolerance] box and assumed to have “vertices overlapping.”
6. Click [Open].
The geometry is loaded and displayed in the template editor window. Regions are automatically
generated for the loaded geometry. On the left of each item displayed in the [Parts] tree of the
[Model] tab, an icon meaning “Not Set” is displayed .
MEMO Manually create the region by selecting [Edit] > [Create Region] from the menu bar when a
region is not created in the loaded geometry.
7. Specify settings for each item displayed in the [Parts] tree of the [Model] tab.
The items displayed in the [Parts] tree differ depending on the type of motor.
[Origin]
Specify the center of the motor model.
291
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Click [Origin] of the [Parts] tree. The [Target Vertex] list is displayed, so click the center of the
model of the [Editor] tab. Then, click [Apply].
MEMO When the origin of the global coordinate system of the loaded geometry matches the center
of the model, [Origin] settings are unnecessary.
[Coil]
Click [Coil] of the [Parts] tree. Specify the number of slots in the [Number of Slots] box. Next,
select either [Create Region] or [Select Region] depending on the coil regions of the imported
geometry, and then specify the parameters.
Click [Apply] to finish specifying the parameters.
• [Create Region]:
Select [Create Region] when the coil region of the loaded geometry is not separated into two.
Furthermore, specify the following parameters.
• [Slot Side Diameter]:
For inner rotors, specify the inner diameter of the coil region. For outer rotors, specify the
outer diameter of the coil region. These values determine the width of the coil region in
the radial direction.
• [Start Angle (Teeth)]:
Enter the angle of the center position of the teeth from the X-axis.
The small circles show the center position of each coil region in the circumferential direction.
The large circle shows the inner diameter of coil regions for inner rotors, and the outer-diam-
eter (The value input in the [Slot Side Diameter] box) for outer rotors.
If the displayed position is correct, click [Apply].
292
Using Data Created in Third-party Software in JMAG-Express Classic
• [Select Region]:
Select [Select Region] when the region of the coil parts in the loaded geometry is separated to
two. Furthermore, click the [Coil Layer 1] list, and click one of the regions included in [Coil
Layer 1] of the [Editor] tab. Click also on one of the regions for [Coil Layer 2] with the same
method.
Specify [Coil Layer 1] and [Coil Layer 2] to the coil region in the first slot from the X-axis in
the counter-clockwise direction. Slot ID (1, 2, ...) is assigned in the counter-clockwise direc-
tion from the specified coil region.
Once the layer has been specified, the position of the coil region recognized in JMAG-Express
Classic will be displayed. If the displayed position is correct, click [Apply].
Coil Layer 2
Coil Layer 1
Example
[Field Coil]
Specify the field coil for externally excited synchronous machines and wound-field AC synchro-
nous machines.
293
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Click [Field Coil] in the [Parts] tree. Specify the number of poles using the [Number of Poles]
box. Next, click in-side the [Field Coil Layer 1] list, and click one of the regions included in the
field coil layer 1 in the [Editor] tab. Click also on one of the regions for [Field Coil Layer 2] with
the same method. Click [Apply] after the parameters are specified.
[Cage]
Specify the cage for induction motors.
First click [Cage] of the [Parts] tree. Specify the number of bars in the [Number of Bars] box.
Next, click inside the [Target Regions] list and click the region of the bar in the [Editor] tab.
Click [Apply].
[d-Axis]
Specify the d-axis direction for brushless motors, brush motors, externally excited synchronous
machines, and wound-field AC synchronous machines.
Click [d-Axis] of the [Parts] tree. The [Target Edge] list is displayed so click the edge of the
model in the [Editor] tab. Click [Apply].
MEMO Information of current phase 0 degrees is required for motor evaluation, so be sure to specify
the d-Axis direction. If the d-axis is not set, it is positioned at (360/(number of poles)*2) degrees
counterclockwise from the X-axis.
[Teeth Position]
Specify the teeth position for switched reluctance motors. The vertex specified as the teeth posi-
tion will be reference in determining the facing position of the salient poles for the rotor and sta-
tor.
Click the [Teeth Position] of the [Parts] tree. The [Target Vertex] list is displayed so click each
vertex positioned in the center of the salient pole on the rotor side and the stator side in the [Edi-
tor] tab. Click [Apply].
294
Using Data Created in Third-party Software in JMAG-Express Classic
8. Confirm that the “Already Set” icon is displayed for several items that are displayed in
the [Model] tab.
MEMO Items that were “Not Set ” in the main window will not be loaded when “Not Set” icons
are ignored.
295
JMAG Version 22.2 User's Manual
JMAG-Express Classic
296
Using Data Created in Third-party Software in JMAG-Express Classic
Coil
Coil
Teeth
Coil
Coil Teeth
Left: Unsupported partial model (teeth are in the center with the coil on the outside edges). Right:
Supported partial model (coils are in the center with the teeth surrounding the coils).
• Create two coil regions included in one slot to describe inflow and outflow of current in a
coil. Not supported when there are more than three coil regions.
Coil region 2
Coil region 1
A, B, C: Supported partial model, D, E: Unsupported partial model
• Do not use [Merge Regions] of the region mirror copy feature when creating coil regions in
the Geometry Editor. [Merge Regions] for the coil regions cannot be used in JMAG-Express
Classic. The two coil regions created using [Merge Regions] in the Geometry Editor is pre-
sumed to be more than three coil regions in JMAG-Express Classic and cannot be used as a
template.
297
JMAG Version 22.2 User's Manual
JMAG-Express Classic
• Create the geometries on the stator and rotor side separately and save them in two different files.
If one file contains the geometries both for the stator side and rotor side, JMAG-Express Classic
cannot recognize the geometries properly.
• Regions are automatically created after importing DXF files into JMAG-Express Classic. How-
ever, the region may not be created since the intersecting point of the entities is not regarded as
being connected. For this case, change the [Merge Vertex Tolerance] and create the region manu-
ally.
• To create the region manually, see “Manually Create the Region” on page 300.
Procedure
1. Create geometry in the JMAG-Designer Geometry Editor and commercial CAD software,
and save as a JCF file or DXF file format.
For details, see “Notes for Creating Geometries” on page 296.
2. Start JMAG-Express Classic.
For details see “Starting JMAG-Express Classic” on page 142.
3. Double-click the icon or link of the same template and motor for the new motor tem-
plate created in the JMAG-Express Classic template startup window.
For example, to create a brushless motor (IPM) template, click one of the templates
(PM_I_D_I.2, PM_I_D_I2.2, or PM_I_D_IV.2) categorized as a brushless motor.
The main window is displayed.
4. Select [Modify] on the right side of the motor parts (such as [stator] or [im_rotor]) in the
[Dimensions] tab.
The [Template] dialog is displayed.
5. Select [Create New Template from JCF/DXF File].
The [Open] dialog is displayed.
6. Specify the file of method 1. Enter the distance range that assumes the vertex is dupli-
cated in the [Merge Vertex Tolerance] when specifying a DXF file.
The vertices are merged when the distance between the two vertices are below the value specified
in the [Merge Vertex Tolerance] box and assumed to have “vertices overlapping.”
7. Click [Open].
The template editor window is displayed.
8. Confirm the state of the template and fix the geometry if necessary.
For details about cutting out partial models from full model geometry, see “Cut Out the Partial
Model” on page 299.
For details about manually creating regions, see “Manually Create the Region” on page 300.
For details about fixing geometries in the Geometry Editor, see “Editing the Template Geome-
try Using the JMAG-Designer Geometry Editor” on page 303.
9. Specify the template parts structure, the type of material to apply to the parts, and
make associations with edges and conditions in the [Model] tab.
For details, see “[Model] Tab” on page 209.
298
Using Data Created in Third-party Software in JMAG-Express Classic
10.Specify the feature to define the constraints to control the geometry and the feature to
define regularity of the geometry in the [Constraint] tab.
For details, see “[Constraint] Tab (Constraint/Feature)” on page 215.
MEMO Constraint settings are not required when not changing geometries.
11.Confirm the constraints and features set in the [Preview] tab.
For details, see “[Preview] Tab” on page 221.
Notes
• Cut Out Partial Model does not support Undo function.
• Cut Out Partial Model cannot be run when constraints are set on the geometry.
• When a partial model is cut out from the geometry of a full model stator, the geometry position
is automatically modified so the center line of the teeth of the stator is placed on the X-axis.
Procedure
1. Select [Edit] > [Cut Out Partial Model] from the Template Editor window.
Open the [Cut Out Partial Model] dialog. On the model in the [Edit] tab, the position that will
be cut out is shown with a red line.
2. Click the vertex that will be the origin of the model in the [Editor] tab.
The ID of the clicked vertex will be shown in the [Origin] box of the [Cut Out Partial Model]
dialog.
299
JMAG Version 22.2 User's Manual
JMAG-Express Classic
3. Enter the start position (angle) when cutting out the partial model in the [Start Angle]
box.
4. Specify the model divisions in the [Number of Slots] box (or the [Number of Poles],
[Number of Bars] box).
The name of the spin box changes to [Number of Slots] for stators, [Number of Poles] for rotors
other than induction motors, and [Number of Bars] for rotors of induction motors.
5. Select [Use Mirror Feature] when creating a model with half the specified number of
divisions, and the other half creating with the mirror copy feature.
The reference axis of region mirror copy will be displayed with a red line on the model in the
[Edit] tab when [Use Mirror Feature] is set on.
6. Click [OK].
A partial model will be cut out from the full model and only the cut out area will be displayed in
the [Edit] tab.
Notes
• Regions can be created for areas where entities are all connected together.
Procedure
1. Select [Edit] > [Create Region] from the menu bar of the template editor window.
Open the [Create Region] dialog.
2. Specify the distance of two vertices in the [Merge Vertex Tolerance] box so they are rec-
ognized as connected.
The vertices are merged when the distance between the two vertices are below the value specified
in the [Merge Vertex Tolerance] box and assumed to have “vertices overlapping.”
When geometry is imported from the DXF file and the region is not automatically created,
change the value in the [Merge Vertex Tolerance] and try recreating.
3. Click [OK].
Region is created.
300
Managing the Database and Editing Templates in
JMAG-Express Classic
This chapter describes the operation of the database registered with editing procedures of templates, templates,
materials, and correction factor.
301
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Editing Templates
The template used in motor design can be edited.
• Modifying Basic Information of a Template (page 302)
• Editing the Template Geometry Using the JMAG-Designer Geometry Editor (page 303)
MEMO For details when creating new templates using geometries created by the user, see “Creating a
Template Using the Geometry Created with the Geometry Editor and commercial CAD software” on
page 296.
The settings explained above are modified in the template editor window.
1. Select [Modify] on the right side of the motor parts (such as stator or im_rotor) in the
[Dimensions] tab.
The [Select Template] dialog is displayed.
2. Select [Edit Current Template].
3. Click [OK].
The template editor window is displayed.
4. Specify the template parts structure, the type of material to apply to the parts, and
make associations with edges and conditions in the [Model] tab.
For details, see “[Model] Tab” on page 209.
5. Specify the feature to define the constraints to control the geometry and the feature to
define regularity of the geometry in the [Constraint] tab.
For details, see “[Constraint] Tab (Constraint/Feature)” on page 215.
MEMO When the dimensions are not modified in JMAG-Express Classic, settings for constraints
and features are not necessary.
6. Confirm the constraints and features set in the [Preview] tab.
For details, see “[Preview] Tab” on page 221.
302
Managing the Database and Editing Templates in JMAG-Express Classic
1. Select [Edit] > [Edit in JMAG-Designer] from the menu bar in the template editor win-
dow.
The Geometry Editor of JMAG-Designer starts and the geometry data of JMAG-Express Classic
are imported into JMAG-Designer.
2. Edit the geometry in the Geometry Editor.
For details about the Geometry Editor, see “JMAG User's Manual Parameter Explanation Edi-
tion”.
3. Select [Edit] > [Get from JMAG-Designer] from the menu bar in the template editor win-
dow.
The Geometry Editor of JMAG-Designer ends, and the geometry data that is edited in the
Geometry Editor of JMAG-Designer is imported into JMAG-Express Classic.
303
JMAG Version 22.2 User's Manual
JMAG-Express Classic
1. Select [Template] > [Manage Database] from the menu bar of the template window or
the main window.
The [Manage Database] dialog is displayed. In this dialog, data registered in the database are
listed in a tree.
2. Select a template to export from the list (or correction factor, materials).
The selected data will be exported together as one file.
MEMO To select multiple data from the list, hold the [Shift] or [Ctrl] key and click each data.
MEMO All data displayed in this dialog can be selected by holding the [Ctrl] key and pressing the
[A] key while the [Manage Database] dialog is active.
3. To export the template data (or correction factor, material) as a JMAG motor template
file (.jmd) format, click [Export].
To export material data in the JMAG material XML file (.xml) format, click [Mat Export].
The [Export Templates] dialog or the [Save As] dialog is displayed.
• JMAG motor template files (.jmd) can only be imported to JMAG-Express Classic.
• JMAG Material XML files (.xml) can be imported not only to JMAG-Express Classic, but
also JMAG-Designer.
4. Specify a file name and a directory to save the file.
5. Click [Save].
The data in the database is exported to a file.
6. Click [Close] in the [Manage Database] dialog.
MEMO Right-click [Custom Materials] of the material list in the [Toolbox] of JMAG-Designer, and
select [Import Material], when importing a JMAG material XML file exported from JMAG-Express
Classic into JMAG-Designer.
1. Select [Template] > [Manage Database] from the menu bar of the template window or
main window.
304
Managing the Database and Editing Templates in JMAG-Express Classic
The [Manage Database] dialog is displayed. Data registered in the database will be displayed as a
tree in the dialog.
2. Click [Import] to import a JMAG motor template file (.jmd).
Click [Mat Import] to import JMAG material XML file (.xml).
The [Open] dialog is displayed.
3. Specify the file to import.
4. Click [Open].
The file is imported and data is added to the database.
The imported template is displayed in the [Template] tab of the template window. The imported
material is displayed in the [Product] list in the [Materials] tab of the main window. The
imported correction factor is displayed in the [Select Correction Factor] dialog.
5. Click [Close] in the [Manage Database] dialog.
1. Select [Template] > [Manage Database] from the menu bar of the template window or
main window.
The [Manage Database] dialog is displayed. Data registered in the database will be displayed as a
tree in the dialog.
2. Select a template (or correction factor, material) to delete from the list.
MEMO To select multiple data from the list, hold the [Shift] or [Ctrl] key and click each data.
MEMO All data displayed in this dialog can be selected by holding the [Ctrl] key and pressing the
[A] key while the [Manage Database] dialog is active.
3. Click [Delete].
The data selected in step 2 is deleted from the database.
The deleted template is hidden from the [Template] tab in the template editor window. The
deleted material is hidden from the [Product] list in the [Materials] tab of the main window. The
imported material is hidden from the [Product] list in the [Materials] tab of the main window.
The imported correction factor is hidden from the [Select Correction Factor] dialog.
4. Click [Close] in the [Manage Database] dialog.
305
JMAG Version 22.2 User's Manual
JMAG-Express Classic
306
JMAG-Express Classic Appendix
307
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Default Template
A list of templates built-in to JMAG-Express Classic by default are shown here.
• There is both a template of the entire motor including both the rotor and stator, and a part tem-
plate only including the rotor or stator.
• When using the part template, click [Build New Combination] in the template selection win-
dow, and select the chm-plate for the rotor-side and the stator-side separately.
Rotor templates
rip_000 IPM Rotor, Basic
rip_001 Standard
rip_003 Spoke
rip_004 Hexagon barrier. Operating 2 points on an edge
rip_005 V standard
rip_006 Crescent
rip_007 Twin crescent
rip_008 Bisection
rip_009 Bisection. Two-layer
rip_010 Bisection. Three-layer
rip_011 Disposed in center of the flux barrier
rip_012 Connected inner slit
rip_013 Inverted triangle
rip_014 V-type. Two-layer
Stator templates
so_000 Stator core basic geometry
so_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
so_002 Teeth top angle, Arc bottom, Teeth width, Core back width
so_003 Fixed teeth angle, Arc bottom, Teeth width, Core back width
so_004 Straight teeth, Arc bottom, Teeth angle, Core back width
so_005 Straight teeth, Flat bottom, Slot width, Core back width
so_006 Crevice, Flat bottom, Slot width, Core back width
so_007 Crevice, Flat bottom, Slot width, Coil width
so_008 Parallel tooth opening, Round bottom, Teeth width, Core back width
308
JMAG-Express Classic Appendix
so_009 Parallel tooth opening, Round bottom, Slot width, Core back width
so_010 Slotless, Coil clearance, Core back width
so_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
so_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
so_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
so_014 Straight teeth, Arc bottom, Slot angle, Slot depth
so_015 Straight teeth, Flat bottom, Slot angle, Slot depth
so_016 Straight teeth, Round bottom, Teeth width, Slot depth
Rotor templates
rsp_001 Ring
rsp_002 Constant angle
rsp_003 Constant width
rsp_004 Constant spacing
rsp_006 Constant width. Semi-circular
rsp_007 Constant width. Decay
Stator templates
so_000 Stator core, Basic
so_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
so_002 Teeth top angle, Arc bottom, Teeth width, Core back width
so_003 Fixed teeth angle, Arc bottom, Teeth width, Core back width
so_004 Straight teeth, Arc bottom, Teeth angle, Core back width
so_005 Straight teeth, Flat bottom, Slot width, Core back width
so_006 Crevice, Flat bottom, Slot width, Core back width
so_007 Crevice, Flat bottom, Slot width, Coil width
so_008 Parallel tooth opening, Round bottom, Teeth width, Core back width
so_009 Parallel tooth opening, Round bottom, Slot width, Core back width
so_010 Slotless, Coil clearance, Core back width
so_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
so_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
309
JMAG Version 22.2 User's Manual
JMAG-Express Classic
so_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
so_014 Straight teeth, Arc bottom, Slot angle, Slot depth
so_015 Straight teeth, Flat bottom, Slot angle, Slot depth
so_016 Straight teeth, Round bottom, Teeth width, Slot depth
Rotor templates
rip_101 Standard
rip_103 Spoke
rip_106 Crescent
Stator templates
si_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
si_002 Parallel sided teeth, Flat bottom, Teeth width, Core back width
si_003 Teeth top angle, Arc bottom, Teeth width, Core back width
si_004 Teeth top angle, Flat bottom, Teeth width, Core back width
si_006 Straight teeth, Arc bottom, Teeth width, Core back width
si_007 Straight teeth, Flat bottom, Teeth width, Core back width
si_008 Straight teeth, Arc bottom, Slot width, Core back width
si_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
si_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
si_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
si_014 Straight teeth, Arc bottom, Slot angle, Slot depth
si_015 Straight teeth, Flat bottom, Slot angle, Slot depth
si_016 Straight teeth, Round bottom, Teeth width, Slot depth
Rotor templates
rsp_101 Ring
rsp_102 Constant angle
rsp_103 Constant width
310
JMAG-Express Classic Appendix
Stator templates
si_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
si_002 Parallel sided teeth, Flat bottom, Teeth width, Core back width
si_003 Teeth top angle, Arc bottom, Teeth width, Core back width
si_004 Teeth top angle, Flat bottom, Teeth width, Core back width
si_006 Straight teeth, Arc bottom, Teeth width, Core back width
si_007 Straight teeth, Flat bottom, Teeth width, Core back width
si_008 Straight teeth, Arc bottom, Slot width, Core back width
si_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
si_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
si_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
si_014 Straight teeth, Arc bottom, Slot angle, Slot depth
si_015 Straight teeth, Flat bottom, Slot angle, Slot depth
si_016 Straight teeth, Round bottom, Teeth width, Slot depth
Induction Motor
Rotor templates
rim_001 Round bar
rim_002 Oval bar
rim_003 Rectangular bar
rim_004 Sector bar
rim_005 Trapezoidal bar
rim_006 Parallel sided teeth
rim_007 Diamond bar. Inside of bar with sharp
rim_008 Diamond bar. Inside of bar with arc
rim_101 Rectangle & Rectangle double-case bar
rim_102 Round & Rectangle double-case bar
rim_103 Round & Oval double-case bar
Stator templates
so_000 Stator core, Basic
so_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
so_002 Teeth top angle, Arc bottom, Teeth width, Core back width
so_003 Fixed teeth angle, Arc bottom, Teeth width, Core back width
311
JMAG Version 22.2 User's Manual
JMAG-Express Classic
so_004 Straight teeth, Arc bottom, Teeth angle, Core back width
so_005 Straight teeth, Flat bottom, Slot width, Core back width
so_006 Crevice, Flat bottom, Slot width, Core back width
so_007 Crevice, Flat bottom, Slot width, Coil width
so_008 Parallel tooth opening, Round bottom, Teeth width, Core back width
so_009 Parallel tooth opening, Round bottom, Slot width, Core back width
so_010 Slotless, Coil clearance, Core back width
so_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
so_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
so_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
so_014 Straight teeth, Arc bottom, Slot angle, Slot depth
so_015 Straight teeth, Flat bottom, Slot angle, Slot depth
so_016 Straight teeth, Round bottom, Teeth width, Slot depth
Rotor templates
rim_001 Round bar
rim_002 Oval bar
rim_003 Rectangular bar
rim_004 Sector bar
rim_005 Trapezoidal bar
rim_006 Parallel sided teeth
rim_007 Diamond bar. Inside of bar with sharp
rim_008 Diamond bar. Inside of bar with arc
rim_101 Rectangle & Rectangle double-case bar
rim_102 Round & Rectangle double-case bar
rim_103 Round & Oval double-case bar
Stator templates
so_000 Stator core, Basic
so_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
so_002 Teeth top angle, Arc bottom, Teeth width, Core back width
so_003 Fixed teeth angle, Arc bottom, Teeth width, Core back width
so_004 Straight teeth, Arc bottom, Teeth angle, Core back width
so_005 Straight teeth, Flat bottom, Slot width, Core back width
so_006 Crevice, Flat bottom, Slot width, Core back width
so_007 Crevice, Flat bottom, Slot width, Coil width
so_008 Parallel tooth opening, Round bottom, Teeth width, Core back width
so_009 Parallel tooth opening, Round bottom, Slot width, Core back width
312
JMAG-Express Classic Appendix
Rotor templates
rsr_001 Round tooth bottom
rsr_002 Straight tooth bottom
rsr_003 Taper tooth and round tooth bottom
rsr_004 Taper tooth and straight tooth bottom
Stator templates
ssr_001 Round tooth bottom
ssr_002 Straight tooth bottom
ssr_003 Taper tooth and round tooth bottom
ssr_004 Taper tooth and straight tooth bottom
Brush Motor
Rotor templates
bmr_001 Constant tooth width, Round slot bottom
bmr_002 Constant tooth width, Flat slot bottom
bmr_003 Constant tooth angle, Round slot bottom
bmr_004 Constant tooth angle, Flat slot bottom
bmr_006 Parallel sided teeth, Round slot bottom
bmr_007 Parallel sided teeth, Flat slot bottom
bmr_008 Parallel sided slot, Round slot bottom
Stator templates
bms_001 Round external form, Constant gap in magnet
313
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Rotor templates
rws_001 Salient-pole rotor
rws_002 Salient-pole rotor, Damper bars
Stator templates
so_000 Stator core, Basic
so_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
so_002 Teeth top angle, Arc bottom, Teeth width, Core back width
so_003 Fixed teeth angle, Arc bottom, Teeth width, Core back width
so_004 Straight teeth, Arc bottom, Teeth angle, Core back width
so_005 Straight teeth, Flat bottom, Slot width, Core back width
so_006 Crevice, Flat bottom, Slot width, Core back width
so_007 Crevice, Flat bottom, Slot width, Coil width
so_008 Parallel tooth opening, Round bottom, Teeth width, Core back width
so_009 Parallel tooth opening, Round bottom, Slot width, Core back width
so_010 Slotless, Coil clearance, Core back width
so_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
314
JMAG-Express Classic Appendix
so_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
so_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
so_014 Straight teeth, Arc bottom, Slot angle, Slot depth
so_015 Straight teeth, Flat bottom, Slot angle, Slot depth
so_016 Straight teeth, Round bottom, Teeth width, Slot depth
Rotor templates
rws_001 Salient-pole rotor
rws_002 Salient-pole rotor, Damper bars
Stator templates
so_000 Stator core, Basic
so_001 Parallel sided teeth, Arc bottom, Teeth width, Core back width
so_002 Teeth top angle, Arc bottom, Teeth width, Core back width
so_003 Fixed teeth angle, Arc bottom, Teeth width, Core back width
so_004 Straight teeth, Arc bottom, Teeth angle, Core back width
so_005 Straight teeth, Flat bottom, Slot width, Core back width
so_006 Crevice, Flat bottom, Slot width, Core back width
so_007 Crevice, Flat bottom, Slot width, Coil width
so_008 Parallel tooth opening, Round bottom, Teeth width, Core back width
so_009 Parallel tooth opening, Round bottom, Slot width, Core back width
so_010 Slotless, Coil clearance, Core back width
so_011 Parallel tooth opening, Arc bottom, Slot angle, Slot depth
so_012 Parallel tooth opening, Flat bottom, Slot angle, Slot depth
so_013 Parallel tooth opening, Round bottom, Teeth width, Slot depth
so_014 Straight teeth, Arc bottom, Slot angle, Slot depth
so_015 Straight teeth, Flat bottom, Slot angle, Slot depth
so_016 Straight teeth, Round bottom, Teeth width, Slot depth
315
JMAG Version 22.2 User's Manual
JMAG-Express Classic
Universal Motor
316
JMAG-Express Classic Appendix
Access/Shortcut Key
This section will describe access keys/shortcut keys that can be used in JMAG-Express Classic.
• The initial letter of the menu name is underlined as the access key when the [Alt] key is pressed
on the keyboard.
• The shortcut key will be shown at the right of each command row.
• The “+” sign used in the table below means to “hold two keys together”, “>” means a separate
operation from the one before.
For example, “[Alt] + [F] > [O]” shown in the table below means to “press and hold the [Alt] key
on the keyboard while pressing the [F] key, then release both keys and press the [O] key”.
Template Window
Menu and command Access key Shortcut
File
Open [Alt] + [F] > [O] [Ctrl] +[O]
Exit [Alt] + [F] > [X]
Template
Manage Database [Alt] + [P] > [M]
Tool
Options [Alt] + [T] > [O]
Help
Help [Alt] + [H] > [H]
About [Alt] + [H] > [A]
Main Window
Menu and command Access key Shortcut
File
New [Alt] + [F] > [N] [Ctrl] + [N]
Open [Alt] + [F] > [O] [Ctrl] + [O]
Create JMAG-RT Model [Alt] + [F] > [R]
Export Evaluation Results [Alt] + [F] > [C]
317
JMAG Version 22.2 User's Manual
JMAG-Express Classic
318
JMAG-Express Classic Appendix
Editor Window
Menu and command Access key Shortcut
File
Back to Main Window [Alt] + [F] > [B]
Edit
Edit in JMAG-Designer [Alt] + [E] > [E]
Get from JMAG- [Alt] + [E] > [G]
Designer
Cut Out Partial Model [Alt] + [E] > [C]
Create Region [Alt] + [E] > [R]
View
Select [Alt] + [V] > [S]
Zoom [Alt] + [V] > [Z]
Zoom to Area [Alt] + [V] > [A]
Move [Alt] + [V] > [T]
View All [Alt] + [V] > [F]
Template
Register to Database [Alt] + [P] > [R]
Tool
Options [Alt] + [T] > [O]
Help
Help [Alt] + [H] > [H]
About [Alt] + [H] > [A]
319
JMAG Version 22.2 User's Manual
JMAG-Express Classic
320
JMAG-RT
JMAG-RT Overviews
This chapter describes the JMAG-RT tool that is provided with JMAG.
• For the procedure for creating JMAG-RT models using JMAG-RT and how to use the JMAG-RT Library
Manager, see “Creating JMAG-RT Models with JMAG-RT” on page 327.
• For creating input JCF files for JMAG-RT and the parameters used when creating JMAG-RT, see “Settings
and Notes for Creating JMAG-RT Models” on page 429.
• For information on the programs that can create JMAG-RT models and the parameters and notes for using
JMAG-RT models in JMAG-Designer, see “Using JMAG-RT Models in JMAG-Designer” on page 577.
• For the parameters and notes when using JMAG-RT models in circuit simulators such as Simulink and
PSIM, see “Using JMAG-RT Models in a Commercial Circuit Simulator” on page 581.
• For the parameters and notes when using JMAG-RT models in user created programs in C, see “Using
JMAG-RT Models in Your Programs in C” on page 723.
323
JMAG Version 22.2 User's Manual
JMAG-RT
About JMAG-RT
JMAG-RT is a tool to create analysis data based on the results of a JMAG Finite Element Method
(FEM) analysis to use in a circuit simulator.
Analyzing the various characteristics of a motor (geometry, materials, etc.) is simple if a control cir-
cuit simulation is performed using a motor model that includes an equivalent circuit.
Furthermore, an analysis that accounts for the motor characteristics can also be performed by
directly linking JMAG and the circuit simulator, however, the time required for analysis increases
largely because the FEA is performed for each step.
JMAG-RT can run high-speed control circuit simulations while taking into account the motor char-
acteristics obtained from an FEA.
JMAG-RT creates specialized data (hereinafter referred to as a JMAG-RT model) for the circuit sim-
ulator by obtaining the required motor parameters (flux linkage of coils, inductance, resistance, etc.)
from the FEA results of the motor. The motor characteristics can be taken into account in a control
circuit simulation by referring to a JMAG-RT model.
The JMAG RT model can be used as a circuit component in a control circuit simulation. Therefore,
a JMAG FEA that includes a circuit and a control circuit simulation does not need to be performed
each time the drive circuit is modified.
A parametric FEA is performed in JMAG to obtain the circuit characteristics of the model in
JMAG-RT. The parametric analysis requires some time, but the amount of time that is required can
be reduced by distributing the calculations using the JMAG-RemoteSystem.
A control circuit simulation can be performed using JMAG-RT as follows:
MEMO A JMAG-RT model is exported as an RTT file (.rtt). The basic information contained in the
file can be checked in the JMAG-RT Viewer.
324
JMAG-RT Overviews
Type
Permanent Magnet Synchronous Motor • Supports 3-phase motors and 6-phase motors; some
(PMSM) restriction exists for 6-phase motors. See “Notes on
Using the PM Synchronous Motor Model Type” on page
430.
• You can select from the following types. See “PMSM/
SynRM JMAG-RT Model Type (LdLq, Spatial Harmonic)”
on page 435 for details.
• LdLq model
• Spatial harmonic (differential) model
• Spatial harmonic (integral) model
Stepping Motor Supports 2-phase motors.
See “Notes on Using the Stepping Motor Type” on page
475.
Linear Solenoid -
Linear Synchronous Motor (LSM) Supports 3-phase motors.
Switched Reluctance Motor (SRM) Supports 3-phase motors, 4-phase motors, and 5-phase
motors.
See “Notes on Using the SR Motor Model Type” on page
507.
Induction Motor (IM) Supports 3-phase motors and 6-phase motors.
See “Notes on Using the Induction Motor Model Type”
on page 515.
Wound Field Synchronous Motor Supports 3-phase motors.
(WFSM) See “Notes on Using the Wound-Field Synchronous
Motor Model Type” on page 530.
Synchronous Reluctance Motor • Supports 3-phase motors and 6-phase motors; some
(SynRM) restriction exists for 6-phase motors. See “Notes on Using
the Synchronous Reluctance Motor Model Type” on
page 431.
• You can select from the following types. See “PMSM/
SynRM JMAG-RT Model Type (LdLq, Spatial Harmonic)”
on page 435 for details.
• LdLq model
• Spatial harmonic (differential) model
• Spatial harmonic (integral) model
Generic Model A generic model can be created from any FEM model cre-
ated in JMAG-Designer.
See “Concerning Generic Models” on page 551.
325
JMAG Version 22.2 User's Manual
JMAG-RT
Program Description
JMAG-RT (JMAG-RT The following license is required in order to use JMAG-RT.
Library Manager) • JMAG-RT:
JMAG-RT full package license. Used for each type of operation and for
creating JMAG-RT models (FEA using JMAG-RT) in the JMAG-RT
Library Manager.
Magnetic field analysis PM synchronous motor, synchronous reluctance motor, unipolar step-
solver ping motor, linear solenoid, linear synchronous motor, SR motor,
wound-field synchronous motor, and generic model:
• A DP license (JW_MAG_DPL) needs to be installed when using a 2D
FEM model.
• A TR license (JW_MAG_TR) needs to be installed when using a 3D
FEM model.
Induction motor:
• A FQ license (JW_MAG_FQ) is required regardless of the model dimen-
sion.
• In addition, if automatic calculation of stray load loss is selected, a tran-
sient analysis license (JW_MAG_DP for 2D models, JW_MAG_TR for
3D models) is required.
Iron loss analysis solver When the Iron Loss condition is set in the FEM model, the iron loss analy-
sis license (JW_TOOL_LOSS) is required.
Parallel computing To use the shared memory multiprocessing (SMP) functions or the mas-
sively parallel processing (MPP) functions, the parallel computing licenses
(JW_MAG_SMP) are required.
The number of licenses required depends on the degree of parallelism of
parallel computing. For details, see the “Parameters Description” and
“Licenses”.
GPU solver A GPU solver license (JW_MAG_GPU) is required to use the new GPU
solver.
326
Creating JMAG-RT Models with JMAG-RT
This chapter describes operations, parameters, and Notes when creating JMAG-RT models using JMAG-RT.
327
JMAG Version 22.2 User's Manual
JMAG-RT
328
Creating JMAG-RT Models with JMAG-RT
329
JMAG Version 22.2 User's Manual
JMAG-RT
Item Description
[Data Status] [Ready] is displayed for JMAG-RT base models for which a JMAG-RT
model has not been created.
[Created] is displayed for JMAG-RT base models for which a JMAG-RT
model has been created.
[Status] While creating a JMAG-RT model, the status of that model is displayed.
• [Holding]:
Awaiting creation.
• [Running]:
A JMAG-RT model is being created.
• [Terminate]:
JMAG-RT model creation completed successfully.
• [Error]:
JMAG-RT model creation failure.
Title Bar
The following operations are available from the menu that is displayed when JMAG-RT Library
Manager title bar is right-clicked.
• [Restore], [Move], [Size], [Maximize], [Minimize]:
Changes the JMAG-RT Library Manager window size and position.
• [Close]:
Closes JMAG-RT Library Manager.
• [About]:
Opens the [About JMAG-RT Library Manager] dialog. This dialog displays the JMAG-RT
Library Manager version information.
Buttons
[Help]
Opens JMAG-RT Help.
[New]
Adds a new JMAG-RT base model to JMAG-RT Library Manager.
330
Creating JMAG-RT Models with JMAG-RT
When [New] is clicked, the [Model Type] dialog is displayed. Select the model type.
See the following page for details:
• “Creating JMAG-RT Model Using FEA Results” on page 334
• “Creating JMAG-RT Model from a CSV File” on page 341
[Modify]
Modifies the settings for the JMAG-RT base models selected in the RT Model Library table.
If a JMAG-RT base model for which an RTT file has not been created is selected, a parameter setup
dialog is displayed after [Modify] is clicked.
If a JMAG-RT base model for which an RTT file has been created is selected, the [Question] dialog
is displayed after [Modify] is clicked.
[Duplicate]
The JMAG-RT base models selected in the [RT Model Library] table are copied and added to the
[RT Model Library] table.
These JMAG-RT base models are copied with the same names. The status displayed in the [Status]
column for a copied JMAG-RT base model is the same as the JMAG-RT base model it was copied
from.
MEMO The name of a JMAG-RT base model can be changed in the [Title] box under [Basic Informa-
tion] under the [Information] tab in its model setup dialog.
[Delete]
Deletes the JMAG-RT base models selected in the [RT Model Library] table.
[Recalculation]
In the [RT Model Library] table for a JMAG-RT base model for which an RTT file has been created
is selected, corrects the resolution parameters such as current, adds and executes FEM analyses, and
updates the FEA results data outputted to the JMAG-RT model.
When [Recalculation] is clicked, a dialog is displayed with only the parameters that can be changed
before analysis re-execution. Specify each parameter.
See the following page for details:
• “Adding, or Partially Replacing with, New Results Data in a JMAG-RT Model (Recalculation to
Improve Accuracy)” on page 345
[Export Characteristics]
For selected JMAG-RT base models in the [RT Model Library] table with a created RTT file, the
FEA results in the RTT file are exported to a CSV file.
Click [Export Characteristics] to display the [Export Properties] dialog. Specify the physical quanti-
ties to be output to the CSV file and the file export destination.
See the following page for details:
• “Exporting Results Data from a JMAG-RT Model to a File” on page 372
331
JMAG Version 22.2 User's Manual
JMAG-RT
Perform this operation to use the [RT Model Library] table data on another machine.
See the following page for details:
• “Using the Data Added to the RT Model Library on Another Machine” on page 344
[Create Model]
Executes FEM analyses of the JMAG-RT base models whose checkboxes are selected in the [RT
Model Library] table, and creates RTT files containing the results data.
If multiple JMAG-RT base models are selected, they are executed one by one.
[Stop]
Stops the creation of RTT files.
In addition to stopping the analysis execution of the JMAG-RT base model that is displayed as
[Running] in the [Status] column in the [RT Model Library] table, the scheduled analysis execu-
tions for the waiting JMAG-RT base models are canceled.
[Setting]
Specifies the JMAG-RT data storage folder.
332
Creating JMAG-RT Models with JMAG-RT
Click [Setting] to display the [Setting] dialog. Enter the folder path in [Save Data to].
When a new JMAG-RT base model is added to JMAG-RT Library Manager, a new folder is created
under the folder specified in [Save Data to], and FEA input/output files from JMAG-RT and its
RTT file are output.
[Exit]
JMAG-RT closes.
333
JMAG Version 22.2 User's Manual
JMAG-RT
334
Creating JMAG-RT Models with JMAG-RT
• [Induction Motor]
• [Wound-Field Synchronous Motor]
• [Synchronous Reluctance Motor]
• [Generic Model]
4. Specify the JCF file to be imported. Also, depending on the model type, specify the num-
ber of phases and the type of JMAG-RT model to be created.
When [Two-phase Stepping Motor], [Linear Solenoid], [Linear Synchronous Motor], [SR
Motor], [Wound-Field Synchronous Motor], or [Generic Model] is selected from [Model
Type]:
i. Click [Browse] next to [JCF File] to specify JCF file for FEA in JMAG-RT.
ii. Click [OK].
The dialog for setting parameters for FEA with JMAG-RT is displayed.
335
JMAG Version 22.2 User's Manual
JMAG-RT
• When a JMAG-RT model is created from a base model, the base model is locked for editing.
A locked base model is displayed as “Created” in the [Data Status] column.
When a locked base model is selected and [Modify] is clicked, a message dialog will appear
asking if the lock should be released. Click [Yes] to release the lock.
A base model that has “Ready” displayed in the [Data Status] column has all of the necessary
settings specified, but a JMAG-RT model has not been created, or an JMAG-RT model has
been created, but the base model has been unlocked.
336
Creating JMAG-RT Models with JMAG-RT
FEA interruption:
Click [Stop] in JMAG-RT Library Manager to terminate the currently running FEA. When
multiple base models are run, FEA for the next base model is started.
337
JMAG Version 22.2 User's Manual
JMAG-RT
After FEA:
When JMAG-RT completes all cases of the FEA, the JMAG-RT model that is created is
exported as an RTT file. The folder of the file can be confirmed in the [Information] tab opened
by selecting a base model from the [RT Model Library] table, and then clicking [Modify]. The
default folder is located in the following folder:
c:Users\(User name)\Documents\JMAG\JMAG_RT
Click [Setting] in JMAG-RT Library Manager, and then specify a new folder to change the
folder.
After the FEA is completed, a report is displayed. If the FEA fails, the cause of the failure is
shown in the report.
Copy the JMAG-RT model to the working folder of the circuit simulator
The RTT file exported in Step 5 is copied to the working directory of the circuit simulator. Further-
more, the files required to run a control circuit simulation using a JMAG-RT model (MDL file,
Netlist XML file, etc.) can be exported to the same directory.
1. Select the checkbox for the JMAG-RT base model that is displayed as “Created” in the
[Data Status] column of the [RT Model Library] table.
Multiple JMAG-RT models can be copied to a circuit simulator by selecting multiple base mod-
els to copy to the working directory of the circuit simulator.
2. Click [Copy to Circuit Simulator].
3. In the [Copy to Circuit Simulator] dialog, set the following parameters.
[Platform]
Depending on the platform selected, the files to be copied will change. Depending on the model
type and number of phases (Three-phase or Six-phase), the platform choice will change.
338
Creating JMAG-RT Models with JMAG-RT
[Copy to]
Specify the folder to run the analysis with a circuit simulator.
339
JMAG Version 22.2 User's Manual
JMAG-RT
340
Creating JMAG-RT Models with JMAG-RT
Notes
• This function supports the following applications:
• Three-phase PM synchronous motor
• Three-phase synchronous reluctance motor
• A JMAG-RT LdLq model is created using this function. A spatial harmonic model cannot be
created.
• Iron loss cannot be accounted for.
Procedures
1. Prepare a CSV file according to the specified format.
See “Input CSV File Format” on page 342.
2. Set the settings for creating JMAG-RT models in the JMAG-RT Library Manager.
i. From the JMAG-Designer menu bar, select [Tool] > [JMAG-RT].
ii. Click [New] in the JMAG-RT Library Manager.
iii. In the [Model Type] dialog, from the [Model Type] list, select [PM Synchronous
Motor] and click [OK].
iv. In the [Select Motor Model] dialog, select the [Use User Data].
v. Click [Browse] under [Csv File].
vi. In the [Open] dialog, specify the CSV file and click [Open].
vii.Click [OK].
viii.In the [PM Synchronous Motor] dialog, set the parameters for each tab.
Make sure to set the following parameters:
• [Create] tab (page 443):
• [Number of Poles]
• [Resistance] under [Configuration of FEM Coil]
• [Resolution Point Sequence] under [Current (LdLq)]:
RTT files contain inductance data for amplitude axis and phase axis. Therefore, the
resolution must be specified to convert the data created with the ld and lq axis to the
amplitude and phase axis.
Note the following:
341
JMAG Version 22.2 User's Manual
JMAG-RT
• To specify a correction factor for the number of turns in circuit simulation, set [Number
of Turns] in the [Create] tab. The value specified here will be a reference value (default
number of turns).
The correction factors for the number of turns are turns_coil1 and turns_coil2 in the
JMAG-RT model block.
• An FEM analysis is not run when a JMAG-RT model is created with a CSV file. There-
fore, the settings for [Parallel Computing] and [Machine (Server)] are not necessary.
ix. Click [OK] in the [Permanent Magnet Synchronous Motor] dialog.
The new setting for creating JMAG-RT models is added in the [RT Model Library] list.
3. Create a JMAG-RT model from the JMAG-RT Library Manager.
i. Select the checkbox for the RTT model creation setting in step 2 displayed in the [Cre-
ate] column.
ii. Click [Create Model].
The process to create the JMAG-RT model is performed.
When the processing is finished, the [JMAG Solver Report] dialog is displayed.
4. Export a JMAG-RT model from the JMAG-RT Library Manager.
i. Click [Copy to Circuit/Control Simulator].
ii. In the [Copy to Circuit/Control Simulator] dialog, specify [Copy To] and [Platform],
and click [OK].
01 Flux
02 1.23400
03 Id, Iq, Ld, Lq
04 0.00000, 0.12247, 0.00100, 0.03100
05 -0.10607, 0.06124, 0.00200, 0.03200
06 -0.12247, 0.00000, 0.00300, 0.03300
07 -0.10607, -0.06124, 0.00500, 0.03500
08 -0.06124, -0.10607, 0.00600, 0.03600
Format
Line 1 Flux Fixed. Use a one-byte character string.
Line 2 Magnet flux-linkage The unit is (Wb).
Line 3 Id, Iq, Ld, Lq Fixed. Use a one-byte character string.
Line 4 and following lines Id, Iq, Ld, Lq values. The unit of Id and Iq is (A). The unit of Ld
and Lq is (H). Enter a value for each column.
342
Creating JMAG-RT Models with JMAG-RT
Ψa = Ψf × (3 ⁄ 2)
Ψ f : maximum value of armature flux-linkage due to the permanent magnet per phase (Wb)
• Since data sorting occurs by JMAG-RT, the ascending/descending order of Id and Iq can be
determined freely.
343
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
• The JMAG-RT Library Manager file (.jrt) outputs parameters necessary for analysis re-execu-
tion.
Procedures
1. From the [RT Model Library] table, select the JMAG-RT base models to export to a file.
Multiple JMAG-RT base models can be selected from the table by using the [Ctrl] key or [Shift]
key on the keyboard.
2. Click [Export Model Data].
3. In the [Save As] dialog, specify a file name and save location.
4. Click [Save].
Importing JMAG-RT base models from a JMAG-RT Library Manager file (.jrt)
344
Creating JMAG-RT Models with JMAG-RT
Notes
• The recalculation function inherits the [Recalculate with Increased Resolution] settings from
[Calculation Mode] for JMAG-Designer Version 17.0 or earlier.
• The recalculation function does not support the following models:
• PM synchronous motor (LdLq model)
• PM synchronous motor (model created from a CSV file)
• Synchronous reluctance motor (LdLq model)
• Synchronous reluctance motor (model created from a CSV file)
• The recalculation function does not support changing the mechanical angle resolution. To
change the mechanical angle resolution, create a new JMAG-RT model.
• Recalculation with JMAG-RT can be executed in batch from the command line using JMAG
Job System.
To export the input file for JMAG Job System that is needed in this case, select [File export for
JMAG JobSystem execution] under [CPU Group Name] in the [Recalculation] dialog and click
the [Export] button.
For details on running analysis from the command line using JMAG JobSystem, refer to the
“Operations Edition”.
Procedures
1. From the [RT Model Library] table, select the JMAG-RT base model shown as “Created”
in the [Data Status] field, and click [Recalculation].
Or, right-click the JMAG-RT base model in the [RT Model Library] table and select [Recalcula-
tion].
2. In the [Recalculation (model type name)] dialog, set parameters for recalculation.
• [File Name]:
Select an input JCF file for recalculation. By default, the input file used for the previous cal-
culation is displayed. See “Changing the Input File” on page 347.
345
JMAG Version 22.2 User's Manual
JMAG-RT
• Resolution settings:
The parameters that can be set depend on the model type. See “Resolution Settings” on
page 347.
• When adding:
Select [Add] and enter a value in each text box. When duplicate settings have been made
for calculated values, see “Concerning cases executed when resolution is added” on
page 346.
For a generic model, it is also necessary to select a coil set to add resolution to.
MEMO For a generic model, a referencing coil set has the same settings as the referenced coil
set that it references, so no selections can be made.
• When replacing:
Select [Edit] and click [Calculated Point]. The [Recalculation Point List] dialog is dis-
played, so check the checkboxes for the cases to recalculate and click [OK].
MEMO When recalculating the data calculated by JMAG-RT included in JMAG-Designer
before Version 17.0, the [Jcf file] column of the [Recalculation Point List] dialog is blank.
• [Parallel Computing], [License (LM-X)], [Machine (Server)], [Hosts File], [Do Not Output
Distribution to Result File], [Do not leave result files]:
These are the same as the parameters set for the original calculation. See the description of the
[Create] tab for PMSMs.
• [Export] button:
If [File export for JMAG JobSystem execution] is selected under [CPU Group Name], the
[Export] button will be displayed instead of the [OK] button. For instructions on how to use
this button, see the description of the [Create] tab for PMSMs.
3. Click [OK] in the [Recalculation (model type name)] dialog.
JMAG-RT Library Manager is returned to.
For the JMAG-RT base model for which recalculation settings were made, the [Data Status] field
has changed from “Created” to “Ready”.
4. Check the checkbox for the JMAG-RT base model for which recalculation settings were
made, and click [Create Model].
A new case is created based on the recalculation settings, and FEA is executed.
At this time, the existing RTT file is renamed and remains in the calculation execution folder.
For example, if an existing RTT file is “AAA.rtt”, it will be renamed as follows:
AAA-20100530-134715.rtt (<<original file name - date - hours, minutes, seconds>>.rtt)
And suppose the current amplitudes are modified as follows and recalculation is executed.
0, 1, 2, 3, 4
Since the results data for the cases where the current amplitude was 0, 1, or 2 is already present in
the JMAG-RT model, calculation execution occurs only for the cases where the current amplitude is
3 or 4.
Finally, in the JMAG-RT model, the results data for the following current amplitudes is present.
0, 0.5, 1, 1.5, 2, 3, 4
346
Creating JMAG-RT Models with JMAG-RT
In order to avoid these problems, modify the following in the previous input file by specifying them
in the [File name] box in JMAG-RT Library Manager [Recalculation (model type name)] dialog.
• Set stricter convergence criteria in the [Linear Solver] setting panel or the [Nonlinear Calcula-
tion] setting panel in the [Study Properties] dialog.
• Identify the areas where mesh is course and perform mesh generation with finer mesh for these
areas. Perform adjustments using for example the element size setting function on parts, faces,
etc.
Furthermore, do not change the settings for shapes, dimensions, conditions, circuits, etc. If these are
changed, an incorrect JMAG-RT model may be created or execution may fail.
Resolution Settings
This function supports changing the following resolution parameters.
347
JMAG Version 22.2 User's Manual
JMAG-RT
348
Creating JMAG-RT Models with JMAG-RT
349
JMAG Version 22.2 User's Manual
JMAG-RT
350
Creating JMAG-RT Models with JMAG-RT
Notes
• This function supports RTT files for the following applications:
• Three-phase/six-phase PM synchronous motor:
However, RTT files containing zero-phase current data are not supported by this function.
• Three-phase/six-phase Synchronous reluctance motor
• Three-phase Induction motor
• If applying corrections, the correction file (.csv) needs to be made manually by writing the cor-
rection value in the regulated file format. For details about the correction file format, see “For-
mat of Correction File” on page 354.
• Old formats of correction files ($RT_Correction_LdLq, $RT_Correction_BackEMF, $RT_Cor-
rection_Flux) cannot be used for versions later than 13.0 or 13.1.
• Corrected RTT files can have different correction files applied to them. For this case, the correc-
tion value information written in the RTT file will be updated (with a value obtained by multi-
plying the existing correction value by the correction value of newly-applied correction file).
• Importing a corrected RTT file into JMAG-RT Viewer will display a map of the corrections.
MEMO Reviews are possible using corrected RTT file result value maps. However, if applying cor-
rected result values in an RTT file in a newly created file, this cannot be done in JMAG-RT Viewer.
Use JMAG-RT.
• Corrections to result values in RTT files cannot be executed from command lines.
• Total flux linkage corrections cannot be used with inductance corrections or magnet flux-linkage
corrections.
Procedures
1. Prepare a correction file (.csv).
For details about the correction file format, see “Format of Correction File” on page 354.
2. From the [RT Model Library] table, select the JMAG-RT base model shown as “Created”
in the [Data Status] field, and click [Apply correction file].
Or, right-click the JMAG-RT base model in the [RT Model Library] table and select [Export
Characteristics].
3. In the [Apply Correction File] dialog, click [Browse] on the [RTT file before correction]
box and specify the path for the RTT file to be corrected.
351
JMAG Version 22.2 User's Manual
JMAG-RT
If selecting the JMAG-RT base model from the [RT Model Library] table and clicking on [Apply
correction file], the file path for the JMAG-RT model data will be entered automatically.
4. Click [Browse] on the [Correction file] box and specify the path for the correction file.
5. In the [RTT file after correction] box, specify the name of the corrected RTT file and
where it is to be saved.
If the setting is the same as for 3. above, the file is overwritten.
6. If adding corrected file name information to an RTT file, select [Publish correction file
name].
If [Publish correction file name] is selected, the correction file name can be confirmed when
importing the RTT file into JMAG-RT Viewer.
7. Click [Output].
The corrected RTT file will be output.
Addition
Set the physical quantity of the correction target. This supports the following physical quantities:
Multiplier
Set the correction value (correction ratio) multiplied to the physical quantity of the correction tar-
get. This supports the following physical quantities:
352
Creating JMAG-RT Models with JMAG-RT
Induction motor
Correction Type Description
$RT_Correction_Resistance_Sec- The correction factor for secondary conductor resistance.
ondary Set the correction value when the primary axis is the slip fre-
quency (Hz) and the secondary axis is the primary current (A).
$RT_Correction_MagnetizingIn- The correction factor for magnetizing leakage inductance.
ductance Set the correction value when the primary axis is the slip fre-
quency (Hz) and the secondary axis is the primary current (A).
$RT_Correction_LeakageInduc- The correction factor for primary coil flux leakage.
tance_Primary Set the correction value when the primary axis is the slip fre-
quency (Hz) and the secondary axis is the primary current (A).
$RT_Correction_LeakageInduc- The correction factor for secondary conductor flux leakage.
tance_Secondary Set the correction value when the primary axis is the slip fre-
quency (Hz) and the secondary axis is the primary current (A).
353
JMAG Version 22.2 User's Manual
JMAG-RT
Format
• Do not fail to input the following on Row 1 “$RT_Correction_Start,” and on the end row put
“$RT_Correction_End”.
• Enter correction values (correction ratio) separated by commas after reservation words that start
with $ for corrections of table specifications.
• If a column is missing, anything after that column will be invalid and cannot be corrected.
Row 1 $RT_Correction_Start,
Start marker * Fixed
Row 2 $RT_Correction_Version, (Version number)
File version. Specify “13.0.a”.
Row 3 $RT_Correction_MotorType, (Motor Type)
Specify the following as the motor type.
• [PMSM]: Three-phase PM synchronous motor
• [SynRM]: Three-phase synchronous reluctance motor
Row 4 • When specifying a constant value:
(type of correction), (correction value)
• When specifying tables:
(type of correction), (number of table rows), (number of table columns)
Specify one of the following for correction type.
• [$RT_Correction_LeakageInductance_U]:
Addition correction of inductance in U-phase coil (constant)
• [$RT_Correction_LeakageInductance_V]:
Addition correction of inductance in V-phase coil (constant)
• [$RT_Correction_LeakageInductance_W]:
Addition correction of inductance in W-phase coil (constant)
• [$RT_Correction_Inductance]:
Multiplier correction of inductance (table)
• [$RT_Correction_Torque]:
Multiplier correction of torque (table)
• [$RT_Correction_MagFlux]:
Multiplier correction of magnet flux linkage (table)
• [$RT_Correction_TotalFluxLinkage]:
Multiplier correction of total flux linkage (table)
• [$RT_Correction_Ironloss]:
Multiplier correction of iron loss (table)
Specify correction values for constant.
Specify the number of columns and rows of tables specified after row 5 for
table.
354
Creating JMAG-RT Models with JMAG-RT
• For multiplier correction of total flux linkage (current amplitude (A), phase
(deg)):
$Iam/Beta, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
100.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
200.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
300.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
• For multiplier correction of iron loss (revolution speed (rpm), current ampli-
tude (A)):
$N/Current, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0
100.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
200.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
300.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
End row $RT_Correction_End,
End marker * Fixed
355
JMAG Version 22.2 User's Manual
JMAG-RT
Format
• Do not fail to input the following on row 1 “$RT_Correction_Start,” and on the end row put
“$RT_Correction_End”.
• Enter correction values (correction ratio) separated by commas after reservation words that start
with $ for corrections of table specifications.
• If a column is missing, anything after that column will be invalid and cannot be corrected.
Row 1 $RT_Correction_Start,
Start marker * Fixed
Row 2 $RT_Correction_Version, (Version number)
File version. Specify “19.1.a”.
Row 3 $RT_Correction_MotorType, (Motor Type)
Specify the following as the motor type.
• [PMSM_6Phase]: Six-phase PM synchronous motor
• [SynRM_6Phase]: Six-phase synchronous reluctance motor
Row 4 • When specifying constant values:
(correction type), (correction value)
• When specifying tables:
(correction type), (axis 1 physical properties), (axis 2 physical properties), (axis 3
physical properties), (axis 4 physical properties), (axis 5 physical properties)
356
Creating JMAG-RT Models with JMAG-RT
The number of axes in correction tables will differ depending on the physical
quantities where correction values are applied, similar to the following:
• Inductance, torque, magnet flux, total flux linkage:
4 (I1 axis, Beta1 axis, I2 axis, Beta2 axis)
• Iron loss:
5 (I1 axis, Beta1 axis, I2 axis, Beta2 axis, Speed axis)
357
JMAG Version 22.2 User's Manual
JMAG-RT
$RT_Correction_AxisOrder, (Axis 1), (Axis 2), (Axis 3), (Axis 4), (Axis 5)
• When physical quantities where correction values are applied are iron loss:
$RT_Correction_AxisOrder, Iam1, Beta1, Iam2, Beta2, Speed
The title row for each axis.
Specify the physical properties of each axis for tables specified in the 6th and
subsequent rows in order. The meaning of each physical property is as follows:
Iam1: Current amplitude of coil set 1 (A)
Beta1: Current phase of coil set 1 (deg)
Iam2: Current amplitude of coil set 2 (A)
Beta2: Current phase of coil set 2 (deg) or the current phase difference of
coil set 1 and coil set 2 (deg)
Speed: Rotational speed (rpm)
Items used as axes in each corrected table will differ depending on the physical
quantities to be corrected.
Row 6 or later Correction tables when specifying tables
Enter the contents of the correction table declared on the 4th row.
• Enter the physical property values for each axis in ascending order.
• Data after this row has a nested structure with the first axis as the outermost
part. Shown below is the data structure of correction tables for axes 1 to 4.
Axis 1 value 1
Axis 2 value 1
|- 3rd axis-4th axis table
Axis 1 value 1
Axis 2 value 2
|- 3rd axis-4th axis table
Axis 1 value 1
Axis 2 value 3
|- 3rd axis-4th axis table
Axis 1 value 2
Axis 2 value 1
|- 3rd axis-4th axis table
Axis 1 value 2
Axis 2 value 2
|- 3rd axis-4th axis table
...
358
Creating JMAG-RT Models with JMAG-RT
Example:
$1stAxis, 10.0
$2ndAxis, 0.0
$3rdAxis/4thAxis, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
10.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
20.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 10.0
$2ndAxis, 90.0
$3rdAxis/4thAxis, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
10.0, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7,
20.0, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7,
...
Enter the value of the 1st axis after [$1stAxis].
$1stAxis, 10.0
Enter the value of the second axis after [$2ndAxis].
$2ndAxis, 0.0
For iron loss correction, enter the value of the 3rd axis after [$3rdAxis].
$3rdAxis, 0.0
An example of the 3rd axis-4th axis table (or the 4th axis-5th axis table) is
shown below. The number of rows in this example is “3”, and the number of
columns is “6”.
• For inductance (or torque, magnet flux, total flux linkage) multiplier correc-
tions:
The 3rd axis is the current amplitude of coil set 2 (A), and the 4th axis is the
current phase of coil set 2 (deg).
$3rd/4th, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
100.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
200.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
300.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
359
JMAG Version 22.2 User's Manual
JMAG-RT
360
Creating JMAG-RT Models with JMAG-RT
$2ndAxis, 30.0
$3rdAxis, 0.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 10.0
$2ndAxis, 30.0
$3rdAxis, 30.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 10.0
$2ndAxis, 30.0
$3rdAxis, 60.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 0.0
$3rdAxis, 0.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 0.0
$3rdAxis, 30.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 0.0
$3rdAxis, 60.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 30.0
$3rdAxis, 0.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 30.0
$3rdAxis, 30.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 30.0
$3rdAxis, 60.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
361
JMAG Version 22.2 User's Manual
JMAG-RT
$RT_Correction_End,
362
Creating JMAG-RT Models with JMAG-RT
Format
• Do not fail to input the following on row 1 “$RT_Correction_Start,” and on the end row put
“$RT_Correction_End”.
• Enter correction values (correction ratio) separated by commas after reservation words that start
with $ for corrections of table specifications.
• If a column is missing, anything after that column will be invalid and cannot be corrected.
Row 1 $RT_Correction_Start,
Start marker * Fixed
Row 2 $RT_Correction_Version, (Version number)
File version. Specify “20.0.a”.
Row 3 $RT_Correction_MotorType, (Motor Type)
Specify the following as the motor type.
• [IM]: Induction motor
Row 4 (type of correction), (number of table rows), (number of table columns)
Specify one of the following for correction type.
• [$RT_Correction_Resistance_Secondary]:
Multiplier correction table for secondary conductor resistance (Ohm)
• [$RT_Correction_MagnetizingInductance]:
Multiplier correction table for magnetizing leakage inductance (H)
• [$RT_Correction_LeakageInductance_Primary]:
Multiplier correction for primary coil leakage inductance (H)
• [$RT_Correction_LeakageInductance_Secondary]:
Multiplier correction for secondary conductor leakage inductance (H)
Specify the number of columns and rows of tables specified after row 5 for
table.
363
JMAG Version 22.2 User's Manual
JMAG-RT
364
Creating JMAG-RT Models with JMAG-RT
Notes
Required files
• When adding loss data to an RTT file, it is necessary to create a loss table file (.csv) containing
the loss data according to a prescribed format. For the loss table file format, see “Loss Table File
Format” on page 368.
365
JMAG Version 22.2 User's Manual
JMAG-RT
• Even if re-executed (page 345) after adding loss data to an RTT file, the loss data is retained in
the RTT file.
However, even if adding (or modifying) the resolution before re-execution, the loss data added
before re-execution will not be updated. In this case, as necessary, edit the loss data and re-add.
366
Creating JMAG-RT Models with JMAG-RT
v : speed (m/s)
• For induction machines, the stray load loss computed automatically does not include iron loss.
Note that the definitions (values) are different from JMAG-Designer Version 17.1 on.
Control circuit simulation using a JMAG-RT model with loss data added
• Iron loss data added using this function is used in control circuit simulations when both of the
following settings are configured for JMAG-RT model blocks in Simulink.
• Select [Use iron loss table]
• Select [2: Table from CSV]
• Harmonic equivalent copper loss resistance data added using this function is used in control cir-
cuit simulations when the following settings are configured for JMAG-RT model blocks in Sim-
ulink.
• Select [Use AC copper loss resistance]
• Select [1: Equivalent Resistance Table from CSV]
• The added iron loss data and harmonic equivalent copper loss resistance data are interpolated
using the interpolation method ([Table data interpolation type]) specified in the JMAG-RT
model block.
• When a value outside the range of the added iron loss data or harmonic equivalent copper loss
resistance data is referenced during control circuit simulation, the endpoint value (minimum or
maximum value) of the loss data or resistance data is used.
Procedures
1. Export a results table in from JMAG-Designer to a CSV file or text file.
2. Process the results table exported in step 1 to create a loss table file (.csv).
For the loss table file format, see “Loss Table File Format” on page 368.
3. From the [RT Model Library] table, select the JMAG-RT base model shown as “Created”
in the [Data Status] field, and click [Apply loss table].
Or, right-click the JMAG-RT base model in the [RT Model Library] table and select [Apply Loss
Table].
4. In the [Apply Loss Table] dialog, under the [Select an original RTT file] box, set the path
of the RTT file to which to add loss data.
After clicking [Apply Loss Table] with a JMAG-RT base model selected from the [RT Model
Library] table, the path for the RTT file outputted based on the JMAG-RT base model is
entered.
MEMO If an RTT file with loss data already added is specified in the [Select an original RTT file]
box, the loss data is overwritten.
5. In the [Select an updated RTT file] box, enter the save destination and name of the RTT
file with added loss data.
367
JMAG Version 22.2 User's Manual
JMAG-RT
If the same path and name is specified as in step 4, the file will be overwritten and saved.
6. To add harmonic equivalent resistance data, select [Harmonic equivalent copper loss
resistance table file (csv)], click [Browse] to the right side of the text box, and specify the
loss table file (.csv) path.
7. To add iron loss data, select [Iron loss table file (csv)], click [Browse] to the right side of
the text box, and specify the loss table file (.csv) path.
8. Click [Output].
A RTT file with loss data added is output.
MEMO No title line is required in the loss table file. In this sample, to indicate the meaning of each
value in each row, a “$” at the beginning of the first line means that the line is a comment line, becoming
a title line added.
Format
• Separate each value with a comma (,).
• If a “$” is at the beginning of a line, the line is treated as a comment line and is not added to the
RTT file.
• An error is generated if any row does not have the required number of values.
• An error is generated if there is a line containing a blank entry.
• Blank lines (lines with only newlines) are ignored.
• Label each row entry as follows:
Entry ID Entry title Description
1 Iamp [A] 1st entry:
Current amplitude (A)
2 “Beta [deg]” or “Slip[Hz]” 2nd entry:
PM synchronous motor: current phase (deg). Define
0 deg to 360 deg.
Induction motor: slip frequency (Hz)
3 Speed [rpm] 3rd entry:
Rotation speed (rpm)
368
Creating JMAG-RT Models with JMAG-RT
However, the entries can be interpreted in any way as desired. For example, the 5th entry can be
used for temperature (K) if temperature (K) is inputted to input port Carrier Freq in the JMAG-
RT model block in a circuit simulator.
• Loss data must be provided for every combination of entries from the rows.
If the number of different values in the 1st entry, 2nd entry, 3rd entry, 4th entry, 5th entry are
numI, numB, numR, numV, numF respectively, the required number of data points is
numI*numB*numR*numV*numF.
For example, if the first entry values are (1, 2), 2nd entry values are (3, 4), 3rd entry values are (5,
6), 4th entry value is 7, and 5th entry value is 8, loss data for the following 8 patterns is required
(equivalent resistance or iron loss is entered for XXX).
1,3,5,7,8,XXX
1,3,6,7,8,XXX
1,4,5,7,8,XXX
1,4,6,7,8,XXX
2,3,5,7,8,XXX
2,3,6,7,8,XXX
2,4,5,7,8,XXX
2,4,6,7,8,XXX
As long as all combinations are covered, it does not matter what the order of the data points is.
Generic Models
For generic models, it is necessary to describe any loss tables included after defining their loss table
axes.
369
JMAG Version 22.2 User's Manual
JMAG-RT
1.00E-01,0.00E+00,5.00E+00,1.00E+02,3.00E+02,7.20E+01
1.00E-01,3.60E+02,1.00E+00,1.00E+02,1.00E+02,5.00E+01
1.00E-01,3.60E+02,1.00E+00,1.00E+02,2.00E+02,6.00E+01
1.00E-01,3.60E+02,1.00E+00,1.00E+02,3.00E+02,7.00E+01
1.00E-01,3.60E+02,5.00E+00,1.00E+02,1.00E+02,5.20E+01
1.00E-01,3.60E+02,5.00E+00,1.00E+02,2.00E+02,6.20E+01
1.00E-01,3.60E+02,5.00E+00,1.00E+02,3.00E+02,7.20E+01
MEMO No title line is required in a loss table file. In this sample, to indicate the meaning of each value
in each row, a “$” at the beginning of a line means that the line is a comment line which is a title line.
Format
• If a “$” is at the beginning of a line, the line is treated as a comment line and is not added to the
RTT file.
• If a “#” is at the beginning of a line, the line is treated as axis information.
• Add the loss table rows below the “#” rows.
Axis definitions
• One or more axes must be defined.
• Label each row entry as follows:
Entry ID Entry title Description
1 reference_name If “type” is “Current” or “Phase”, enter a coil set name.
If “type” is “Speed”, enter the name of a motion condition.
If “type” is “User”, enter a name.
Enclose the names in double quotation marks.
2 type Axis type
Enter one of the following:
• Current:
Coil set current amplitude (A)
• Phase:
Coil set current phase (deg) Can be specified when the [Drive
Type] is a [Sin (1-phase)] or [Sin (3-phase)] coil set. Define 0 deg
to 360 deg.
• Speed:
Motion condition speed For rotational motion, the unit is rpm.
For translational motion, the unit is m/s.
• User:
User-defined physical quantity (DC bus voltage, carrier fre-
quency, temperature, etc.) axes.
Multiple user-defined axes can be set.
For this type, the loss table used in a JMAG-RT block is accessed
using each time a value is input into the JMAG-RT block input
port “user specified input”.
Enclose axis “type” names in double quotation marks.
3 index Loss table column number
Start from number 0.
And number consecutively (0, 1, 2, etc., not for example 0, 1, 3,
etc.)
370
Creating JMAG-RT Models with JMAG-RT
Loss table
• Separate each value with a comma (,).
• An error is generated if any row does not have the required number of values.
• An error is generated if there is a line containing a blank entry.
• Blank lines (lines with only newlines) are ignored.
• Label each row entry as follows:
Entry ID Entry title Description
1~(last Iamp [A], Iphase [deg], Speed Enter values of current amplitude, current phase,
entry-1) [rpm], etc. speed, etc. in the defined axis index order.
Last entry Loss [W] Iron loss (W)
• Loss data must be provided for every combination of axis values. See the example in “PM Syn-
chronous Motors, Induction Motors” on page 368.
371
JMAG Version 22.2 User's Manual
JMAG-RT
Induced voltage
Magnetic flux
Driving force
Inductance
Inductance
(details)
Current
(Ld, Lq)
Torque
(Id, Iq)
Three-phase PM synchronous motor: LdLq
- - - - -
model
Three-phase PM synchronous motor: Spatial
- -
harmonic (differential) model: sinusoidal drive
Three-phase PM synchronous motor: Spatial
- - - -
harmonic (differential) model: Other
Three-phase PM synchronous motor: Spatial
- - - - - -
harmonic (integral) model
Six-phase PM synchronous motor: Spatial har-
- - - -
monic (differential) model
Three-phase synchronous reluctance motor:
- - - - -
LdLq model
Three-phase synchronous reluctance motor:
Spatial harmonic (differential) model: sinusoi- - -
dal drive
Three-phase synchronous reluctance motor:
- - - -
Spatial harmonic (differential) model: Other
Six-phase synchronous reluctance motor: Spa-
- - - -
tial harmonic (differential) model
Stepping motor - - - - -
Linear solenoid - - - - -
Linear synchronous motor - -
SR motor - - - - - -
372
Creating JMAG-RT Models with JMAG-RT
Induced voltage
Magnetic flux
Driving force
Inductance
Inductance
(details)
Current
(Ld, Lq)
Torque
(Id, Iq)
Three-phase/Six-phase Induction Motor - - - - - -
Wound-field synchronous motor - - - - -
Generic model - - - - -
Notes
• Current (Id, Iq) CSV files can be exported from RTT files created in JMAG-Designer Version
19.0 or later.
CSV files of other result values can be exported from RTT files managed by the JMAG-RT
library manager, even if a JMAG-Designer version before version 19.0 is used.
• The following output values are those described in the RTT file:
• Inductance (details)
• Torque when [Drive Type] is [Sine Wave Drive] and [Use zero phase sequence current] is
selected
• Magnetic flux
• Current (Id, Iq)
• The following output values are processed from values described in the RTT file:
• Inductance (Ld, Lq)
• Torque when [Drive Type] is [Sine Wave Drive] and [Use zero phase sequence current] is
cleared
• Driving force
• Induced voltage
• The output values do not reflect the correction factors set in the [RT Correction] tab of each
model, etc.
Procedures
1. From the [RT Model Library] table, select the JMAG-RT base model shown as “Created”
in the [Data Status] field, and click [Export Characteristics].
Or, right-click the JMAG-RT base model in the [RT Model Library] table and select [Export
Characteristics].
2. In the [Export Properties] dialog, under [Output Items], select the checkbox for the
results data to be output to a CSV file.
Depending on the model type, one or more of the following checkboxes is displayed. For details
on results data output, see “Results Data Details” on page 374.
• [Flux]:
Flux.csv is output.
• [Inductance (Detail)]:
Inductance.csv is output.
373
JMAG Version 22.2 User's Manual
JMAG-RT
• [Inductance (Ld,Lq)]:
Ld_graph.csv and Lq_graph.csv are output.
• [Torque]:
When [Drive Type] is [Sin Wave Drive] and [Use zero phase sequence current] is cleared,
Trq_graph.csv and AveTrq_graph.csv are output. Enter the current phase in [Advance Angle
[deg]]. The result values for the entered current phase is output.
When [Drive Type] is [Sin Wave Drive] and [Use zero phase sequence current] is selected,
Torque.csv is output.
• [Thrust Force]:
AveForce_graph.csv and Force_graph.csv are output.
Enter the current phase in the [Advance Angle [deg]] box. The results data for the current
phase specified is output.
• [Current]:
Id.csv and Iq.csv are output.
• [Induced Voltage]:
InducedVoltage_graph.csv is output.
• For a PM synchronous motor, enter the number of revolutions per minute of the rotor in
the [Rotation Speed [rpm]] box. The results data for the rotation speed specified is out-
put.
• For a linear synchronous motor, enter the distance traveled per second for the moving part
in the [Velocity of Moving Part [m/s]] box. The results data for the moving speed specified
is output.
The results data for the value specified in each text box is output.
3. Click [Browse] next to the [Output folder] box and set the path of the CSV file.
4. Click [Export].
374
Creating JMAG-RT Models with JMAG-RT
Sample (Flux.cvs)
375
JMAG Version 22.2 User's Manual
JMAG-RT
Sample
Torque (Trq_graph.csv)
When [Drive Type] is [Sine Wave Drive] and [Use zero phase sequence current] is cleared
Torque that is dependent on the rotation mechanical angle at each current value at the advance angle
specified (current phase) is output.
• The advance angle is the value specified in [Advance Angle [deg]] in the [Export Properties] dia-
log.
• The rotational angles are listed in the [Mechanical angle calculation range] box in [Resolution]
under the [Information] tab.
• Can be output for a spatial harmonic model. Cannot be output for an LdLq model.
376
Creating JMAG-RT Models with JMAG-RT
Item or
Row ID Column ID Description
column title
1 1 Beta=XXX advance angle (current phase), deg
“XXX” is the value specified in [Advance
Angle [deg]] in the [Export Properties] dia-
log.
2 and above 1 Theta [deg] rotation mechanical angle, deg
2 and above I=XXX Torque, Nm, for each current amplitude in
the column titles.
“XXX” is the current amplitude (A).
Sample
Torque (AveTrq_graph.csv)
When [Drive Type] is [Sine Wave Drive] and [Use zero phase sequence current] is cleared
The average torque at each current phase and current value is output.
• Can be output for a spatial harmonic model. Cannot be output for an LdLq model.
Column ID Column title Description
1 Beta [deg] current phase, deg
2 and above I=XXX Average torque, N•m, for each current amplitude in the
column titles.
“XXX” is the current amplitude (A).
Sample
Torque (Torque.csv)
When [Drive Type] is [Sine Wave Drive] and [Use zero phase sequence current] is selected
Column ID Column title Description
1 current current amplitude, A
2 phase current phase, deg
377
JMAG Version 22.2 User's Manual
JMAG-RT
Sample (Id.cvs)
378
Creating JMAG-RT Models with JMAG-RT
Stepping Motor
Linear Solenoid
379
JMAG Version 22.2 User's Manual
JMAG-RT
380
Creating JMAG-RT Models with JMAG-RT
Item
Row ID Column ID or Description
column title
1 1 Beta=XXX [deg] advance angle (current phase), deg
“XXX” is the value specified in [Advance Angle
[deg]] in the [Export Properties] dialog.
2 and above 1 Displacement [m] displacement, m
2 I=XXX Driving force, N, for each current amplitude
in the column titles.
“XXX” is the current amplitude (A).
SR Motor
Three-phase SR motor
Column ID Column title Description
1 current current amplitude, A
2 angle mechanical angle, deg
3 Laa A-phase coil self-inductance, H
4 Mab A-phase coil - B-phase coil mutual inductance, H
381
JMAG Version 22.2 User's Manual
JMAG-RT
For 4 phases, the D-phase self-inductance and the D-phase - (A-phase, B-phase, and C-phase)
mutual inductance are also output.
For 5 phases, the D-phase self-inductance, the E-phase self-inductance, the D-phase - (A-phase, B-
phase, C-phase, and E-phase) mutual inductance, and the E-phase - (A-phase, B-phase, C-phase,
and D-phase) mutual inductance are also output.
Induction Motor
Three-phase motors
Column ID Column title Description
1 current current amplitude, A
2 slip_freq slip frequency, Hz
3 L11_table self-inductance of each phase of the stator, H
4 M12_table mutual inductance for each combination of a phase of the
stator and a phase of the rotor, H
5 M21_table mutual inductance for each combination of a phase of the
stator and a phase of the rotor, H
6 L22_table self-inductance of each phase of the rotor, H
Six-phase motors
Column ID Column title Description
1 current current amplitude, A
2 slip_freq slip frequency, Hz
3 multiplication double angle (p: number of pole pairs).
1: 2p poles (multiplication 1)
2: 4p poles (multiplication 2)
4 L11_table self-inductance of each phase of the stator, H
5 M12_table mutual inductance for each combination of a phase of the
stator and a phase of the rotor, H
6 M21_table mutual inductance for each combination of a phase of the
stator and a phase of the rotor, H
7 L22_table self-inductance of each phase of the rotor, H
382
Creating JMAG-RT Models with JMAG-RT
383
JMAG Version 22.2 User's Manual
JMAG-RT
Generic Model
384
Creating JMAG-RT Models with JMAG-RT
If the coil set that selected [Reference Coil Set] or the coil set [Drive Type] is [Constant], current
phase and displacement will not be output.
• Magnetic flux is output for each coil.
The coil set output order follows the coil set sorting order in the [Coil Set] list under the [Create]
tab in the JMAG-RT Library Manager, and the phase order (UVW) in the coil sets.
Column ID Column title Description
1 and above Current1: Amplitude 1st coil set current amplitude, A
Current1: Angle 1st coil set current phase, deg
Current2: Amplitude 2nd coil set current amplitude, A
Current2: Angle 2nd coil set current phase, deg
... (The number of current amplitudes and the number current phases are the same as the
number of coil sets)
Current*: Amplitude *th coil set current amplitude, A
Current*: Angle *th coil set current phase, deg
Motion1: Disp/Ang Displacement, due to a motion condition, referenced by the
1st coil set, m or deg
Motion2: Disp/Ang Displacement, due to a motion condition, referenced by the
2nd coil set, m or deg
... (The number of displacements outputted is dependent on the number of coil sets)
Motion*: Disp/Ang Displacement due to a motion condition referenced by the
*th coil set, m or deg
Flux1 1st coil magnetic flux, Wb
Flux2 2nd coil magnetic flux, Wb
... (Magnetic flux is output dependent on the number of coil sets)
Last column Flux* *th coil magnetic flux, Wb
Sample
(In this sample model, two coil sets are set.
[Drive Type] of coil set #1 is [Sin (3-phase)].
Coil set #2 references coil set #1.
“Flux1” means “coil set #1 U-phase coil magnetic flux”.)
385
JMAG Version 22.2 User's Manual
JMAG-RT
If the coil set that selected [Reference Coil Set] or the coil set [Drive Type] is [Constant], current
phase and displacement will not be output.
• Self-inductance is output for each coil. In addition, mutual inductance from a combination of
coils is also output.
The coil set output order follows the coil set sorting order in the [Coil Set] list under the [Create]
tab in the JMAG-RT Library Manager, and the phase order (UVW) in the coil sets.
Column ID Column title Description
1 and above Current1: Amplitude 1st coil set current amplitude, A
Current1: Angle 1st coil set current phase, deg
Current2: Amplitude 2nd coil set current amplitude, A
Current2: Angle 2nd coil set current phase, deg
... (The number of current amplitudes and the number current phases are the same as the
number of coil sets)
Current*: Amplitude *th coil set current amplitude, A
Current*: Angle *th coil set current phase, deg
Motion1: Disp/Ang Displacement, due to a motion condition, referenced by the
1st coil set, m or deg
Motion2: Disp/Ang Displacement, due to a motion condition, referenced by the
2nd coil set, m or deg
... (The number of displacements outputted is dependent on the number of coil sets)
Motion*: Disp/Ang Displacement due to a motion condition referenced by the
*th coil set, m or deg
L11 1st coil self-inductance, H
M12 1st coil - 2nd coil mutual inductance, H
... (The number of mutual inductances with the 1st coil outputted is dependent on the
number of coils)
M1* 1st coil - *th coil mutual inductance, H
M21 2nd coil - 1st coil mutual inductance, H
L22 2nd coil self-inductance, H
... (The number of mutual inductances with the 2nd coil outputted is dependent on the
number of coils)
M2* 2nd coil - *th coil mutual inductance, H
... (The number of self-inductances are the same as the number of coils, and the number
of mutual inductances are dependent on the number of coils)
Last column L** *th coil self-inductance, H
386
Creating JMAG-RT Models with JMAG-RT
Notes
• Corrections to result values in RTT files cannot be executed from command lines.
Procedures
1. Start JMAG-RT Library Manager, and then create a base model.
For information about creating model data, see steps 2 through 4 in “Creating JMAG-RT Model
Using FEA Results” on page 334.
The settings of the base model are used as the default value of each parameter for a new base
model.
This procedure is not necessary if a model is created using an existing base model, or if the
default values specified in the JMAG-RT Library Manager are used.
2. Create a parameter file (.txt).
In the parameter file, describe which parameter will change in what way for the JMAG-RT base
model created in step 1. See “Creating a Parameter File” on page 392.
3. For Linux, set the “LD_LIBRARY_PATH” environment variable.
Environment variable Value
LD_LIBRARY_PATH Set the following two paths.
(1) JMAG installation directory (full path)
(2) RTSimulator installation directory (full path)
387
JMAG Version 22.2 User's Manual
JMAG-RT
Windows command
The following should be noted.
• With Windows, use RTSimulateRunner.exe.
• When using a batch file, describe the below command in a text editor, and save it with a name.
Change the extension of the file to “*. bat” and double click the file. The command is then exe-
cuted.
• When a command line and its arguments consists of two or more lines, enter a “^” (hat) at the
end of each line. For details on escape characters such as hat, use Windows Help.
"C:\Program Files\JMAG-Designer22.2\JMAG_RT\RTSimulateRunner.exe"^
-model="folder_path" -file="parameterfile_path"
Syntax 1
Use syntax 1 to create a new JMAG-RT base model using the existing JMAG-RT base model. A new
JMAG-RT base model is created using the set of input data and the parameter file located in the
model directory with syntax 1. Options in [ ] can be omitted.
Command configuration:
./RTSimulateRunner.exe^
-model="folder_path"^
-file="parameterfile_path"^
[-exec] [-rttout="rttfile_path"] [-rttplatform=platformtype]
Example:
"C:\Program Files\JMAG-Designer22.2\JMAG_RT\RTSimulateRunner.exe"^
-model="D:\Data\Model"^
-file ="D:\Data\Test.txt"
-exec -rttout="D:\Data\rt_result" -rttplatform=simulink
388
Creating JMAG-RT Models with JMAG-RT
Syntax 2
Use syntax 2 to create a new JMAG-RT base model using the default values in the JMAG-RT
Library Manager. A new JMAG-RT base model is created using the JCF file, parameter file, and
default values specified in the JMAG-RT Library Manager with syntax 2. Options in [ ] can be
omitted.
Command configuration:
./RTSimulateRunner.exe^
-file="parameterfile_path"^
-jcf="inputfile_path"^
[-exec] [-rttout="rttfile_path"] [-rttplatform=platformtype]
Example:
"C:\Program Files\JMAG-Designer22.2\JMAG_RT\RTSimulateRunner.exe"^
-file="D:\Data\parameter.txt"^
-jcf="D:\Data\Test.jcf"^
-exec -rttout="D:\Data\rt_result" -rttplatform=psim
Linux command
The following should be noted.
• For Linux, use RTSimulator.
• When using a shell script file, describe the below command in a text editor, and save it with a
name. Change the extension of the file to “*.sh” and double click the file. The command is then
executed.
• When a command line and its arguments consists of two or more lines, enter a backslash (\) at
the end of each line. For details on escape characters such as backslash, use Linux Help.
• In the case of Linux, command and arguments are case sensitive.
Syntax 1
Use syntax 1 to create a new JMAG-RT base model using an existing JMAG-RT base model. A new
JMAG-RT base model is created using a set of input data and a parameter file located in the model
directory with syntax 1. Options in [ ] can be omitted.
Command configuration:
./RTSimulator\
-model="folder_path"\
-file="parameterfile_path"\
[-exec] [-rttout="rttfile_path"] [-rttplatform=platformtype]
Example:
/home/user/installation/JMAG222/JMAG_RT/RTSimulator\
-model=/home/user/data/model\
-file=/home/user/data/parameter.txt\
-exec -rttout=/home/user/data/rt -rttplatform=simulink
Syntax 2
Use syntax 2 to create a new JMAG-RT base model using the default values in the JMAG-RT
Library Manager. A new JMAG-RT base model is created using a JCF file, parameter file, and
JMAG-RT Library Manager default values with syntax 2. Options in [ ] can be omitted.
Command configuration:
389
JMAG Version 22.2 User's Manual
JMAG-RT
./RTSimulator\
-file="parameterfile_path"\
-jcf="inputfile_path"
[-exec] [-rttout="rttfile_path"] [-rttplatform=platformtype]
Example:
/home/user/installation/JMAG222/JMAG_RT/RTSimulator\
-file=/home/user/data/parameter.txt\
-jcf=/home/user/data/test.jcf\
-exec -rttout=/home/user/data/rt -rttplatform=Simulink
390
Creating JMAG-RT Models with JMAG-RT
Required/
Option Argument Description
optional
-exec Not available Optional Flag to create model.
• When using “-exec,” create a JMAG-
RT model in succession to creating a
JMAG-RT base model.
• When using “-exec,” do not execute a
command in the state that the
JMAG-RT Library Manager is run-
ning.
If the JMAG-RT Library Manager is
running when the command is exe-
cuted, the process will only go up to
creating a JMAG-RT base model
even if “-exec,” is used.
-rttout Full path of the output Optional Value of [Copy to] of the [Copy to Cir-
folder of the RTT file cuit Simulator] dialog.
The [Copy to Circuit Simulator] dialog
will open when the [Copy to Circuit
Simulator] button of JMAG-RT
Library Manager is clicked on.
-rttplatform Platform name Optional Value of [Platform] in the [Copy to
• rttonly Circuit Simulator] dialog.
• simulink: The [Copy to Circuit Simulator] dialog
Simulink (electric sig- will open when the [Copy to Circuit
nal input) Simulator] button of JMAG-RT
• simulink_specialized: Library Manager is clicked on.
Simulink (electric sig- When “-rttplatform” is not specified, it
nal input, Specialized will be processed as “rttonly: Only
Power Systems) writes RTT files.”
• simulink_current:
Simulink (current sig-
nal input)
• simulink_voltage:
Simulink (voltage sig-
nal input)
• psim
• c:
Any C language pro-
gram
“psim” and “c” are not
supported in Linux.
391
JMAG Version 22.2 User's Manual
JMAG-RT
Example
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
id Integer Table ID (positive integer)
The specified table ID is referenced by each
parameter.
name String Name of the table
The name should be enclosed in double quota-
tion marks.
value Double Each value of table
Example:
PointArray=1,"Undefined",1.0,2.0,3.0
392
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
motor_type Flag Model type:
PMSMotor • Three-phase PM synchronous motor
PMSMotorSix- • Six-phase PM synchronous motor
Phase
SynRM • Three-phase synchronous reluctance motor
SynRMSixPhase • Six-phase synchronous reluctance motor
accuracy_type Flag Motor model type:
1 • LdLq
3 • Spatial harmonic (differential)
4 • LdLq + Spatial harmonic (differential)
6 • Spatial harmonic (differential) + Spatial har-
monic (integral)
7 • LdLq + Spatial harmonic (differential) + Spa-
tial harmonic (integral)
393
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
coil_turn Double Number of coil turns
flg_winding_pat- Flag Connection pattern
tern 0 • Y-connection
1 • Delta-connection
resistance Double Phase resistance (ohm)
U_Leakage_In- Double U-phase leakage inductance (H)
ductance
V_Leakage_In- Double V-phase leakage inductance (H)
ductance
W_Leakage_In- Double W-phase leakage inductance (H)
ductance
U1_Leakage_In- Double U1-phase leakage inductance (H)
ductance
V1_Leakage_In- Double V1-phase leakage inductance (H)
ductance
W1_Leakage_In- Double W1-phase leakage inductance (H)
ductance
U2_Leakage_In- Double U2-phase leakage inductance (H)
ductance
V2_Leakage_In- Double V2-phase leakage inductance (H)
ductance
W2_Leakage_In- Double W2-phase leakage inductance (H)
ductance
flg_drive Flag Drive type
0 • Sinusoidal
1 • Other
flg_use_zero_se- Flag 0 Do not use zero-phase sequence current
quence_current 1 Use zero-phase sequence current
beta2_axis_type Flag Table type
0 • Use current phase difference
1 • Use current phase
calculation_- Flag Calculation Method for Circuit/Control Simu-
method_for_con- lator.
trol_simulator Available when motor_type=PMSMotor and
flg_drive=0.
0 • Differential Method
1 • Differential Method and Integral Method
flg_nonlinear Flag Nonlinear high-speed calculation
0 • Do not apply
1 • Apply
flg_use_phase_sy Flag Symmetry of phase
mmetry 0 • Do not use
1 • Use
394
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
flg_resolution Flag Current
0 • Auto setting (A)
1 • Current phase range (deg)
rated_current Double Rated current (A)
Available if flg_resolution=0
phase_range_start Double Start angle for the current phase range (deg).
Available if flg_resolution=0.
phase_range_end Double End angle for the current phase range (deg).
Available if flg_resolution=0.
flg_half_periodic Flag Inductance.
Available if accuracy_type=3.
0 • No periodicity for 1/2 electrical angle
1 • Periodicity for 1/2 electrical angle
inductance_cur- Integer Table ID for the current amplitude or instanta-
rent_table_id neous current value of inductance
inductance_cur- Integer Table ID for the current amplitude 1 of induc-
rent1_table_id tance
inductance_cur- Integer Table ID for the current amplitude 2 of induc-
rent2_table_id tance
flg_auto_resolu- Flag Auto adjusting the mechanical resolution for
tion inductance
0 • Do not apply auto adjusting
1 • Apply auto adjusting
induc- Integer Table ID for the current phase of inductance.
tance_beta_table Available if accuracy_type=1 or 3.
_id
inductance_be- Integer Table ID for the current phase 1 of inductance
ta1_table_id
inductance_be- Integer Table ID for the current phase 2 of inductance
ta2_table_id
inductance_an- Double Mechanical angle resolution for inductance
gle_resolution (deg).
Available if accuracy_type=2 or 3.
inductance_ze- Int Table ID for the zero-phase current of induc-
ro_sequence_cur- tance.
rent_table_id Available if flg_use_zero_sequence_current=1.
flg_torque_set- Flag Available if accuracy_type=3
ting 0 • Do not use the same settings for inductance
and torque
1 • Use the same settings for inductance and
torque
torque_cur- Integer Table ID for the current amplitude of torque.
rent_table_id Available if accuracy_type=2 or 3.
395
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
torque_cur- Integer Table ID for the current amplitude or instanta-
rent1_table_id neous current value of torque
torque_cur- Integer Table ID for the current amplitude 2 of torque
rent2_table_id
torque_beta_table Integer Table ID for the current phase of torque.
_id Available if accuracy_type=2 or 3.
torque_be- Integer Table ID for the current phase 1 of torque
ta1_table_id
torque_be- Integer Table ID for the current phase 2 of torque
ta2_table_id
flg_torque _au- Flag Auto adjusting the mechanical angle resolution
to_resolution for torque
0 • Do not apply auto adjusting
1 • Apply auto adjusting
torque_angle_res- Double Mechanical angle resolution for torque.
olution Available if accuracy_type=2 or 3.
flg_auto_calc Flag Type of periodic angle for torque
0 • Do not calculate automatically for one peri-
odic angle from the number of poles
1 • Calculate automatically for one periodic
angle from the number of poles
periodic_angle Double Periodic angle for torque (deg)
torque_zero_se- Int Table ID for the zero-phase current of torque.
quence_cur- Available if flg_use_zero_sequence_current=1.
rent_table_id
flg_resolu- Flag LdLq Current
tion_ldlq 0 • Simple Settings
1 • Advanced Settings
rated_cur- Double LdLq Rated Current (A).
rent_ldlq Available if flg_resolution_ldlq =0.
phase_range_start Double Start angle for the LdLq current phase range
_ldlq (deg).
Available if flg_resolution_ldlq =0.
phase_range_end Double End angle for the LdLq current phase range
_ldlq (deg).
Available if flg_resolution=0.
inductance_cur- Integer Table ID for the current amplitude of induc-
rent_ld- tance for LdLq.
lq_table_id Available if accuracy_type=1 or 4.
induc- Integer Table ID for the current phase of inductance
tance_beta_ld- for LdLq.
lq_table_id Available if accuracy_type=1 or 4.
396
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
flg_iron_loss Flag Consider iron loss
0 • Not considered
1 • Considered
flg_iron_loss_spe Flag Iron loss calculation mode
ed_up 0 • Conventional mode (Iron loss calculation
license is used after magnetic field analysis is
completed.)
1 • High speed mode (Iron loss calculation
license is used during magnetic field analysis.)
flg_iron_loss_res- Flag Rotate velocity
olution 0 • Simple settings
1 • Advanced settings
max_rotate_ve- Double Maximum revolution speed (rpm).
locity Available if flg_iron_loss_resolution=0.
rotate_veloci- Integer Table ID for revolution speed.
ty_table_id Available if flg_iron_loss_resolution=1.
coef_magnet_- Double Temperature correction factor of magnet (%/K)
temperature
base_magnet_- Double Base temperature for magnet (K)
temperature
coef_coil_tem- Double Temperature correction factor of coil (ppm/K)
perature
base_coil_tem- Double Base temperature for coil (K)
perature
inertia_correc- Double correction factor (coef_inertia1) of inertia
tion_factor1 moment
inertia Double Inertia moment J0 (kgm2)
inertia_correc- Double correction factor (coef_inertia2) of inertia
tion_factor2 moment
time_constant Double Time constant τmech (MechTimeConstant(s))
coef_torque Double Correction factor for torque
coef_acloss Double Correction factor for AC loss
coef_material Double Correction factor for steel sheet
397
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
acloss_conduc- Flag Conductor type
tor_type 0 • Rectangle
1 • Round
acloss_conduc- double Conductor height (m).
tor_height Specify this when acloss_conductor_type=0.
acloss_conduc- double Conductor width (m).
tor_width Specify this when acloss_conductor_type=0.
acloss_conduc- double Conductor diameter (m).
tor_diameter Specify this when acloss_conductor_type=0.
acloss_stack_leng double Core stack (m)
th
acloss_conductiv- double Conductivity (S/m)
ity
398
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
use_multi_license Flag Power simulation license
0 • Use
1 • Do not use
flg_recalculation Flag Calculation mode:
0 • Recalculate only the failed cases
1 • Recalculate all cases
flg_plot_file Flag Control result files:
0 • Export the distribution amount into result
1 files
• Do not export the distribution amount into
result files
flg_delete_result Flag Delete result files after calculation:
0 • Leave result files after calculation
1 • Delete result files after calculation
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
motor_type Flag SteppingMotor Model type: Two-phase stepping motor
399
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
torque_cur- Integer Table ID for the current versus torque during
rent_table_id excitation
inertia_correc- Double correction factor (coef_inertia1) of inertia
tion_factor1 moment
inertia Double Inertia moment J0 (kgm2)
inertia_correc- Double correction factor (coef_inertia2) of inertia
tion_factor2 moment
time_constant Double Time constant τ-mech (s)
coef_magnet_tem- Double Temperature correction factor of magnet (%/K)
perature
base_magnet_tem- Double Base temperature for magnet (K)
perature
coef_coil_tempera- Double Temperature correction factor of coil (ppm/K)
ture
base_coil_tempera- Double Base temperature for coil (K)
ture
400
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
reservation_key String Reservation key
use_multi_license Flag Power simulation license
0 • Use
1 • Do not use
flg_recalculation Flag Calculation mode:
0 • Recalculate only the failed cases
1 • Recalculate all cases
flg_plot_file Flag Control result files:
0 • Export the distribution amount into result files
1 • Do not export the distribution amount into
result files
flg_delete_result Flag Delete result files after calculation:
0 • Leave result files after calculation
1 • Delete result files after calculation
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
motor_type Flag LinearSolenoid Model type: Linear solenoid
1
motion_table_id Integer Table ID for the resolution (position)
current_division Integer Number of divisions for the resolution (cur-
rent)
max_current Double Maximum value of the current range (A) for the
resolution (current)
flg_current_table Flag Table for the resolution (current)
0 • Set automatically based on the current range
and the number of divisions
1 • Specify a table
current_table_id Integer Table ID for the resolution (current)
401
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
mass_factor1 Double Mass correction factor (coef_mass1)
mass Double Mass(M0)(kg)
mass_factor2 Double Mass correction factor (coef_mass2)
time_constant Double Time constant Τmech (MechTimeConstant (s))
coef_magnet_tem- Double Temperature correction factor of magnet (%/K)
perature
base_magnet_tem- Double Base temperature for magnet (K)
perature
coef_coil_tempera- Double Temperature correction factor of coil (ppm/K)
ture
base_coil_tempera- Double Base temperature for coil (K)
ture
402
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
flg_recalculation Flag Calculation mode:
0 • Recalculate only the failed cases
1 • Recalculate all cases
flg_plot_file Flag Control result files:
0 • Export the distribution amount into result
1 files
• Do not export the distribution amount into
result files
flg_delete_result Flag Delete result files after calculation:
0 • Leave result files after calculation
1 • Delete result files after calculation
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
motor_type Flag LSMotor Model type: Linear synchronous motor
403
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
flg_resolution Flag Resolution
0 • Disable the resolution setting
1 • Enable the resolution setting
inductance_divi- Integer Inductance
sion Number of divisions for the displacement
inductance_cur- Integer Table ID for the current versus inductance
rent_table_id during excitation
flg_use_phase_sym Flag Symmetry of phase
metry 0 • Do not use
1 • Use
displace- Double Displacement of electromagnetic force (m)
ment_range
position_division Integer Number of divisions for the displacement of
electromagnetic force
force_cur- Integer Table ID for the current versus electromagnetic
rent_table_id force during excitation
force_beta_table_i Integer Table ID for the current versus electromagnetic
d force during excitation
mass_factor1 Double Mass correction factor (coef_mass1)
mass Double Mass (M0)(kg)
mass_factor2 Double Mass correction factor (coef_mass2)
time_constant Double Time constant τ-mech (s)
coef_magnet_tem- Double Temperature correction factor of magnet (%/
perature K)
base_magnet_tem- Double Base temperature for magnet (K)
perature
coef_coil_tempera- Double Temperature correction factor of coil (ppm/K)
ture
base_coil_tempera- Double Base temperature for coil (K)
ture
404
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
solver_mpp_host_- String Absolute path of MPP hosts file
file Used when solver_parallel_type = 2
flg_solver_gpu Using GPU for calculation processing
0 • Do not use GPU
1 • Use GPU
(Default: The value specified in the input JCF
file.)
flg_remote Flag Execution method
0 • Local execution
1 • Remote execution
num_process Int Number of processes
cpu_group_name String When using JMAG-RemoteSystem, specify the
“Server: Port ID: Group name”.
Example: 10.157.101.2:8888:test1
When using a remote machine with SSH, spec-
ify the remote machine name.
reservation_key String Reservation key
use_multi_license Flag Power simulation license
0 • Use
1 • Do not use
flg_recalculation Flag Calculation mode:
0 • Recalculate only the failed cases
1 • Recalculate all cases
flg_plot_file Flag Control result files:
0 • Export the distribution amount into result
1 files
• Do not export the distribution amount into
result files
flg_delete_result Flag Delete result files after calculation:
0 • Leave result files after calculation
1 • Delete result files after calculation
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
motor_type Flag SRMotor Model type: SR motor
405
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
phase_D Integer FEM coil: D-phase
phase_E Integer FEM coil: E-phase
coil_turn Integer Number of turns
resistance Double Phase resistance (ohm)
flg_resolution Flag Resolution
0 • Disable the resolution setting
1 • Enable the resolution setting
inductance_divi- Integer Number of divisions for the rotational angle
sion for inductance
inductance_cur- Integer Table ID for the current versus inductance
rent_table_id during excitation
rated_current Double Rated current (A)
Available if resolution=0
torque_cur- Integer Table ID for the current versus torque during
rent_table_id excitation
torque_angle_reso- Double Mechanical angle resolution for torque
lution Available if accuracy_type=2 or 3
flg_auto_calc Flag Type of periodic angle for torque
0 • Do not calculate automatically for one peri-
odic angle from the number of poles
1 • Calculate automatically for one periodic
angle from the number of poles
periodic_angle Double Periodic angle for torque (deg)
coef_coil_tempera- Double Temperature correction factor of coil (ppm/K)
ture
base_coil_tempera- Double Base temperature for coil (K)
ture
406
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
flg_solver_gpu Using GPU for calculation processing
0 • Do not use GPU
1 • Use GPU
(Default: The value specified in the input JCF
file.)
flg_remote Flag Execution method
0 • Local execution
1 • Remote execution
num_process Int Number of processes
cpu_group_name String When using JMAG-RemoteSystem, specify the
“Server: Port ID: Group name”.
Example: 10.157.101.2:8888:test1
When using a remote machine with SSH, spec-
ify the remote machine name.
reservation_key String Reservation key
use_multi_license Flag Power simulation license
0 • Use
1 • Do not use
flg_recalculation Flag Calculation mode:
0 • Recalculate only the failed cases
1 • Recalculate all cases
flg_plot_file Flag Control result files:
0 • Export the distribution amount into result
1 files
• Do not export the distribution amount into
result files
flg_delete_result Flag Delete result files after calculation:
0 • Leave result files after calculation
1 • Delete result files after calculation
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
motor_type Flag Model type:
InductionMotor • Three-phase induction motor
InductionMotor- • Six-phase induction motor
PoleChange
407
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
phase_v Integer FEM coil: V-phase
phase_w Integer FEM coil: W-phase
phase_a Integer FEM coil: A-phase
phase_b Integer FEM coil: B-phase
phase_c Integer FEM coil: C-phase
phase_d Integer FEM coil: D-phase
phase_e Integer FEM coil: E-phase
phase_f Integer FEM coil: F-phase
coil_turn Double Number of coil turns
flg_winding_pat- Flag Connection pattern
tern 0 • Y-connection
1 • Delta-connection
resistance Double Phase resistance (ohm)
NumSeriesPer- Integer Number of turns in series per phase in the pri-
Phase mary circuit
WindingFactor Double Winding factor
StatorCurrent_PA Integer Table ID for current
SlipFreq_PA Integer Table ID for slip frequency
stray_load_loss_- Double Base frequency for stray load loss (Hz)
frequeny
use_stray_- Integer Specifying method for stray load loss
load_loss_auto_- 0 • Defined manually
setting 1 • Defined automatically
stray_load_loss Double Stray load loss (W)
flg_iron_loss Flag Consider iron loss
0 • Not considered
1 • Considered
flg_iron_loss_spee Flag Iron loss calculation mode
d_up 0 • Conventional mode (Iron loss calculation
license is used after magnetic field analysis is
completed.)
1 • High speed mode (Iron loss calculation
license is used during magnetic field analy-
sis.)
rotate_veloci- Integer Table ID for revolution speed.
ty_table_id
coef_1st_coil_tem- Double Temperature correction factor of primary coil
perature (ppm/K)
base_1st_coil_tem- Double Base temperature for primary coil (K)
perature
coef_2nd_coil_- Double Temperature correction factor of secondary coil
temperature (ppm/K)
base_2nd_coil_- Double Base temperature for secondary coil (K)
temperature
408
Creating JMAG-RT Models with JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
coef_2nd_resis- Double Secondary resistance correction factor
tance
coef_magnetiz- Double Magnetizing leakage inductance correction fac-
ing_inductance tor
coef_1st_leak- Double Primary leakage inductance correction factor
age_inductance
coef_2nd_leak- Double Secondary leakage inductance correction factor
age_inductance
coef_torque Double Torque correction factor
addition- Double Primary leakage inductance correction value
al_1st_leakage_in- (H)
ductance
addition- Double Secondary leakage inductance correction value
al_2nd_leak- (H)
age_inductance
coef_acloss Double Correction factor for AC loss
409
JMAG Version 22.2 User's Manual
JMAG-RT
Property Flag
Type (Type) Description
(propName) (scriptKeyName)
solver_parallel_- Flag Parallel computing function
type 0 • Non-parallel
1 • Shared memory type (SMP)
2 • Highly parallel distributed (MPP)
(Default: The value specified in the input JCF
file.)
num_solver_pro- Int SMP parallelism when solver_parallel_type =
cess 1.
Number of MPP processes when solver_paral-
lel_type = 2.
num_solver_- Int Number of MPP threads
thread Used when solver_parallel_type = 2
solver_mpp_host_- String Absolute path of MPP hosts file
file Used when solver_parallel_type = 2
flg_solver_gpu Using GPU for calculation processing
0 • Do not use GPU
1 • Use GPU
(Default: The value specified in the input JCF
file.)
flg_remote Flag Execution method
0 • Local execution
1 • Remote execution
num_process Int Number of processes
cpu_group_name String When using JMAG-RemoteSystem, specify the
“Server: Port ID: Group name”.
Example: 10.157.101.2:8888:test1
When using a remote machine with SSH, spec-
ify the remote machine name.
reservation_key String Reservation key
use_multi_license Flag Power simulation license
0 • Use
1 • Do not use
flg_recalculation Flag Calculation mode:
0 • Recalculate only the failed cases
1 • Recalculate all cases
flg_plot_file Flag Control result files:
0 • Export the distribution amount into result
1 files
• Do not export the distribution amount into
result files
flg_delete_result Flag Delete result files after calculation:
0 • Leave result files after calculation
1 • Delete result files after calculation
410
Creating JMAG-RT Models with JMAG-RT
Flag
Property Type
(scriptKeyNam Description
(propName) (Type)
e)
motor_type Flag WFSMotor Model type: wound-field synchronous motor
411
JMAG Version 22.2 User's Manual
JMAG-RT
Flag
Property Type
(scriptKeyNam Description
(propName) (Type)
e)
num_parallel_field_Coil Integer Circuit conversion for a field coil, number of
parallels
current_type Flag Current type
0 • dq axis current
1 • Amplitude, current phase
flg_nonlinear Flag Nonlinear high speed calculation
0 • Do no apply
1 • Apply
flg_torque_setting Flag Inductance and torque settings
0 • Use different settings
1 • Use same settings
flg_use_phase_symmetry Flag Symmetry of phase
0 • Do not use
1 • Use
flg_half_periodic Flag Inductance. Use half electrical angle periodicity.
0 • Do not use half electrical angle periodicity
1 • Use half electrical angle periodicity
inductance_cur- Integer Current amplitude table ID of stator coil
rent_table_id inductance
inductance_beta_table_id Integer Current phase table ID of stator coil inductance
inductance_field_- Integer Current table ID of field coil inductance
coil_table_id
inductance_angle_resolu- Double Inductance mechanical angle resolution (deg)
tion
torque_current_table_id Integer Current amplitude table ID of stator coil
torque
torque_beta_table_id Integer Current phase table ID of stator coil torque
torque_field_- Integer Current table ID of field coil torque
coil_table_id
torque_angle_resolution Double Torque mechanical angle resolution (deg)
flg_auto_calc Flag Specification method for the angle of one
period of torque
0 • Do not automatically calculate the angle of
one period from the number of poles
• Automatically calculate the angle of one
1
period from the number of poles.
periodic_angle Double Angle (deg) of one period of torque
412
Creating JMAG-RT Models with JMAG-RT
Flag
Property Type
(scriptKeyNam Description
(propName) (Type)
e)
flg_iron_loss Flag Consider iron loss
0 • Not considered
1 • Considered
flg_iron_loss_speed_up Flag Iron loss calculation mode
0 • Conventional mode (Iron loss calculation
license is used after magnetic field analysis is
completed.)
1 • High speed mode (Iron loss calculation
license is used during magnetic field analysis.)
flg_iron_loss_resolution Flag Rotate velocity
0 • Simple settings
1 • Advanced settings
max_rotate_velocity Double Maximum revolution speed (rpm).
Available if flg_iron_loss_resolution=0.
rotate_velocity_table_id Integer Table ID for revolution speed.
Available if flg_iron_loss_resolution=1.
coef_coil_temperature Double Temperature correction factor of stator coil
(ppm/K)
base_coil_temperature Double Base temperature for temperature correction of
stator coil (K)
coef_field_coil_tempera- Double Temperature correction factor of field coil
ture (ppm/K)
base_field_coil_tempera- Double Base temperature for temperature correction of
ture field coil (K)
coef_flux Double Correction value for flux linkage of stator coil
coef_flux_field_coil Double Correction value for flux linkage of field coil
coef_torque Double Correction value for torque
coef_material Double Correction value for steel sheet
turns_coil2 Double Correction value for the number of turns of sta-
tor coil
turns_coil2_field_coil Double Correction value for the number of turns of
field coil
coef_acloss Double Correction factor for AC loss
413
JMAG Version 22.2 User's Manual
JMAG-RT
Flag
Property Type
(scriptKeyNam Description
(propName) (Type)
e)
acloss_num_slots_per_ph double Slots per phase
ase
acloss_slot_width double Averaged slot width (m)
acloss_conductor_type Flag Conductor type
0 • Rectangle
1 • Round
acloss_conductor_height double Conductor height (m)
Specify this when acloss_conductor_type=0.
acloss_conductor_width double Conductor width (m)
Specify this when acloss_conductor_type=0.
acloss_conductor_diame- double Conductor diameter (m)
ter Specify this when acloss_conductor_type=0.
acloss_stack_length double Core stack (m)
acloss_conductivity double Conductivity (S/m)
414
Creating JMAG-RT Models with JMAG-RT
Flag
Property Type
(scriptKeyNam Description
(propName) (Type)
e)
cpu_group_name String When using JMAG-RemoteSystem, specify the
“Server: Port ID: Group name”.
Example: 10.157.101.2:8888:test1
When using a remote machine with SSH, spec-
ify the remote machine name.
reservation_key String Reservation key
use_multi_license Flag Power simulation license
0 • Use
1 • Do not use
flg_recalculation Flag Calculation mode:
0 • Recalculate only the failed cases
1 • Recalculate all cases
flg_plot_file Flag Control result files:
0 • Export the distribution amount into result
1 files
• Do not export the distribution amount into
result files
flg_delete_result Flag Delete result files after calculation:
0 • Leave result files after calculation
1 • Delete result files after calculation
Coil set
Format
coil_set ({coilSetIndex}): {propName} = {value}
Notes
• coilSetIndex is Int type. The coil set is automatically added by the number of the largest coil-
SetIndex.
• If there is no specified parameter in the automatically added coil set, it will be registered with the
default value.
• The default for coil set title is as follows:
English: Coil set # {currentCoilSetIndex}
Example
coil_set (1): title = U_coil 1
coil_set (3): title = W_coil 3
In this example, three coil sets are added.
• The titles of the first and third coil sets are as described.
415
JMAG Version 22.2 User's Manual
JMAG-RT
Format
motion_set ({motionId}): {propName} = {value}
Notes
• motionId is Int type. It refers to the ID of the motion condition on the JCF file.
Format
case_suppression_setting(index):{popName}={value}
Notes
• Indexes must be in serial. Indexes must not have any missing numbers.
• “model” and “study” are Int-type. These respectively refer to model IDs and study IDs in refer-
ence project files (.jproj).
Model IDs and study IDs cannot be confirmed in JMAG-Designer or JMAG-RT. Use the refer-
ence project file pro-ject.xml to confirm these instead.
A jfiles folder with the same name as the project file is located in the folder where the reference
project file is positioned. project.xml is located in that folder.
A <model id=”XX”> row and a <study id=“YY”> row are described in project.xml. The model
ID is displayed in the “XX” portion. The study ID is displayed in the “YY” portion.
For example, in the following project.xml, the model ID is 6, and the study ID is 2.
<?xml version="1.0" encoding="UTF-8"?>
<jproj>
<title><![CDATA[]]></title>
<model id="6">
<path><![CDATA[Generic~1]]></path>
<title><![CDATA[Generic]]></title>
<study id="2">
Example
case_suppression_setting(1):jproj="D:\JMAG\RT\Generic-01.jproj"
case_suppression_setting(1):model=6
case_suppression_setting(1):study=2
case_suppression_setting(1):neighborhood_level=1
416
Creating JMAG-RT Models with JMAG-RT
417
JMAG Version 22.2 User's Manual
JMAG-RT
418
Creating JMAG-RT Models with JMAG-RT
419
JMAG Version 22.2 User's Manual
JMAG-RT
420
Creating JMAG-RT Models with JMAG-RT
Notes
• The command line executions described here are supported by Windows and Linux.
• Users need to write scripts and define transferring the created input files and result files after cal-
culations and sending jobs to the job scheduler.
Call Command
When executing JMAG-RT processing, use ExecSolver. ExecSolver is a program to manage solver
programs such as magnetic field analysis (jam.exe) and JMAG-RT (RTMaker.exe).
Procedures
1. For Windows, set the InsDir, WorkDir, and Path environment variables.
Environment variable Value
InsDir JMAG installation folder (full path). Default value is “C:\Program
Files\JMAG-Designer22.2”.
WorkDir Calculation folder (full path)
Example: “D:\RT\RT_DATA-200101112233”.
JCF files used for calculations are created in the newly generated run
folders in the folder specified in WorkDir.
When executing multiple analyses simultaneously using JMAG-RT
from the command line, specify different calculation folders for each
calculation. For details, see “Notes on Simultaneous Analysis Execu-
tion from the Command Line (for Errors Caused by Jstage2 Files)” on
page 425.
PATH JMAG installation folder (full path). Default value is “C:\Program
Files\JMAG-Designer22.2”.
421
JMAG Version 22.2 User's Manual
JMAG-RT
When setting the environment variable from the command prompt, run the following com-
mands.
SET InsDir=(JMAG installation folder)
SET WorkDir=(calculation folder)
SET PATH=%PATH%;(JMAG installation folder)
Command examples are shown below. These commands are examples when the following set-
tings are specified.
• JMAG-Designer22.2 is installed with default settings.
• Specify the folder where the input JCF file of JMAG-RT is placed (D:\RT\RT_DATA-
200101112233) as the calculation folder.
SET InsDir=C:\Program Files\JMAG-Designer22.2
SET WorkDir=D:\RT\RT_DATA-200101112233
SET PATH=%PATH%;%InsDir%
2. For Linux, set the InsDir, WorkDir, LD_LIBRARY_PATH, and PATH environment variables.
Environment variable Value
InsDir JMAG installation directory (full path).
WorkDir Calculation directory (full path).
When executing multiple analyses simultaneously using JMAG-RT
from the command line, specify different calculation folders for
each calculation. For details, see “Notes on Simultaneous Analysis
Execution from the Command Line (for Errors Caused by Jstage2
Files)” on page 425.
LD_LIBRARY_PATH Directory where the shared library necessary for running analysis in
JMAG is located.
For the 64-bit version: “(JMAG installation directory) /solver/mod/
lib/linux64”.
PATH ExecSolver installation directory (full path).
MEMO In the case of Linux, environment variable names are case sensitive.
422
Creating JMAG-RT Models with JMAG-RT
Example: Windows
"C:\Program Files\JMAG-Designer22.2\ExecSolver.exe^
-rt_induct_jcf^
"D:\RT\RT_DATA-200101112233\GENERIC.jcf"^
"D:\RT\RT_DATA-200101112233\rtmotor.xml"
Example: Linux
/home/user/installation/JMAG222/solver/bin/ExecSolver\
-rt_induct_jcf\
"/home/user/rt/RT_DATA-200101112233/GENERIC.jcf"\
"/home/user/rt/RT_DATA-200101112233/rtmotor.xml"
MEMO Write only one option for specifying the mode such as [-rt_induct_jcf ], [-rt_torque_jcf ], [-
rt_ironloss_jcf ], [-rt], [-rt_post] for each executable statement. If multiple options are written, the
statement is not work properly.
MEMO In these examples, in order to enter a command spanning two or more lines, the escape char-
acter (^) or backslash (\) is used just before a line break. Use Windows or Linux Help for details on
the escape character.
423
JMAG Version 22.2 User's Manual
JMAG-RT
PM synchronous motor
• The input files (.jcf ) specified at the command line may or may not contain circuit settings.
• A JCF file for torque calculation cannot be created for LdLq models.
• An error will be written to a jlog file when the -rt_torque_jcf option is executed for a LdLq
model.
• When the -rt_torque_jcf option is executed for LdLq + spatial harmonic model, only a JFC
file for spacial harmonic torque calculation will be created, and a warning will be written to a
jlog file.
• -rt_ironloss_jcf option cannot be used for a spatial harmonic model. This is because Iron Loss
conditions are set on a JCF file for Flux or Inductance calculation for a spatial harmonic model,
and the magnetic field analysis JCF file set with the Iron Loss condition can be obtained by exe-
cuting the existing -induct_jcf=yes option.
• When -rt_ironloss_jcf option is executed for a spatial harmonic model, an error will be writ-
ten in the jlog file.
• When -rt_ironloss_jcf option is executed for a Ld Lq+ spatial harmonic model, only a JCF file
for iron loss calculation of LdLq will be created, and a warning will be written in the jlog file.
Generic Model
• The input file specified in the command must contain circuit information.
• The -rt_ironloss_jcf and -rt_torque_jcf options are not supported.
For generic models, all input files are generated using the -rt_induct_jcf option.
424
Creating JMAG-RT Models with JMAG-RT
Call process
The call process for job schedulers are as follows:
([HF6ROYHU 0RGXOHQDPH([HF6ROYHUH[Hʥ
-0$*57 0RGXOHQDPH570DNHUH[Hʥ
,QSXW-&)ILOH
0RGHWRFUHDWH-&)ILOHV
0RGHWRFUHDWH-&)ILOHV 0RGHWRFUHDWH-&)ILOHV
IRUFDOFXODWLQJIOX[OLQNDJH
IRUFDOFXODWLQJWRUTXH IRUFDOFXODWLQJLURQORVV
DQGLQGXFWDQFH
,QSXW-&)ILOHVIRU
,QSXW-&)ILOHVIRU ,QSXW-&)ILOHVIRU
FDOFXODWLQJIOX[OLQNDJH
FDOFXODWLQJWRUTXH FDOFXODWLQJLURQORVV
DQGLQGXFWDQFH
0RGHWRUXQDQDQDO\VLVIRUHDFK-&)ILOH
Ͳrt
XVLQJDMREPDQDJHPHQWV\VWHP
5HVXOWILOHVIRUIOX[OLQNDJHLQGXFWDQFHWRUTXHDQGLURQORVV
FDOFXODWLRQV
0RGHWRJHQHUDWH-0$*57PRGHOGDWDILOHV Ͳrt_post
2XWSXW577ILOH
Notes on Simultaneous Analysis Execution from the Command Line (for Errors
Caused by Jstage2 Files)
When JMAG-RT (RTMaker.exe) is executed, Jstage2 files are exported and are updated from as
needed. This file is exported to inform the GUI of the progress of the analysis execution. It has
information such as analysis execution elapsed time, degree of progress (%), and end time estimate.
When a JMAG-RT (RTMaker.exe) analysis is executed from the command line, Jstage2 files are
exported to the folder directly above the analysis output folder specified by environment variable
WorkDir. For example, if D:\RT\RT_DATA\run is specified in WorkDir, the Jstage2 files are
exported to D:\RT\RT_DATA.
425
JMAG Version 22.2 User's Manual
JMAG-RT
Therefore, if more than one analysis is executed simultaneously in folders at the same hierarchy level
from the command line, the times the Jstage2 files are exported may be the same causing analysis
execution failure.
Example: If Input1.jcf, Input2.jcf, and Input3.jcf are executed from the command line
simultaneously, from each analysis a Jstage2 file is exported to the RT_DATA folder
After change:
WorkDir="D:\RT\RT_DATA-200101112233\run1\work"
WorkDir="D:\RT\RT_DATA-200101112233\run2\work"
WorkDir="D:\RT\RT_DATA-200101112233\run3\work"
Example: Even if Input1.jcf, Input2.jcf, and Input3.jcf are executed from the command line
simultaneously, each Jstage2 file is exported to a different location
426
Creating JMAG-RT Models with JMAG-RT
MEMO For instructions on how to run RTMaker.exe directly from the command line, see User's Man-
ual for JMAG-Designer Version 16.1 or earlier.
427
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
• A set of control circuit simulation files written before JMAG-Designer 10.5 cannot be used for
the updated JMAG-RT data files.
It is necessary to use a set of files for the control circuit simulation written from JMAG-Designer
10.5 or later when using the updated JMAG-RT data files.
• When converting an RTT file to a new format, the calculation data generated when the relevant
file was created needs to be in the JMAG-RT Library Manager (JMAG-RT base model). Conver-
sion is not successful when only an RTT file is available.
• The [Creation Date] displayed in the [Data Information] tab is the date which the JMAG-RT
file was updated.
Procedures
1. Start the JMAG-RT Library Manager bundled in JMAG-Designer 10.5 or later.
2. Select the JMAG-RT base model shown as “Created” in the [Data Status] field from the
[RT Model Library] table of JMAG-RT and click [Modify].
Or, right-click the JMAG-RT base model in the [RT Model Library] table and select [Modify].
A message asking if you want to edit the current data is displayed.
3. Select [No].
A dialog to set each model type is displayed.
4. Check the information for the JMAG-RT model file displayed in the [Data Information]
tab.
5. Select [OK] and a message asking if you want to update the RTT file is displayed.
6. Select [Yes].
A report file is displayed whether or not updating the data has succeeded or not. Check the error
message that is displayed explaining the error if it occurs.
7. Copy the JMAG-RT model to the working folder for the circuit simulator.
The RTT file that is created to the working folder is converted to the new format.
428
Settings and Notes for Creating JMAG-RT Models
This chapter describes the following points for each model type of JMAG-RT model:
• Notes and restrictions on model types
• Rules and notes for creating input JCF files for JMAG-RT
• Parameters in the JMAG-RT Library Manager
429
JMAG Version 22.2 User's Manual
JMAG-RT
430
Settings and Notes for Creating JMAG-RT Models
431
JMAG Version 22.2 User's Manual
JMAG-RT
Analysis type
• Create a FEM model for a magnetic field transient analysis.
Analysis conditions
• Set the Rotation Motion condition and select [Constant Revolution Speed] in [Displacement
Type]. Even if a different type is selected, [Constant Revolution Speed] is used in FEA with
JMAG-RT.
• The initial position of the rotor can be set to any position. JMAG-RT automatically determines
the position for the current phase at zero based on the flux linkage calculation when creating a
JMAG-RT model.
• When creating a spatial harmonic (differential) JMAG-RT model, specify a Torque condition. It
does not matter which calculation method (nodal force, Lorentz force, or surface force) in the
Torque condition is used. If multiple Torque conditions are set in a JCF file, the Torque condi-
tion displayed at the top of the JMAG-Designer [Project Manager] tree is used.
When creating an Ld, Lq JMAG-RT model, a Torque condition is not required.
For details about spatial harmonic models and LdLq models, see “PMSM/SynRM JMAG-RT
Model Type (LdLq, Spatial Harmonic)” on page 435.
• Set Iron Loss conditions when accounting for iron loss during calculation. Also, select any
method other than [Hysteresis Model] as the calculation method for [Hysteresis Loss] and any
method other than [Eddy Currents in Steel Plate] as the calculation method for [Joule Loss].
When multiple Iron Loss conditions are set to FEM models, the sum of loss calculated from each
Iron Loss condition is output to the JMAG-RT model lookup tables.
However, depending on the [Motor Model] and [Drive Type] settings in JMAG-RT Library
Manager, it may not be possible to take iron loss into account. Please refer to the explanation on
[Allow Iron Loss].
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
• Set three FEM Coil conditions for 3-phase motors. Set six FEM Coil conditions for 6-phase
motors.
A JMAG-RT model cannot be created if the number of FEM Coil conditions set in the FEM
model is too small or too large. JMAG-RT performs calculations assuming that one FEM Coil
condition corresponds to one phase coil.
When creating a JMAG-RT model based on an FEM model in which each phase coil consists
of multiple FEM coils
FEM Coil condition coil sets are in series. It is for this reason that when modeling coils connected in
parallel with JMAG-Designer, different FEM Coil conditions are usually set for each coil.
However, it is necessary that FEM models used in JMAG-RT are set with three FEM Coil condi-
tions for 3-phase motors, and set with six FEM Coil conditions for 6-phase motors (one for each
phase).
432
Settings and Notes for Creating JMAG-RT Models
Therefore, when creating a JMAG-RT model based on an FEM model in which each phase coil
consists of multiple FEM coils, change the FEM Coil condition settings and circuit conversion set-
tings in JMAG-Designer.
Example of change
The 3-phase model in this example has 24 slots, and each slot has two coils. Each phase coil con-
sists of a total of 8 coil components. The resistance value of each phase coil is 1 ohm.
Example model
[Study Properties]
Model divisions JMAG-RT Library Manager
Circuit Conversion
1/4 model [Resistance] under the [Create] Select [Convert (Series/Parallel)]
tab: 1ohm [Series]: 4/8 = 0.5
[Parallel]: 8
Note
• When this change is made, circulating currents flowing in parallel sections of the circuit are
not taken into account by FEA in JMAG-RT. Use the motor type [Generic Model] when tak-
ing into account the circulating current.
Meshing
• Generate a mesh using one of the following methods. Selection of [Standard Meshing], [Slide
Mesh], or [Generate Mesh at Each Step] is done in the [Mesh Properties] dialog.
• [Standard Meshing] + [FEM+BEM]:
The [FEM+BEM] can be selected under [Calculation Method] in the [Study Properties] dia-
log only for a 2D model.
• [Standard Meshing] + Slide condition manual setting
433
JMAG Version 22.2 User's Manual
JMAG-RT
• [Slide Mesh]:
The Slide condition is automatically set when the Rotation Slide Mesh option is used to gen-
erate the mesh.
• [Generate Mesh at Each Step] (patch mesh function)
• It is recommended to apply a rotation periodic mesh. The Rotation Periodic Mesh function is a
function to generate a symmetric mesh in the vicinity of gap parts for models with rotational
periodicity.
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
Other notes
• It is not necessary to associate FEM Coil conditions with FEM Coil components. It is not neces-
sary to create the circuit itself. For FEM Coil conditions that are not associated with FEM Coil
components a warning is displayed in the [Project Manager] tree in JMAG-Designer, however
there is no need to modify it.
• JMAG-RT cannot perform calculations that account for eddy currents. Even if [Allow Eddy
Current] or [Calculate Distribution in Steel Plate] is selected from the [Eddy Currents] list in the
material properties for a part, eddy currents cannot be accounted for.
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened.
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
434
Settings and Notes for Creating JMAG-RT Models
435
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
• The JMAG-RT model type can be selected in the [Select Motor Model] dialog (See step3 at
“Creating JMAG-RT Model Using FEA Results” on page 334).
However, for a 3-phase motor, the JMAG-RT model type can be changed in the [Create] tab of
the [PM Synchronous Motor] dialog of JMAG-RT Library Manager even after loading the FEM
model.
• The LdLq model and spatial harmonic models employ a different method of calculation. Hence
calculation time. when checking [LdLq Model] and [Spatial Harmonic Model] is a summation
of calculation time. for each [LdLq Model] and [Spatial Harmonic Model].
• The simple spatial harmonic model supported by JMAG-Designer 10.4 or older versions are
integrated into the spatial harmonic (differential) model. Setting for the simple spatial harmonic
model in the old JMAG-RT model can be displayed in the latest JMAG-RT Library Manager,
but the simple spatial harmonic model type cannot be selected when creating a new motor
model.
Adding a spatial harmonic (integral) model to an RTT file created before Version
18.1
ExecSolver can be used to create RTT files containing spatial harmonic (integral) model result data
from RTT files containing 3-phase motor spatial harmonic (differential) model result data.
Notes
• A JMAG-RT license is used whenever commands are executed.
• RTT files used as input for this command must satisfy the following conditions.
436
Settings and Notes for Creating JMAG-RT Models
• 3-phase motors are used. It is not possible to create spatial harmonic (integral) models from
6-phase spatial harmonic (differential) models.
• [Model Type] is [PM Synchronous Motor].
• spatial harmonic (differential) model result data is output.
LdLq model result data alone cannot be created from RTT files.
• When this command is executed, a Run folder is created in the execution folder specified by the
environment variable “WorkDir”. The RTT file that contains both the spatial harmonic (differ-
ential) model and the spatial harmonic (integral) model is exported in the Run folder. The spatial
harmonic (differential) model data in the exported RTT file is the same as the input RTT file.
• Linux
Variable Value
InsDir Directory where JMAG is installed (absolute path).
WorkDir Full path of the directory to which temporary files, result files, restart files,
etc. generated during analysis are written.
E.g.: “/usr/work/Analysis.”
LD_LIBRARY_PATH Directory where the shared library necessary for running analysis in JMAG
is located.
For the 64-bit version: “JMAG_install_directory/solver/mod/lib/linux64.”
Execution
Command structure:
./ExecSolver.exe -rt_post_flux_int [rtt file path]
437
JMAG Version 22.2 User's Manual
JMAG-RT
MEMO From JMAG-Designer Version 17.1 on there is no longer a [Motor Characteristics] tab. The
settings under the [Motor Characteristics] tab are inherited by the results data export function. See
“Exporting Results Data from a JMAG-RT Model to a File” on page 372.
[Information] Tab
The [Information] tab manages information in the JMAG-RT model.
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model Name]
column in the [RT Model Library] table in the JMAG-RT Library
Manager.
[Created By] Entering this item is optional.
[File Name], These items are automatically entered by JMAG-RT.
[Motor Type],
[Creation Data],
[JMAG Version],
[RTT File Version],
[Model Type]
[Motor Information]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Weight (kg)], Entering these item is optional.
[Shaft Length (m)], Values entered here are not used for calculation to create a
[External Diameter (m)], JMAG-RT model.
[Moment of Inertia (kgm2)],
[Rated Speed (rpm)],
[Rated Output (kW)],
[Rated Current (A)],
[Rated Voltage (V)]
438
Settings and Notes for Creating JMAG-RT Models
Item Description
[Number of Poles] This item is automatically entered after completion of cal-
culation for JMAG-RT model creation.
[d-axis Offset Angle (deg)] This item is automatically entered after calculation to cre-
ate JMAG-RT model is finished. The value of θ shown
below is displayed here.
Ψa = Ψf × (3 ⁄ 2)
439
JMAG Version 22.2 User's Manual
JMAG-RT
Item Description
LdLq model
The average values of all data points in the Ld table and Lq
table are output, which depend on both current amplitude
and current phase.
For Ld and Lq (the data points in the Ld and Lq tables), see
“Definition formulas for d- and q-axis inductance” below.
6-phase motor:
[U1 Phase Leakage Inductance (H)],
[V1 Phase Leakage Inductance (H)],
[W1 Phase Leakage Inductance (H)],
[U2 Phase Leakage Inductance (H)],
[V2 Phase Leakage Inductance (H)],
[W2 Phase Leakage Inductance (H)]
[Number of Turns] This item is automatically entered after completion of cal-
culation for JMAG-RT model creation.
3 3
I d = – --- I sin ( βπ ⁄ 180 ) Iq = --- I cos ( βπ ⁄ 180 )
2 2
L dd , L qs : d-axis dynamic inductance (H) and q-axis static inductance (H)
I d , I q : d-axis and q-axis phase current in the coil (A)
φ d , φ q : d-axis and q-axis total magnetic flux (Wb)
I : current amplitude (A)
β : current phase (deg)
440
Settings and Notes for Creating JMAG-RT Models
• SynRM:
φd φq
L ds = ----- L qs = -----
Id Iq
Id = – 3
3
--- I sin ( βπ ⁄ 180 ) Iq = --- I cos ( βπ ⁄ 180 )
2 2
L ds , L qs : d-axis and q-axis static inductance (H)
I d , I q : d-axis and q-axis phase current in the coil (A)
φ d , φ q : d-axis and q-axis total magnetic flux (Wb)
I : current amplitude (A)
β : current phase (deg)
However, the d-axis inductance for a permanent magnet assisted SynRM is defined by the fol-
lowing formula:
L ds = (φ d – φ magnet d ) ⁄ I d
φ magnet d : d-axis magnet magnetic flux (Wb).
The flux linkage for the FEM coil when the current is zero.
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in JMAG-
RT Viewer, the contents in this column are displayed in JMAG-
RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-RT
Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in JMAG-
RT Viewer, the contents in this column are displayed in JMAG-
RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-RT
Viewer.
[LdLq Inductance Resolution] When 3-phase motors are used and [LdLq model] is selected, these
parameters are automatically entered when calculations for creat-
ing JMAG-RT models end.
[Harmonic Flux Resolution], When 3-phase motors are used and [Special Harmonic] is selected,
[Harmonic Inductance Resolu- these parameters are automatically entered when calculations for
tion], [Harmonic Torque Resolu- creating JMAG-RT models end.
tion]
441
JMAG Version 22.2 User's Manual
JMAG-RT
Item Description
[Flux Resolution], [Inductance These parameters are automatically entered when calculations for
Resolution], [Torque Resolution] creating 6-phase JMAG-RT models end.
Resolution is output for each coil set for 6-phase motors.
MEMO When selecting [Spatial Harmonic Model] with [Torque setting is same as inductance] in the
[Create] tab also selected, being affected by the following parameters, the mechanical angle calculation
range of inductance and torque will change as shown in the table below.
• [Use half electrical angle periodicity] in the [Create] tab.
• [Use auto angle resolution setting for saving time] in the [Create] tab.
Use auto angle Mechanical angle Mechanical angle
Use half electrical
resolution setting for calculation range of calculation range of
angle periodicity
saving time inductance torque
OFF OFF 1 period 1 period
ON OFF 1/2 period 1/2 period
OFF ON 1/2 period 1/6 period
ON ON 1/2 period 1/6 period
[Output Port]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in JMAG-
RT Viewer, the contents in this column are displayed in JMAG-
RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-RT
Viewer.
Output port table The settings under the [Output Port] tab are automatically filled in.
[Winding Conductors]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in JMAG-
RT Viewer, the contents in this column are displayed in JMAG-
RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-RT
Viewer.
[Conductors in Slot Height], When the conductor wire specifications are specified on the [Wind-
[Conductors in Slot Width], ing Conductor] tab, these parameters are automatically entered
[Slots per Phase], [Averaged Slot when calculations for creating JMAG-RT models end.
Width (m)], [Conductor Type],
[Conductor Height (m)], [Con-
ductor Width (m)], [Conductor
Diameter (m)], [Core Stack
Length (m)], [Conductivity (S/
m)]
442
Settings and Notes for Creating JMAG-RT Models
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
[Create] Tab
The [Create] tab specifies the parameters for the FEA required to create a JMAG-RT model.
[Number of Poles]
Specifies the number of poles for the motor.
443
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Ignore the difference This option can be used when [Specified] is selected in [Rotor Initial Position
from automatic calcu- (deg)].
lation] When this option is used, processing for no-load analysis and load analysis is
run together. Therefore, the calculation time. is shorter compared to when the
option is not used.
• Selected (default):
Load analysis is run even when there is a difference of electrical angle ±5deg
or more between the initial position (deg) calculated in no-load analysis and
the value entered in the [Rotor Initial Position (deg)] box.
When the checkbox is selected, operations are processed in the following
order:
(1). Create input JCF files for no-load analysis and load analysis.
(2). Run no-load analysis and load analysis.
(3). Calculate the rotor initial position from the result of the no-load analy-
sis.
(4). Output a warning message to the solver report when there is a difference
between the calculated initial position and the value entered in the [Rotor
Initial Position (deg)] box.
(5). Create RTT files from the results of the no-load analysis and load analy-
sis.
• Cleared:
Load analysis is canceled when there is a difference of electrical angle ±5deg
or more between the initial position (deg) calculated in no-load analysis and
the value entered in the [Rotor Initial Position (deg)] box.
When the checkbox is cleared, operations are processed in the following
order:
(1). Create an input JCF file for no-load analysis.
(2). Run no-load analysis.
(3). Calculate the rotor initial position from the result of the no-load analy-
sis.
(4-1). Cancel the no-load analysis when there is a difference between the cal-
culated initial position and the value entered in the [Rotor Initial Position
(deg)] box. Do not proceed to (5) and (6).
(4-2). Create an input JCF file for load analysis when there is no difference
between the calculated initial position and the value entered in the [Rotor
Initial Position (deg)] box.
(5). Run load analysis.
(6). Create RTT files from the results of no-load analysis and load analysis.
444
Settings and Notes for Creating JMAG-RT Models
Rotation Rotation
direction direction
Distributed Concentrated
winding winding
Rotation Rotation
direction direction
Distributed Concentrated
winding winding
Parameter Description
[Number of Turns] Specify the number of coil turns for each phase.
The value specified here is applied to all coils.
The value specified here is used for FEA in JMAG-RT.
[Connection Pattern] Select either [Y-connection] or [Delta-connection] for 3-phase motors.
[Y-connection] [Delta-connection]
445
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Resistance (ohm)] Specify the resistance value of the coil.
When performing circuit calculations using JMAG-Designer
or PSIM, the value specified here is used as the default value.
When performing circuit calculations using Simulink, the
value specified here is not used.
3-phase motor: Specify these values when accounting for leakage inductance
[U Phase Leakage Inductance (H)], during NT curve calculation and efficiency map calculation
[V Phase Leakage Inductance (H)], with JMAG-RT Viewer or circuit calculation using Sim-
[W Phase Leakage Inductance (H)] ulink.
Leave it at zero when it is not being accounted for.
6-phase motor:
[U1 Phase Leakage Inductance (H)], The problem will be solved as if the coil with the specified
[V1 Phase Leakage Inductance (H)], leakage inductance value is connected in series with the coil
[W1 Phase Leakage Inductance (H)], of each phase when a value other than zero is specified.
[U2 Phase Leakage Inductance (H)], The value in the [Leakage Inductance] box of the FEM Coil
[V2 Phase Leakage Inductance (H)], component in the input JCF file is displayed as the default
[W2 Phase Leakage Inductance (H)] value of leakage inductance.
Type Description
[Simple Settings] Determines data points from the ranges of rated current and current phase.
Specify the following:
• [Rated Current (A)]:
Phase current amplitude.
The created JMAG-RT model has data in the range of 1/2 to 3 times the
specified rated current. There are seven data points for current, and the
range from the rated current to three times the rated current is divided
equally into six points.
Ex: If the rated current is 1 A, the following table is created.
0.5 1.0 1.4 1.8 2.2 2.6 3
446
Settings and Notes for Creating JMAG-RT Models
Type Description
[Advanced Settings] Uses user-specified data points for FEA via JMAG-RT.
Click [Setting] to open the [Advanced Settings of Current] dialog and
specify the following parameters.
• [Amplitude (A)]:
Click [Point Sequence] to open the [Current Point Sequence] dialog and
specify a table for the phase current amplitude.
• Set the current table to include the range of current values that are
input to the JMAG-RT model during a control circuit simulation. If
the value range of the current table is not sufficiently large, then it may
not be possible to account for the effects of magnetic saturation during
a control circuit simulation.
• If a current that exceeds the value range of the current table is input to
the JMAG-RT model during a control circuit simulation, then the
JMAG-RT model will output the inductance and torque values at the
maximum or minimum current.
• [Current Phase (deg)]:
Click [Point Sequence] to open the [Current Phase Point Sequence] dia-
log and specify a table for the current phase.
Values can be created for each point in a table based on the range that is
determined from the minimum and maximum values and the number of
divisions for that range. Click [Create Point Sequence] to open the [Create
Point Sequence] dialog. Enter values for [Min], [Max], and [Division], and
click [OK] to add the values to the [Current Point Sequence] dialog or the
[Current Phase Point Sequence] dialog.
If the ratio of the resolution to [Max] is less than 1.0e-4, then errors may
occur in JMAG-RT calculations. The resolution is the value that is the dif-
ference between [Min] and [Max] which is then divided by [Division].
Parameter Description
[Resolution Point Specifies a resolution to expand Id and Iq axes data into amplitude and
Sequence] phase axes data.
447
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Drive Type] By selecting the excitation method when creating a JMAG-RT model, a
current waveform pattern supported by the JMAG-RT model is defined.
Select one of the following:
• [Sine Wave Drive]:
Select when it is guaranteed that the sum of the instantaneous current
flowing in each coil of the motor is zero. For example, in a Y-connection,
it is guaranteed that the sum of the instantaneous current of each coil is
zero, even with 120-degree excitation or when one phase is disconnected.
However, by setting the zero-phase sequence current, current unbalance
can be expressed even when [Sine Wave Drive] is selected. See the
description on [Set zero phase sequence current].
• [Other]:
Select when the sum of the instantaneous current flowing in each coil of
the motor is not guaranteed to be zero. For example, when the current
flow reverses in a delta connection.
The time taken to create a JMAG-RT model differs depending on the cur-
rent waveform pattern.
• When [Sine Wave Drive] is selected, FEA used for creating a JMAG-RT
model is performed in which parametric analysis on two variables - the
current spatial vector amplitude and phase - is performed.
• When the [Other] is selected, FEA used for creating a JMAG-RT model
is performed in which parametric analysis on three variables - Iu, Iv, Iw
each a coil current - is performed.
MEMO For 6-phase motors, only [Sine Wave Drive] is supported as the
[Drive Type].
[Table Type] This option is displayed only for 6-phase motors.
Current phase differences are used as axes in the JMAG-RT model lookup
tables. Here, select the type of current phase difference to be used as the
axis.
• [Use current phase angle difference between coil sets as axis of tables]:
The phase difference between the current vector of coil set 1 and the cur-
rent vector of coil set 2 is used as the axis value. When this option is
selected, set [Coil set 1 current phase (deg)] and [Current phase angle
difference between coil sets (deg)] in [Inductance] and [Torque]. If there
is a current phase delay in coil set 2, relative to coil set 1, set negative
phrase differences.
• [Use current phase of each coil set as axis of tables]:
The phase of the phase current in each coil set is used as the axis value.
When this option is selected, set [Coil set 1 current phase (deg)] and
[Coil set 2 current phase (deg)] in [Inductance] and [Torque].
448
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Calculation Method for This option is displayed when using a 3-phase PMSM and selecting [[Sine
Circuit/Control Simula- Wave Drive] for [Drive Type].
tor] Select one of the following:
• [Differential Method]:
Outputs a lookup table of the differential method model to the RTT file.
• [Differential Method and Integral Method]:
Outputs lookup tables of the differential method model and integral
method model to the RTT files.
Note the following:
• When a JMAG-RT base model is opened which does not have an RTT
file created, [Differential Method] is selected by default. When a JMAG-
RT base model is opened which does have an RTT file created, [Differ-
ential Method] or [Differential Method and Integral Method] will be
selected according to the content of that RTT file.
• When all of the following conditions are satisfied, the lookup tables of
integral method models will not be output to RTT files even if [Differen-
tial Method and Integral Method] is selected.
• [Specified] is selected for [Rotor Initial Position (deg)].
• The difference between the automatically calculated initial position
and the user-specified initial position is greater than 0.1 (deg) in elec-
trical angle.
• Even if [Differential Method] is selected here and the RTT file is created,
the lookup table of the integral method model can be added to the RTT
file later by one of the following methods:
• Execute the ExecSolver + -rt_post_flux_int option (page 436).
• Change [Calculation Mode] to [Recalculate Only Failed Case], select
[Differential Method and Integral Method] from [Differential
Method], and recreate RTT files.
[Auto Setting] Use this button to automatically set [Amplitude] (or [Current]) and [Cur-
rent Phase] data points.
The [Amplitude] (or [Current]) data points are created using a rated cur-
rent. Click [Auto Setting] to open the [Auto Setting] dialog. For [Sine
Wave Drive], enter a phase current amplitude in [Rated Current (A)]. For
[Other], enter an instantaneous value of the current in [Rated Current
(A)]. A range is created whose maximum value is three times the value
entered.
Seven data points are created. However, if the minimum value among the
calculated data points is greater than 0.1 A, 0.1 A is inserted into the table,
making the number of data points eight.
449
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Apply nonlinear fast Select this checkbox to speed up the processing of nonlinear calculations.
solver] A differential inductance is calculated from a specified current and a cur-
rent slightly larger than this specified current.
When [Apply nonlinear fast solver] is selected, the specified current calcu-
lation results are used as the initial values for the slightly larger current cal-
culations.
MEMO When this checkbox is selected, the [Use High Speed Solver]
option is used. This option can be set in the [Nonlinear Calculation] set-
ting panel of the [Study Properties] dialog in JMAG-Designer.
MEMO The [Apply nonlinear fast solver] option cannot be used for 6-
phase motors.
[Torque setting is same as This checkbox becomes active after selecting [Sine Wave Drive] for [Drive
inductance] Type].
• Selected:
When this is selected, the setting of the current resolution for inductance
also applies to the setting of the current resolution for torque.
• Cleared:
When this is selected, different current resolution can be set for torque
and inductance. In this case, the current resolution for magnetic flux uses
the same setting as the current resolution for inductance.
[Use phase symmetry] This checkbox becomes active when a 3-phase motor is used and [Sine
Wave Drive] is selected for [Drive Type].
• Selected:
Assumes that the magnetic flux, torque, and inductance of the motor
have symmetry with respect to phase and executes FEAs only within the
phase range of -90 to +90 degrees of electrical angle. Based on the results,
FEAs for the remaining phase range (+90 to +270 degrees) are performed
in post processing.
With these settings, the FEA resolution (number of cases) is reduced by
about half, so it is possible to greatly reduce the time taken to create a
JMAG-RT model. In addition, since the results data stored in the
JMAG-RT model is reduced, the file size of the JMAG-RT model is
reduced.
• Cleared:
FEAs in the phase range of 0 to 360 degrees of electrical angle are per-
formed assuming that the magnetic flux, torque, and inductance of the
motor have no symmetry with respect to phase.
When [Use phase symmetry] is selected, no physical quantity output under
the [Output Port] tab can be set.
Note that there are limitations when using the [Consider Phase Symmetry]
option with a 6-phase motor.
• Select [Use current phase of each coil set as axis of tables] in [Table
Type]. This option is not available when [Use current phase angle differ-
ence between coil sets as axis of tables] is selected.
• The angle difference between the U1 and U2 axes must be +30 degrees
or -30 degrees in electrical angle (see figure below).
450
Settings and Notes for Creating JMAG-RT Models
Left and Center: The angle difference between the U1 and U2 axes is +30 degrees or -30 degrees,
Right: The angle difference between the U1 axis and the U2 axis is greater than 30 degrees
[Inductance]
Specifies the inductance data point to be used when creating a JMAG-RT model.
Parameter Description
[Use half electrical angle Select [Use half electrical angle periodicity] when the angle dependency for
periodicity] inductance in each phase has periodicity per 1/2 electrical angle.
The periodicity is used where the calculation time. can be reduced when
creating a JMAG-RT model.
3-phase motor and [Sine Click [Point Sequence] to open the [Current Point Sequence] dialog.
Wave Drive]: For [Sine Wave Drive], enter one or more values for the phase current
[Amplitude (A)] amplitude. For [Other], enter one or more instantaneous values of the cur-
3-phase motor and rent.
[Other]: • Set the current point sequence to include the range of current values that
[Current (A)] are input to the JMAG-RT model during a control circuit simulation.
6-phase motor: • When [Others] is selected for [Drive Type] and the control circuit simu-
[Coil set1 current ampli- lation using the RTT file to be created supplies the motor with AC tak-
tude (A)], [Coil set2 cur- ing positive and negative values such as sine wave and square wave, enter
rent amplitude (A)] the positive and negative values (e.g., -10, -5, -2, -1, 1, 2, 5, 10).
• 0 A cannot be added to the point sequence in [Inductance].
• Based on the range determined from the minimum and maximum values
and the number of divisions for that range, a value can be created for
each point in the point sequence. Click [Create Point Sequence], enter
values for [Min], [Max], and [Division], and click [OK].
If the ratio of the resolution to [Max] is less than 1.0e-4, errors may
occur in JMAG-RT calculations. Resolution is the difference between
[Min] and [Max] divided by [Division].
Control circuit simulation
• When a current of 0 A is input to the JMAG-RT model, the JMAG-RT
model outputs the inductance and torque values obtained from the no-
load analysis that is run when creating the JMAG-RT model.
• If a current that exceeds the value range of the current point sequence is
input to the JMAG-RT model, the JMAG-RT model outputs the induc-
tance and torque values at the maximum or minimum current.
451
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
3-phase motor: Click [Point Sequence] to open the [Current Phase Point Sequence] dialog
[Current Phase (deg)] and enter two or more current phase values.
• When [Use phase symmetry] is selected, specify current phases in a range
6-phase motor:
between -90 and +90 degrees of the electrical angle.
[Coil set1 current phase
(deg)], [Coil set2 current • When [Use phase symmetry] is cleared, specify current phases within a
phase (deg)] range between 0 and 360 degrees of the electrical angle.
• Values can be created for each point in a table based on the range that is
determined by the minimum and maximum values and the number of
divisions for that range. Click [Create Point Sequence] to open the [Cre-
ate Point Sequence] dialog. Enter values for [Min], [Max], and [Divi-
sion], and click [OK] to add the values to the [Current Phase Point
Sequence] dialog.
If the ratio of the resolution to [Max] is less than 1.0e-4, then errors may
occur in JMAG-RT calculations. The resolution is the value that is the
difference between [Min] and [Max] which is then divided by [Division].
• When 6-phase motors are used and [Use current phase angle difference
between coil sets as axis of tables] is selected for [Table type], [Coil set 2
current phase (deg)] is not displayed.
6-phase motor: Specify this parameter when using 6-phase motors and selecting [Use cur-
[Current phase angle dif- rent phase angle difference between coil sets as axis of tables] for [Table
ference between coil sets type].
(deg)] Click [Point Sequence] to open the [Current phase angle difference
between coil sets Point Sequence] dialog and specify the table of the phase
difference between the current vector of coil set 1 and the current vector of
coil set 2.
[Use zero phase sequence [Use zero phase sequence current] is displayed when the following condi-
current] tions are met:
• 3-phase PMSM
• [Spatial Harmonic Model] is selected for [Motor Model].
• [Sin Wave Drive] is selected for [Drive Type].
452
Settings and Notes for Creating JMAG-RT Models
Parameter Description
• Values can be created for each point in a table based on the range deter-
mined by the minimum and maximum values and the number of divi-
sions for that range. Click [Create Point Sequence] and enter values for
[Min], [Max], and [Division]. Click [OK] to add the values to the [Cur-
rent Phase Point Sequence] dialog.
If the ratio of resolution to [Max] is less than 1.0e-4, then errors may
occur in JMAG-RT calculations. The resolution is the value that is the
difference between [Min] and [Max] which is then divided by [Division].
453
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
When [Use auto angle resolution setting for saving time] is selected, the
automatically changed mechanical angle calculation range and mechanical
angle resolution are calculated using the following equations.
2 ⋅ 360 1
R = ----------------- ⋅ ---
p 6
R
θ new = --------------
R
-------
θ in
p : number of poles
R : mechanical angle calculation range (deg). For details, see “[Informa-
tion] Tab” on page 438.
* : smallest integer greater than or equal to a real number
When [Use auto angle resolution setting for saving time] is selected, no
physical quantity output under the [Output Port] tab can be set.
Use [Use auto angle resolution setting for saving time] when mesh includ-
ing the gap part in the FEM model is symmetric along the rotation axis. To
be specific, symmetricity for each mechanical angle equivalent to 1/6 elec-
tric periodic angle is necessary. Calculation accuracy will decrease when this
flag is used for an FEM model with non-symmetric mesh.
MEMO The [Use auto angle resolution setting for saving time] option
cannot be used for 6-phase motors.
[Mechanical Angle Reso- Specifies the rotor position data resolution.
lution (deg)] The spatial harmonic component orders that can be captured by a cre-
ated JMAG-RT model vary depending on the mechanical angle resolu-
tion. The relationship between the maximum order that can be
captured and the mechanical angle resolution is as follows:
Maximum mechanical angle resolution = 360/(number of pole pairs)/
((maximum order)/2)
For example, to capture the 24th-order torque ripple with an 8-pole
motor and a fundamental frequency with a period that is 1 electrical
angle period, it is necessary to specify a mechanical angle resolution of
7.5 deg or smaller.
360/(8/2)/(24/2)=7.5deg
454
Settings and Notes for Creating JMAG-RT Models
[Torque]
Specifies the torque data point to be used when creating a JMAG-RT model.
Parameter Description
3-phase motor and [Sine See the description for [Amplitude (A)] in [Inductance].
Wave Drive]:
[Amplitude (A)]
3-phase motor and
[Other]:
[Current (A)]
6-phase motor:
[Coil set1 current ampli-
tude (A)], [Coil set2 cur-
rent amplitude (A)]
3-phase motor: See the description for [Current Phase (deg)] in [Inductance].
[Current Phase (deg)]
6-phase motor:
[Coil set1 current phase
(deg)], [Coil set2 current
phase (deg)]
6-phase motor: See the description for [Current phase angle difference between coil sets
[Current phase angle dif- (deg)] in [Inductance].
ference between coil sets
(deg)]
[Use zero phase sequence See the description for [Use zero phase sequence current] in [Inductance].
current]
[Use auto angle resolu- See the description for [Use auto angle resolution setting for saving time] in
tion setting for saving [Inductance].
time]
[Mechanical Angle Reso- See the description for [Mechanical Angle Resolution (deg)] in [Induc-
lution (deg)] tance].
[Calculate Rotation This checkbox becomes active after selecting [Sine Wave Drive] for
Angle from the Number [Drive Type].
of Poles] • Selected:
The angle of one period of torque ripple is automatically calculated from
the number of poles. The equation is as follows:
360 1
θ mech = --------- × ---
pn 6
455
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Periodic Angle of Torque When selecting [Sine Wave Drive] as [Drive Type], enter a mechanical
(deg)] angle corresponding to one period of torque ripple.
When selecting [Other] as [Drive Type], enter a mechanical angle corre-
sponding to one period of electrical angle.
For example, if the mechanical angle resolution is 1 degree and [Periodic
Angle of Torque (deg)] is “30”, computations are performed for 1 degree to
30 degrees for a total of 30 steps (one step per degree).
[Iron Loss]
Parameter Description
[Allow Iron Loss] • Cleared:
Iron loss is not accounted for in FEA for JMAG-RT model creation.
• Selected:
Iron loss is accounted for FEA for JMAG-RT model creation.
When a JMAG-RT model with iron loss data is used in a control circuit
simulation, the JMAG-RT model outputs the value after subtracting the
torque corresponding to the iron loss.
T ' = T – W iron ⁄ ω
T ' : torque (N·m) that takes into account iron loss
T : torque (N·m) that does not take into account iron loss
W iron : iron loss (W)
ω : angular velocity (rad/s)
456
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Analysis Mode] When starting to create JMAG-RT models using magnetic field analysis
input files that are set with Iron Loss conditions, magnetic field analysis is
executed first. After magnetic field analysis has completed, iron loss analysis
is executed next.
The timing for when to obtain iron loss analysis solver licenses is specified
under [Analysis Mode]. Select either of the following:
• [High Speed Mode (Use Iron Loss License During Magnetic Field Anal-
ysis]:
Iron loss analysis solver licenses are also secured in addition to magnetic
field analysis solver licenses at the same time that magnetic field analysis
begins.
Iron loss analyses can start smoothly and without issue after magnetic
field analyses have completed. Iron loss analysis solver licenses that are
currently secured cannot be used with other jobs, however.
• [Conventional Mode (Use Iron Loss License After Magnetic Field Analy-
sis is Completed)]:
Once magnetic field analyses have completed, the process for obtaining
iron loss analysis solver licenses begins.
No loss in time occurs if there exists iron loss analysis solver licenses that
are not being used at the point where magnetic field analyses have com-
pleted. If there are no iron loss analysis solver licenses that are not being
used, however, then a waiting status will occur until iron loss analysis
solver licenses are released.
Default settings are those that were configured in the [Iron Loss condition]
setting panel of the [Study Properties] dialog when magnetic field analysis
input files were created.
457
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Rotate Velocity] Select the rotation speed resolution setting method to be used when creat-
ing a JMAG-RT model. The iron loss at each rotation speed specified is
output to a JMAG-RT model.
• [Simple Settings]:
Specifies the resolution automatically based on the value of maximum
rotation speed.
Enter the value in [Maximum Revolution Speed (rpm)].
The model calculation process will use speed increments fifth part of the
maximum revolution speed. For example, when the [Maximum Revolu-
tion Speed (rpm)] is set to 3600rpm, the model creation process will use
revolution speed of 720, 1440, 2160, 2880 and 3600.
• [Advanced Settings]:
Uses the specified resolution.
Click [Point Sequence] to open the [Point Sequence] dialog and specify a
table for the revolution speeds.
[Parallel Computing]
To use the parallel computing function in magnetic field analysis in JMAG-RT, set the following
parameters:
MEMO The set values in the input JCF files are displayed as default values of each parameter.
MEMO When using the parallel computing function in iron loss calculation, [Parallel Computing (Par-
allel Setting is Set from the Parallel Tab)] should be selected in the input JCF file.
458
Settings and Notes for Creating JMAG-RT Models
Parameter Description
Parallel computing type Select from the following:
• [Do Not Use]
• [Shared memory Multiprocessing (SMP)]:
Parallelizes calculation processing on a per-thread basis. Parallel process-
ing is performed using a single node (machine).
• [Massive Parallel Processing (MPP)]:
Parallelizes calculation processing on a per-process basis. Parallel process-
ing is performed using single or multiple network-connected nodes
(machines).
[Machine (Server)]
Specify the machine to run FEA for creating JMAG-RT models.
Type Description
[Local Execution] Runs JMAG-RT calculations using the current machine.
Enter the maximum number of solvers that can be run simultaneously in the
[Number of Processes]. The same number of solver licenses are used as solvers
running simultaneously.
459
JMAG Version 22.2 User's Manual
JMAG-RT
Type Description
[Use Distributed Cal- Runs JMAG-RT calculations using machines on the same network as the cur-
culation] rent machine.
MEMO When using a remote machine to run JMAG-RT calculations, either
of the following settings are required:
• Prepare the JMAG-RemoteSystem execution environment and register the
host name or host ID of the JMAG-RemoteSystem job scheduler server
machine on the local machine.
• Register the remote machine or commercial job scheduler system to JMAG-
Designer on the local machine. Registration can be done in the JMAG-
Designer [Preferences] dialog [SSH/Execution Script Settings] setting
panel.
Type Description
JMAG-RemoteSystem Uses JMAG-RemoteSystem to run the job.
(Host name or host ID of JMAG-RemoteSystem is displayed in the [Machine (Server)] list with
the server) the host name or host ID specified in the [Host Setting] dialog.
Create the following settings:
• [CPU Group]:
Select one CPU node group to use for the job.
For JMAG-RemoteSystem, see the description in the “JMAG Installation
Manual”.
Remote machine ([Cus- Runs the job on the [Custom Script] remote machine set in the [SSH/
tom Script]) Execution Script Settings] dialog.
Remote machine ([Run Runs the job on the [Run Directly] remote machine set in the [SSH/
Directly]) Execution Script Settings] dialog.
460
Settings and Notes for Creating JMAG-RT Models
Type Description
PBS/Torque, LSF, Slurm Uses [PBS/Torque], [LSF], or [Slurm] set in the [SSH/ Execution Script
Settings] dialog to run the job.
Create the following settings:
• [Num Nodes]:
Maximum number of nodes that can be used for the job. This can be
changed when the later described [Manage Jobs Using JMAG Job Sys-
tem] is selected.
• [Cores per node]:
The maximum number of CPU cores that can be used for the job on
each node. This can be changed when the later described [Manage Jobs
Using JMAG Job System] is selected.
• [Queue], [Resource], [Option]:
Depending on the type of job scheduler system, different text boxes are
displayed. The default values specified in the [SSH/ Execution Script
Settings] dialog are entered in each text box. Change the values as
needed.
[File export for JMAG Selecting this option and clicking [Export] will export the parameters set in
JobSystem execution] the dialog to a JobSystem execution job file (.xml).
The JobSystem execution job files can be used as input files for executing
analysis in batch using the JMAG Job System from the command line.
Parameter Description
[Managing Jobs The JMAG Job System is a batch management function for multi-case calculation
Using JMAG Job and is provided for use when running high-performance computing (HPC).
System] (Massive • Cleared (default):
Job Runner Func- JMAG Job System is not used.
tion)
461
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
• Selected:
JMAG Job System is used.
Note the following:
• If [Manage Jobs using JMAG Job System] is selected, the [Execute grouped
jobs together] settings in the [SSH/Execution Script Settings] dialog is
ignored.
• When using the JMAG Job System, the massively parallel processing (MPP)
function and hybrid parallel processing function cannot be used.
• The specified number of nodes and the maximum number of cores are set in
the job scheduler system using the following options:
PBS: -l option
LSF: -n and -R option
Slurm: --ntasks option and --cpus-per-task option
For more details on the JMAG Job System, see “Operations Edition”.
[Hosts File]
Parameter Description
[Hosts File] Specify the MPP hosts file (.txt) when running a job that uses the massively
parallel processing (MPP) function. An MPP hosts file is a user created file that
defines the name (or IP address) of the node used for calculation and the max-
imum number of running processes for the node.
When the [Run Directly] or [Custom Script] remote machine is selected in
[Machine (Server)] and [Manage Jobs using JMAG Job System] is selected,
specify any hosts file (.txt). A hosts file is a user created file that defines the
name (or IP address) of the node used for calculation and the maximum num-
ber of cores for the node.
Hosts file
If a hosts file is not specified, the default hosts file (hosts.txt) is used. If a
default hosts file is not found, all cores of the current machine are used in the
calculation.
For more details on the format of the MPP hosts file and hosts file, see “Oper-
ations Edition”.
462
Settings and Notes for Creating JMAG-RT Models
[License (LM-X)]
Parameter Description
[Reservation Key] Enter the reservation key of the license to be used for calculation.
By reserving licenses, you can run jobs without waiting for an available
license, even if multiple jobs are submitted to the calculation machine.
Pre-set the reservation key with the JMAG License Center.
The reservation key has an expiration date. The reserved license cannot be
used for jobs without a reservation key during this period.
[Use Power Simulation LM-X power simulation licenses (PSLs) are licenses dedicated to multi-case
License] calculations. 100 jobs can be run simultaneously with one license.
• Cleared (default):
Regular license is used.
• Selected:
PSL is used to run simultaneous multiple-case calculations.
[Manage License in Job This checkbox is activated when [Manage Jobs using JMAG Job System] is
System] selected. The JMAG Job System not only manages batch jobs, but also
controls the number of LM-X licenses used.
• Cleared (default):
The same number of licenses at most is used for the job as the number of
cores that can be used on each computation node.
• Selected:
Depending on the number of calculation cases, the JMAG Job System
controls the number of licenses used.
Note the following:
• If you want to use regular licenses with PSL, use the environment vari-
able JMAG_PSL_CONTROL_XX to enable the use of both licenses.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated.
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
463
JMAG Version 22.2 User's Manual
JMAG-RT
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Export] button
[Export] is displayed when [File export for JMAG JobSystem execution] is selected under [CPU
Group Name].
Using [Export], JobSystem execution job files (.xml) can be exported to run analysis in batch from
the command line using the JMAG JobSystem.
464
Settings and Notes for Creating JMAG-RT Models
Click [Export] to display the [Set up] dialog. Specify the destination of the export file and click
[OK].
Note the following:
• For FEA calculation run by JMAG-RT, the following files are exported with the JobSystem exe-
cution job file.
• JCF file:
When recalculation is run to improve accuracy, the JCF file is exported if the input JCF file is
changed from the previous calculation.
• JMAG-RT configuration file (rtmotor.xml):
This file contains the parameters and their values set in the JMAG-RT library manager.
• run folder
• RTT file:
This file is exported when [Recalculate Only Failed Cases] is selected in [Calculation
Mode] or when recalculation to improve accuracy are run. This file contains the FEA
results before recalculation, and the FEA results are added to this file when the recalcula-
tion is run.
• JCF list file for JMAG-RT (jcffiles.xml):
This file is exported when [Recalculate Only Failed Cases] is selected in [Calculation
Mode] or when recalculation to improve accuracy is run. This file contains information
on the input JCF files for the calculation cases run by JMAG-RT.
These files are used with the JobSystem execution job files. Do not change the names of exported
files and folders, nor the folder structure.
465
JMAG Version 22.2 User's Manual
JMAG-RT
466
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Title] Specifies the title of the output port.
[Target set] Specifies which physical quantities in the set that are set in the JCF file to
output. Click . And select the checkboxes for the sets to be output in the
[Select] dialog.
The physical quantity to be output must be all the same type (nodes, ele-
ments, element edges, element faces) for a set in a single output port.
For details on set creation methods, see “JMAG User's Manual Operations
Edition”.
[Type] under [Type] Select the type of physical quantity to be output. The following physical
quantities can be selected.
[Magnetic Flux Density], [Magnetic Field Strength], [Magnetization],
[Current Density], [Joule Loss Density], [Lorentz Force Density],
[Nodal Force]
Each physical quantity has current and rotational angle dependencies
for the following values depending on the [Drive Type] settings.
• When [Drive type] is [Sine Wave Drive], each physical quantity has
dependency on current amplitude (A), current phase (deg), mechan-
ical angle (deg).
• When [Drive type] is [Other], each physical quantity has depen-
dency on current (lu, lv, lw) (A) and mechanical angle (deg).
[Coordinate System] Select which coordinate system should be used to output the physical
under [Type] quantities. The following items are displayed as the model coordinate sys-
tem.
[Global Rectangular], [Cylindrical], [Local Rectangular (Y-Z-X)], [Local
Rectangular (Z-X-Y)]
Any coordinate system set in a JCF file can be referenced.
In scalar type physical quantities (Joule loss density), a coordinate system
cannot be selected.
[Component] under Specifies the physical quantity component.
[Type] For rectangular coordinate system, you can select from [Absolute value],
[X], [Y], and [Z].
For cylindrical coordinate system, you can select from [Absolute value],
[R], [θ], and [Z].
In scalar type physical quantities (Joule loss density), component cannot be
selected.
[Calculation] under Select the type of value to be output.
[Type] [Minimum], [Maximum], [Average], [Integral], [Summation]
When [Integral] is selected in [Calculation], [Coordinate System] and
[Component] cannot be set. However, for part sets, [Component] must be
set even when [Integral] is selected.
MEMO The combinations of calculation methods for each set (mesh group) type are as follows:
467
JMAG Version 22.2 User's Manual
JMAG-RT
Minimum value,
Set type/calculation method maximum value, Total Integral
simple average
Vertex, node -
Part, element
Edge, element edge -
Face, element face -
[Reference Resolution]
The resolution of output physical quantities is determined from the settings on the [Create] tab.
Select [Refer inductance setting] or [Refer torque setting].
[Motion] Tab
J = coef_inertia 1 ⋅ J 0 + coef_inertia 2
dω
J ------- = T – T load – B ⋅ ω
dt
J
B = -------------
τ mech
J : inertia moment (kgm2)
dω
------- : rotational acceleration (deg/s) or angular acceleration
dt
T : torque (Nm)
468
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Inertia Moment J 0 The value specified for [Inertia J 1 ] in the [Define Equation of Motion]
(kgm2)] dialog for JMAG-Designer is displayed by default.
[Inertia Moment Correc- The value specified for [Inertia Coefficient, p] in the [Define Equation of
tion Coefficient Motion] dialog for JMAG-Designer is displayed by default.
coef_inertia 1 ]
[Inertia Moment Correc- The value specified for [Correction Value J 2 ] in the [Define Equation of
tion Coefficient Motion] dialog for JMAG-Designer is displayed by default.
coef_inertia 2 ]
[Time Constant τ mech (s)] -
[Temperature Correction]
Specify the base temperature and correction factor for the magnet and the coil appeared in the below
equation.
Correction equation for magnet
k
F′ = F 1 + --------- ( Tf now – Tf base )
100
F′ : magnetic flux after correction (Wb)
469
JMAG Version 22.2 User's Manual
JMAG-RT
R′ = R ( 1 + α ( Tr now – Tr base ) )
R' : resistance after correction (ohm)
The range of the coefficient is 0.0 and over. Default value is 3810 ppm/K.
Tr now : coil temperature during motor drive (temperature during analysis) (K)
Notes
• Magnet flux-linkage which decreases with temperature fluctuations is accounted for during a
torque calculation.
• The correction factors specified in the [RT Correction] tab can be used in the control circuit
simulation using Simulink.
If nothing is connected to the input ports [Coil Temp] and [Magnet Temp] of the JMAG-RT
model block, the simulation assumes that the temperature of the magnets and coils of the motor
being driven is 0 K. Clear [Use_Temperature_Correction] in the properties of the JMAG-RT
model block when not performing temperature correction.
• The temperature correction function cannot be used in the circuit simulation using PSIM.
• The correction factor specified in the [RT Correction] tab is displayed as the default value of the
temperature correction setting of JMAG-RT Viewer.
• Temperature correction settings magnets cannot be used when synchronous reluctance motors
and the FEM models of input JCF files do not possess magnets.
K6 2
Correction equation for inductance: L new = K 1 × K 5 × ------ × L ( I new )
n
Correction equation for magnetic flux:
K6
Ψ
• Spatial Harmonic Model: new = K 2 × K 4 × K 5
× -----
- × Ψ ( I new )
n
K6
• LdLq model: Ψ new = K 2 × K 4 × K 5 × ------ × Ψ
n
470
Settings and Notes for Creating JMAG-RT Models
K
7
Correction equation for current: I new = ------ × I
n
L new : inductance after correction (H)
[Direct Correction]
Parameter Description
Inductance (coef_inductance) K 1 The default is 1.
471
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
Current-Dependent Torque Table (coef- The current dependent table is used to correct values accord-
table_torque) K pa3 ing to the current amplitude.
If you select [Use Current-Dependent Table for Torque Cor-
rection (coeftable_torque_flag)], the [Point Sequence] but-
ton becomes active. Click [Point Sequence] to open the
[Current-Dependent Torque Point Sequence] dialog and
specify a current-dependent correction table.
The following should be noted when the current dependent
table is used.
• If the current exceeds the specified range when using the
JMAG-RT model in a control/circuit simulator, the induc-
tance and torque values obtained at the maximum and
minimum currents are applied instead of extrapolating.
• The correction table data is exported to a table file (.pa) in
addition to the RTT file when the JMAG-RT model is
copied to a control/circuit simulator. The same file name
as the RTT file is used for this table file.
The name of the table file is used in the RTT file and can-
not be changed. Furthermore, the RTT file and table file
need to be stored in the same directory.
AC losses correction K 6 The default is 1.
For details on AC copper loss parameters, see “[Winding
Conductor] Tab” on page 473.
[Complex Correction]
Parameter Description
Magnet (coef_magnet) K 4 Magnet grade. The default is 1.
MEMO Grade correction settings for magnets cannot be
used when synchronous reluctance motors and the FEM
models of in-put JCF files do not possess magnets.
Steel Sheet (coef_material) K 5 Steel sheet grade. The default is 1.
FEM Coil Number of Turns Correction C1 = K6 ⁄ n
Factor C 1
K 6 : FEM coil number of turns correction value (Turn)
(turns_coil1)
n : number of turns (turn)
[Reference Correction]
Parameter Description
FEM Coil Number of Turns Correction C2 = K7 ⁄ n
Factor (Current Reference) C 2
K 7 : FEM coil number of turns correction value (current ref-
erence) (Turn) (turns_coil2)
n : number of turns (turn)
472
Settings and Notes for Creating JMAG-RT Models
Notes
• The result for the control circuit simulation based on the numerical solution for JMAG-RT may
be unstable, when the equation K 1 × K 5 × ( K 6 ⁄ n ) 2 for inductance correction is less than 1.
• To use the correction factor specified in the [RT Correction] tab in control circuit simulation
using Simulink, clear [Set Coefficients Manually] in the RT block properties.
• In the control circuit simulation using PSIM, the value specified in the [RT Correction] tab is
displayed as the default value of the correction factor in the RT block properties.
• The correction factor specified in the [RT Correction] tab is not taken into consideration when
calculating the NT curve or efficiency map in JMAG-RT Viewer.
Notes
• [Winding Conductor (AC Losses)] settings are optional.
• [Winding Conductor (AC Losses)] input parameter values cannot be used in FEM analysis
for creating JMAG-RT models.
• Specifications for conductor wire can be entered even in JMAG-Designer and control circuit
simulators.
• When using JMAG-Designer and Simulink as control/circuit simulators, AC copper loss can be
accounted for in JMAG-RT models. AC copper loss cannot be accounted for when using PSIM
or user-defined C programming languages.
• To not publish the [Winding Conductor (AC Losses)] information given to a JMAG-RT model
for the users of that JMAG-RT model, clear [Publish] for [Winding Conductor] in the [Informa-
tion] tab.
• The following settings are not included in the specifications of the conductor wire that are speci-
fied here.
• Conductor series/parallel information.
During control circuit simulations, AC copper loss is calculated assuming that conductors are
connected in series.
• Coil ends:
To account for coil end AC copper loss, enter parameters ([AC Loss], etc.) used for correc-
tions in JMAG-Designer and control circuit simulators.
• The two following types of methods are available for accounting for AC copper loss for JMAG-
RT models.
• Method specifying conductor wire specifications and approximately calculating AC copper
loss in JMAG-RT models during control circuit simulations:
This is the method that is described in this section.
• Method giving harmonic equivalent copper loss resistance data loaded from CSV files to
JMAG-RT models.
For details on this method, see “Adding Loss Data to a JMAG-RT Model” on page 365.
473
JMAG Version 22.2 User's Manual
JMAG-RT
Parameters
• [Conductors in Slot Height (zs)]
• [Conductors in Slot Width (zw)]
• [Number Of Slots Per Phase]
• [Averaged Slot Width (ws) [m]]
• [Conductor Type]:
Select either [Rectangular] or [Round].
• Cross-section dimensions:
Specify [Conductor Height (hc) [m]] and [Conductor Width (wc) [m]] when [Rectangular] is
selected.
Specify [Conductor Diameter (hc) [m]] when [Round] is selected.
• [Core Stack Length [m]]
• [Conductivity [S/m]]
Slot cross-sections
474
Settings and Notes for Creating JMAG-RT Models
Stepping Motor
• Notes on Using the Stepping Motor Type (page 475)
• Creating an FEM Model with JMAG (page 475)
• JMAG-RT Library Manager Settings (page 477)
L : inductance (H)
I : current (A)
Analysis type
• Create a FEM model for a magnetic field transient analysis.
Analysis conditions
• Four FEM Coil conditions, [A-phase], [A-phase (-)], [B-phase], and [B-phase (-)] need to be
specified for a 2-phase unipolar stepping motor.
Specify the current inflow faces as indicated below for a partial model.
• Set the Rotation Motion condition and select [Constant Revolution Speed] in [Displacement
Type]. Even if a different type is selected, [Constant Revolution Speed] is used in FEA with
JMAG-RT.
• Set a Torque condition. It does not matter which calculation method (nodal force, Lorentz force,
or surface force) in the Torque condition is used.
If multiple Torque conditions are set in a JCF file, the Torque condition displayed at the top of
the JMAG-Designer [Project Manager] tree is used.
475
JMAG Version 22.2 User's Manual
JMAG-RT
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
Meshing
• Generate a mesh using one of the following methods. Selection of [Standard Meshing], [Slide
Mesh], or [Generate Mesh at Each Step] is done in the [Mesh Properties] dialog:
• [Standard Meshing] + [FEM+BEM]:
The [FEM+BEM] can be selected under [Calculation Method] in the [Study Properties] dia-
log only for a 2D model.
• [Standard Meshing] + Slide condition manual setting
• [Slide Mesh]:
The Slide condition is automatically set when the Rotation Slide Mesh option is used to gen-
erate mesh.
• [Generate Mesh at Each Step] (patch mesh function)
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
Other notes
• It is not necessary to associate FEM Coil conditions with FEM Coil components. It is not neces-
sary to create the circuit itself. For FEM Coil conditions that are not associated with FEM Coil
components a warning is displayed in the [Project Manager] tree in JMAG-Designer, however
there is no need to modify it.
• JMAG RT cannot perform calculations that account for eddy currents. Even if [Allow Eddy Cur-
rent] or [Calculate Distribution in Steel Plate] is selected from the [Eddy Currents] list in the
material properties for a part, eddy currents cannot be accounted for.
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened.
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
476
Settings and Notes for Creating JMAG-RT Models
[Information] Tab
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model
Name] column in the [RT Model Library] table in the
JMAG-RT Library Manager.
[Created By] Entering this item is optional.
[File Name], [Motor Type], [Creation These items are automatically entered by JMAG-RT.
Data], [JMAG Version], [RTT File Ver-
sion]
[Motor Information]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Weight (kg)], [Shaft Length (m)], Enter these items arbitrarily.
[External Diameter (m)], [Moment of Values entered here are not used for calculation to create a
Inertia (kgm2)], [Rated Speed (rpm)], JMAG-RT model.
[Rated Power (kW)], [Rated Current
(A)], [Rated Voltage (V)]
[Number of Poles], [Number of Turns] These items are automatically entered after completion of
calculation for JMAG-RT model creation.
[Resistance (ohm)] Phase resistance.
This item is automatically entered after completion of calcu-
lation for JMAG-RT model creation.
477
JMAG Version 22.2 User's Manual
JMAG-RT
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Flux Resolution], [Inductance Reso- Each item is automatically entered after completion of cal-
lution], [Torque Resolution] culation for JMAG-RT model creation.
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
[Create] Tab
The parameters for the FEA required to create a JMAG-RT model are specified in the [Create] tab.
[Number of Poles]
Specifies the number of poles for the motor.
478
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Resistance (ohm)] Specifies the resistance value of the coil.
When performing circuit calculations using JMAG-Designer or PSIM, the
value specified here is used as the default value.
When performing circuit calculations using Simulink, the value specified
here is not used.
[Current]
Specifies the excitation method and the current range during energization.
Parameter Description
[Excitation Type] Select the type of excitation from the following types.
• [One-Phase Excitation]
• [One-Two Phase Excitation]
• [Two-Phase Excitation]
[Current Range (A)] Specifies the maximum instantaneous value of the current assumed for the
motor when being driven.
The minimum value is set at 0 A. The torque characteristics are obtained
based on the range between the minimum value and maximum value.
Be sure to enter a maximum value so that out-of-range current values are
not referenced during control circuit simulation.
[Current Range (A)] is not available if the [Enable the Setting of Resolu-
tion] is selected.
Parameter Description
[Number of Rotation Specifies the number of divisions for the rotational angle for one electrical
Angle] period.
[Current at Load (A)] Specifies the current resolution with a table. The table must cover the cur-
rent range expected in the drive circuit (Example: 2, 3, 5, 8, 10).
Click [Point Sequence] to open the [Current Point Sequence] dialog, and
create a table.
JMAG-RT uses the table to calculate the inductance when current flows
only in phase A, and to calculate the inductance when current flows only in
phase B.
This does not depend on the excitation method.
479
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Rotation Angle (deg)] Specifies the rotational angle for one electrical period.
[Division of Rotation Specifies the number of divisions for the rotational angle for one electrical
Angle] period.
[Current at Load (A)] Specifies the current resolution with a table. The table must cover the cur-
rent range expected in the drive circuit (Example: 2, 3, 5, 8, 10).
Click [Point Sequence] to open the [Current Point Sequence] dialog, and
create a table.
Use absolute values.
J = coef_inertia 1 ⋅ J 0 + coef_inertia 2
dω
J ------- = T – T load – B ⋅ ω
dt
J
B = -------------
τ mech
J : inertia moment (kgm2)
dω
------- : rotational acceleration (deg/s) or angular acceleration
dt
T : torque (Nm)
Parameter Description
[Inertia Moment J0 The value specified for [Inertia J1] in the [Define Equation of Motion] dia-
(kgm2)] log of JMAG-Designer is displayed by default.
480
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Correction for Inertia The value specified for [Inertia Coefficient p] in the [Define Equation of
Moment coef_inertia1 ] Motion] dialog for JMAG-Designer is displayed by default.
[Correction for Inertia The value specified for [Inertia Offset J2] in the [Define Equation of
Moment coef_inertia2 ] Motion] dialog for JMAG-Designer is displayed by default.
[Parallel Computing], [Machine (Server)], [CPU Group Name], [Hosts File], [License
(LM-X)]
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated:
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Do Not Output Distribution to Result File], [Do not leave result files], [Delete result
file], [Delete result file] button, [Export] button
These are all common settings for motors. See the description on PM synchronous motors on page
443.
481
JMAG Version 22.2 User's Manual
JMAG-RT
[Temperature Correction]
Specify the base temperature and correction factor for the magnet and the coil appeared in the below
equation.
Correction equation for magnet:
k
F ′ = F 1 + --------- ( Tf now – Tf base )
100
F ' : magnetic flux after correction (Wb)
R ′ = R ( 1 + α ( Tr now – Tr base ) )
R' : resistance after correction (ohm)
The range of the coefficient is 0.0 and over. Default value is 3810 ppm/K.
Tr now : coil temperature during motor drive (temperature during analysis) (K)
Notes
• Magnet flux-linkage which decreases with temperature fluctuations is accounted for during a
torque calculation.
• The correction factors specified in the [RT Correction] tab can be used in the control circuit
simulation using Simulink.
If nothing is connected to the input ports [coil Temp] and [magTemp] of the JMAG-RT model
block, the simulation assumes that the temperature of the magnets and coils of the motor being
driven is 0 K. Clear [Use_Temperature_Correction] in the properties of the JMAG-RT model
block when not performing temperature correction.
• The temperature correction function cannot be used in the circuit simulation using PSIM.
482
Settings and Notes for Creating JMAG-RT Models
Linear Solenoid
• Creating an FEM Model with JMAG (page 483)
• JMAG-RT Library Manager Settings (page 485)
Analysis type
• Create a FEM model for a magnetic field transient analysis.
Analysis conditions
• Set an FEM Coil condition.
• Set a Translation Motion condition. Can be used only for translational motion in one direction.
In addition, the initial position specified in the Translation Motion condition is the reference
position of the motion range specified in the JMAG-RT Library Manager.
• Set an Electromagnetic Force condition. It does not matter which calculation method (nodal
force, Lorentz force, or surface force) in the Electromagnetic Force condition is used.
If multiple Electromagnetic Force conditions are set in a JCF file, the Electromagnetic Force con-
dition displayed at the top of the JMAG-Designer [Project Manager] tree is used.
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
Meshing
• Generate a mesh using one of the following methods. Selection of [Standard Meshing], [Slide
Mesh], or [Generate Mesh at Each Step] is done in the [Mesh Properties] dialog:
• [Standard Meshing] + [FEM+BEM]:
The [FEM+BEM] can be selected under [Calculation Method] in the [Study Properties] dia-
log only for a 2D model.
• [Standard Meshing] + Slide condition manual setting
• [Slide Mesh]:
The Slide condition is automatically set when the Translation Slide Mesh option is used to
generate mesh.
• [Generate Mesh at Each Step] (patch mesh function)
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
483
JMAG Version 22.2 User's Manual
JMAG-RT
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
Other notes
• It is not necessary to associate FEM Coil conditions with FEM Coil components. It is not neces-
sary to create the circuit itself. For FEM Coil conditions that are not associated with FEM Coil
components a warning is displayed in the [Project Manager] tree in JMAG-Designer, however
there is no need to modify it.
• JMAG RT cannot perform calculations that account for eddy currents. Even if [Allow Eddy Cur-
rent] or [Calculate Distribution in Steel Plate] is selected from the [Eddy Currents] list in the
material properties for a part, eddy currents cannot be accounted for.
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened.
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
484
Settings and Notes for Creating JMAG-RT Models
[Information] Tab
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model
Name] column in the [RT Model Library] table in the
JMAG-RT Library Manager.
[Created By] Entering this item is optional.
[File Name], [Motor Type], [Creation These items are automatically entered by JMAG-RT.
Data], [JMAG Version], [RTT File Ver-
sion]
[Motor Information]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Weight (kg)], [Rated Speed (m/s)], Enter these items arbitrarily.
[Rated Power (kW)], [Rated Current Values entered here are not used for calculation to create a
(A)], [Rated Voltage (V)] JMAG-RT model.
[Resistance (ohm)] Phase resistance
This item is automatically entered after completion of cal-
culation for JMAG-RT model creation.
[Number of Turns] This item is automatically entered after completion of cal-
culation for JMAG-RT model creation.
485
JMAG Version 22.2 User's Manual
JMAG-RT
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Flux Resolution], [Inductance Resolu- Each item is automatically entered after completion of calcu-
tion], [Electro magnetic Resolution] lation for JMAG-RT model creation.
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
486
Settings and Notes for Creating JMAG-RT Models
[Create] Tab
The parameters for the FEA required to create a JMAG-RT model are specified in the [Create] tab.
[Upper Limit (m)] and [Lower Limit (m)] under [Motion Range]
Specifies the movable range of the mover. The initial position specified in the Translation Motion
condition becomes the reference position (position where the moving distance is zero).
Processing when a value outside the movable range is input to the JMAG-RT model differs depend-
ing on the circuit simulator used.
• For Simulink:
A value within the movable range specified here is output from the JMAG_RT model block out-
put port “disp”. When a value that exceeds the upper limit value is input, the upper limit value
specified is output from the output port “disp”. However, the user can change to a different pro-
cessing by modifying the JMAG_RT model block.
• For a C language program:
Processed by the program.
• For other (SIL/HIL):
Processed according to each software implementation. Check the manual of the software used for
how to deal with motor system simulations.
The JMAG_RT model block itself does not use the movable range specified here.
[Resolution (position)]
Specifies the resolution of the data for the mover.
The scale of the model or calculation time. can be reduced by lowering the resolution for the linear
range in JMAG-RT because the values within the linear range are interpolated. The accuracy of a
calculation can be improved by raising the resolution for the nonlinear range.
Parameter Description
[Number of Divisions] By equally dividing the range specified in [Movable Range] by the specified
value, the number of data points for the position of the mover is deter-
mined.
[Use Point Sequence] Specifies the number of data points of mover position by table.
When selecting this checkbox, click [Point Sequence] to open the [Resolu-
tion (position) Point Array] dialog.
Specify the position of the mover within the movable range.
487
JMAG Version 22.2 User's Manual
JMAG-RT
[Resolution (current)]
Specifies the resolution of the data for the current flowing in the linear solenoid.
The scale of the model or calculation time. can be reduced for the JMAG-RT model by lowering the
resolution for the linear range because the values within the linear range are interpolated. The accu-
racy of the calculation can be improved by raising the resolution for the nonlinear range.
Parameter Description
[Current Range (A)] Specifies the maximum current flowing through the linear solenoid.
[Number of Divisions] By equally dividing the range specified in [Current Range (A)] by the
specified value, the number of data points for the current is determined.
[Use Point Sequence] Specifies the number of data points of current by table.
When selecting this checkbox, click [Point Sequence] to open the [Resolu-
tion (current) Point Array] dialog.
Specify the current value within the current range.
M = coef_mass 1 ⋅ M 0 + coef_mass 2
F = Mx·· + Bx· + Kx
M
B = -------------
τ mech
M : mass (kg)
488
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Mass M 0 (kg)] The value specified for [Mass M1] in the [Define Equation of Motion] dia-
log of JMAG-Designer is displayed by default.
[Mass Correction Coeffi- The value specified for [Mass Coefficient p] in the [Define Equation of
cient coef_mass1 ] Motion] dialog of JMAG-Designer is displayed by default.
[Mass Correction Coeffi- The value specified for [Mass M2] in the [Define Equation of Motion] dia-
cient coef_mass2 ] log of JMAG-Designer is displayed by default.
[Time Constant τ mech -
(s)]
[Parallel Computing], [Machine (Server)], [CPU Group Name], [Hosts File], [License
(LM-X)]
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated:
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Do Not Output Distribution to Result File], [Do not leave result files], [Delete result
file], [Delete result file] button, [Export] button
These are all common settings for motors. See the description on PM synchronous motors on page
443.
489
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Title] Specifies the title of the output port.
[Target set] Specifies which physical quantities in the set that are set in the JCF file to
output. Click the button. And select the checkboxes for the sets to be
output in the [Select] dialog.
The physical quantity to be output must be all the same type (nodes, ele-
ments, element edges, element faces) for a set in a single output port.
For details on set creation methods, see “JMAG User's Manual Operations
Edition”.
[Type] under [Type] Select the type of physical quantity to be output. The following physical
quantities can be selected.
[Magnetic Flux Density], [Magnetic Field Strength], [Magnetization],
[Current Density], [Joule Loss Density], [Lorentz Force Density],
[Nodal Force]
Each physical quantity has dependency on current amplitude (A), current
phase (deg), mechanical displacement (m).
[Coordinate System] Select which coordinate system should be used to output the physical
under [Type] quantities. The following items are displayed as the model coordinate sys-
tem.
[Global Rectangular], [Cylindrical], [Local Rectangular (Y-Z-X)], [Local
Rectangular (Z-X-Y)]
Any coordinate system set in a JCF file can be referenced.
In scalar type physical quantities (Joule loss density), a coordinate system
cannot be selected.
490
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Component] under Specifies the physical quantity component.
[Type] For rectangular coordinate system, you can select from [Absolute value],
[X], [Y], and [Z].
For cylindrical coordinate system, you can select from [Absolute value],
[R], [θ], and [Z].
In scalar type physical quantities (Joule loss density), component cannot be
selected.
[Calculation] under Select the type of value to be output.
[Type] [Minimum], [Maximum], [Average], [Integral], [Summation]
When [Integral] is selected in [Calculation], [Coordinate System] and
[Component] cannot be set. However, for part sets, [Component] must be
set even when [Integral] is selected.
MEMO The combinations of calculation methods for each set (mesh group) type are as follows:
Minimum value,
Set type/calculation method maximum value, Total Integral
simple average
Vertex, node -
Part, element
Edge, element edge -
Face, element face -
[Temperature Correction]
Specify the base temperature and correction factor for the magnet and the coil appeared in the below
equation.
Correction equation for magnet
k
F ′ = F 1 + --------- ( Tf now – Tf base )
100
491
JMAG Version 22.2 User's Manual
JMAG-RT
R′ = R ( 1 + α ( Tr now – Tr base ) )
The range of the coefficient is 0.0 and over. Default value is 3810 ppm/K
Tr now : coil temperature during solenoid drive (temperature during analysis) (K)
Notes
• Magnet flux-linkage which decreases with temperature fluctuations is accounted for during a
force calculation.
• The correction factors specified in the [RT Correction] tab can be used in the control circuit
simulation using Simulink.
If nothing is connected to the input ports [coil Temp] and [magTemp] of the JMAG-RT model
block, the simulation assumes that the temperature of the magnets and coils of the motor being
driven is 0 K. Clear [Use_Temperature_Correction] in the properties of the JMAG-RT model
block when not performing temperature correction.
• The temperature correction function cannot be used in the circuit simulation using PSIM.
492
Settings and Notes for Creating JMAG-RT Models
Analysis type
• Create a FEM model for a magnetic field transient analysis.
Analysis conditions
• Set three FEM Coil conditions.
If the number of FEM Coil conditions specified is less than or more than 3 the JMAG-RT model
cannot be created. JMAG-RT performs calculations assuming that one FEM Coil condition cor-
responds to one phase coil.
When creating a JMAG-RT model based on an FEM model in which each phase coil consists of
multiple FEM coils, change the FEM Coil condition settings and circuit conversion settings in
JMAG-Designer. For details, see “When creating a JMAG-RT model based on an FEM model in
which each phase coil consists of multiple FEM coils” on page 432.
• Set the Translation Motion condition and select [Constant Speed] in [Displacement Type]. Even
if a different type is selected, [Constant Speed] is used in FEA with JMAG-RT.
• The initial position of the mover is the same as that of the FEM model.
• Set a Force condition. It does not matter which calculation method (nodal force, Lorentz force,
or surface force) in the Force condition is used.
If multiple Force conditions are set in a JCF file, the Force condition displayed at the top of the
JMAG-Designer [Project Manager] tree is used.
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
Meshing
• Generate a mesh using one of the following methods. Selection of [Standard Meshing], [Slide
Mesh], or [Generate Mesh at Each Step] is done in the [Mesh Properties] dialog:
• [Standard Meshing] + [FEM+BEM]:
The [FEM+BEM] can be selected under [Calculation Method] in the [Study Properties] dia-
log only for a 2D model.
• [Standard Meshing] + Slide condition manual setting
• [Slide Mesh]:
The Slide condition is automatically set when the Translation Slide Mesh option is used to
generate mesh.
• [Generate Mesh at Each Step] (patch mesh function)
493
JMAG Version 22.2 User's Manual
JMAG-RT
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
Other notes
• It is not necessary to associate FEM Coil conditions with FEM Coil components. It is not neces-
sary to create the circuit itself. For FEM Coil conditions that are not associated with FEM Coil
components a warning is displayed in the [Project Manager] tree in JMAG-Designer, however
there is no need to modify it.
• JMAG RT cannot perform calculations that account for eddy currents. Even if [Allow Eddy Cur-
rent] or [Calculate Distribution in Steel Plate] is selected from the [Eddy Currents] list in the
material properties for a part, eddy currents cannot be accounted for.
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened.
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
494
Settings and Notes for Creating JMAG-RT Models
[Information] Tab
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model
Name] column in the [RT Model Library] table in the
JMAG-RT Library Manager.
[Created By] Entering this item is optional.
[File Name], [Motor Type], [Creation These items are automatically entered by JMAG-RT.
Data], [JMAG Version], [RTT File Ver-
sion]
[Motor Information]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Weight (kg)], [Rated Speed (m/s)], Enter these items arbitrarily. Values entered here are not used
[Rated Power (kW)], [Rated Current for calculation to create a JMAG-RT model.
(A)], [Rated Voltage (V)]
[Displacement (m)] Displacement per period of electrical angle.
This item is automatically entered after completion of calcu-
lation for JMAG-RT model creation.
[Resistance (ohm)] Phase resistance.
This item is automatically entered after completion of calcu-
lation for JMAG-RT model creation.
[Number of Turns] This item is automatically entered after completion of calcu-
lation for JMAG-RT model creation.
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
495
JMAG Version 22.2 User's Manual
JMAG-RT
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Flux Resolution], [Inductance Resolu- Each item is automatically entered after completion of calcu-
tion], [Electro magnetic Resolution] lation for JMAG-RT model creation.
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
[Create] Tab
The parameters for the FEA required to create a JMAG-RT model are specified in the [Create] tab.
496
Settings and Notes for Creating JMAG-RT Models
[Y-connection] [Delta-connection]
Parameter Description
[Resistance (Ohm)] Specifies the resistance value of the coil.
When performing circuit calculations using JMAG-Designer or PSIM, the
value specified here is used as the default value.
When performing circuit calculations using Simulink, the value specified
here is not used.
[Drive Type]
[Drive type] defines a current waveform pattern that JMAG-RT models supports.
Select the type of current waveform for driving the motor in the circuit simulator according to
whether the motor has a sinusoidal or non-sinusoidal current waveform.
The time required for creating JMAG-RT model data varies with the current waveform pattern.
Type Description
[Sine Wave Drive] Select when it is guaranteed that the sum of the instantaneous current flow-
ing in each coil of the motor is zero.
When [Sine Wave Drive] is selected, FEA used for creating a JMAG-RT
model is performed in which parametric analysis on two variables - the cur-
rent spatial vector amplitude and phase - is performed.
Specify the following settings if [Sine Wave Drive] is selected.
• [Output Attraction Force]:
Outputs the force in the specified direction as an attractive force by
selecting [X], [Y], or [Z] under [Attraction Direction].
497
JMAG Version 22.2 User's Manual
JMAG-RT
Type Description
• [Current Amplitude Range (A)]:
Specifies the maximum value of the phase current amplitude range for
creating a JMAG-RT model. The minimum value is set at 0 A.
Data points in the range from 0 A to the maximum value specified here
are created at equal intervals. Six data points are created.
Example: When the maximum value is 100 A
0, 20, 40, 60, 80, 100 (A)
If [Enable the Setting of Resolution] is selected, these settings are not used.
[Other] Select when the sum of the instantaneous current flowing in each coil of
the motor is not guaranteed to be zero. For example, when the current flow
reverses in a delta connection.
When the [Other] type is selected, FEA used for creating a JMAG-RT
model is performed in which parametric analysis on three variables - Iu, Iv,
Iw, each a coil current - is performed.
Specify the following settings if [Other] is selected.
• [Output Attraction Force]:
Outputs the force in the specified direction as an attractive force by
selecting [X], [Y], or [Z] under [Attraction Direction].
• [Current Range at Load (Absolute Value) (A)]:
Enter the maximum value of the phase current amplitude range. The
minimum value is set at 0 A. The default value is 10 A.
If [Enable the Setting of Resolution] is selected, these settings are not used.
498
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Number of Displacement Specifies the number of divisions for one period of electrical angle.
Divisions]
[Current at Load (A)] Click [Point Sequence] to open the [Current Point Sequence] dialog and
create a point sequence of current values within the operating range (exam-
ple: 2, 3, 5, 8, 10).
• When [Sine Wave Drive] is selected for [Drive Type], enter the current
amplitude.
• When [Others] is selected for [Drive Type] and the control circuit simu-
lation using the RTT file to be created supplies the motor with AC tak-
ing positive and negative values such as sine wave and square wave, enter
the positive and negative values (e.g., -10, -5, -2, -1, 1, 2, 5, 10).
• 0 A cannot be added to the current point sequence in [Inductance].
Control circuit simulation
• If a current of 0 A is input to the JMAG-RT model, the JMAG-RT
model outputs the inductance and torque values obtained from the no-
load analysis that is run when creating the JMAG-RT model.
Parameter Description
[Use phase symmetry] This checkbox becomes active after selecting [Sine Wave Drive] for [Drive
Type].
• Selected:
Assumes that the magnetic flux, electromagnetic force, and inductance of
the motor have symmetry with respect to phase. FEA is performed only
within the phase range of -90 to +90 degrees of electrical angle. Based on
the results, FEA for the remaining phase range (+90 to +270 degrees) is
performed in post-processing.
With these settings, the FEA resolution (number of cases) is reduced by
about half, so it is possible to greatly reduce the time taken to create a
JMAG-RT model. In addition, since the results data stored in the
JMAG-RT model is reduced, the file size of the JMAG-RT model is
reduced.
• Unselected:
FEA in the phase range of 0 to 360 degrees of electrical angle is per-
formed assuming that the magnetic flux, electromagnetic force, and
inductance of the motor have no symmetry with respect to phase.
[Displacement (m)] Specifies the displacement for one period of electromagnetic force when
[Sine Wave Drive] is selected for [Drive Type].
Specifies the displacement for one period of electrical angle when [Other]
is selected for [Drive Type].
The electromagnetic force is computed within the displacement range
specified for [Displacement].
499
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Number of Displacement Specifies the number of divisions for one period specified for [Displace-
Divisions] ment].
[Current at Load (A)] See the description of [Current at Load (A)] in [Inductance].
[Current Phase at Load This parameter becomes active after selecting [Sine Wave Drive] for [Drive
(deg)] Type].
Click [Point Sequence] to open the [Current Phase Point Sequence] dialog,
and then specify a current phase table.
• When [Use phase symmetry] is selected, specify current phases between -
90 and +90 degrees of electrical angle inclusive.
• When [Use phase symmetry] is cleared, specify current phases between 0
and 360 degrees of electrical angle inclusive.
M = coef_mass 1 ⋅ M 0 + coef_mass 2
2
d x dx
M -------2- = F – F load – B ⋅ ------
dt dt
M
B = -------------
τ mech
M : mass (kg)
2
d-------x-
2
: acceleration in the translation direction (m/s2)
dt
dx
------ : speed in the translation direction (m/s)
dt
500
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Mass M 0 (kg)] The value specified for [Mass M 1 ] in the [Define Equation of Motion] dia-
log for JMAG-Designer is displayed by default.
[Mass Correction Coeffi- The value specified for [Mass Coefficient p ] in the [Define Equation of
cient coef_mass 1 ] Motion] dialog for JMAG-Designer is displayed by default.
[Mass Correction Coeffi- The value specified for [Mass M 2 ] in the [Define Equation of Motion] dia-
cient coef_mass 2 ] log for JMAG-Designer is displayed by default.
[Time Constant τ mech -
(s)]
[Parallel Computing], [Machine (Server)], [CPU Group Name], [Hosts File], [License
(LM-X)]
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated:
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Do Not Output Distribution to Result File], [Do not leave result files], [Delete result
file], [Delete result file] button, [Export] button
These are all common settings for motors. See the description on PM synchronous motors on page
443.
501
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Title] Specifies the title of the output port.
[Target set] Specifies which physical quantities in the set that are set in the JCF file to
output. Click the button. And select the checkboxes for the sets to be
output in the [Select] dialog.
The physical quantity to be output must be all the same type (nodes, ele-
ments, element edges, element faces) for a set in a single output port.
For details on set creation methods, see “JMAG User's Manual Operations
Edition”.
[Type] under [Type] Select the type of physical quantity to be output. The following physical
quantities can be selected.
[Magnetic Flux Density], [Magnetic Field Strength], [Magnetization],
[Current Density], [Joule Loss Density], [Lorentz Force Density],
[Nodal Force]
Each physical quantity has current and rotational angle dependencies
for the following values depending on the [Drive Type] settings.
• When [Drive type] is [Sine Wave Drive], each physical quantity has
dependency on current amplitude (A), current phase (deg), mechan-
ical displacement (m).
• When [Drive type] is [Other], each physical quantity has depen-
dency on current (lu, lv, lw) (A) and mechanical displacement (m).
502
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Coordinate System] Select which coordinate system should be used to output the physical
under [Type] quantities. The following items are displayed as the model coordinate sys-
tem.
[Global Rectangular], [Cylindrical], [Local Rectangular (Y-Z-X)], [Local
Rectangular (Z-X-Y)]
Any coordinate system set in a JCF file can be referenced.
In scalar type physical quantities (Joule loss density), a coordinate system
cannot be selected.
[Component] under Specifies the physical quantity component.
[Type] For rectangular coordinate system, you can select from [Absolute value],
[X], [Y], and [Z].
For cylindrical coordinate system, you can select from [Absolute value],
[R], [θ], and [Z].
In scalar type physical quantities (Joule loss density), component cannot be
selected.
[Calculation] under Select the type of value to be output.
[Type] [Minimum], [Maximum], [Average], [Integral], [Summation]
When [Integral] is selected in [Calculation], [Coordinate System] and
[Component] cannot be set. However, for part sets, [Component] must be
set even when [Integral] is selected.
MEMO The combinations of calculation methods for each set (mesh group) type are as follows:
Minimum value,
Set type/calculation method maximum value, Total Integral
simple average
Vertex, node -
Part, element
Edge, element edge -
Face, element face -
503
JMAG Version 22.2 User's Manual
JMAG-RT
[Temperature Correction]
Specify the base temperature and correction factor for the magnet and the coil appeared in the below
equation.
Correction equation for magnet:
k
F ′ = F 1 + --------- ( Tf now – Tf base )
100
R′ = R ( 1 + α ( Tr now – Tr base ) )
R' : resistance after correction (ohm)
The range of the coefficient is 0.0 and over. Default value is 3810 ppm/K.
Tr now : coil temperature during motor drive (temperature during analysis) (K)
Notes
• Magnet flux-linkage which decreases with temperature fluctuations is accounted for during
thrust and attractive force calculation.
• The correction factors specified in the [RT Correction] tab can be used in the control circuit
simulation using Simulink.
If nothing is connected to the input ports [coil Temp] and [magTemp] of the JMAG-RT model
block, the simulation assumes that the temperature of the magnets and coils of the motor being
driven is 0 K. Clear [Use_Temperature_Correction] in the properties of the JMAG-RT model
block when not performing temperature correction.
• The temperature correction function cannot be used in the circuit simulation using PSIM.
504
Settings and Notes for Creating JMAG-RT Models
K6 2
Correction equation for inductance: L new = K 1 × K 5 × ------ × L ( I new )
n
K6
Correction equation for flux linkage in magnets: Ψ new = K 2 × K 4 × K 5 × ------ × Ψ
n
7K
Correction equation for current: I new = ------ × I
n
[Direct Correction]
Parameter Description
[Inductance (coef_inductance)] K 1 The default is 1.
[Flux Linkage in Magnet (coef_flux)] The default is 1.
K2
505
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Current Dependent Electromagnetic The current dependent table is used to correct values accord-
Force Table (coeftable_force)] K pa3 ing to the current amplitude.
If you select [Use Current-Dependent Table for Electromag-
netic Force Correction (coeftable_torque_flag)], the [Point
Sequence] button becomes active. Click [Point Sequence] to
open the [Current-Dependent Torque Point Sequence] dia-
log and specify a current-dependent correction table.
The following should be noted when the current dependent
table is used:
• If the current exceeds the specified range when using the
JMAG-RT model in a control/circuit simulator, the induc-
tance and torque values obtained at the maximum and
minimum currents are applied instead of extrapolating.
• The correction table data is exported to a table file (.pa)
in addition to the RTT file when the JMAG-RT model
is copied to a control/circuit simulator. The same file
name as the RTT file is used for this table file.
The name of the table file is used in the RTT file and
cannot be changed. Furthermore, the RTT file and table
file need to be stored in the same directory.
[Complex Correction]
Parameter Description
[Magnet (coef_magnet)] K 4 Magnet grade. The default is 1.
[Reference Correction]
Parameter Description
[FEM Coil Number of Turns Correc- C2 = K7 ⁄ n
tion Factor (Current Reference)] C 2
K 7 : FEM coil number of turns correction value (current ref-
erence) (Turn) (turns_coil2)
n : number of turns (turn)
Notes
• The flux linkage generated from magnets is specified for correction for linear synchronous
motors.
• To use the correction factor specified in the [RT Correction] tab in control circuit simulation
using Simulink, clear [Set Coefficients Manually] in the RT block properties.
• In the control circuit simulation using PSIM, the value specified in the [RT Correction] tab is
displayed as the default value of the correction factor in the RT block properties.
506
Settings and Notes for Creating JMAG-RT Models
SR Motor
• Notes on Using the SR Motor Model Type (page 507)
• Creating an FEM Model with JMAG (page 507)
• JMAG-RT Library Manager Settings (page 509)
L ij :
Analysis type
• Create a FEM model for a magnetic field transient analysis.
Materials
• Do not use magnets. When calculating an SR motor that uses a magnet, use the motor type
[Generic Model].
Analysis conditions
• Set the same number of FEM Coil conditions in the JCF file as the number of phases of the SR
motor.
If the number of FEM Coil conditions specified and number of phases are not the same, a
JMAG-RT model cannot be created. JMAG-RT performs calculations assuming that one FEM
Coil condition corresponds to one phase coil.
When creating a JMAG-RT model based on an FEM model in which each phase coil consists of
multiple FEM coils, change the FEM Coil condition settings and Circuit Conversion settings in
JMAG-Designer. For details, see “When creating a JMAG-RT model based on an FEM model in
which each phase coil consists of multiple FEM coils” on page 432.
507
JMAG Version 22.2 User's Manual
JMAG-RT
• Set the Rotation Motion condition and select [Constant Revolution Speed] in [Displacement
Type]. Even if a different type is selected, [Constant Revolution Speed] is used in FEA with
JMAG-RT.
• In the JMAG-RT SR motor model, the initial rotor position of the input FEM model is the ini-
tial rotor position of the JMAG-RT model. For an SR motor, if the initial position of a rotor
salient pole and the center of the stator tooth on which the phase coil which is first energized has
been wound are opposite each other, torque is not generated and the motor does not rotate.
• Set a Torque condition. It does not matter which calculation method (nodal force, Lorentz force,
or surface force) in the Torque condition is used.
If multiple Torque conditions are set in a JCF file, the Torque condition displayed at the top of
the JMAG-Designer [Project Manager] tree is used.
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
Meshing
• Generate a mesh using one of the following methods. Selection of [Standard Meshing], [Slide
Mesh], or [Generate Mesh at Each Step] is done in the [Mesh Properties] dialog:
• [Standard Meshing] + [FEM+BEM]:
The [FEM+BEM] can be selected under [Calculation Method] in the [Study Properties] dia-
log only for a 2D model.
• [Standard Meshing] + Slide condition manual setting
• [Slide Mesh]:
The Slide condition is automatically set when the Rotation Slide Mesh option is used to gen-
erate mesh.
• [Generate Mesh at Each Step] (patch mesh function)
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
Other notes
• The FEM Coil condition needs to be associated with an FEM Coil component by creating a cir-
cuit in a standard FEA, but a circuit and the FEM Coil components do not need to be specified
to use JMAG-RT.
• JMAG RT cannot perform calculations that account for eddy currents. Even if [Allow Eddy Cur-
rent] or [Calculate Distribution in Steel Plate] is selected from the [Eddy Currents] list in the
material properties for a part, eddy currents cannot be accounted for.
508
Settings and Notes for Creating JMAG-RT Models
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened.
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
[Information] Tab
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model
Name] column in the [RT Model Library] table in the
JMAG-RT Library Manager.
[Created By] Entering this item is optional.
[File Name], [Motor Type], [Creation These items are automatically entered by JMAG-RT.
Data], [JMAG Version], [RTT File Ver-
sion]
[Motor Information]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Weight (kg)], [Shaft Length (m)], Enter these items arbitrarily.
[External Diameter (m)], [Moment of Values entered here are not used for calculation to create a
Inertia (kgm2)], [Rated Speed (rpm)], JMAG-RT model.
[Rated Power (kW)], [Rated Current
(A)], [Rated Voltage (V)],
[Number of Poles], [Number of Turns] These items are automatically entered after completion of
calculation for JMAG-RT model creation.
509
JMAG Version 22.2 User's Manual
JMAG-RT
Item Description
[Resistance (ohm)] Phase resistance.
This item is automatically entered after completion of calcu-
lation for JMAG-RT model creation.
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Inductance Resolution], [Torque Reso- Each item is automatically entered after completion of calcu-
lution] lation for JMAG-RT model creation.
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
510
Settings and Notes for Creating JMAG-RT Models
[Create] Tab
The parameters for the FEA required to create a JMAG-RT model are specified in the [Create] tab.
[Number of Poles]
Specifies the number of poles for the motor.
[Number of Phases]
Specifies the number of phases for the motor from [3-phase], [4-phase] and [5-phase].
[Current]
Type Description
[Simple Settings] Determines the data resolution of inductance and torque using a specified
rated current. Enter a value in [Rated Current (A)].
• Inductance data resolution has 5 points. By dividing the range from 0 A
to the specified rated current into 6 equal parts, the value of each data
point is determined. However, the 0 A data point is excluded.
Example: When [Rated Current] is 10, the data resolution is 2, 4, 6, 8,
10.
• Torque data resolution has 8 points. The data points are determined by
dividing the range from 0 A to the specified rated current into 2 equal
parts and dividing the range from the specified rated current to three
times that value into 5 equal parts.
Example: When [Rated Current] is 10, the data resolution is 0, 5, 10, 14,
18, 22, 26, 30.
[Advanced Settings] Defines the current dependency of inductance and torque using tables.
Click [Setting] to open the [Advanced Settings of Current] dialog.
511
JMAG Version 22.2 User's Manual
JMAG-RT
[Parallel Computing], [Machine (Server)], [CPU Group Name], [Hosts File], [License
(LM-X)]
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated:
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
512
Settings and Notes for Creating JMAG-RT Models
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Do Not Output Distribution to Result File], [Do not leave result files], [Delete result
file], [Delete result file] button, [Export] button
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Temperature Correction]
The temperature correction is for the coil. The correction equation is as follows:
Correction equation for coil
R′ = R ( 1 + α ( Tr now – Tr base ) )
R' : resistance after correction (ohm)
The range of the coefficient is 0.0 and over. Default value is 3810 ppm/K.
Tr now : coil temperature during motor drive (temperature during analysis) (K)
513
JMAG Version 22.2 User's Manual
JMAG-RT
Specify the base temperature and correction factor for the coil appeared in the above equation.
Notes
• The correction factors specified in the [RT Correction] tab can be used in the control circuit
simulation using Simulink.
If nothing is connected to the input port [coil Temp] of the JMAG-RT model block, the simula-
tion assumes that the temperature of the coils of the motor being driven is 0 K. Clear [Use_Tem-
perature_Correction] in the properties of the JMAG-RT model block when not performing
temperature correction.
514
Settings and Notes for Creating JMAG-RT Models
Induction Motor
• Notes on Using the Induction Motor Model Type (page 515)
• Creating an FEM Model with JMAG (page 516)
• JMAG-RT Library Manager Settings (page 518)
IMPORTANT The calculation method for induction motors was altered in Version 17.0.
When using data before Version 16.1, parameters such as the current table and slip frequency
table are to be set again.
• Symmetrical 6-phase AC (the current phase difference of each phase is 60 degrees) is sup-
ported, but asymmetrical 6-phase AC is not supported.
• 6-phase pole-changing induction motors are supported (Before change: 2p poles, After
change: 4p poles, p: number of pole pairs).
• The current phase difference for each phase is 60 degrees for 2p poles and 120 degrees for
4p poles.
• In FEA with JMAG-RT, machine characteristics (secondary resistance and various induc-
tances) are calculated separately for 2p poles drive and 4p poles drive. In the control cir-
cuit simulation, the voltage equation is solved using the machine characteristics of the 2p
poles drive and 4p poles drive that are output to the RTT file. The torque and iron loss
obtained from this are then output.
515
JMAG Version 22.2 User's Manual
JMAG-RT
• Based on the idea of a T-type equivalent circuit, physical quantities dependent on the slip fre-
quency and primary current specified by the user are calculated. The equivalent circuit used is as
follows:
Analysis type
• Create a FEM model for a magnetic field frequency analysis.
Analysis conditions
• Set three FEM Coil conditions for 3-phase motors. Set six FEM Coil conditions for 6-phase
motors.
516
Settings and Notes for Creating JMAG-RT Models
• A JMAG-RT model cannot be created if the number of FEM Coil conditions set in the FEM
model is too small or too large. JMAG-RT performs calculations assuming that one FEM
Coil condition corresponds to one phase coil.
When creating a JMAG-RT model based on an FEM model in which each phase coil consists
of multiple FEM coils, change the FEM Coil condition settings in JMAG-Designer. For
details, see “When creating a JMAG-RT model based on an FEM model in which each
phase coil consists of multiple FEM coils” on page 432.
• For a 6-phase motor, the phase of the current flowing in the coils for each of the phases (A, B,
C, D, E, and F) must be shifted as follows:
A-Phase: 0 deg, B-Phase: -60 deg, C-Phase: -120 deg, D-Phase: -180 deg, E-Phase: -240 deg,
F-Phase: -300 deg.
• Set FEM Conductor condition to each bar of the cage.
• Set the Rotation Motion condition and select [Constant Revolution Speed] in [Displacement
Type]. Even if a different type is selected, [Constant Revolution Speed] is used in FEA with
JMAG-RT.
• Set Iron Loss conditions when accounting for iron loss during calculations.
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
• Do not set the following conditions:
• Multi Slice conditions
Circuit
• For an induction motor model, FEA for creating a JMAG-RT model is executed using FEM
model circuit connection data as is. Therefore, place the component for supplying current or
potential and the FEM Coil components in Circuit Editor, and connect the terminals (star con-
nection or delta connection). In addition, place a cage component.
For 6-phase induction motor models, star connection is supported, but delta connection is not
supported.
Meshing
• Generate a mesh using one of the following methods. Selection of [Standard Meshing], [Slide
Mesh], or [Generate Mesh at Each Step] is done in the [Mesh Properties] dialog:
• [Standard Meshing] + [FEM+BEM]:
The [FEM+BEM] can be selected under [Calculation Method] in the [Study Properties] dia-
log only for a 2D model.
517
JMAG Version 22.2 User's Manual
JMAG-RT
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
When the circuit's conversion factors for the stator circuit and rotor circuit are different, specify
the conversion factor for each circuit using the Circuit Conversion function in the [Study Prop-
erties] dialog and the Circuit Conversion condition.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
Other notes
• Both 2D models and 3D models can be utilized.
However, in the case of a 3D models, it can be analyzed when it is a model that removes the
rotor-side end coil and allows the bar to pierce through the model in an upward direction in the
same way as the coil.
• JMAG-RT cannot perform calculations which account for eddy currents in parts other than cage
bars. For parts other than cage bars, selecting [Allow Eddy Current] or [Surface Current Approx-
imation (SIBC)] from the [Eddy Current] list in the material properties for each part is also
invalid.
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened:
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
518
Settings and Notes for Creating JMAG-RT Models
[Information] Tab
The [Information] tab manages information in the JMAG-RT model.
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model
Name] column in the [RT Model Library] table in the
JMAG-RT Library Manager.
[Created By] Entering this item is optional.
[File Name], [Motor Type], [Creation These items are automatically entered by JMAG-RT.
Data], [JMAG Version], [RTT File Ver-
sion]
[Motor Information]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Weight (kg)], [Shaft Length (m)], Enter these items arbitrarily.
[External Diameter (m)], [Moment of Values entered here are not used for calculation to create a
Inertia (kgm2)], [Rated Speed (rpm)], JMAG-RT model.
[Rated Power (kW)], [Rated Current
(A)], [Rated Voltage (V)], [Rated Fre-
quency (Hz)]
[Number of Poles], [Number of Turns] These items are automatically entered after completion of
calculation for JMAG-RT model creation.
For 6-phase motors, the minimum number of poles (value at
2p poles) is displayed.
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
519
JMAG Version 22.2 User's Manual
JMAG-RT
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Current (A)], [Slip Frequency (Hz)] Each item is automatically entered after completion of calcu-
lation for JMAG-RT model creation.
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
[Create] Tab
The [Create] tab specifies the parameters for the FEA required to create a JMAG-RT model.
[Number of Poles]
Specifies the number of poles for the motor.
For 6-phase motors, specify the minimum number of poles (value at 2p poles). If a value is entered
for [Number of poles,] the number of poles at 4p poles (the value obtained by multiplying the
entered value by 2) will be displayed for [Number of poles when switching].
[Model Divisions]
Specifies the number of circumferential divisions of the FEM model in the input file (.jcf ). For
example, “1” is specified in the case of a full model. “4” is specified in the case of a quarter model.
520
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Resistance (ohm)] Specifies the resistance value of the entire coil per phase.
When performing circuit calculations using JMAG-Designer, the value
specified here is used as the default value.
When performing circuit calculations using Simulink, the value specified
here is not used.
[Number of Turns in Specifies the number of conductors connected in series per phase. This can
Series per Phase in the Pri- be calculated by the number of slots * number of coil layers * number of
mary Circuit] turns/(number of parallel conductors * number of phases)”.
521
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Winding Factor], [Wind- Specifies the correction factor to reflect the effect of the winding method,
ing Factor (number of such as distributed winding or short-pitch winding, on the induced volt-
poles switch)] age.
For 6-phase motors, [Winding Factor] and [Winding Factor (number of
poles switch)] are applied to the induced voltage before and after pole-
changing, respectively (Before change: 2p poles, After change: 4p poles, p:
number of pole pairs).
[Rated]
These settings are used to calculate stray load losses. Stray load loss is taken into account when creat-
ing an efficiency map in JMAG-RT Viewer.
Parameter Description
[Frequency (Hz)] Specifies the rated frequency.
[Voltage (V)] Specifies the phase voltage amplitude value.
[Operating Range]
These settings are used to calculate stray load losses. Stray load loss is taken into account in the effi-
ciency map calculation in JMAG-RT Viewer.
For all combinations of the current values and slip frequencies specified here, magnetic field analysis
with constraint conditions and synchronized conditions are executed, and the result value is used in
T-type equivalent circuits.
Parameter Description
[Current (A)] Primary current amplitude (A).
Click [Point Sequence] to open the [Current Point Sequence] dialog and
enter the values in ascending order.
An error may occur in the calculation when the ratio of current resolution
and [Max] is less than 1.0e-4. Resolution is the difference between [Max]
and [Min] divided by the [Divisions]. Change either the value of [Max],
[Min], or [Divisions] when it matches the state above.
[Slip Frequency (Hz)] Secondary frequency (Hz).
Click [Point Sequence] to open the [Slip Frequency Point Sequence] dialog
and enter the values in ascending order.
The maximum value specified here is used as the frequency corresponding
to slip 1 of the maximum power supply frequency.
Parameter Description
[Base Frequency [Hz]] A frequency to evaluate stray load loss.
The frequency used during operation is normally specified.
522
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Method] For 3-phase motors, select either [Defined Manually] or [Defined Auto-
matically]. For 6-phase motors, [Defined Automatically] is not supported.
• [Defined Manually]:
Specifies settings for stray load loss manually.
When [Defined Manually] is selected, enter a value for stray load loss for
base frequency in the text box. The unit is (W).
• [Defined Automatically]:
Automatically calculates stray load loss, based on base frequency, iron
loss, and harmonic secondary copper loss.
The calculation time. is increased when [Defined automatically] is
selected, as compared to when [Defined manually] is selected.
[Iron Loss]
Parameter Description
[Allow Iron Loss] • Cleared:
Iron loss is not accounted for in FEA for JMAG-RT model creation.
• Selected:
Iron loss is accounted for FEA for JMAG-RT model creation.
When a JMAG-RT model with iron loss data is used in a control circuit
simulation, the JMAG-RT model outputs the value after subtracting the
torque corresponding to the iron loss.
T ' = T – W iron ⁄ ω
T ' : torque (N·m) that takes into account iron loss
T : torque (N·m) that does not take into account iron loss
W iron : iron loss (W)
ω : angular velocity (rad/s)
Afterwards, using JMAG-RT Viewer, select [Allow Iron Loss] when
drawing torque speed curves/efficiency maps that account for iron loss.
Note the following:
• Iron loss cannot be accounted for in the control circuit simulation
using PSIM.
• Iron loss output from the iron loss analysis solver is accounted for in a
control circuit simulation.
• To select [Allow Iron Loss], the Iron Loss condition should be set in
the input JCF file of JMAG-RT.
523
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Analysis Mode] When starting to create JMAG-RT models using magnetic field analysis
input files that are set with Iron Loss conditions, magnetic field analysis is
executed first. After magnetic field analysis has completed, iron loss analysis
is executed next.
The timing for when to obtain iron loss analysis solver licenses is specified
under [Analysis Mode]. Select either of the following:
• [High Speed Mode (Use Iron Loss License During Magnetic Field Anal-
ysis]:
Iron loss analysis solver licenses are also secured in addition to magnetic
field analysis solver licenses at the same time that magnetic field analysis
begins.
Iron loss analyses can start smoothly and without issue after magnetic
field analyses have completed. Iron loss analysis solver licenses that are
currently secured cannot be used with other jobs, however.
• [Conventional Mode (Use Iron Loss License After Magnetic Field Analy-
sis is Completed)]:
Once magnetic field analyses have completed, the process for obtaining
iron loss analysis solver licenses begins.
No loss in time occurs if there exists iron loss analysis solver licenses that
are not being used at the point where magnetic field analyses have com-
pleted. If there are no iron loss analysis solver licenses that are not being
used, however, then a waiting status will occur until iron loss analysis
solver licenses are released.
Default settings are those that were configured in the [Iron Loss condition]
setting panel of the [Study Properties] dialog when magnetic field analysis
input files were created.
[Rotate Velocity] The iron loss at each rotation speed specified is output to a JMAG-RT
model.
Click [Point Sequence] to open the [Point Sequence] dialog and specify a
table for the revolution speeds.
524
Settings and Notes for Creating JMAG-RT Models
[Parallel Computing], [Machine (Server)], [CPU Group Name], [Hosts File], [License
(LM-X)]
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated:
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Do Not Output Distribution to Result File], [Do not leave result files], [Delete result
file], [Delete result file] button, [Export] button
These are all common settings for motors. See the description on PM synchronous motors on page
443.
525
JMAG Version 22.2 User's Manual
JMAG-RT
[Temperature Correction]
Specify the base temperature and correction factor for the primary coils and secondary conductors
appeared in the below equation.
Correction equation for coil
R′ = R ( 1 + α ( Tr now – Tr base ) )
R' : resistance after correction (ohm)
The range of the coefficient is 0.0 and over. Default value is 3810 ppm/K.
Tr now : coil temperature during motor drive (temperature during analysis) (K)
Notes
• The correction factors specified in the [RT Correction] tab can be used in the control circuit
simulation using Simulink.
If nothing is connected to the input ports [1st_coilTemp] and [2nd_coilTemp] of the JMAG-RT
model block, the simulation assumes that the temperature of the coils and secondary conductors
of the motor being driven is 0 K. Clear [Use_Temperature_Correction] in the properties of the
JMAG-RT model block when not performing temperature correction.
• The correction factor specified in the [RT Correction] tab is displayed as the default value of the
temperature correction setting of JMAG-RT Viewer.
[Direct Correction]
The correction equation is as follows:
Correction equation for secondary resistance: R 2new = K 1 × R 2
526
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Secondary Resistance] K 1 Secondary resistance correction factor. The default is 1.
Notes
• To use the correction factor specified in the [RT Correction] tab in control circuit simulation
using Simulink, clear [Set Coefficients Manually] in the RT block properties.
• In the control circuit simulation using PSIM, the value specified in the [RT Correction] tab is
displayed as the default value of the correction factor in the RT block properties.
• The correction factor specified in the [RT Correction] tab is not taken into consideration when
calculating the NT curve or efficiency map in JMAG-RT Viewer.
527
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
• [Winding Conductor (AC Losses)] settings are optional.
• [Winding Conductor (AC Losses)] input parameter values cannot be used in FEM analysis
for creating JMAG-RT models.
• Specifications for conductor wire can be entered even in JMAG-Designer and control circuit
simulators.
• When using JMAG-Designer and Simulink as control/circuit simulators, AC copper loss can be
accounted for in JMAG-RT models. AC copper loss cannot be accounted for when using PSIM
or user-defined C programming languages.
• To not publish the [Winding Conductor (AC Losses)] information given to a JMAG-RT model
for the users of that JMAG-RT model, clear [Publish] for [Winding Conductor] in the [Informa-
tion] tab.
• The following settings are not included in the specifications of the conductor wire that are speci-
fied here:
• Conductor series/parallel information.
During control circuit simulations, AC copper loss is calculated assuming that conductors are
connected in series.
• Coil ends:
To account for coil end AC copper loss, enter parameters ([AC Loss], etc.) used for correc-
tions in JMAG-Designer and control circuit simulators.
• The two following types of methods are available for accounting for AC copper loss for JMAG-
RT models:
• Method specifying conductor wire specifications and approximately calculating AC copper
loss in JMAG-RT models during control circuit simulations:
This is the method that is described in this section.
• Method giving harmonic equivalent copper loss resistance data loaded from CSV files to
JMAG-RT models.
For details on this method, see “Adding Loss Data to a JMAG-RT Model” on page 365.
Parameters
• [Conductors in Slot Height (zs)]
• [Conductors in Slot Width (zw)]
• [Number Of Slots Per Phase]
• [Averaged Slot Width (ws) [m]]
• [Conductor Type]:
Select either [Rectangular] or [Round].
• Cross-section dimensions:
Specify [Conductor Height (hc) [m]] and [Conductor Width (wc) [m]] when [Rectangular] is
selected.
Specify [Conductor Diameter (hc) [m]] when [Round] is selected.
528
Settings and Notes for Creating JMAG-RT Models
Slot cross-sections
529
JMAG Version 22.2 User's Manual
JMAG-RT
L ij :
• The initial position of the rotor is the “position where the direction of the d-axis and U/U1 axes
coincides.” You can specify the d-axis. For details see explanation on [Rotor Initial Position] in
the [Create] tab on page 535.
Analysis type
• Create a FEM model for a magnetic field transient analysis.
Analysis Conditions
• Set 4 FEM Coil conditions. The four conditions include three stator coils (U-phase, V-phase, W-
phase) and one field coil.
• Set the Rotation Motion condition and select [Constant Revolution Speed] in [Displacement
Type]. Even if a different type is selected, [Constant Revolution Speed] is used in FEA with
JMAG-RT.
• The initial position of the rotor can be set to any position. JMAG-RT automatically determines
the position for the current phase at zero based on the flux linkage calculation when creating a
JMAG-RT model.
• Set Iron Loss conditions when accounting for iron loss during calculations. Additionally, select
any method other than [Hysteresis Model] as the calculation method for [Hysteresis Loss]. Select
any method other than [Eddy Currents in Steel Plate] as the calculation method for [Joule Loss].
When multiple Iron Loss conditions are set to FEM models, the sum of loss calculated from each
Iron Loss condition is output to JMAG-RT model lookup tables.
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
530
Settings and Notes for Creating JMAG-RT Models
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
Meshing
• Generate a mesh using one of the following methods. Selection of [Standard Meshing], [Slide
Mesh], or [Generate Mesh at Each Step] is done in the [Mesh Properties] dialog:
• [Standard Meshing] + [FEM+BEM]:
The [FEM+BEM] can be selected under [Calculation Method] in the [Study Properties] dia-
log only for a 2D model.
• [Standard Meshing] + Slide condition manual setting
• [Slide Mesh]:
The Slide condition is automatically set when the Rotation Slide Mesh option is used to gen-
erate mesh.
• [Generate Mesh at Each Step] (patch mesh function)
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
When the circuit's conversion factors for the stator coil and field coil are different, specify the
conversion factor for each circuit using the Circuit Conversion function in the [Study Properties]
dialog and the Circuit Conversion condition.
The conversion factors of each circuit can also be set in the JMAG-RT library manager without
using the Circuit Conversion condition.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
Other notes
• It is not necessary to associate FEM Coil conditions with FEM Coil components. It is not neces-
sary to create the circuit itself. For FEM Coil conditions that are not associated with FEM Coil
components a warning is displayed in the [Project Manager] tree in JMAG-Designer, however
there is no need to modify it.
• JMAG RT cannot perform calculations that account for eddy currents. Even if [Allow Eddy Cur-
rent] or [Calculate Distribution in Steel Plate] is selected from the [Eddy Currents] list in the
material properties for a part, eddy currents cannot be accounted for.
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
531
JMAG Version 22.2 User's Manual
JMAG-RT
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened.
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
[Information] Tab
The [Information] tab manages information in the JMAG-RT model.
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model
Name] column in the [RT Model Library] table in the
JMAG-RT Library Manager.
[Created By] Entering this item is optional.
[File Name], [Motor Type], [Creation These items are automatically entered by JMAG-RT.
Data], [JMAG Version], [RTT File Ver-
sion]
[Motor Information]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Weight (kg)], [Shaft Length (m)], Enter these items arbitrarily.
[External Diameter (m)], [Moment of Values entered here are not used for calculation to create a
Inertia (kgm2)], [Rated Speed (rpm)], JMAG-RT model.
[Rated Output (kW)], [Rated Cur-
rent (A)], [Rated Voltage (V)]
[Number of Poles] This item is automatically entered after completion of calcu-
lation for JMAG-RT model creation.
532
Settings and Notes for Creating JMAG-RT Models
Item Description
[d-axis Offset Angle (deg)] This item is automatically entered after calculation to cre-
ate JMAG-RT model is finished. The value of θ shown
below is displayed here.
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
533
JMAG Version 22.2 User's Manual
JMAG-RT
Item Description
[Flux Resolution], [Inductance Resolu- Each item is automatically entered after completion of calcu-
tion], [Torque Resolution] lation for JMAG-RT model creation.
MEMO When [Torque setting is same as inductance] is selected in the [Create] tab, the following
parameters are affected, and mechanical angle calculation range for inductance and torque change as
shown in the table below.
• [Use half electrical angle periodicity] in the [Create] tab.
• [Use auto angle resolution setting for saving time] in the [Create] tab.
Use auto angle Mechanical angle Mechanical angle
Use half electrical
resolution setting for calculation range of calculation range of
angle periodicity
saving time inductance torque
OFF OFF 1 period 1 period
ON OFF 1/2 period 1/2 period
OFF ON 1/2 period 1/6 period
ON ON 1/2 period 1/6 period
[Output Port]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
Output port table The settings under the [Output Port] tab are automatically
filled in.
[Winding Conductors]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in JMAG-
RT Viewer, the contents in this column are displayed in JMAG-
RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-RT
Viewer.
[Conductors in Slot Height], When the conductor wire specifications are specified on the [Wind-
[Conductors in Slot Width], ing Conductor] tab, these parameters are automatically entered
[Slots per Phase], [Averaged Slot when calculations for creating JMAG-RT models end.
Width (m)], [Conductor Type],
[Conductor Height (m)], [Con-
ductor Width (m)], [Conductor
Diameter (m)], [Core Stack
Length (m)], [Conductivity (S/
m)]
534
Settings and Notes for Creating JMAG-RT Models
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
[Create] Tab
[Number of Poles]
Specifies the number of poles for the synchronous motor.
535
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Ignore the difference This option can be used when [Specified] is selected in [Rotor Initial Posi-
from automatic calcula- tion (deg)].
tion] When this option is used, processing for no-load analysis and load analysis
is run together. Therefore, the calculation time. is shorter compared to
when the option is not used.
• Selected (default):
Load analysis is run even when there is a difference of electrical angle
±5deg or more between the initial position (deg) calculated in no-load
analysis and the value entered in the [Rotor Initial Position (deg)] box.
When the checkbox is selected, operations are processed in the following
order:
(1). Create input JCF files for no-load analysis and load analysis.
(2). Run no-load analysis and load analysis.
(3). Calculate the rotor initial position from the result of the no-load
analysis.
(4). Output a warning message to the solver report when there is a differ-
ence between the calculated initial position and the value entered in the
[Rotor Initial Position (deg)] box.
(5). Create RTT files from the results of the no-load analysis and load
analysis.
• Cleared:
Load analysis is canceled when there is a difference of electrical angle
±5deg or more between the initial position (deg) calculated in no-load
analysis and the value entered in the [Rotor Initial Position (deg)] box.
When the checkbox is cleared, operations are processed in the following
order:
(1). Create an input JCF file for no-load analysis.
(2). Run no-load analysis.
(3). Calculate the rotor initial position from the result of the no-load
analysis.
(4-1). Cancel the no-load analysis when there is a difference between the
calculated initial position and the value entered in the [Rotor Initial Posi-
tion (deg)] box. Do not proceed to (5) and (6).
(4-2). Create an input JCF file for load analysis when there is no differ-
ence between the calculated initial position and the value entered in the
[Rotor Initial Position (deg)] box.
(5). Run load analysis.
(6). Create RTT files from the results of no-load analysis and load analy-
sis.
536
Settings and Notes for Creating JMAG-RT Models
Rotation Rotation
direction direction
Distributed Concentrated
winding winding
Rotation Rotation
direction direction
Distributed Concentrated
winding winding
Parameter Description
[Number of Turns] Specifies the number of turns for the stator coil and the field coil.
The value specified here is used for FEA in JMAG-RT.
[Connection Pattern] Select either [Y-connection] or [Delta-connection].
When performing circuit calculations using Simulink, the connection pat-
tern specified in the properties of the JMAG-RT model block is used, and
the connection pattern selected here is not used.
Each pattern is shown below. Arrows in the figure represent the positive
direction of the current.
537
JMAG Version 22.2 User's Manual
JMAG-RT
[Y-connection] [Delta-connection]
Parameter Description
[Resistance (ohm)] Specifies the resistance value of the coil.
When performing circuit calculations using JMAG-Designer, the value
specified here is used as the default value.
When performing circuit calculations using Simulink, the value specified
here is not used.
[Circuit Conversion Series The conversion factors of Circuit Conversion set in the input JCF file are
Number], [Circuit Con- shown in each text box.
version Parallel Number] Change conversion factors as preferred such as when changing the circuit
conversion factors of the field coil and stator coil. In doing so, make sure to
consider how the circuit of a partial model is connected when the circuit is
changed to a full model.
Note that [Circuit Conversion Series Number] and [Circuit Conversion
Parallel Number] can be set when a Circuit Conversion condition is not set
in the input JCF file.
538
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Current type] Select the method to specify motor model calculation points.
• [Amplitude, Current Phase]:
Specifies motor model calculation points with a current amplitude table
and a current phase table.
• [dq Axis Current]:
Specifies motor model calculation points with a d-axis current table and
a q-axis current table.
When this is selected, specify d-axis current Id, q-axis current Iq, current
amplitude Ia, and current phase β using the following formula (can be
used for both Delta connections and Star connections).
Iq = ( 3 ⁄ 2 ) × I a × cos ( β )
I d = – ( 3 ⁄ 2 ) × I a × sin ( β )
I a : phase current amplitude (A)
[Apply nonlinear fast Select this checkbox to speed up the processing of nonlinear calculations.
solver] A differential inductance is calculated from a specified current and a cur-
rent slightly larger than this specified current.
When [Apply nonlinear fast solver] is selected, the specified current calcu-
lation results are used as the initial values for the slightly larger current cal-
culations.
MEMO When this checkbox is selected, the [Use High Speed Solver]
option is used. This option can be set in the [Nonlinear Calculation] set-
ting panel of the [Study Properties] dialog in JMAG-Designer.
[Torque setting is same as • Selected:
inductance] When this is selected, the setting of the current resolution for inductance
also applies to the setting of the current resolution for torque.
• Cleared:
When this is selected, different current resolution can be set for torque
and inductance. In this case, the current resolution for magnetic flux uses
the same setting as the current resolution for inductance.
539
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Use phase symmetry] This checkbox can be set when [Amplitude, Current Phase] is selected for
[Current Type].
• Selected:
Assumes that the magnetic flux, torque, and inductance of the motor
have symmetry with respect to phase and executes FEAs only within the
phase range of -90 to +90 degrees of electrical angle. Based on the results,
FEAs for the remaining phase range (+90 to +270 degrees) are performed
in post processing.
With these settings, the FEA resolution (number of cases) is reduced by
about half, so it is possible to greatly reduce the time taken to create a
JMAG-RT model. In addition, since the results data stored in the
JMAG-RT model is reduced, the file size of the JMAG-RT model is
reduced.
• Cleared:
FEAs in the phase range of 0 to 360 degrees of electrical angle are per-
formed assuming that the magnetic flux, torque, and inductance of the
motor have no symmetry with respect to phase.
When [Use phase symmetry] is selected, no physical quantity output under
the [Output Port] tab can be set.
[Inductance]
Specifies the calculation points for inductance.
Parameter Description
[Use half electrical angle When the angle dependency of inductance for each phase has periodicity
periodicity] for each 1/2 electric periodic angle, select [Use half electrical angle period-
icity]. Periodicity can be accounted for when creating a JMAG-RT model
to decrease the calculation amount.
[Stator Coil Amplitude This parameter is displayed when selecting [Amplitude, Current Phase] as
(A)] [Current Type].
Click [Point Sequence] to open the [Current Point Sequence] dialog and
specify a table of the phase current amplitude.
Specify the value bigger than 0.
An error may occur in the calculation when the ratio of current resolution
and [Max] is less than 1.0e-4. Resolution is the difference between [Max]
and [Min] divided by the [Divisions]. Change either the value of [Max],
[Min], or [Divisions] when it matches the state above.
[Stator Coil Current This parameter is displayed when selecting [Amplitude, Current Phase] as
Phase (deg)] [Current Type].
Click [Point Sequence] to open the [Current Phase Point Sequence] dialog,
and then specify a current phase table.
• When [Use phase symmetry] is selected, specify current phases between -
90 and +90 degrees of electrical angle inclusive.
• When [Use phase symmetry] is cleared, specify current phases between 0
and 360 degrees of electrical angle inclusive.
540
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[d-Axis Current (A)] This parameter is displayed when selecting [dq Axis Current] as [Current
Type].
Click [Point Sequence] to open the [Current Point Sequence] dialog and
specify a table of the d-axis current.
Specify the real value.
An error may occur in the calculation when the ratio of current resolution
and [Max] is less than 1.0e-4. Resolution is the difference between [Max]
and [Min] divided by the [Divisions]. Change either the value of [Max],
[Min], or [Divisions] when it matches the state above.
[q-Axis Current (A)] This parameter is displayed when selecting [dq Axis Current] as [Current
Type].
Click [Point Sequence] to open the [Current Point Sequence] dialog and
specify a table of the q-axis current.
Specify the real value.
An error may occur in the calculation when the ratio of current resolution
and [Max] is less than 1.0e-4. Resolution is the difference between [Max]
and [Min] divided by the [Divisions]. Change either the value of [Max],
[Min], or [Divisions] when it matches the state above.
[Field Coil Current (A)] Click [Point Sequence] to open the [Current Point Sequence] dialog and
specify a table of the field coil current.
Specify the value bigger than 0. Only positive values can be entered.
An error may occur in the calculation when the ratio of current resolution
and [Max] is less than 1.0e-4. Resolution is the difference between [Max]
and [Min] divided by the [Divisions]. Change either the value of [Max],
[Min], or [Divisions] when it matches the state above.
[Mechanical Angle Reso- Specifies the rotor position data resolution.
lution (deg)] Values larger than 0 can be typed.
[Torque]
Specifies the calculation points for torque.
MEMO When [Torque setting is same as Inductance] is selected, [Torque] settings are not needed.
Parameter Description
[Stator Coil Amplitude See the description for [Stator Coil Amplitude (A)] in [Inductance].
(A)]
[Stator Coil Current See the description for [Stator Coil Current Phase (deg)] in [Inductance].
Phase (deg)]
[Field Coil Current (A)] See the description for [Field Coil Current (A)] in [Inductance].
[d-Axis Current (A)] See the description for [d-Axis Current (A)] in [Inductance].
[q-Axis Current (A)] See the description for [q-Axis Current (A)] in [Inductance].
[Mechanical Angle Reso- See the description for [Mechanical Angle Resolution (deg)] in [Induc-
lution (deg)] tance].
541
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Calculate Rotation • Selected:
Angle from the Number The angle of one period of torque ripple is automatically calculated from
of Poles] the number of poles. The equation is as follows:
360 1
θ mech = --------- × ---
pn 6
[Iron Loss]
Specifies whether to consider iron loss in FEA for JMAG-RT model creation.
Parameter Description
[Allow Iron Loss] • Cleared:
Iron loss is not accounted for in FEA for JMAG-RT model creation.
• Selected:
Iron loss is accounted for FEA for JMAG-RT model creation.
When a JMAG-RT model with iron loss data is used in a control circuit
simulation, the JMAG-RT model outputs the value after subtracting the
torque corresponding to the iron loss.
T ' = T – W iron ⁄ ω
T ' : torque (N·m) that takes into account iron loss
T : torque (N·m) that does not take into account iron loss
W iron : iron loss (W)
ω : angular velocity (rad/s)
Note the following:
• Iron loss cannot be accounted for in the control circuit simulation
using PSIM.
• Iron loss output from the iron loss analysis solver is accounted for in a
control circuit simulation.
• To select [Allow Iron Loss], the Iron Loss condition should be set in
the input JCF file of JMAG-RT.
542
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Analysis Mode] When starting to create JMAG-RT models using magnetic field analysis
input files that are set with Iron Loss conditions, magnetic field analysis is
executed first. After magnetic field analysis has completed, iron loss analysis
is executed next.
The timing for when to obtain iron loss analysis solver licenses is specified
under [Analysis Mode]. Select either of the following:
• [High Speed Mode (Use Iron Loss License During Magnetic Field Anal-
ysis]:
Iron loss analysis solver licenses are also secured in addition to magnetic
field analysis solver licenses at the same time that magnetic field analysis
begins.
Iron loss analyses can start smoothly and without issue after magnetic
field analyses have completed. Iron loss analysis solver licenses that are
currently secured cannot be used with other jobs, however.
• [Conventional Mode (Use Iron Loss License After Magnetic Field Analy-
sis is Completed)]:
Once magnetic field analyses have completed, the process for obtaining
iron loss analysis solver licenses begins.
No loss in time occurs if there exists iron loss analysis solver licenses that
are not being used at the point where magnetic field analyses have com-
pleted. If there are no iron loss analysis solver licenses that are not being
used, however, then a waiting status will occur until iron loss analysis
solver licenses are released.
Default settings are those that were configured in the [Iron Loss condition]
setting panel of the [Study Properties] dialog when magnetic field analysis
input files were created.
[Rotate Velocity] Select the rotation speed resolution setting method to be used when creat-
ing a JMAG-RT model. The iron loss at each rotation speed specified is
output to a JMAG-RT model.
• [Simple Settings]:
Specifies the resolution automatically based on the value of maximum
rotation speed.
Enter the value in [Maximum Revolution Speed (rpm)].
The model calculation process will use speed increments fifth part of the
maximum revolution speed. For example, when the [Maximum Revolu-
tion Speed (rpm)] is set to 3600rpm, the model creation process will use
revolution speed of 720, 1440, 2160, 2880 and 3600.
• [Advanced Settings]:
Uses the specified resolution.
Click [Point Sequence] then the [Point Sequence] dialog is displayed.
Specify a table for the revolution speeds.
543
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
Note the following:
• Circuit simulators refer to JMAG-RT model iron loss tables using the
absolute value of rotation speed hence setting a negative value as the rota-
tion speed is allowed.
• The rotation speed used in iron loss analysis executed to create iron loss
data in a JMAG-RT model is the rotation speed specified in [Simple Set-
tings] or [Advanced Settings] that is closest to zero. Results from other
rotation speeds are interpolated within the program from the results from
the rotation speed closest to zero and output as a JMAG-RT model.
[Parallel Computing], [Machine (Server)], [CPU Group Name], [Hosts File], [License
(LM-X)]
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated:
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Do Not Output Distribution to Result File], [Do not leave result files], [Delete result
file], [Delete result file] button, [Export] button
These are all common settings for motors. See the description on PM synchronous motors on page
443.
544
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Title] Specifies the title of the output port.
[Target set] Specifies which physical quantities in the set that are set in the JCF file to
output. Click the button. And select the checkboxes for the sets to be
output in the [Select] dialog.
The physical quantity to be output must be all the same type (nodes, ele-
ments, element edges, element faces) for a set in a single output port.
For details on set creation methods, see “JMAG User's Manual Operations
Edition”.
[Type] under [Type] Select the type of physical quantity to be output. The following physical
quantities can be selected.
[Magnetic Flux Density], [Magnetic Field Strength], [Magnetization],
[Current Density], [Joule Loss Density], [Lorentz Force Density],
[Nodal Force]
Each physical quantity has dependencies on the following [Amplitude,
Current Phase] physical quantities or on the [dq Axis Current] physical
quantities depending on if [Current Type] is [Amplitude, Current Phase]
or [Current Type] is [dq Axis Current], respectively.
• When [Current Type] is [Amplitude, Current Phase], each physical
quantity has dependency on current amplitude (A), current phase (deg),
and mechanical angle (deg).
• When [Current Type] is [dq Axis Current], each physical quantity has
dependency on d-axis current (A), q-axis current (A), and mechanical
angle (deg).
545
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Coordinate System] Select which coordinate system should be used to output the physical
under [Type] quantities. The following items are displayed as the model coordinate sys-
tem.
[Global Rectangular], [Cylindrical], [Local Rectangular (Y-Z-X)], [Local
Rectangular (Z-X-Y)]
Any coordinate system set in a JCF file can be referenced.
In scalar type physical quantities (Joule loss density), a coordinate system
cannot be selected.
[Component] under Specifies the physical quantity component.
[Type] For rectangular coordinate system, you can select from [Absolute value],
[X], [Y], and [Z].
For cylindrical coordinate system, you can select from [Absolute value],
[R], [θ], and [Z].
In scalar type physical quantities (Joule loss density), component cannot be
selected.
[Calculation] under Select the type of value to be output.
[Type] [Minimum], [Maximum], [Average], [Integral], [Summation]
When [Integral] is selected in [Calculation], [Coordinate System] and
[Component] cannot be set. However, for part sets, [Component] must be
set even when [Integral] is selected.
MEMO The combinations of calculation methods for each set (mesh group) type are as follows:
Minimum value,
Set type/calculation method maximum value, Total Integral
simple average
Vertex, node -
Part, element
Edge, element edge -
Face, element face -
[Reference Resolution]
The resolution of output physical quantities is determined from the settings on the [Create] tab.
Select [Refer inductance setting] or [Refer torque setting].
546
Settings and Notes for Creating JMAG-RT Models
[Temperature Correction]
Specify the reference temperature and correction factor for both the stator coil and field coil based
on the correction equation written below.
Correction equation for coil
R′ = R ( 1 + α ( Tr now – Tr base ) )
The range of the coefficient is 0.0 and over. Default value is 3810 ppm/K.
Tr now : coil temperature during motor drive (temperature during analysis) (K)
Notes
• The correction factors specified in the [RT Correction] tab can be used in the control circuit
simulation using Simulink.
If nothing is connected to the input ports [Coil Temp] and [Field Coil Temp] of the JMAG-RT
model block, the simulation assumes that the temperature of the coils of the motor being driven
is 0 K. Clear [Use_Temperature_Correction] in the properties of the JMAG-RT model block
when not performing temperature correction.
547
JMAG Version 22.2 User's Manual
JMAG-RT
I snew : stator coil current after correction (A) *Used when referencing torque.
I fnew : field coil current after correction (A) *Used when referencing torque.
[Direct Correction]
Parameter Description
[Flux Linkage of Stator Coil] K 1 Correction factor for flux linkage of stator coil. The default is
1.
[Flux Linkage of Field Coil] K 2 Correction factor for flux linkage of field coil. The default is
1.
[Torque Correction] K 3 Correction factor for torque. The default is 1.
[Complex Correction]
Parameter Description
[Steel Sheet] K 4 Steel sheet grade. The default is 1.
548
Settings and Notes for Creating JMAG-RT Models
[Reference Correction]
Parameter Description
[Number of Turns of Stator Coil (Cur- C1 = K7 ⁄ ns
rent Reference)] C 1
K 7 : correction value for the number of turns of stator coil
n s : number of turns
n f : number of turns
Notes
• [Winding Conductor (AC Losses)] settings are optional.
• [Winding Conductor (AC Losses)] input parameter values cannot be used in FEM analysis
for creating JMAG-RT models.
• Specifications for conductor wire can be entered even in JMAG-Designer and control circuit
simulators.
• When using JMAG-Designer and Simulink as control/circuit simulators, AC copper loss can be
accounted for in JMAG-RT models. AC copper loss cannot be accounted for when using PSIM
or user-defined C programming languages.
• To not publish the [Winding Conductor (AC Losses)] information given to a JMAG-RT model
for the users of that JMAG-RT model, clear [Publish] for [Winding Conductor] in the [Informa-
tion] tab.
• The following settings are not included in the specifications of the conductor wire that are speci-
fied here.
• Conductor series/parallel information.
During control circuit simulations, AC copper loss is calculated assuming that conductors are
connected in series.
• Coil ends:
To account for coil end AC copper loss, enter parameters ([AC Loss], etc.) used for correc-
tions in JMAG-Designer and control circuit simulators.
Parameters
• [Conductors in Slot Height (zs)]
• [Conductors in Slot Width (zw)]
• [Number Of Slots Per Phase]
• [Averaged Slot Width (ws) [m]]
• [Conductor Type]:
Select either [Rectangular] or [Round].
549
JMAG Version 22.2 User's Manual
JMAG-RT
• Cross-section dimensions:
Specify [Conductor Height (hc) [m]] and [Conductor Width (wc) [m]] when [Rectangular] is
selected.
Specify [Conductor Diameter (hc) [m]] when [Round] is selected.
• [Core Stack Length [m]]
• [Conductivity [S/m]]
Slot cross-sections
550
Settings and Notes for Creating JMAG-RT Models
Generic Model
• Concerning Generic Models (page 551)
• Creating an FEM Model with JMAG (page 552)
• JMAG-RT Library Manager Settings (page 556)
• A JMAG-RT generic model has excitation current dependency and displacement dependent coil
flux linkage, coil inductance, and an electromagnetic force/torque table. In addition, since the
JMAG-Designer Circuit Editor contains circuit wiring information, there are no constraints on
the circuit wiring method.
• Multiple Motion conditions are supported. However, there are the following restrictions:
• When [Sin (1-phase)] or [Sin (3-phase)] is selected from the [Drive Type] list in the [Coil
Property] group box under the JMAG-RT Library Manager [Create] tab, [Use half electrical
angle periodicity] in [Inductance] in the [Current] group box cannot be selected. If selected,
an error is generated.
• For the JMAG-RT generic model, the following physical quantity can be output arbitrarily:
• Magnetic flux density
• Magnetic field strength
• Magnetization
• Current density
• Joule loss density
• Lorentz force density
• Nodal force
551
JMAG Version 22.2 User's Manual
JMAG-RT
Limitations
• Eddy current and iron loss cannot be taken into account.
• A JMAG-RT generic model does not include information on equations of motion. Define the
equations of motion within a block on the control circuit simulation side that uses JMAG-RT
generic model.
• It is not possible to define different current resolutions for inductance and torque.
Analysis type
• Create a FEM model for a magnetic field transient analysis.
Analysis conditions
• When adding loss data to an RTT file exported by executing FEM computations from JMAG-
RT, use single-byte characters in the title for the Motion condition set in JMAG-Designer. Loss
data cannot be added when specifying a Motion condition where multi-byte characters are used
in their titles.
For details on adding loss data to an RTT file, see “Adding Loss Data to a JMAG-RT Model” on
page 365.
• When using FEM models set with Temperature Distribution conditions, [Constant] must be
selected for those Temperature Distribution conditions. FEM models that possess Temperature
Distribution conditions with either [Table], [Thermal Circuit], or [Coupling Analysis] selected
cannot be used in JMAG-RT.
Circuit
• Circuit wiring information is required for JMAG-RT generic models. Create a circuit using the
JMAG-Designer Circuit Editor.
The following circuit components must be used in JMAG-RT generic model circuits:
• FEM Coil components:
Link FEM Coil components with FEM Coil conditions.
The following components can be used in JMAG-RT generic model circuits:
• Inductor components
• Resistor components
• Capacitor components
• Electric Potential Probe components
• Electric Potential Source (1 Terminal) components
• Current Source (1 Terminal) components
• Ground components
Components other than above should not be used JMAG-RT generic model circuits.
• The order of input terminals for generic model RTT files to be created (such as the terminal elec-
tric potential of JMAG-Designer JMAG-RT Model components, and the source of the Simulink
JMAG_RT_generic_V/Iin block, etc.) depends on the terminal IDs of input FEM model cir-
cuits.
Terminal IDs cannot be confirmed in JMAG-Designer or in the Circuit Editor. Circuits must
552
Settings and Notes for Creating JMAG-RT Models
therefore be created after gaining an understanding the of the rules that concern how terminal
IDs are assigned.
Rules for terminal ID assignment are as follows:
• Terminal IDs are determined based on the position of each terminal in a circuit diagram in
the Circuit Editor.
• The initial position for the assignment of terminal IDs is the top left of a circuit diagram.
• Terminal IDs are given in descending order in a longitudinal direction from the top.
• Multiple terminals handled as one single terminal in input FEM models (JCF files) all share
one terminal ID.
The figures below consist of input FEM model circuits for 6-phase motors, and JMAG-RT
Model components that refer to RTT files created based on those input FEM models.
The “input FEM model Electric Potential Source (1 Terminal) component terminals” and the
“JMAG-RT Model component input electric potential terminals” are linked, and this displayed
in the figures via the dotted lines.
The components that make up the circuits are the same in both the left and right figures.
Because the positions of the components and terminals differ, however, the terminal IDs given to
each terminal are also different. As a result of these differences in position, there exists a differ-
ence in what is represented for the terminal electric potential (from V1 to V6) of the JMAG-RT
Model components.
The V2 terminal of the JMAG-RT Model component in the left figure, for example, acts as the
input electric potential of the V1-phase coil, whereas the V2 terminal of the JMAG-RT Model
component in the right figure acts as the input electric potential of the U2-phase coil.
553
JMAG Version 22.2 User's Manual
JMAG-RT
Meshing
• Generate a mesh using any method.
Study properties
• When using a partial FEM model, enable both the Full Model Conversion function and the Cir-
cuit Conversion function in the [Study Properties] dialog and specify the respective conversion
factors. JMAG-RT uses the FEM analysis result value as the value in full models.
• When Iron Loss conditions are set in the FEM model, iron loss calculations are also run in the
FEA run by JMAG-RT. To use the SMP function in this iron loss calculation, select [Parallel
Computing (Parallel Setting is Set from the Parallel Tab)] in the [Iron Loss] setting panel of the
[Study Properties] dialog.
MEMO The parallel computing function (SMP, MPP, hybrid, GPU) settings for magnetic field analysis
can be changed in the [Create] tab of the JMAG-RT model library. The parallel computing settings for
iron loss calculations cannot be changed in the JMAG-RT model library.
554
Settings and Notes for Creating JMAG-RT Models
Other notes
• JMAG RT cannot perform calculations that account for eddy currents. Even if [Allow Eddy Cur-
rent] or [Calculate Distribution in Steel Plate] is selected from the [Eddy Currents] list in the
material properties for a part, eddy currents cannot be accounted for.
• When distributing multiple cases of calculation on multiple machines, it may take time to trans-
fer the result files. By setting the following options in the [Output Control] setting panel of the
[Study Properties] dialog, the result file size and the number of files are reduced, and the file
transfer time and the total calculation time. can be shortened.
• Select [Output Table Results Only (NO mesh will be Output)].
MEMO In addition to the above settings, even if you select [Do Not Output Distribution to Result
File] on the [Create] tab of the JMAG-RT Library Manager, it is effective in reducing the calculation
time.
• The initial position of FEM model rotors becomes the initial position of rotors for JMAG-RT
model that are created based on those FEM models. If initial rotor positions are specified in
Motion conditions set to FEM models, then those values are also accounted for when determin-
ing the initial position of rotors for JMAG-RT models.
In JMAG, it is recommended that the initial positions of FEM model rotors are specified so that
the mechanical angle difference between the U-axis (U-phase coil magnetic flux direction) and
the d-axis is 0 deg.
•
d-axis direction
555
JMAG Version 22.2 User's Manual
JMAG-RT
[Information] Tab
The [Information] tab manages information in the JMAG-RT model.
[Basic Information]
Item Description
[Title] Entering this item is optional.
The characters entered in [Title] are displayed in the [Model
Name] column in the [RT Model Library] table in the
JMAG-RT Library Manager.
[Created By] Entering this item is optional.
[File Name], [Motor Type], [Creation These items are automatically entered by JMAG-RT.
Data], [JMAG Version], [RTT File Ver-
sion]
[Comment]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Comment] box Optionally enter comments about JMAG-RT model.
[Resolution]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
[Suppress Calculation Case], [Coil Set] These items are set automatically after the model is created
table, [Independent Motion] table by JMAG-RT.
556
Settings and Notes for Creating JMAG-RT Models
[Output Port]
Item Description
[Publish] • Selected:
When opening the RTT file output from JMAG-RT in
JMAG-RT Viewer, the contents in this column are dis-
played in JMAG-RT Viewer.
• Cleared:
The contents in this column are not displayed in JMAG-
RT Viewer.
Output port table The settings under the [Output Port] tab are automatically
filled in.
[Folder]
The RTT file is exported to the folder indicated in this text box. The HTML file (JCF file
name.html) created when the JMAG-RT model data is created is exported to this folder with the
model data.
Furthermore, a “run” folder is created in this folder when a JMAG-RT model is created. The JPLOT
file, etc., of the FEA is exported to the run folder.
[Create] Tab
[Coil Property]
Set the parameters of the motion synchronized with the power supply current and power supply.
[Drive Type]
Decide the [Drive Type] of each coil set based on the waveforms of the currents flowing through the
FEM coils associated with that coil set. Lookup tables for magnetic flux, inductance, electromag-
netic force, torque, and current waveforms are output to RTT files.
• Combinations of multiple drive types can be used in a single JMAG-RT analysis model. Use two
[Sin(3-phase)] coil sets for 6-phase synchronous motors, for example.
• The number of JMAG-RT calculation cases is determined by the complete combination of cur-
rent data points and mechanical angle resolution data points for each coil set.
557
JMAG Version 22.2 User's Manual
JMAG-RT
• Selecting [Sin(1-phase)] (or [Sin(3-phase)]) will reduce the number of calculation cases rather
than [Constant] when setting the same current waveform.
• The number of calculation cases is reduced by increasing the number of [De-energized] coil
sets.
Select from the following:
Type Description
[Constant] Any waveform current is passed through single-phase FEM coils.
• Select [Constant] when the Motion condition to be synchronized with
the power supply connected to each phase is not set in the FEM
model of input JCF file.
[Sin (1-phase)] A sine wave current is passed through single-phase FEM coils.
• When selecting [Sin (1-phase)], the Motion condition to be synchro-
nized with the power supply connected to each phase must be set in
the FEM model of input JCF file.
• When [Sin (1-phase)] is selected, FEA with JMAG-RT is performed
under the assumption that the current is balanced in the coil set.
For this reason, assuming that a [Sin (1-phase)] RTT file is used in con-
trol circuit simulation in a circuit configuration where the affects of
return currents is large, the assumption of balanced current may be
invalid and sufficient accuracy may not be able to be obtained.
[Sin (3-phase)] A sine wave current is passed through 3-phase FEM coils.
• A single coil set can be associated with three FEM Coil conditions for
[Sin(3-phase)].
• When selecting [Sin (3-phase)], the Motion condition to be synchro-
nized with the power supply connected to each phase must be set in the
FEM model of input JCF file.
• When [Sin (3-phase)] is selected, FEA with JMAG-RT is performed
under the assumption that the current is balanced in the coil set.
For this reason, assuming that a [Sin (3-phase)] RTT file is used in con-
trol circuit simulation in a circuit configuration where the affects of
return currents is large, the assumption of balanced current may be
invalid and sufficient accuracy may not be able to be obtained.
[De-energized] FEM coils are not energized.
• Select [De-energized] for FEM coils that obtain correct solutions without
energization, such as some coils such as resolvers.
• Setting parameters in the [Current] group box is not necessary for [De-
energized] coil sets.
• Errors will occur when all coil sets are [De-energized].
558
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[FEM Coil] This list is displayed when the [Drive Type] is [Constant], [Sin(1-phase)],
or [De-energized].
FEM Coil conditions set to input JCF file FEM models are displayed in
this list.
Select the FEM Coil conditions to associate with coil sets.
[U-phase Coil], [V-phase This list is displayed when the coil set [Drive Type] is [Sin(3-phase)].
Coil], [W-phase Coil] FEM Coil conditions set to input JCF file FEM models are displayed in
this list.
Select the FEM Coil conditions to associate with the coil set U-phase, V-
phase, and W-phase.
[Number of Turns] Enter the number of turns for FEM coils.
Even when setting the number of turns for FEM coils in input JCF file
FEM models, this is overwritten by the value that is entered here.
Set a value for [Number of Turns] even when the coil set [Drive Type] is
[De-energized].
[Resistance (ohm)] Set the FEM coil phase resistance.
The phase resistance entered here is used only in control circuit simulations
with PSIM.
Set a value for [Phase Resistance] even when the coil set [Drive Type] is
[De-energized].
[Current]
Setting parameters in the [Current] group box is not necessary when the coil set [Drive Type] is [De-
energized].
Parameter Description
[Reference Coil Set] This option is available when [Drive type] of the coil set is [Sin (1-phase)]
or [Sin (3-phase)].
• Selected:
Use the same inductance and torque resolution as the referenced coil set.
With this setting, calculation cost can be further reduced. set the follow-
ing parameters:
• Reference coil set:
You can select a coil set of [Sin (1-phase)] or [Sin (3-phase)] for [Drive
Type].
• Cleared:
Set the inductance and torque resolution independently without refer-
ring to another coil set.
[Reference Motion] Set this parameter when [Drive type] of the coil set is [Sin (1-phase)] or
[Sin (3-phase)].
Select the Motion condition that synchronizes with the current cycle.
559
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Offset Angle (elec. deg)] Set this parameter when the [Drive type] of coil sets is either [Sin (1-
phase)] or [Sin (3-phase)].
Enter the value that is obtained by converting the angle difference
(mechanical angle) between the U-axis (U-phase coil magnetic flux direc-
tion) and the d-axis at the initial state of an FEM model into an electrical
angle. Users should be aware during these circumstances that the [Initial
Position] settings for Motion conditions are reflected in rotor positions at
the initial state of FEM models.
• When coil sets refer to Rotation Motion conditions:
[Offset Angle] = (x2 – x1)/[Mechanical Angle for Electric Period] x 360
x1: U-axis angle (deg), x2: d-axis angle (deg)
• When coil sets refer to Translation Motion conditions:
[Offset Angle] = (x2 – x1)/[Mechanical Displacement for Electric Period]
× 360
x1: U-axis position (m) in the translation direction, x2: d-axis position
(m) in the translation direction
Parameter Description
[Periodic] • Selected:
The displacement is assumed to be periodic. In this case, if a displace-
ment exceeding the specified value in [Mechanical Angle for Electric
Period] or [Mechanical Displacement for Electric Period] is input, the
value considering the periodicity of the displacement is output.
• Cleared:
The displacement is assumed to have no periodicity. In this case, even if a
displacement exceeding the specified value in [Mechanical Angle for
Electric Period] or [Mechanical Displacement for Electric Period] is
input, the value corresponding to [Mechanical Angle for Electric Period]
or [Mechanical Displacement for Electric Period] is output.
[Mechanical Angle for Enter the mechanical angle/displacement corresponding to one period of
Electric Period (deg)] or electrical angle.
[Mechanical Displace-
ment for Electric Period
(m)]
560
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Torque setting is same as • Selected:
inductance] The current resolution of the inductance is also used to set the current
resolution of the torque.
• Cleared:
Set different current resolutions for torque and inductance. In this case,
the data point number of magnetic flux is same as the data point number
of inductance.
[Inductance], [Torque]
Parameter Description
[Use half electrical angle • Selected:
periodicity] Calculate the inductance and torque for a half period of electrical angle,
and calculate table values for one period of electrical angle from these val-
ues. When it can be assumed that the inductance and electromagnetic
force/torque are periodic for a half period of electrical angle, if the check-
box is selected, the processing time can be shortened.
• Cleared:
Processing occurs for one period of electrical angle.
When multiple Motion conditions are set in an input JCF file and [Sin (1-
phase)] or [Sin (3-phase)] is selected for [Drive Type], clear [Use half elec-
trical angle periodicity]. If selected, an error is generated.
[Current (A)] Click [Point Sequence] to open the [Current Point Sequence] dialog and
specify a current point sequence within the operating range.
• Enter the currents in ascending order.
• As the number of data points in the point sequence increases, lookup
tables with finer resolution can be obtained.
• When [Constant] is selected for [Drive Type] and the control circuit sim-
ulation using the RTT file to be created takes positive and negative values
of the current, enter the positive and negative values . (e.g., -5, -2, -1, 1,
3, 5, 10).
[Current Phase (deg)] This parameter can be specified for the [Sin (1-phase)] or [Sin (3-phase)]
coil set.
Click [Point Sequence] to open the [Current Phase Point Sequence] dialog
and specify a current phase table.
• As the number of input points increases, it is possible to obtain lookup
tables with finer resolution.
[Mechanical Angle Reso- This can be specified for the [Sin (1-phase)] or [Sin (3-phase)] coil set.
lution (deg)] or In the case of rotational motion, set the resolution in the rotational
[Mechanical Displace- angle direction. In the case of translational motion, set the resolution in
ment Resolution (m)] the moving direction.
With a smaller value entered, it is possible to obtain lookup tables with
finer resolution.
[Reference Torque] or This parameter is specified after [Reference Motion] is selected.
[Reference Force] Select the Torque or Force condition set for the same part as the reference
Motion condition.
561
JMAG Version 22.2 User's Manual
JMAG-RT
[Correction Factor]
Specify the following parameters:
• [Temperature Correction Factor] α coili
• [Base Temperature for Temperature Correction] Tr coilibase
• [FEM Coil Number of Turns Correction Factor] C 2coili
• [Flux Linkage Correction Factor] K 2coili
• [Torque/Force Correction Factor] K 3i :
This option is not available when [Drive type] of the coil set is [Constant].
Ψ coilinew : magnetic flux (Wb) interlinked to the i -th coil after correction
Ψ coili : magnetic flux (Wb) interlinked to the i -th coil before correction
C 2coili : correction factor for the number of turns of the i -th coil
I coilinew : reference current value (A) of the i -th coil after correction. Used when calculating
inductance and torque.
I coili : reference current value (A) of the i -th coil before correction
C 2coili : correction factor for the number of turns of the i -th coil
562
Settings and Notes for Creating JMAG-RT Models
Notes
• The correction factors specified can be used in the control circuit simulation using Simulink.
If nothing is connected to the input port [coil temperature] of the JMAG-RT model block,
the simulation assumes that the temperature of the coils of the motor being driven is 0 K.
Clear [Use_Temperature_Correction] in the properties of the JMAG-RT model block when
not performing temperature correction.
• The correction factor set is cleared when the JMAG-RT model is recreated, and returned to
the default value (uncorrected state).
[Condition]
In this list, the Motion condition set in the FEM model is displayed. However, the Motion condi-
tion selected in [Reference Motion] under [Coil Property] is not displayed.
Parameter Description
[Reference Torque] or Select the torque or Force condition set for the same part as the Motion
[Reference Force] condition.
[Periodic] • Selected:
The displacement is assumed to be periodic. In this case, if a displace-
ment exceeding the value set in [Maximum Mechanical Angle] or [Maxi-
mum Displacement] is input, the value taking into account the
periodicity of the displacement is output.
• Cleared:
The displacement is assumed to have no periodicity. In this case, even if a
displacement exceeding the value set in [Maximum Mechanical Angle] or
[Maximum Displacement] is input, the value corresponding to the maxi-
mum value of the displacement is output.
[Maximum Mechanical Enter the maximum displacement of the mover.
Angle (deg)] or [Maxi-
mum Mechanical Dis-
placement (m)]
[Mechanical Angle Reso- In the case of rotational motion, set the resolution in the rotational angle
lution (deg)], or [Mechan- direction. In the case of translational motion, set the resolution in the mov-
ical Displacement ing direction. With a smaller value entered, it is possible to obtain a table
Resolution (m)] with finer resolution.
563
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Correction Factor] Specify the following parameter.
• [Torque/Force Correction Factor] K 3i
The correction equation is as follows:
Torque/electromagnetic force correction equation:
Icoilnnew : reference current value (A) of the n -th coil after correction
Data point range and calculation cases determined from current value settings
564
Settings and Notes for Creating JMAG-RT Models
JMAG-RT draws lines connecting each operating point of the obtained model and detects data
points in the vicinity of those lines. Next is to create only the cases of the detected data points
and end points of the data point range (with the red circles in the diagram below representing the
calculation cases). In this example, 22 calculation cases are created.
MEMO End point cases in the data point range are always created for the correction function.
MEMO In this example, current values are used for the first axis and second axis of the data points, but
depending on settings, data point axes will change with current amplitude, current phase, and mechani-
cal angle resolution.
565
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
[Suppress Calculation • Cleared (default):
Case] The number of cases determined by JMAG-RT settings is run as is with-
out referencing JMAG-Designer FEA results.
• Selected:
The number of FEA cases via JMAG-RT are reduced by referring to the
results of JMAG-Designer FEA that uses the same model as the JMAG-
RT input JCF file.
Note the following when using this function:
• Multiple JMAG-Designer FEA results can be referenced.
• Set the data points of each table for current amplitude, current phase,
and displacement amounts to be two or more.
• Clear [Use half electrical angle periodicity]. [Suppress Calculation
Case] and [Use half electrical angle periodicity] cannot be used
together.
[Add Calculation Case This is displayed when [Suppress Calculation Case] is selected.
Suppression Setting] but- With this button, specify the project file (.jproj) including the JMAG-
ton Designer FEA results to be referenced.
Click [Add Calculation Case Suppression Setting] to open the [Open
JMAG project file] dialog.
Specify JMAG-Designer project files (.jproj) that satisfy all of the following
conditions.
• Includes one or more transient analysis studies that possesses results.
How many cases are created in studies is of no concern.
• The same number of FEM Coil conditions and the same number of
Motion conditions as the JMAG-RT input JCF file is set.
Specify a file and click [Open] to display the [Add Suppression Calculation
Case Setting] dialog.
[Remove] Project files are deleted from the table in [Calculation Case Suppression
Property].
566
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Neighborhood Level] [Neighborhood Level] is a parameter for determining data points based on
lines that connect operating points. Specify an integer of 1 or more. The
default is “1”.
• When “1” is specified, cases with data points closest to the lines connect-
ing the detected operating points are created. See the example diagram
above.
• When “2” is specified, cases with data points that are one further outside
than that of having specified “1” are created.
The below diagram shows when the [Neighborhood Level] of the previ-
ous example is changed to “2”. The purple triangles represent the calcula-
tion cases additionally created when “2” is specified. In this example, 34
calculation cases are created.
[Parallel Computing], [Machine (Server)], [CPU Group Name], [Hosts File], [License
(LM-X)]
These are all common settings for motors. See the description on PM synchronous motors on page
443.
[Calculation Mode]
Select one of the following modes when recalculating input data that has already been calculated:
MEMO To add new result data to an existing RTT file, or to replace some result data in an existing RTT
file, use the recalculation function. For details on the recalculation function, see “Adding, or Partially
Replacing with, New Results Data in a JMAG-RT Model (Recalculation to Improve Accuracy)” on
page 345.
567
JMAG Version 22.2 User's Manual
JMAG-RT
Type Description
[Recalculate Only Failed Recalculates only cases that failed in the previous calculation.
Cases] JMAG-RT will not be able to output an RTT file unless multiple cases
have been calculated and all their cases have been completed successfully.
When this is selected, only failed cases are redone, conserving calculation
time.
In addition, the following parameter changes can be reflected in the RTT
file created in the previous calculation. To change any other parameters,
select [Redo All Calculations].
• [Connection Pattern] in [Configuration of FEM Coil] under the [Cre-
ate] tab
• [Resistance] in [Configuration of FEM Coil] under the [Create] tab
• All parameters included in [Equation of Motion (PSIM only)] under the
[Motion] tab
• All parameters under the [Information] tab
• All parameters under the [RT Correction] tab
When selecting [Recalculate Only Failed Cases], the run folder where the
FEA result file is output must remain unchanged. The run folder is created
in [Folder] under the [Information] tab.
[Redo All Calculations] Redo all calculation cases from the beginning.
[Do Not Output Distribution to Result File], [Do not leave result files], [Delete result
file], [Delete result file] button, [Export] button
These are all common settings for motors. See the description on PM synchronous motors on page
443.
568
Settings and Notes for Creating JMAG-RT Models
Parameter Description
[Title] Specifies the title of the output port.
[Target set] Specifies which physical quantities in the set that are set in the JCF file to
output. Click the button. And select the checkboxes for the sets to be
output in the [Select] dialog.
The physical quantity to be output must be all the same type (nodes, ele-
ments, element edges, element faces) for a set in a single output port.
For details on set creation methods, see “Operations Edition” and “Param-
eter Explanation Edition”.
[Type] under [Type] Select the type of physical quantity to be output. The following physical
quantities can be selected.
[Magnetic Flux Density], [Magnetic Field Strength], [Magnetization],
[Current Density], [Joule Loss Density], [Lorentz Force Density],
[Nodal Force]
Each physical quantity has current and rotational angle dependencies
for the following values depending on the [Drive Type] settings.
• When [Drive type] is [Sin (1-phase)] or [Sin (3-phase)], each physical
quantity has dependency on current amplitude (A), current phase (deg),
mechanical angle (deg).
• When [Drive type] is [Constant], each physical quantity has dependency
on current (lu, lv, lw) (A) and mechanical angle (deg).
[Coordinate System] Select which coordinate system should be used to output the physical
under [Type] quantities. The following items are displayed as the model coordinate sys-
tem.
[Global Rectangular], [Cylindrical], [Local Rectangular (Y-Z-X)], [Local
Rectangular (Z-X-Y)]
Any coordinate system set in a JCF file can be referenced.
In scalar type physical quantities (Joule loss density), a coordinate system
cannot be selected.
[Component] under Specifies the physical quantity component.
[Type] For rectangular coordinate system, you can select from [Absolute value],
[X], [Y], and [Z].
For cylindrical coordinate system, you can select from [Absolute value],
[R], [θ], and [Z].
In scalar type physical quantities (Joule loss density), component cannot be
selected.
[Calculation] under Select the type of value to be output.
[Type] [Minimum], [Maximum], [Average], [Integral], [Summation]
When [Integral] is selected in [Calculation], [Coordinate System] and
[Component] cannot be set. However, for part sets, [Component] must be
set even when [Integral] is selected.
MEMO The combinations of calculation methods for each set (mesh group) type are as follows:
569
JMAG Version 22.2 User's Manual
JMAG-RT
Minimum value,
Set type/calculation method maximum value, Total Integral
simple average
Vertex, node -
Part, element
Edge, element edge -
Face, element face -
[Reference Resolution]
The resolution of output physical quantities is determined from the settings on the [Create] tab.
Select [Refer inductance setting] or [Refer torque setting].
[Correction Factor]
Specifies the [Physical Quantity Correction Factor] K 4 value according to the following correction
equation.
570
Overview of Simulations Using JMAG-RT Models
A JMAG-RT model is a dataset of control circuit simulation parameters (coil flux linkage and inductance, resis-
tance etc.) that is extracted from FED analysis results of motors, etc. and edited. This dataset can be exported as
a RTT file.
Using blocks linked to the JMAG-RT model (RTT file) in the circuit simulator, makes it possible to run high-
speed control circuit simulation with consideration for nonlinear magnetizing properties and position depen-
dency, as if using the finite element method.
This chapter describes the settings and notes when JMAG-RT model is used with a commercial circuit simula-
tor.
MEMO A model that represents a specific application in a circuit simulator is referred to as a behavior model.
571
JMAG Version 22.2 User's Manual
JMAG-RT
572
Overview of Simulations Using JMAG-RT Models
Program Description
JMAG-RT From JMAG-RT, the following JMAG-RT models can be exported:
• PM synchronous motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model, spatial harmonic
(integral) model
• Synchronous reluctance motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model
• Unipolar stepping motor (2-phase)
• Linear solenoid
• Linear synchronous motor (3-phase)
• SR motor (3-phase, 4-phase, 5-phase)
• Induction motor (3-phase, 6-phase)
• Wound-field synchronous motor
• Generic model
JMAG-Express Classic, The following JMAG-RT models can be exported:
JMAG-Express Online • PM synchronous motor (3-phase, 6-phase):
Written in JMAG-Express as “brushless motor”.
• LdLq model
• SR motor (3-phase):
Written in JMAG-Express as “switched reluctance motor”.
• Induction motor (3-phase)
JMAG-RT Viewer The following functions can be used in JMAG-RT Viewer to make changes
and add data to the JMAG-RT model output from JMAG-RT:
• [Apply Skew]
• [Add Equivalent Iron Loss Resistance Table]
JMAG-Designer Effi- Exporting JMAG-RT models
ciency Map Analysis Stud- You can export JMAG-RT models from analysis results (response table) of
ies efficiency map analysis studies (speed-priority).
JMAG-RT models of the following applications can be exported:
• PM synchronous motor (3-phase)
• Synchronous reluctance motor (3-phase)
• Induction motor (3-phase)
Adding map data
In efficiency map analysis studies, the map data of losses obtained as analy-
sis results can be added to JMAG-RT models exported from JMAG-RT
and JMAG-Express.
The map data can be added to JMAG-RT models of the following applica-
tions:
• PM synchronous motor (3-phase, 6-phase)
• Synchronous reluctance motor (3-phase, 6-phase)
• Induction motor (3-phase)
573
JMAG Version 22.2 User's Manual
JMAG-RT
Program Description
Exporting JMAG-RT loss map models
The map data of losses obtained as analysis results can be exported as the
JMAG-RT model in efficiency map analysis studies. This model is referred
to as a JMAG-RT loss map model.
JMAG-RT loss map models of the following applications can be exported:
• PM synchronous motor (3-phase, 6-phase)
• Synchronous reluctance motor (3-phase, 6-phase)
• Induction motor (3-phase)
Notes
• Even if the JMAG-RT model of the motor with similar specifications, the result of control circuit
simulation using the model will differ depending on the program used. This difference is caused
by different priorities in each program.
• JMAG-RT gives priority to calculation accuracy when running FEA.
• JMAG-Express gives priority to calculation speed when running FEA.
• In JMAG-Designer efficiency map analysis studies, you can select whether to give priority to
calculation accuracy or calculation speed.
Create your JMAG-RT model with the program that best meets your objectives.
• The specifications of the created JMAG-RT model and its accompanying files are different
depending on the program and version used. When running the control circuit simulation, use a
file created with the same program and the same version.
574
Overview of Simulations Using JMAG-RT Models
JMAG-RT Model
MATLAB/
JMAG-Designer PSIM Program in C
Simulink
PM synchronous motor
Synchronous reluctance
-
motor
Unipolar stepping motor
Linear solenoid
Linear synchronous
motor
SR motor
Induction motor -
Wound-field synchro-
-
nous motor
Generic model -
MEMO For the latest information, see the JMAG website (https://www.jmag-international.com/).
Notes
• Support for coupled analysis using JMAG and PSIM has been discontinued for major versions
and service packs released after April 2023.
575
JMAG Version 22.2 User's Manual
JMAG-RT
576
Using JMAG-RT Models in JMAG-Designer
577
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
• JMAG-RT models cannot be used with Linux.
• JMAG-RT models of all model types provided by JMAG can be used in JMAG-Designer.
• PM synchronous motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model, spatial harmonic (integral) model
• Synchronous reluctance motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model
• Unipolar stepping motor (2-phase)
• Linear solenoid
• Linear synchronous motor (3-phase)
• SR motor (3-phase, 4-phase, 5-phase)
• Induction motor (3-phase, 6-phase)
• Wound-field synchronous motor
• Generic model
578
Using JMAG-RT Models in JMAG-Designer
579
JMAG Version 22.2 User's Manual
JMAG-RT
1. Create an FEM model in JMAG-Designer, and export an input JCF file for use with JMAG-
RT.
i. Start JMAG-Designer.
ii. Prepare a geometry model, and create a study.
For induction motors, create a frequency analysis. For models other than induction motors,
create a transient analysis.
iii. Set materials, conditions, and study properties, and generate mesh.
Depending on the motor type, add an electrical drive circuit.
iv. Export a JCF file from the study.
This can be either geometry data or mesh data.
2. Start JMAG-RT, and create a RTT file using the file in step 1.
3. Set a control circuit in JMAG-Designer.
i. Start JMAG-Designer.
ii. Prepare a dummy geometry model, and create a magnetic field transient analysis
study.
If the geometry model does not exist in the project, no other studies can be created except for
the integration analysis study.
iii. In the [Project Manager] tree, right-click the study and select [Add Circuit].
iv. Create a control circuit diagram.
v. Position JMAG-RT Model components, and link to the JMAG-RT model data file cre-
ated in step 2.
4. Run the analysis.
For example, in the [Project Manager] tree, right-click the study and select [Run Active Case].
5. Check the results.
580
Using JMAG-RT Models in a Commercial Circuit
Simulator
JMAG-RT models can be used in commercial circuit simulators such as Simulink and PSIM.
IMPORTANT Support for coupled analysis using JMAG and PSIM has been discontinued for major ver-
sions and service packs released after April 2023.
581
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
• JMAG-RT models cannot be used with Linux.
• All JMAG-RT models provided by JMAG can be used in Simulink.
• PM synchronous motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model, spatial harmonic (integral) model
• Synchronous reluctance motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model
• Unipolar stepping motor (2-phase)
• Linear solenoid
• Linear synchronous motor (3-phase)
• SR motor (3-phase, 4-phase, 5-phase)
• Induction motor (3-phase, 6-phase)
• Wound-field synchronous motor
• Generic model
• JMAG-RT Loss Map models can be used in Simulink.
582
Using JMAG-RT Models in a Commercial Circuit Simulator
The VoltageMeasurement block of the Simscape Electrical library is used for the electric signal input
block placed in this folder. Delete this block, and select the VoltageMeasurement block from the
library browser and relocate it to the model.
583
JMAG Version 22.2 User's Manual
JMAG-RT
Block Description
Models consist of the following types:
• PM synchronous motors (3-phase, 6-phase)
• Synchronous reluctance motors (3-phase, 6-phase)
• Unipolar stepping motors (2-phase)
• Linear solenoids
• Linear synchronous motors (3-phase)
• SR motors (3-phase, 4-phase, 5-phase)
• Induction motors (3-phase, 6-phase)
• Wound-field synchronous motors
• Generic models
Input signals consist of the following types:
• Electric signals
• Current signals
• Voltage signals
JMAG-RT Loss Map This block is provided by JMAG.
Model This block can link with RTT files that contain the loss map data of effi-
ciency map analysis results created using JMAG-Designer efficiency map
analysis studies.
This block consists of only a single type, and is supported by several types
of motors.
584
Using JMAG-RT Models in a Commercial Circuit Simulator
Example: JMAG_RT_pmsm_Vin
585
JMAG Version 22.2 User's Manual
JMAG-RT
RT Viewer to output the JMAG-RT model with skew and use that model for control circuit sim-
ulation.
Note, that if a skew is applied to the JMAG-RT model that is output using the JMAG-RT
Viewer apply skew function, and a skew is also applied to the model in the circuit simulator, the
analysis will result in an error.
• In the binary MEX file used in JMAG-RT model blocks, the voltage equation calculator is
described in a C language program.
586
Using JMAG-RT Models in a Commercial Circuit Simulator
File Description
RTT file (.rtt) The RTT file contains JMAG FEA result data (motor parameter
data) such as inductance and torque.
In the case of a PMSM, one of the following models (or all data) is
described according to the settings when creating the RTT file.
• LdLq model
• Spatial harmonic (differential) model
• Spatial harmonic (integral) model
You cannot edit the contents of the RTT file.
Windows 64bit: MATLAB binary files.
RT_Simulink.mexw64 These files contain the voltage equation calculation code in C-lan-
Linux 64bit: guage. You cannot edit the voltage equation calculation code.
RT_Simulink.mexa64
3-phase PMSM: Simulink model files.
JMAG_RT_pmsm_Ein.mdl These files define the JMAG-RT model (electric signal input) of a
6-phase PMSM: PMSM using the Simscape Foundation library.
JMAG_RT_pms- Either file is output when [Simulink (electric signal input)] is
m_6phase_Ein.mdl selected as a platform when the JMAG-RT model is exported from
the JMAG-RT Library Manager, JMAG-Designer, or JMAG-
Express.
3-phase PMSM: Simulink model file.
JMAG_RT_pmsm.mdl This file defines the JMAG-RT model (electric signal input) of a
PMSM using the Simscape Electrical Specialized Power Systems
library.
This file is output when [Simulink (electric signal input, Special-
ized Power Systems)] is selected as a platform when the JMAG-RT
model is exported from the JMAG-RT Library Manager, JMAG-
Designer, or JMAG-Express.
3-phase PMSM: Simulink model files.
JMAG_RT_pmsm_Vin.mdl These files define the JMAG-RT model (voltage signal input) of a
6-phase PMSM: PMSM.
JMAG_RT_pms- Either file is output when [Simulink (voltage signal input)] is
m_6phase_Vin.mdl selected as a platform when the JMAG-RT model is exported from
the JMAG-RT Library Manager, JMAG-Designer, or JMAG-
Express.
3-phase PMSM: Simulink model files.
JMAG_RT_pmsm_Iin.mdl These files define the JMAG-RT model (current signal input) of a
6-phase PMSM: PMSM.
JMAG_RT_pms- Either file is output when [Simulink (current signal input)] is
m_6phase_Iin.mdl selected as a platform when the JMAG-RT model is exported from
the JMAG-RT Library Manager, JMAG-Designer, or JMAG-
Express.
587
JMAG Version 22.2 User's Manual
JMAG-RT
File Description
3-phase SynRM: Simulink model files.
JMAG_RT_synrm_Ein.mdl These files define the JMAG-RT model (electric signal input) of a
6-phase SynRM: SynRM using the Simscape Foundation library.
JMAG_RT_syn- Either file is output when [Simulink (electric signal input)] is
rm_6phase_Ein.mdl selected as a platform when the JMAG-RT model is exported from
the JMAG-RT Library Manager or JMAG-Designer.
3-phase SynRM: Simulink model file.
JMAG_RT_synrm.mdl This file defines the JMAG-RT model (electric signal input) of a
SynRM using the Simscape Electrical Specialized Power Systems
library.
This file is output when [Simulink (electric signal input, Specialized
Power Systems)] is selected as a platform when the JMAG-RT
model is exported from the JMAG-RT Library Manager or JMAG-
Designer.
3-phase SynRM: Simulink model files.
JMAG_RT_synrm_Vin.mdl These files define the JMAG-RT model (voltage signal input) of a
6-phase SynRM: SynRM.
JMAG_RT_syn- Either file is output when [Simulink (voltage signal input)] is
rm_6phase_Vin.mdl selected as a platform when the JMAG-RT model is exported from
the JMAG-RT Library Manager.
3-phase SynRM: Simulink model files.
JMAG_RT_synrm_Iin.mdl These files define the JMAG-RT model (current signal input) of a
6-phase SynRM: SynRM.
JMAG_RT_syn- Either file is output when [Simulink (current signal input)] is
rm_6phase_Iin.mdl selected as a platform when the JMAG-RT model is exported from
the JMAG-RT Library Manager.
Torque correction table file (.pa) This file is exported when the correction table for the current
dependent torque is specified in the [RT Correction] tab of JMAG-
RT Library Manager after a JMAG-RT model is created.
The same file name as the RTT file is used. This file name is used in
the RTT file and cannot be changed.
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is exported to the folder specified in
the [Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the MEX files and Simulink model files in the above table are
placed in the following directory.
(JMAG installation directory)/solver/mod/tools/rt/simulink
Use the files in this directory after copying them into the same directory as the RTT file.
• In JMAG-Express, each file is output to the folder specified in the [Create JMAG-RT Model]
dialog.
• During control circuit simulation execution, use the file output from the same version of JMAG-
RT and JMAG-Express. All of the files listed in the table above need to be updated if a model
exported from an older version of JMAG-RT is re-calculated with a newer version of JMAG-RT
588
Using JMAG-RT Models in a Commercial Circuit Simulator
or a control circuit simulation may not run properly. The JMAG-RT model block in the circuit
of Simulink also needs to be updated.
589
JMAG Version 22.2 User's Manual
JMAG-RT
590
Using JMAG-RT Models in a Commercial Circuit Simulator
591
JMAG Version 22.2 User's Manual
JMAG-RT
592
Using JMAG-RT Models in a Commercial Circuit Simulator
Slot cross-sections
593
JMAG Version 22.2 User's Manual
JMAG-RT
d-axis direction
594
Using JMAG-RT Models in a Commercial Circuit Simulator
595
JMAG Version 22.2 User's Manual
JMAG-RT
• [LdLq (Table)]:
Ψ new = K 2 × K 4 × K 5 × C 1 × Ψ
596
Using JMAG-RT Models in a Commercial Circuit Simulator
I new : reference current value (A) after correction. See the descrip-
tion of [turns_coil2] below.
I : reference current value (A) before correction.
597
JMAG Version 22.2 User's Manual
JMAG-RT
598
Using JMAG-RT Models in a Commercial Circuit Simulator
C 2 = N new2 ⁄ N
599
JMAG Version 22.2 User's Manual
JMAG-RT
600
Using JMAG-RT Models in a Commercial Circuit Simulator
Left: Linear skew of a stator, Center: V-skew of a stator, Right: Step skew of a rotor
601
JMAG Version 22.2 User's Manual
JMAG-RT
602
Using JMAG-RT Models in a Commercial Circuit Simulator
3-phase motors
3-phase motor
Input
Tm Load torque (Nm).
The torque corresponding to load connected with a motor shaft.
switch signal A Switch signal for connection with power supply of A-phase coil terminal (On:
1, Off: 0).
When selecting [Spatial Harmonic (Integral)] for [Accuracy type], turn on/off
all of the switch signals A, B, and C.
The spatial harmonic (integral) model supports for normal driving or driving
with no-load when all terminals are open, and does not supports for open-
phase driving.
Refer also to the explanation on “Switch signal terminals setting (PMSM,
SynRM)” on page 614.
switch signal B Switch signal for connection with power supply of B-phase coil terminal (On:
1, Off: 0)
switch signal C Switch signal for connection with power supply of C-phase coil terminal (On:
1, Off: 0)
switch signal N This input port is displayed when [Use Neutral Point] is selected.
Switch signal for connection with power supply of the neutral point terminal
(On: 1, Off: 0).
Coil Temp Coil temperature (K)
Magnet Temp Magnet temperature (K).
This input terminal cannot be used when the FEM models of input JCF files
used when creating RTT models for SynRM do not possess magnets.
603
JMAG Version 22.2 User's Manual
JMAG-RT
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used for the DC volt-
age.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used for the carrier
frequency.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
is_abc Line current of each phase (ia, ib, ic) (A)
is_qd dq-axis current (is_q, is_d) (A).
See “Conversion formulas for is_qd and vs_qd” on page 612.
vs_qd dq-axis voltage (is_q, is_d) (V).
See “Conversion formulas for is_qd and vs_qd” on page 612.
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm).
The torque generated in air gap within a motor. The motor runs with “Te -
Tm” values.
Fabc For a spatial harmonic (differential) model and spatial harmonic (integral)
model, total flux linkage in coil (Wb). This value includes the magnetic flux
caused by the magnet and the current flowing in a coil.
For an LdLq model, flux linkage in each coil (Wb) caused by the magnet in
no-load.
LdLq For a spatial harmonic (differential) model, the d-axis inductance (H) and q-
axis inductance (H) calculated by 3-phase to 2-phase conversion of a 3-by-3
matrix of phase inductances included in an RTT file. In this case, both the d-
axis and q-axis are differential inductances.
For a spatial harmonic (integral) model, the d-axis inductance (H) and q-axis
inductance (H) are calculated from the total flux linkage of the coil. In this
case, only Ld is the differential inductance.
For an LdLq model, the d-axis inductance (H) and q-axis inductance (H)
included in an RTT file. The d-axis is differential inductance and the q-axis is
linear inductance.
See “Definition formulas for d- and q-axis inductance” on page 613.
Iron Loss Iron loss (W)
DC Copper Loss DC copper loss (W).
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 614.
604
Using JMAG-RT Models in a Commercial Circuit Simulator
Input
Va Electric potential of U-phase terminal (V)
Vb Electric potential of V-phase terminal (V)
Vc Electric potential of W-phase terminal (V)
Vn Electric potential of neutral point terminal (V)
Tm Load torque (Nm).
The torque corresponding to load connected with a motor shaft.
Coil Temp Coil temperature (K)
Magnet Temp Magnet temperature (K).
This input terminal cannot be used when the FEM models of input JCF files
used when creating RTT models for SynRM do not possess magnets.
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used for the DC volt-
age.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used for the carrier
frequency.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
is_abc Line current of each phase (ia, ib, ic) (A)
thetam Rotation angle (rad)
wm Rotation speed (rad/s)
605
JMAG Version 22.2 User's Manual
JMAG-RT
Input
Ia Current of U-phase coils (A)
Ib Current of V-phase coils (A)
Ic Current of W-phase coils (A)
Tm Load torque (Nm).
The torque corresponding to load connected with a motor shaft.
coilTemp Coil temperature (K)
magTemp Magnet temperature (K).
This input terminal cannot be used when the FEM models of input JCF files
used when creating RTT models for SynRM do not possess magnets.
606
Using JMAG-RT Models in a Commercial Circuit Simulator
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used for the DC volt-
age.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used for the carrier
frequency.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
thetam Rotation angle (rad)
wm Rotation speed (rad/s)
Te Output torque (Nm).
The torque generated in air gap within a motor. The motor runs with “Te -
Tm” values.
Fabc For a spatial harmonic (differential) model, total flux linkage in coil (Wb).
This value includes the magnetic flux caused by the magnet and the current
flowing in a coil.
For an LdLq model, flux linkage in each coil (Wb) caused by the magnet in
no-load.
LdLq For a spatial harmonic (differential) model, the d-axis inductance (H) and q-
axis inductance (H) calculated by 3-phase to 2-phase conversion of a 3-by-3
matrix of phase inductances included in an RTT file. In this case, both the d-
axis and q-axis are differential inductances.
For an LdLq model, the d-axis inductance (H) and q-axis inductance (H)
included in an RTT file. The d-axis is differential inductance and the q-axis is
linear inductance.
See “Definition formulas for d- and q-axis inductance” on page 613.
Iron Loss Iron loss (W)
DC Copper Loss DC copper loss (W).
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 614.
AC Copper Loss AC copper loss (W).
This is output when [Use AC copper loss resistance] is selected.
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 614.
User Specified For a spatial harmonic (differential) model, any physical quantity set in the
Parameter [Output Port] tab in the JMAG-RT Library Manager. Value depending on
current and mechanical angle.
607
JMAG Version 22.2 User's Manual
JMAG-RT
6-phase motors
6-phase motor
Input
Tm Load torque (Nm).
The torque corresponding to load connected with a motor shaft.
switch signal A1 Switch signal for connection with power supply of A1-phase coil terminal
(On: 1, Off: 0).
Refer also to the explanation on “Switch signal terminals setting (PMSM,
SynRM)” on page 614.
switch signal B1 Switch signal for connection with power supply of B1-phase coil terminal
(On: 1, Off: 0)
switch signal C1 Switch signal for connection with power supply of C1-phase coil terminal
(On: 1, Off: 0)
switch signal A2 Switch signal for connection with power supply of A2-phase coil terminal
(On: 1, Off: 0).
switch signal B2 Switch signal for connection with power supply of B2-phase coil terminal
(On: 1, Off: 0)
switch signal C2 Switch signal for connection with power supply of C2-phase coil terminal
(On: 1, Off: 0)
Coil Temp Coil temperature (K)
Magnet Temp Magnet temperature (K).
This input terminal cannot be used when the FEM models of input JCF files
used when creating RTT models for SynRM do not possess magnets.
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used for the DC volt-
age.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
608
Using JMAG-RT Models in a Commercial Circuit Simulator
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used for the carrier
frequency.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
is_A1B1C1_A2B2C Line current of each phase (ia1, ib1, ic1, ia2, ib2, ic2)(A)
2
is_q1d1_q2d2 d1q1-axis current (is_q1, is_d1) (A) and d2q2-axis current (is_q2, is_d2) (A).
See the description of the 3-phase motor for details.
vs_q1d1_q2d2 d1q1-axis voltage (is_q1, is_d1) (V) and d2q2-axis voltage (is_q2, is_d2) (V).
See the description of the 3-phase motor for details.
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm).
The torque generated in air gap within a motor. The motor runs with “Te -
Tm” values.
Fa1b1c1_a2b2c2 Total flux linkage in coil (Wb). This value includes the magnetic flux caused
by the magnet and the current flowing in a coil.
Lxx 16 instances of dq coordinate system inductance values for two coil sets are
output. The definition of each value is as follows:
(1) Ld1d1, (2) Ld1q1, (3) Lq1d1, (4) Lq1q1,
(5) Ld1d2, (6) Ld1q2, (7) Lq1d2, (8) Lq1q2,
(9) Ld2d1, (10) Ld2q1, (11) Lq2d1, (12) Lq2q1,
(13) Ld2d2, (14) Ld2q2, (15) Lq2d2, (16) Lq2q2
609
JMAG Version 22.2 User's Manual
JMAG-RT
C2 C2-phase terminal
Input
Va1 Electric potential of U1-phase terminal (V)
Vb1 Electric potential of V1-phase terminal (V)
Vc1 Electric potential of W1-phase terminal (V)
Va2 Electric potential of U2-phase terminal (V)
Vb2 Electric potential of V2-phase terminal (V)
Vc2 Electric potential of W2-phase terminal (V)
Tm Load torque (Nm).
The torque corresponding to load connected with a motor shaft.
Coil Temp Coil temperature (K)
Magnet Temp Magnet temperature (K).
This input terminal cannot be used when the FEM models of input JCF files
used when creating RTT models for SynRM do not possess magnets.
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used for the DC volt-
age.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used for the carrier
frequency.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
is_a1b1c1_a2b2c2 Line current of each phase (ia1, ib1, ic1, ia2, ib2, ic2)(A)
thetam Rotation angle (rad)
wm Rotation speed (rad/s)
Te Output torque (Nm).
The torque generated in air gap within a motor. The motor runs with “Te -
Tm” values.
Fa1b1c1_a2b2c2 Total flux linkage in coil (Wb). This value includes the magnetic flux caused
by the magnet and the current flowing in a coil.
610
Using JMAG-RT Models in a Commercial Circuit Simulator
Lxx 16 instances of dq coordinate system inductance values for two coil sets are
output. The definition of each value is as follows:
(1) Ld1d1, (2) Ld1q1, (3) Lq1d1, (4) Lq1q1,
(5) Ld1d2, (6) Ld1q2, (7) Lq1d2, (8) Lq1q2,
(9) Ld2d1, (10) Ld2q1, (11) Lq2d1, (12) Lq2q1,
(13) Ld2d2, (14) Ld2q2, (15) Lq2d2, (16) Lq2q2
Input
Ia1 Current of U1-phase coils (A)
Ib1 Current of V1-phase coils (A)
Ic1 Current of W1-phase coils (A)
Ia2 Current of U2-phase coils (A)
Ib2 Current of V2-phase coils (A)
Ic2 Current of W2-phase coils (A)
Tm Load torque (Nm).
The torque corresponding to load connected with a motor shaft.
coilTemp Coil temperature (K)
magTemp Magnet temperature (K).
This input terminal cannot be used when the FEM models of input JCF files
used when creating RTT models for SynRM do not possess magnets.
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used for the DC volt-
age.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
611
JMAG Version 22.2 User's Manual
JMAG-RT
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used for the carrier
frequency.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
thetam Rotation angle (rad)
wm Rotation speed (rad/s)
Te Output torque (Nm).
The torque generated in air gap within a motor. The motor runs with “Te -
Tm” values.
Fa1b1c1_a2b2c2 Total flux linkage in coil (Wb). This value includes the magnetic flux caused
by the magnet and the current flowing in a coil.
Lxx 16 instances of dq coordinate system inductance values for two coil sets are
output. The definition of each value is as follows:
(1) Ld1d1, (2) Ld1q1, (3) Lq1d1, (4) Lq1q1,
(5) Ld1d2, (6) Ld1q2, (7) Lq1d2, (8) Lq1q2,
(9) Ld2d1, (10) Ld2q1, (11) Lq2d1, (12) Lq2q1,
(13) Ld2d2, (14) Ld2q2, (15) Lq2d2, (16) Lq2q2
2 2
cos Θ cos Θ – --- π cos Θ + --- π Xu
Yd 3 3
= K× × Xv
Yq 2 2
– sin Θ – sin Θ – --- π – sin Θ + --- π Xw
3 3
612
Using JMAG-RT Models in a Commercial Circuit Simulator
dφ d φq
L dd = --------- L qs = -----
dI d Iq
• Star connection:
3 3
I d = – --- I sin ( βπ ⁄ 180 ) Iq = --- I cos ( βπ ⁄ 180 )
2 2
• Delta connection:
3 1 3 1
I d = – --- I sin ( βπ ⁄ 180 ) × ------- Iq = --- I cos ( βπ ⁄ 180 ) × -------
2 3 2 3
SynRM:
φd φq
L ds = ----- L qs = -----
Id Iq
• Star connection:
3 3
I d = – --- I sin ( βπ ⁄ 180 ) Iq = --- I cos ( βπ ⁄ 180 )
2 2
• Delta connection:
1 1
Id = – 3
3
--- I sin ( βπ ⁄ 180 ) × ------- Iq = --- I cos ( βπ ⁄ 180 ) × -------
2 3 2 3
613
JMAG Version 22.2 User's Manual
JMAG-RT
However, the d-axis inductance for a permanent magnet assisted SynRM is defined by the following
formula:
L ds = (φ d – φ magnet d ) ⁄ I d
• AC copper loss when using harmonic equivalent copper loss resistance data added to JMAG-RT
models from CSV files:
W ACcopper = R × ( i d × i d + i q × i q )
W ACcopper : AC copper loss (W)
R : Value obtained by converting harmonic copper loss into resistance (ohm)
i d : d-axis component of current (A)
i q : q-axis component of current (A)
• AC copper loss when using AC copper loss approximately calculated based on the specifications
of specified conductor wire:
W ACcopper = R × ( i d × i d + i q × i q )
W ACcopper : AC copper loss resistance (W)
R : resistance calculated from the specifications of the conductor wire (ohm)
i d : d-axis component of the current corresponding to AC copper loss (A)
i q : q-axis component of the current corresponding to AC copper loss (A)
614
Using JMAG-RT Models in a Commercial Circuit Simulator
Switch signal
terminals
Connection example 1: A JMAG-RT model block is connected to the power source via the
switches
The figure below is an example of a connection where terminals a, b, and c are connected to the
power source through the switches. “0” is set to the switch signal terminal if both of the switches
connected to each phase are OFF. “1” is specified if either of the switches is ON. For this example,
the current flowing in each phase is monitored and the switch signal terminal is “0” if the threshold
is below 1.0 x 10-4A.
PAM drive
615
JMAG Version 22.2 User's Manual
JMAG-RT
Connection example 2: A JMAG-RT model block is connected to the power source directly
The terminals a, b, and c are connected to the power source without passing through the switches.
Arrange the AC voltage source block, and then specify “1” to the switch signal terminal.
Connection example 3: The terminals a, b, and c of a JMAG-RT model block are open
If the terminals a, b, and c are open, specify “0” to the switch signal terminal.
For example, specify “0” to the switch signal terminal to calculate the induced voltages as indicated
in the figure below.
616
Using JMAG-RT Models in a Commercial Circuit Simulator
Example: JMAG_RT_2_mono_step
617
JMAG Version 22.2 User's Manual
JMAG-RT
File Description
RTT file (.rtt) The RTT file contains JMAG FEA result data (motor
parameter data) such as inductance and torque.
You cannot edit the contents of the RTT file.
Windows 64bit: MATLAB binary files.
RT_Simulink.mexw64
Linux 64bit:
RT_Simulink.mexa64
JMAG_RT_2_mono_step_Ein.mdl Simulink model file.
This file defines the JMAG-RT model (electric signal
input) of a 2-phase stepping motor using the Simscape
Foundation library.
This file is output when [Simulink (electric signal
input)] is selected as a platform when the JMAG-RT
model is exported from the JMAG-RT Library Man-
ager.
JMAG_RT_2_mono_step.mdl Simulink model file.
This file defines the JMAG-RT model (electric signal
input) of a 2-phase stepping motor using the Simscape
Electrical Specialized Power Systems library.
This file is output when [Simulink (electric signal
input, Specialized Power Systems)] is selected as a plat-
form when the JMAG-RT model is exported from the
JMAG-RT Library Manager.
JMAG_RT_2_mono_step_Vin.mdl Simulink model file.
This file defines the JMAG-RT model (voltage signal
input) of a 2-phase stepping motor.
This file is output when [Simulink (voltage signal
input)] is selected as a platform when the JMAG-RT
model is exported from the JMAG-RT Library Man-
ager.
JMAG_RT_2_mono_step_Iin.mdl Simulink model file.
This file defines the JMAG-RT model (current signal
input) of a 2-phase stepping motor.
This file is output when [Simulink (current signal
input)] is selected as a platform when the JMAG-RT
model is exported from the JMAG-RT Library Man-
ager.
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is output to the folder specified in the
[Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the library and MDL files in the above table are placed in the
following directory.
618
Using JMAG-RT Models in a Commercial Circuit Simulator
Use the library and MDL files in this directory after copying them into the same directory as
the RTT file.
• Only the files that are exported from the same version of JMAG-RT can be used for a control cir-
cuit simulation. All of the files listed in the table above need to be updated if a model exported
from an older version of JMAG-RT is re-calculated with a newer version of JMAG-RT or a con-
trol circuit simulation may not run properly. The JMAG-RT model block in the circuit of Sim-
ulink also needs to be updated.
Parameters (STEP)
MEMO If a correction factor is specified in the JMAG-RT Library Manager, the value is used as the
default value in Simulink.
MEMO In this table, the signal types are indicated by the following abbreviations:
• electric: electric signal input
• voltage: voltage signal input
• current: current signal input
Parameter Description Signal type
RT data file The name of RTT file that linked to JMAG-RT model block electric, voltage,
current
Use temperature Temperature correction factor use flag. electric, voltage,
correction • When this flag is selected, the value inputted in the input port current
[coilTemp] and [magTemp] of the JMAG-RT model block is
used and the temperature correction function become active.
• When this flag is cleared, the value inputted in the input port
[coilTemp] and [magTemp] of the JMAG-RT model block is
ignored and the temperature correction function is inactive.
The temperature during drive is calculated as 0 K, when the
input port [coilTemp] and [magTemp] of the JMAG-RT model
block have no connection. When temperature correction is not
used, clear [Use temperature correction] as a parameter of the
JMAG-RT model block.
Moment of inertia The inertia moment J of the rotating machine (kg·m2) electric, voltage,
current
Friction factor The friction coefficient (Nm/(rad/s)). electric, voltage,
current
Resistance of coil The resistance of the coil (ohm). electric, voltage
Factor This is the tuning parameter that is used when connecting the electric
MEX module (Simulink signals) and the Simscape Electrical
domain (physical signals).
The default value is “1e3”.
If calculation accuracy does not improve even when reducing the
time interval duration, attempt to increase the value of [Factor]
by one digit. Because it will also not be possible to obtain calcu-
lation accuracy if the value of [Factor] is too small, ensure that
setting any values smaller than the default are avoided.
619
JMAG Version 22.2 User's Manual
JMAG-RT
C 2 = N new2 ⁄ N
620
Using JMAG-RT Models in a Commercial Circuit Simulator
621
JMAG Version 22.2 User's Manual
JMAG-RT
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
Iab Coil current of each phase (ia, -ia, ib, -ib) (A)
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Input/output
Ain A-phase signal terminal
-Ain -A-phase signal terminal
Bin B-phase signal terminal
-Bin -B-phase signal terminal
622
Using JMAG-RT Models in a Commercial Circuit Simulator
Input
Va Electric potential of A-phase terminal (V)
-Va Electric potential of -A-phase terminal (V)
Vb Electric potential of B-phase terminal (V)
-Vb Electric potential of -B-phase terminal (V)
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
Iab Coil current of each phase (ia, -ia, ib, -ib) (A)
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
la Current of A-phase coils (A)
-la Current of -A-phase coils (A)
lb Current of B-phase coils(A)
-lb Current of -B-phase coils(A)
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
623
JMAG Version 22.2 User's Manual
JMAG-RT
Example: JMAG_RT_solenoid
624
Using JMAG-RT Models in a Commercial Circuit Simulator
File Description
RTT file (.rtt) The RTT file contains JMAG FEA result data such as inductance
and electromagnetic force.
You cannot edit the contents of the RTT file.
Windows 64bit: MATLAB binary files.
RT_Simulink.mexw64
Linux 64bit:
RT_Simulink.mexa64
JMAG_RT_solenoid_Ein.mdl Simulink model file.
This file defines the linear solenoid JMAG-RT model (electric signal
input) using the Simscape Foundation library.
This file is output when [Simulink (electric signal input)] is selected
as a platform when the JMAG-RT model is exported from the
JMAG-RT Library Manager.
JMAG_RT_solenoid.mdl Simulink model file.
This file defines the linear solenoid JMAG-RT model (electric signal
input) using the Simscape Electrical Specialized Power Systems
library.
This file is output when [Simulink (electric signal input, Specialized
Power Systems)] is selected as a platform when the JMAG-RT
model is exported from the JMAG-RT Library Manager.
JMAG_RT_solenoid_Vin.mdl Simulink model file.
This file defines the linear solenoid JMAG-RT model (voltage signal
input).
This file is output when [Simulink (voltage signal input)] is selected
as a platform when the JMAG-RT model is exported from the
JMAG-RT Library Manager.
JMAG_RT_solenoid_Iin.mdl Simulink model file.
This file defines the linear solenoid JMAG-RT model (current sig-
nal input).
This file is output when [Simulink (current signal input)] is selected
as a platform when the JMAG-RT model is exported from the
JMAG-RT Library Manager.
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is output to the folder specified in the
[Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the library and MDL files in the above table are placed in the
following directory.
(JMAG installation directory)/solver/mod/tools/rt/simulink
Use the library and MDL files in this directory after copying them into the same directory as
the RTT file.
• Only the files that are exported from the same version of JMAG-RT can be used for a control cir-
cuit simulation. All of the files listed in the table above need to be updated if a model exported
625
JMAG Version 22.2 User's Manual
JMAG-RT
from an older version of JMAG-RT is re-calculated with a newer version of JMAG-RT or a con-
trol circuit simulation may not run properly. The JMAG-RT model block in the circuit of Sim-
ulink also needs to be updated.
Parameters (SOLENOID)
MEMO If a correction factor is specified in the JMAG-RT Library Manager, the value is used as the
default value in Simulink.
MEMO In this table, the signal types are indicated by the following abbreviations:
• electric: electric signal input
• voltage: voltage signal input
• current: current signal input
Parameter Description Signal type
RT data file The name of RTT file that linked to JMAG-RT model block electric, voltage,
current
Use temperature Temperature correction factor use flag. electric, voltage,
correction • When this flag is selected, the value inputted in the input port current
[coilTemp] and [magTemp] of the JMAG-RT model block is
used and the temperature correction function become active.
• When this flag is cleared, the value inputted in the input port
[coilTemp] and [magTemp] of the JMAG-RT model block is
ignored and the temperature correction function is inactive.
The temperature during drive is calculated as 0 K, when the
input port [coilTemp] and [magTemp] of the JMAG-RT model
block have no connection. When temperature correction is not
used, clear [Use temperature correction] as a parameter of the
JMAG-RT model block.
Mass The mass of the mover (kg). electric, voltage,
current
Friction factor The friction coefficient (N/(m/s)). electric, voltage,
current
Spring constant The spring constant (N/m). electric, voltage,
current
Resistance of coil The resistance of the coil (ohm). electric, voltage
Factor This is the tuning parameter that is used when connecting the electric
MEX module (Simulink signals) and the Simscape Electrical
domain (physical signals).
The default value is “1e3”.
If calculation accuracy does not improve even when reducing the
time interval duration, attempt to increase the value of [Factor]
by one digit. Because it will also not be possible to obtain calcu-
lation accuracy if the value of [Factor] is too small, ensure that
setting any values smaller than the default are avoided.
Sample Time The time step for the analysis. electric, voltage,
If the default value of “-1” is used, the time step specified in current
Simulink is used for the JMAG-RT model.
If the calculation takes to long with the time step specified in
Simulink, specify a positive value for this parameter. The value
that is specified is used for the JMAG-RT model.
626
Using JMAG-RT Models in a Commercial Circuit Simulator
C 2 = N new2 ⁄ N
627
JMAG Version 22.2 User's Manual
JMAG-RT
628
Using JMAG-RT Models in a Commercial Circuit Simulator
Input
Fm Load (N). The load corresponding to load connected with a mover of sole-
noid.
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
Ia Coil current (A)
speed Speed (m/s)
disp Position (m)
Fe Electromagnetic force (N). The force generated in air gap within a solenoid.
Mover runs with “Fe - Fm” values.
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameters Manager. Value depending on current and displacement.
Input/output
Ain Electric signal phase terminal:
Aout Electric signal phase terminal
Input
629
JMAG Version 22.2 User's Manual
JMAG-RT
Fm Load (N). The load corresponding to load connected with a mover of sole-
noid.
Va Voltage (V)
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
Ia Coil current (A)
speed Speed (m/s)
disp Position (m)
Fe Electromagnetic force (N). The force generated in air gap within a solenoid.
Mover runs with “Fe - Fm” values.
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameters Manager. Value depending on current and displacement.
Input
Fm Load (N). The load corresponding to load connected with a mover of sole-
noid.
la Coil current (A)
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
speed Speed (m/s)
disp Position (m)
Fe Electromagnetic force (N). The force generated in air gap within a solenoid.
Mover runs with “Fe - Fm” values.
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameters Manager. Value depending on current and displacement.
630
Using JMAG-RT Models in a Commercial Circuit Simulator
Example: JMAG_RT_lsm
File Description
RTT file (.rtt) The RTT file contains JMAG FEA result data (motor parameter
data) such as inductance and electromagnetic force.
You cannot edit the contents of the RTT file.
631
JMAG Version 22.2 User's Manual
JMAG-RT
File Description
Windows 64bit: MATLAB binary files.
RT_Simulink.mexw64
Linux 64bit:
RT_Simulink.mexa64
JMAG_RT_lsm_Ein.mdl Simulink model file.
This file defines the JMAG-RT model (electric signal input) of a
linear synchronous motor using the Simscape Foundation library.
This file is output when [Simulink (electric signal input)] is selected
as a platform when the JMAG-RT model is exported from the
JMAG-RT Library Manager.
JMAG_RT_lsm.mdl Simulink model file.
This file defines the JMAG-RT model (electric signal input) of a
linear synchronous motor using the Simscape Electrical Specialized
Power Systems library.
This file is output when [Simulink (electric signal input, Specialized
Power Systems)] is selected as a platform when the JMAG-RT
model is exported from the JMAG-RT Library Manager.
JMAG_RT_lsm_Vin.mdl Simulink model file.
This file defines the JMAG-RT model (voltage signal input) of a lin-
ear synchronous motor.
This file is output when [Simulink (voltage signal input)] is selected
as a platform when the JMAG-RT model is exported from the
JMAG-RT Library Manager.
JMAG_RT_lsm_Iin.mdl Simulink model file.
This file defines the JMAG-RT model (current signal input) of a
linear synchronous motor.
This file is output when [Simulink (current signal input)] is selected
as a platform when the JMAG-RT model is exported from the
JMAG-RT Library Manager.
Force correction table file (.pa) Copied when the correction table for the current dependent electro-
magnetic force is specified in the [RT Correction] tab of the JMAG-
RT Library Manager after a JMAG-RT model is created (after an
FEA using JMAG-RT). The same file name as the RTT file is used.
This file name is used in the RTT file and cannot be changed.
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is output to the folder specified in the
[Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the library and MDL files in the above table are placed in the
following directory.
(JMAG installation directory)/solver/mod/tools/rt/simulink
Use the library and MDL files in this directory after copying them into the same directory as
the RTT file.
632
Using JMAG-RT Models in a Commercial Circuit Simulator
• Only the files exported from the same version of JMAG-RT can be used for a control circuit sim-
ulation. All of the files listed in the table above need to be updated if a model exported from an
older version of JMAG-RT is re-calculated with newer version of JMAG-RT or a control circuit
simulation may not run properly. The JMAG-RT model block in the circuit of Simulink also
needs to be updated.
Parameters (LSM)
MEMO If a correction factor is specified in the JMAG-RT Library Manager, the value is used as the
default value in Simulink.
MEMO In this table, the signal types are indicated by the following abbreviations:
• electric: electric signal input
• voltage: voltage signal input
• current: current signal input
Parameter Description Signal type
RT data file The name of RTT file that linked to JMAG-RT model block electric, voltage,
current
Use tempera- Temperature correction factor use flag. electric, voltage,
ture correction • When this flag is selected, the value inputted in the input current
port [coilTemp] and [magTemp] of the JMAG-RT model
block is used and the temperature correction function
become active.
• When this flag is cleared, the value inputted in the input
port [coilTemp] and [magTemp] of the JMAG-RT model
block is ignored and the temperature correction function is
inactive.
The temperature during drive is calculated as 0 K, when the
input port [coilTemp] and [magTemp] of the JMAG-RT
model block have no connection. When temperature correc-
tion is not used, clear [Use temperature correction] as a param-
eter of the JMAG-RT model block.
Mass The mass of the mover (kg). electric, voltage,
This parameter is used when [Motion type] is set to “0”. current
Friction factor The friction coefficient (N/(m/s)). electric, voltage,
This parameter is used when [Motion type] is set to “0”. current
Resistance of The coil phase resistance (ohm). electric, voltage
coil
Factor This is the tuning parameter that is used when connecting the electric
MEX module (Simulink signals) and the Simscape Electrical
domain (physical signals).
The default value is “1e3”.
If calculation accuracy does not improve even when reducing
the time interval duration, attempt to increase the value of
[Factor] by one digit. Because it will also not be possible to
obtain calculation accuracy if the value of [Factor] is too small,
ensure that setting any values smaller than the default are
avoided.
633
JMAG Version 22.2 User's Manual
JMAG-RT
634
Using JMAG-RT Models in a Commercial Circuit Simulator
635
JMAG Version 22.2 User's Manual
JMAG-RT
636
Using JMAG-RT Models in a Commercial Circuit Simulator
C 2 = N new2 ⁄ N
637
JMAG Version 22.2 User's Manual
JMAG-RT
638
Using JMAG-RT Models in a Commercial Circuit Simulator
Input
Fm Load (N). The load corresponding to load connected with a mover of linear
synchronous motor.
switch signal A Switch signal of A-phase (On: 1, Off: 0)
switch signal B Switch signal of B-phase (On: 1, Off: 0)
switch signal C Switch signal of C-phase (On: 1, Off: 0)
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
is_abc Line current of each phase (ia, ib, ic) (A)
is_qd dq-axis coil current (is_q, is_d) (A).
See “Conversion formulas for is_qd and vs_qd” on page 641.
vs_qd: dq-axis voltage (is_q, is_d) (V).
See “Conversion formulas for is_qd and vs_qd” on page 641.
speed Speed (m/s)
disp Position (m)
Thrust Thrust force (N). The force generated in air gap within a linear synchronous
motor. Mover runs with “Thrust - Fm” values.
Attractive Force Attractive force (N)
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameters Manager. Value depending on current and displacement.
639
JMAG Version 22.2 User's Manual
JMAG-RT
Input/output
A A-phase terminal
B B-phase terminal
C C-phase terminal
Input
Va Electric potential of U-phase terminal (V)
Vb Electric potential of V-phase terminal (V)
Vc Electric potential of W-phase terminal (V)
Fm Load (N). The load corresponding to load connected with a mover of linear
synchronous motor.
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
is_abc Line current of each phase (ia, ib, ic) (A)
disp Position (m)
speed Speed (m/s)
Thrust Thrust force (N). The force generated in air gap within a linear synchronous
motor. Mover runs with “Thrust - Fm” values.
Attractive Force Attractive force (N)
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameters Manager. Value depending on current and displacement.
Input
Ia Current of U-phase coils (A)
Ib Current of V-phase coils (A)
Ic Current of W-phase coils (A)
Fm Load (N). The load corresponding to load connected with a mover of linear
synchronous motor.
coilTemp Coil temperature (K)
magTemp Magnet temperature (K)
Output
Disp Position (m)
speed Speed (m/s)
Thrust Thrust force (N). The force generated in air gap within a linear synchronous
motor. Mover runs with “Thrust - Fm” values.
Attractive Force Attractive force (N)
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameters Manager. Value depending on current and displacement.
640
Using JMAG-RT Models in a Commercial Circuit Simulator
2 2
cos Θ cos Θ – --- π cos Θ + --- π Xu
Yd 3 3
= K× × Xv
Yq 2 2
– sin Θ – sin Θ – --- π – sin Θ + --- π Xw
3 3
641
JMAG Version 22.2 User's Manual
JMAG-RT
Example: JMAG_RT_SR
642
Using JMAG-RT Models in a Commercial Circuit Simulator
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is output to the folder specified in the
[Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the library and MDL files in the above table are placed in the
following directory.
643
JMAG Version 22.2 User's Manual
JMAG-RT
Use the library and MDL files in this directory after copying them into the same directory as
the RTT file.
• In JMAG-Express, each file is output to the folder specified in the [Create JMAG-RT Model]
dialog.
• During control circuit simulation execution, use the file output from the same version of JMAG-
RT and JMAG-Express. All of the files listed in the table above need to be updated if a model
exported from an older version of JMAG-RT is re-calculated with a newer version of JMAG-RT
or a control circuit simulation may not run properly. The JMAG-RT model block in the circuit
of Simulink also needs to be updated.
Parameters (SRM)
MEMO If a correction factor is specified in the JMAG-RT Library Manager, the value is used as the
default value in Simulink.
MEMO In this table, the signal types are indicated by the following abbreviations:
• electric: electric signal input
• voltage: voltage signal input
• current: current signal input
Parameter Description Signal type
RT data file The name of RTT file that linked to JMAG-RT model block electric, voltage,
current
Use_Tempera- Temperature correction factor use flag. electric, voltage,
ture_Correction • When this flag is selected, the value inputted in the input port current
[coilTemp] of the JMAG-RT model block is used and the
temperature correction function become active.
• When this flag is cleared, the value inputted in the input port
[coilTemp] of the JMAG-RT model block is ignored and the
temperature correction function is inactive.
The temperature during drive is calculated as 0 K, when the
input port [coilTemp] of the JMAG-RT model block has no
connection. When temperature correction is not used, clear [Use
temperature correction] as a parameter of the JMAG-RT model
block.
Moment of inertia The inertia moment (kgm^2) of the rotating machine. electric, voltage,
This parameter is used when [Motion type] is set to “0”. current
Friction factor The friction coefficient (Nm/(rad/s)). electric, voltage,
This parameter is used when [Motion type] is set to “0”. current
Resistance of coil The resistance of the coil (ohm). electric, voltage
Factor This is the tuning parameter that is used when connecting the electric
MEX module (Simulink signals) and the Simscape Electrical
domain (physical signals).
The default value is “1e3”.
If calculation accuracy does not improve even when reducing the
time interval duration, attempt to increase the value of [Factor]
by one digit. Because it will also not be possible to obtain calcu-
lation accuracy if the value of [Factor] is too small, ensure that
setting any values smaller than the default are avoided.
644
Using JMAG-RT Models in a Commercial Circuit Simulator
C 2 = N new2 ⁄ N
645
JMAG Version 22.2 User's Manual
JMAG-RT
646
Using JMAG-RT Models in a Commercial Circuit Simulator
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
coilTemp Coil temperature (K)
Output
IABC (3-phase), Coil current of each phase (A)
IABCD (4-phase),
IABCDE (5-phase)
Iwm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Input/output
Ain A-phase signal terminal
Bin B-phase signal terminal
Cin C-phase signal terminal
Din D-phase signal terminal (4 phase, 5 phase)
Ein E-phase signal terminal (5 phase)
Aout A-phase signal terminal
647
JMAG Version 22.2 User's Manual
JMAG-RT
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
Va Electric potential of A-phase terminal (V
Vb Electric potential of B-phase terminal (V)
Vc Electric potential of C-phase terminal (V)
Vd Electric potential of D-phase terminal (V) (4 phase, 5 phase)
Ve Electric potential of E-phase terminal (V) (5 phase)
coilTemp Coil temperature (K)
Output
IABC (3-phase), Coil current of each phase (A)
IABCD (4- phase),
IABCDE (5-phase)
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
la Current of A-phase coils (A)
lb Current of B-phase coils (A)
lc Current of C-phase coils (A)
ld Current of D-phase coils (A)
le Current of E-phase coils (A)
coilTemp Coil temperature (K)
Output
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
648
Using JMAG-RT Models in a Commercial Circuit Simulator
Example: JMAG_RT_IM
649
JMAG Version 22.2 User's Manual
JMAG-RT
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is output to the folder specified in the
[Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the library and MDL files in the above table are placed in the
following directory.
(JMAG installation directory)/solver/mod/tools/rt/simulink
Use the library and MDL files in this directory after copying them into the same directory as
the RTT file.
650
Using JMAG-RT Models in a Commercial Circuit Simulator
• During control circuit simulation execution, use the file output from the same version of JMAG-
RT. All of the files listed in the table above need to be updated if a model exported from an older
version of JMAG-RT is re-calculated with a newer version of JMAG-RT or a control circuit sim-
ulation may not run properly. The JMAG-RT model block in the circuit of Simulink also needs
to be updated.
Parameters (IM)
MEMO If a correction factor is specified in the JMAG-RT Library Manager, the value is used as the
default value in Simulink.
MEMO In this table, the signal types are indicated by the following abbreviations:
• electric: electric signal input
• voltage: voltage signal input
• current: current signal input
Parameter Description Signal type
RT data file The name of RTT file that linked to JMAG-RT model block electric, voltage,
current
Use_Tempera- Temperature correction factor use flag. electric, voltage,
ture_Correction • When this flag is selected, the value inputted in the input port current
[1st_coilTemp] and [2nd_coilTemp] of the JMAG-RT model
block is used and the temperature correction function become
active.
• When this flag is cleared, the value inputted in the input port
[1st_coilTemp] and [2nd_coilTemp] of the JMAG-RT model
block is ignored and the temperature correction function is
inactive.
The temperature during drive is calculated as 0 K, when the
input port [1st_coilTemp] and [2nd_coilTemp] of the JMAG-
RT model block have no connection. When temperature correc-
tion is not used, clear [Use temperature correction] as a parame-
ter of the JMAG-RT model block.
Use iron loss table A flag to account for iron loss. electric, voltage,
When [Use iron loss table] is selected, iron loss is taken into current
account in calculations that use JMAG-RT models that include
iron loss data.
Select the type of iron loss table to use from the following:
• [1: Table from JMAG (input: slip frequency [Hz], speed
[rpm], lamp [A])]:
Uses iron loss lookup tables that are FEA result data possessed
JMAG-RT models.
651
JMAG Version 22.2 User's Manual
JMAG-RT
652
Using JMAG-RT Models in a Commercial Circuit Simulator
653
JMAG Version 22.2 User's Manual
JMAG-RT
Slot cross-sections
654
Using JMAG-RT Models in a Commercial Circuit Simulator
655
JMAG Version 22.2 User's Manual
JMAG-RT
R 2new = K 1 × R 2
R 2new : Secondary resistance after correction (Ohm)
coef_magnetiz- The magnetizing leakage inductance correction factor. The electric, voltage,
ing_inductance default is 1.0. current
The correction equation is as follows:
L snew = K 2 × L m + K 3 × L sl + C 1
L rnew = K 2 × L m + K 4 × L rl + C 2
coef_1st_leak- The primary coil leakage inductance correction factor. The electric, voltage,
age_inductance default is 1.0. See the description for “coef_magnetizing_induc- current
tance” for the correction equation.
coef_2nd_leak- The secondary conductor leakage inductance correction factor. electric, voltage,
age_inductance The default is 1.0. See the description for “coef_magnetiz- current
ing_inductance” for the correction equation.
add_1st_leak- The additional correction value for the primary coil leakage electric, voltage,
age_inductance inductance (H). The default is 0.0. See the description for current
“coef_magnetizing_inductance” for the correction equation.
add_2nd_leak- The additional correction value for the secondary coil leakage electric, voltage,
age_inductance inductance (H). The default is 0.0. See the description for current
“coef_magnetizing_inductance” for the correction equation.
656
Using JMAG-RT Models in a Commercial Circuit Simulator
T new = K 5 × T
T new : Torque after correction (Nm)
Table data interpo- Select an interpolation method for the table. The interpolation electric, voltage,
lation type method selected here applies to all the tables for JMAG-RT current
models.
• [Linear]:
Linear interpolation. This is the default method
• [Cubic]:
Cubic interpolation. Method which uses approximately two
points in the interpolation interval, and interpolates with a
cubic function.
Set skew option Flag to account for skew. electric, voltage,
Skew is to tilt the motor stator or rotor to the axis direction to current
control torque ripple.
A JMAG-RT model created from a model without skew is han-
dled as a JMAG-RT model created from a model with a skew
when [Set skew option] is selected.
Note the following:
• Applying a skew to the rotor is supported. Applying a skew to
the stator is not supported.
• Linear skew can be applied. V-skew and step skew can not be
applied.
• When this function is used, JMAG-RT model leakage induc-
tance is corrected in accordance with the specified skew angle.
• This method accounts for simple skews. 3D effects due to
skew are not accounted for with this method so the results are
not completely consistent with when a JMAG-RT model cre-
ated from a 3D model with skew is used.
Creating a JMAG-RT model using a 3D model with a skew is
recommended when you wish to strictly evaluate the effects of
a skew.
Rotor skew angle This can be specified when [Set skew option] is selected. electric, voltage,
(deg) Enter the angle for a full model with a mechanical angle (angle current
difference between top face and bottom face). The counterclock-
wise direction in relation to the rotation axis will be positive.
A negative value can also be entered for the skew angle.
The cross section at the center of the rotation axis direction
becomes the reference plane. For example, if the skew angle is θ ,
the angle difference between the top and center is +0.5 θ , and
the angle difference between the center and bottom is -0.5 θ .
657
JMAG Version 22.2 User's Manual
JMAG-RT
3-phase motors
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
switch signal A Switch signal of A-phase (On: 1, Off: 0)
switch signal B Switch signal of B-phase (On: 1, Off: 0)
switch signal C Switch signal of C-phase (On: 1, Off: 0)
1st_coilTemp Primary coil temperature (K)
2nd_coilTemp Secondary coil temperature (K)
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
is_abc Line current of each phase (ia, ib, ic) (A)
is_qd d-axis and q-axis current (is_q, is_d) (A).
See “Conversion formulas for is_qd and vs_qd” on page 663..
vs_qd d-axis and q-axis voltage (vs_q, vs_d) (V).
See “Conversion formulas for is_qd and vs_qd” on page 663.
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
658
Using JMAG-RT Models in a Commercial Circuit Simulator
2nd Flux Secondary αβ axes magnetic flux (φ_α, φ_β) (Wb). The αβ axes are two
orthogonal axes making up a 2-phase stationary coordinate system where the
α-axis is placed to coincide with the U-phase axis in the 3-phase stationary
coordinate system.
Copper Loss DC stator copper loss (W), rotor copper loss (W), and AC stator copper loss
(W). Three values are output in an array.
Iron Loss Iron loss (W)
Slip Frequency Slip frequency (Hz)
Input/output
A A-phase terminal
B B-phase terminal
C C-phase terminal
Input
Va Electric potential of U-phase terminal (V)
Vb Electric potential of V-phase terminal (V)
Vc Electric potential of W-phase terminal (V)
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
coilTemp Primary coil temperature (K)
2nd_coilTemp Secondary coil temperature (K)
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
is_abc Line current of each phase (ia, ib, ic) (A)
thetam Rotation angle (rad)
wm Rotation speed (rad/s)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Slip Frequency Slip frequency (Hz)
2nd Flux Secondary αβ axes magnetic flux (φ_α, φ_β) (Wb). The αβ axes are two
orthogonal axes making up a 2-phase stationary coordinate system where the
α-axis is placed to coincide with the U-phase axis in the 3-phase stationary
coordinate system.
659
JMAG Version 22.2 User's Manual
JMAG-RT
Copper Loss DC stator copper loss (W), rotor copper loss (W), and AC stator copper loss
(W). Three values are output in an array.
Iron Loss Iron loss (W)
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
la Current of U-phase coils (A)
lb Current of V-phase coils (A)
lc Current of W-phase coils (A)
coilTemp Primary coil temperature (K)
2nd_coilTemp Secondary coil temperature (K)
DC Voltage When using a JMAG-RT model with user loss data, input a DC bus voltage
(V). When there is no input for the DC Voltage, 0 V is used.
When using a JMAG-RT model without user loss data, it is not necessary to
input DC Voltage.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Carrier Freq When using a JMAG-RT model with user loss data, input a carrier frequency
(Hz). When there is no input for the Carrier Freq, 0 Hz is used.
When using a JMAG-RT model without user loss data, it is not necessary to
input Carrier Freq.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
thetam Rotation angle (rad)
wm Rotational speed (rad/s)
Slip Frequency Slip frequency (Hz)
2nd Flux Secondary αβ axes magnetic flux (φ_α, φ_β) (Wb). The αβ axes are two
orthogonal axes making up a 2-phase stationary coordinate system where the
α-axis is placed to coincide with the U-phase axis in the 3-phase stationary
coordinate system.
Copper Loss DC stator copper loss (W), rotor copper loss (W), and AC stator copper loss
(W). Three values are output in an array.
Iron Loss Iron loss (W)
660
Using JMAG-RT Models in a Commercial Circuit Simulator
6-phase motors
6-phase pole-changing induction motors are supported (Before change: 2p poles, After change: 4p
poles, p: number of pole pairs). Some terminals output both values for 2p poles and 4p poles.
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
CoilTemp Primary coil temperature (K)
2nd_coilTemp Secondary coil temperature (K)
Output
is_abcdef Line current of each phase (ia, ib, ic, id, ie, if ) (A)
is_qd d-axis and q-axis currents for 2p poles and for 4p poles (is_q1, is_d1, is_q2,
is_d2) (A).
See “Conversion formulas for is_qd and vs_qd” on page 663.
vs_qd d-axis and q-axis voltages for 2p poles and for 4p poles (vs_q1, vs_d1, vs_q2,
vs_d2) (V).
See “Conversion formulas for is_qd and vs_qd” on page 663.
wm Rotation speed (rad/s)
thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
2ndFlux Secondary α-axis and β-axis magnetic fluxes for 2p poles and 4p poles (φ_α1,
φ_β1, φ_α2, φ_β2) (Wb).
The α-axis and β-axis are two orthogonal axes making up a 2-phase stationary
coordinate system where the α-axis is placed to coincide with the U-phase axis
in the 3-phase stationary coordinate system.
Copper Loss DC stator copper loss (W), rotor copper loss (W), and AC stator copper loss
(W). Three values are output in an array.
Iron Loss Iron loss (W)
Slip Frequency Slip frequencies for 2p poles and 4p poles (Hz)
Input/output
A A-phase terminal
661
JMAG Version 22.2 User's Manual
JMAG-RT
B B-phase terminal
C C-phase terminal
D D-phase terminal
E E-phase terminal
F F-phase terminal
Input
Va Electric potential of A-phase terminal (V)
Vb Electric potential of B-phase terminal (V)
Vc Electric potential of C-phase terminal (V)
Vd Electric potential of D-phase terminal (V)
Ve Electric potential of E-phase terminal (V)
Vf Electric potential of F-phase terminal (V)
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
coilTemp Primary coil temperature (K)
2nd_coilTemp Secondary coil temperature (K)
Output
is_abcdef Line current of each phase (ia, ib, ic, id, ie, if ) (A)
thetam Rotation angle (rad)
wm Rotation speed (rad/s)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Slip Frequency Slip frequencies for 2p poles and 4p poles (Hz)
2ndFlux Secondary α-axis and β-axis magnetic fluxes for 2p poles and 4p poles (φ_α1,
φ_β1, φ_α2, φ_β2) (Wb).
The α-axis and β-axis are two orthogonal axes making up a 2-phase station-
ary coordinate system where the α-axis is placed to coincide with the U-phase
axis in the 3-phase stationary coordinate system.
Copper Loss DC stator copper loss (W), rotor copper loss (W), and AC stator copper loss
(W). Three values are output in an array.
Iron Loss Iron loss (W)
Input
la Current of A-phase coils (A)
lb Current of B-phase coils (A)
lc Current of C-phase coils (A)
ld Current of D-phase coils (A)
le Current of E-phase coils (A)
If Current of F-phase coils (A)
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
662
Using JMAG-RT Models in a Commercial Circuit Simulator
2--- 2--- Xu
cos Θ cos Θ – π cos Θ + π
Yd 3 3
= K× × Xv
Yq 2 2
– sin Θ – sin Θ – --- π – sin Θ + --- π Xw
3 3
663
JMAG Version 22.2 User's Manual
JMAG-RT
664
Using JMAG-RT Models in a Commercial Circuit Simulator
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In JMAG-Express, each file is output to the folder specified in the [Create JMAG-RT Model]
dialog.
• During control circuit simulation execution, use the file output from the same version of JMAG-
RT and JMAG-Express. All of the files listed in the table above need to be updated if a model
exported from an older version of JMAG-RT is re-calculated with a newer version of JMAG-RT
or a control circuit simulation may not run properly. The JMAG-RT model block in the circuit
of Simulink also needs to be updated.
665
JMAG Version 22.2 User's Manual
JMAG-RT
666
Using JMAG-RT Models in a Commercial Circuit Simulator
667
JMAG Version 22.2 User's Manual
JMAG-RT
668
Using JMAG-RT Models in a Commercial Circuit Simulator
669
JMAG Version 22.2 User's Manual
JMAG-RT
Example: JMAG_RT_wfsm
Notes (WFSM)
• JMAG-RT performs FEA with the assumption that the current is balanced in the coils.
For this reason, assuming that an RTT file for this motor is used in control circuit simulation in
a circuit configuration where the affects of return currents is large, the assumption of balanced
current may be invalid and sufficient accuracy may not be able to be obtained.
670
Using JMAG-RT Models in a Commercial Circuit Simulator
671
JMAG Version 22.2 User's Manual
JMAG-RT
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is output to the folder specified in the
[Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the library and MDL files in the above table are placed in the
following directory.
(JMAG installation directory)/solver/mod/tools/rt/simulink
Use the library and MDL files in this directory after copying them into the same directory as
the RTT file.
• During control circuit simulation execution, use the file output from the same version of JMAG-
RT. All of the files listed in the table above need to be updated if a model exported from an older
version of JMAG-RT is re-calculated with a newer version of JMAG-RT or a control circuit sim-
ulation may not run properly. The JMAG-RT model block in the circuit of Simulink also needs
to be updated.
Parameters (WFSM)
MEMO If a correction factor is specified in the JMAG-RT Library Manager, the value is used as the
default value in Simulink.
MEMO In this table, the signal types are indicated by the following abbreviations:
• electric: electric signal input
• voltage: voltage signal input
• current: current signal input
Parameter Description Signal type
RT data file The name of RTT file that linked to JMAG-RT model block electric, voltage,
current
Use temperature Temperature correction factor use flag. electric, voltage,
correction • When this flag is selected, the value inputted in the input current
port [Coil Temp] and [Field Coil Temp] of the JMAG-RT
model block is used and the temperature correction func-
tion become active.
• When this flag is cleared, the value inputted in the input
port [Coil Temp] and [Field Coil Temp] of the JMAG-RT
model block is ignored and the temperature correction
function is inactive.
The temperature during drive is calculated as 0 K, when the
input port [Coil Temp] and [Field Coil Temp] of the JMAG-
RT model block have no connection. When temperature cor-
rection is not used, clear [Use temperature correction] as a
parameter of the JMAG-RT model block.
Use Iron Loss A flag to account for iron loss. electric, voltage,
When [Use Iron Loss] is selected, iron loss is taken into current
account in the output torque.
The current that contributes to torque is calculated by using
an equivalent iron loss circuit created using the iron loss data.
Torque is obtained with iron loss taken into account from
using current in which iron loss was taken into account.
672
Using JMAG-RT Models in a Commercial Circuit Simulator
673
JMAG Version 22.2 User's Manual
JMAG-RT
Slot cross-sections
674
Using JMAG-RT Models in a Commercial Circuit Simulator
675
JMAG Version 22.2 User's Manual
JMAG-RT
676
Using JMAG-RT Models in a Commercial Circuit Simulator
677
JMAG Version 22.2 User's Manual
JMAG-RT
C 1 = N snew ⁄ N s
678
Using JMAG-RT Models in a Commercial Circuit Simulator
C 2 = N fnew ⁄ N f
679
JMAG Version 22.2 User's Manual
JMAG-RT
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
Switch Signal A Switch signal for stator coil A phase (On: 1, Off: 0).
Enter the ON/OFF signal of the switch to be connected to a terminal.
Switch Signal B Switch signal for stator coil B phase (On: 1, Off: 0).
Enter the ON/OFF signal of the switch to be connected to b terminal.
680
Using JMAG-RT Models in a Commercial Circuit Simulator
Switch Signal C Switch signal for stator coil C phase (On: 1, Off: 0).
Enter the ON/OFF signal of the switch to be connected to c terminal.
Switch Signal F Switch signal for field coil (On: 1, Off: 0)
Coil Temp Stator coil temperature (K)
Field Coil Temp Field coil temperature (K)
Speed Rotation speed at each step (rpm)
Output
Is_abc Line current of each phase (ia, ib, ic) (A)
Is_qd dq axis current (is_q, is_d) (A).
See “Conversion formulas for is_qd and vs_qd” on page 684.
If Field coil current (A)
Vs_qd dq-axis voltage (is_q, is_d) (V).
See “Conversion formulas for is_qd and vs_qd” on page 684.
V_np Neutral point electric potential for Y-connection (V)
Wm Angle speed (rad/s)
Thetam Rotation angle (rad)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Fabc Total flux linkage (Wb) of the armature coil. This value includes the magnetic
flux caused by the current flowing through the coil. It is output in the order of
U-phase, V-phase, and W-phase.
Ff Total flux linkage of field coil (Wb)
LdLq The dq-axis inductance (H) obtained by 3-phase to 2-phase conversion of a 3-
by-3 matrix of phase inductances included in an RTT file. In this case, both
the d-axis and q-axis are differential inductances.
L Self-inductance (H) and mutual inductance (H) of each phase of the coil.
There are 16 signals output in the following order. Both the stator coil output
and field coil output are differential inductances.
Lu, Muv, Muw, Muf,
Mvu, Lv, Mvw ,Mvf,
Mwu, Mwv, Lw, Mwf,
Muf, Mvf, Mwf, Lf
Eddy Loss Eddy current loss (W)
Hysteresis Loss Hysteresis loss (W)
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameter Manager. Value depending on current and mechanical angle.
DC Copper Loss DC copper loss (W).
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 684.
AC Copper Loss AC copper loss (W)
This is output when [Use AC copper loss resistance] is selected.
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 684.
Input/output
A A-phase terminal
B B-phase terminal
681
JMAG Version 22.2 User's Manual
JMAG-RT
C C-phase terminal
F_in Input terminal for field coil
F_out Field coil signal terminal (output side)
Input
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
Va Stator coil U-phase terminal electric potential (V)
Vb Stator coil V-phase terminal electric potential (V)
Vc Stator coil W-phase terminal electric potential (V)
Vf Field coil terminal electric potential (V)
Coil Temp Stator coil temperature (K)
Field Coil Temp Field coil temperature (K)
Speed Rotation speed at each step (rpm)
Output
Is_abc Line current of each phase (ia, ib, ic) (A)
Is_dq dq axis current (is_q, is_d) (A).
See “Conversion formulas for is_qd and vs_qd” on page 684.
If Field coil current (A)
V_np Neutral point electric potential for Y-connection (V).
Thetam Rotation angle (rad)
Wm Angle speed (rad/s)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Fabc Total flux linkage (Wb) of the armature coil. This value includes the magnetic
flux caused by the current flowing through the coil. It is output in the order of
U-phase, V-phase, and W-phase.
Ff Total flux linkage of field coil (Wb)
LdLq The dq-axis inductance (H) obtained by 3-phase to 2-phase conversion of a 3-
by-3 matrix of phase inductances included in an RTT file. In this case, both
the d-axis and q-axis are differential inductances.
L Self-inductance (H) and mutual inductance (H) of each phase of the coil.
There are 16 signals output in the following order. Both the stator coil output
and field coil output are differential inductances.
Lu, Muv, Muw, Muf,
Mvu, Lv, Mvw ,Mvf,
Mwu, Mwv, Lw, Mwf,
Muf, Mvf, Mwf, Lf
Eddy Loss Eddy current loss (W)
Hysteresis Loss Hysteresis loss (W)
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameter Manager. Value depending on current and mechanical angle.
DC Copper Loss DC copper loss (W).
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 684.
682
Using JMAG-RT Models in a Commercial Circuit Simulator
Input
Ia Stator coil U-phase current (A)
Ib Stator coil V-phase current (A)
Ic Stator coil W-phase current (A)
If Field coil current (A)
Tm Load torque (Nm). The torque corresponding to load connected with a
motor shaft.
Coil Temp Stator coil temperature (K)
Field Coil Temp Field coil temperature (K)
Speed Rotation speed at each step (rpm)
Output
Thetam Rotation angle (rad)
Wm Angle speed (rad/s)
Te Output torque (Nm). The torque generated in air gap within a motor. The
motor runs with “Te - Tm” values.
Fabc Total flux linkage (Wb) of the armature coil. This value includes the magnetic
flux caused by the current flowing through the coil. It is output in the order of
U-phase, V-phase, and W-phase.
Ff Total flux linkage of field coil (Wb)
LdLq The dq-axis inductance (H) obtained by 3-phase to 2-phase conversion of a 3-
by-3 matrix of phase inductances included in an RTT file. In this case, both
the d-axis and q-axis are differential inductances.
L Self-inductance (H) and mutual inductance (H) of each phase of the coil.
There are 16 signals output in the following order. Both the stator coil output
and field coil output are differential inductances.
Lu, Muv, Muw, Muf,
Mvu, Lv, Mvw ,Mvf,
Mwu, Mwv, Lw, Mwf,
Muf, Mvf, Mwf, Lf
Eddy Loss Eddy current loss (W)
Hysteresis Loss Hysteresis loss (W)
User Specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
Parameter Manager. Value depending on current and mechanical angle.
DC Copper Loss DC copper loss (W).
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 684.
AC Copper Loss AC copper loss (W)
This is output when [Use AC copper loss resistance] is selected.
See “Calculation formulas for DC Copper Loss and AC Copper Loss” on
page 684.
683
JMAG Version 22.2 User's Manual
JMAG-RT
2 2
cos Θ cos Θ – --- π cos Θ + --- π Xu
Yd 3 3
= K× × Xv
Yq 2 2
– sin Θ – sin Θ – --- π – sin Θ + --- π Xw
3 3
• AC copper loss when using AC copper loss approximately calculated based on the specifications
of specified conductor wire:
W ACcopper = R × ( i d × i d + i q × i q )
W ACcopper : AC copper loss resistance (W)
R : resistance calculated from the specifications of the conductor wire (ohm)
i d : d-axis component of the current corresponding to AC copper loss (A)
i q : q-axis component of the current corresponding to AC copper loss (A)
684
Using JMAG-RT Models in a Commercial Circuit Simulator
Example: JMAG_RT_generic_VIin
Notes (GENERIC)
• When [Sin (1-phase)] (or [Sin (3-phase)]) is selected for JMAG-RT model creation, FEA is per-
formed under the assumption that the current is balanced in the coil set.
For this reason, assuming that a [Sin (1-phase)] (or [Sin (3-phase)]) RTT file is used in control
circuit simulation in a circuit configuration where the affects of return currents is large, the
assumption of balanced current may be invalid and sufficient accuracy may not be able to be
obtained.
685
JMAG Version 22.2 User's Manual
JMAG-RT
686
Using JMAG-RT Models in a Commercial Circuit Simulator
Note the following when working with the files in the above table:
• When running a control circuit simulation, put the files in the above table in the same folder.
• In the case of the JMAG-RT Library Manager, each file is output to the folder specified in the
[Copy to Circuit Simulator] dialog in the JMAG-RT Library Manager.
• For JMAG-RT (Linux version), the library and MDL files in the above table are placed in the
following directory.
(JMAG installation directory)/solver/mod/tools/rt/simulink
Use the library and MDL files in this directory after copying them into the same directory as
the RTT file.
• During control circuit simulation execution, use the file output from the same version of JMAG-
RT and JMAG-Express. All of the files listed in the table above need to be updated if a model
exported from an older version of JMAG-RT is re-calculated with a newer version of JMAG-RT
or a control circuit simulation may not run properly. The JMAG-RT model block in the circuit
of Simulink also needs to be updated.
687
JMAG Version 22.2 User's Manual
JMAG-RT
Replacing the Electric Signal Block When Using a Motor Other Than a Synchronous
Machine (GENERIC)
If an RTT file referenced by an electric signal block satisfies any of the following conditions, then
the electric signal block settings must be changed;
• When an RTT file contains data other than AC motors
• When an RTT file contains data for AC motors with both stator-side and rotor-side circuits. For
example, SR motors, stepping motors, and wound-field synchronous motors, etc.
Perform the following procedure:
1. Place the electric signal block of the generic model in the circuit in Simulink.
2. Right-click the block placed in Step 1 and select [Mask] > [Edit Mask].
The [Mask Editor] dialog is displayed.
3. Open the [Initialization] pane and delete the contents of the Initialize command.
4. Click [OK].
5. Right-click the block placed in Step 1 and select [Mask] > [Look under Mask].
The wire diagram in the electric signal block is displayed.
6. Connect the terminal potential and coil current to the Simscape terminals so that the
wiring in the electric signal block corresponds to the motor driving circuit used to create
the RTT file.
Example:
The figure below shows the motor driving circuit used to create the RTT file, which contains
data (magnetic flux and inductance) for the three coils that are surrounded by red lines.
688
Using JMAG-RT Models in a Commercial Circuit Simulator
The figure below shows the wiring diagram in the electric signal block that is modified to
account for the motor driving circuit of the RTT file shown above. In this circuit, the terminal
potentials of both ends of the coil are given to the S-function block. In addition, a current is
given to the coil from another S-function block via a current source.
7. After correcting the wiring, close the mask, and run the simulation.
689
JMAG Version 22.2 User's Manual
JMAG-RT
Parameters (GENERIC)
For generic models, some parameters must be specified as array values.
MEMO If a correction factor is specified in the JMAG-RT Library Manager, the value is used as the
default value in Simulink.
MEMO In this table, the signal types are indicated by the following abbreviations:
• electric: electric signal input
• voltage/current: voltage/current signal input
Parameter Description Signal type
RT data file The name of RTT file that linked to JMAG-RT model block electric,
voltage/current
Use temperature Temperature correction factor use flag. electric,
correction • When this flag is selected, the value inputted in the input port voltage/current
[coil temperature] of the JMAG-RT model block is used and
the temperature correction function become active.
• When this flag is cleared, the value inputted in the input port
[coil temperature] of the JMAG-RT model block is ignored and
the temperature correction function is inactive.
The temperature during drive is calculated as 0 K, when the input
port [coil temperature] of the JMAG-RT model block has no con-
nection. When temperature correction is not used, clear [Use
temperature correction] as a parameter of the JMAG-RT model
block.
Use Loss Table A flag to account for iron loss. electric,
If performing analysis execution using a JMAG-RT model that voltage/current
contains iron loss data with the [Use Loss Table] flag set, results in
which iron loss has been taken into account can be obtained.
Iron loss data is dynamically converted into torque during simula-
tion. For a given step, the torque value for this step that was con-
verted is subtracted from the torque value for this step in which
iron loss is not taken into account.
T ' = T – W iron ⁄ ω
T ' : torque (N·m) that takes into account iron loss
T : torque (N·m) that does not take into account iron loss
W iron : iron loss (W)
690
Using JMAG-RT Models in a Commercial Circuit Simulator
691
JMAG Version 22.2 User's Manual
JMAG-RT
Values set with the JMAG-RT Library Manager are not used.
For coils defined by n-phase sinusoidal waves, the values in the
coil sets must be the same. If different, the setting of the reference
coil will be set.
Resistance Resistance value (ohm) of Resistor component. electric,
Set as array values for each component specified in JMAG. voltage/current
The input order is the same as the order of components in the
[Project Manager] tree.
Inductance Inductance value (H) of Inductor component. electric,
Set as array values for each component specified in JMAG. voltage/current
The input order is the same as the order of components in the
[Project Manager] tree.
Capacitance Capacitance (F) of capacitor component. electric,
Set as array values for each component specified in JMAG. voltage/current
The input order is the same as the order of components in the
[Project Manager] tree.
Offset position Initial value of displacement (rad)/(m). electric,
Set as array values for each motion condition specified in JMAG. voltage/current
The input order is the same as the order of components in the
[Project Manager] tree.
Motion type Motion type. electric,
Set as array values for each motion condition specified in JMAG. voltage/current
0: motion equation. When this is selected, the value of the input
port [distance (in)] is used, and the value of the input port [dis-
tance (in)] is ignored.
1: input total displacement. When this is selected, the value of the
input port [load force] is used, and the value of the input port
[load force] is ignored.
692
Using JMAG-RT Models in a Commercial Circuit Simulator
693
JMAG Version 22.2 User's Manual
JMAG-RT
I coilinew : Reference current value (A) of the i -th coil after cor-
rection.
I coili : Reference current value (A) of the i -th coil before cor-
rection.
C 2coili : Correction factor for the number of turns of the i -th
coil.
N coilinew : Correction value for the number of turns of the i -th
coil ([Turns in coil]).
N coili : The number of turns of the i -th coil.
694
Using JMAG-RT Models in a Commercial Circuit Simulator
695
JMAG Version 22.2 User's Manual
JMAG-RT
The upper left figure shows the JMAG_RT_generic block (electric signal input) of a 6-phase motor
(1 motion condition settings, 6 motor terminals and 1 neutral point terminal).
IMPORTANT Depending on the content of the JMAG-RT model, the following input port
must be specified as array values:
• switch
• source
• load force
• displacement (in)
• coil temperature
Input
load force Load (N·m or N).
“load force” has the effect of reducing the “torque/EM force”.
displacement (in) Total displacement (rad or m)
coil temperature Coil temperature (K)
user specified input User-specified physical quantity.
Use this port when loss data is added to a RTT file and user-defined axes exist
in this loss data.
When multiple values are input to this port, they are taken as physical quanti-
ties, in the data loss axis index order.
When using a JMAG-RT model without user loss data, it is not necessary to
input user specified input.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
displacement (out) Total displacement (rad or m)
resistor current Current flowing through each Resistor component (A)
inductor current Current flowing through each Inductor component (A)
capacitor current Current flowing through each Capacitor component (A)
potential Potential (V) of the terminal to which an electric potential probe has been set
coil flux Total flux linkage (Wb) of each coils
696
Using JMAG-RT Models in a Commercial Circuit Simulator
Input
switch Power switch (0: OFF, 1: ON)
source Potential (V) or current (A) to be applied to the terminal to which power has
been set
load force Load (N·m or N).
“load force” has the effect of reducing the “torque/EM force”.
displacement (in) Total displacement (rad or m)
coil temperature Coil temperature (K)
user specified input User-specified physical quantity.
Use this port when loss data is added to a RTT file and user-defined axes exist
in this loss data.
When multiple values are input to this port, they are taken as physical quanti-
ties, in the data loss axis index order.
When using a JMAG-RT model without user loss data, it is not necessary to
input user specified input.
For details on applying loss data to a JMAG-RT model, see “Adding Loss
Data to a JMAG-RT Model” on page 365.
Output
displacement (out) Total displacement (rad or m)
coil current Current flowing through each FEM Coil component (A)
resistor current Current flowing through each Resistor component (A)
inductor current Current flowing through each Inductor component (A)
capacitor current Current flowing through each Capacitor component (A)
potential Potential (V) of the terminal to which an electric potential probe has been set
coil flux Total flux linkage (Wb) of each coils
torque/EM force Torque (N·m) or electromagnetic force (N).
Torque/force produced electromagnetically for analysis results. Application
runs with “torque/EM force - load force” values.
iron loss Iron loss (W)
user specified Any physical quantity set in the [Output Port] tab in the JMAG-RT Library
parameter Manager. Value depending on current and mechanical angle.
697
JMAG Version 22.2 User's Manual
JMAG-RT
The design of controllers is complete, and assumes that a current can flow according to control
instructions. The rotation speed and torque are provided as a control instruction to an electrical sys-
tem, corresponding losses and current values are output, and simulations including thermal systems
are run.
698
Using JMAG-RT Models in a Commercial Circuit Simulator
Note the following when handling the files in the above table:
• Place the above files in the same folder when executing control circuit simulation.
Parameter Description
RT data file Name of RTT file linked to JMAG-RT loss map model block
699
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
Machine type Select one of the following:
• [Permanent Magnet Synchronous Machine (PMSM)]
• [Induction Machine (IM)]
• [Synchronous Reluctance Machine (SynRM)]
Hysteresis loss correction The correction factor for hysteresis loss that is output by the JMAG-RT
loss map model block.
When using RTT files exported from efficiency map analysis studies set
with one Iron Loss condition:
For example, if “3.0” is set, all hysteresis loss values stored in the RTT file
are tripled and output.
When using RTT files exported from efficiency map analysis studies set
with multiple Iron Loss conditions:
Specify the correction factor with arrays for each Iron Loss condition. The
value at the beginning of an array is valid for the total value of the hysteresis
loss in all Iron Loss conditions. The total value of all Iron Loss conditions is
determined independently of the correction factor for the value of each
Iron Loss condition.
For example, if “3.0 2.0 1.0” is set, then the total value of all Iron Loss con-
ditions stored in the RTT file is output uniformly multiplied by 3.0. Simi-
larly, the value of Iron Loss condition 1 stored in the RTT file is output
multiplied by 2.0. The value of Iron Loss condition 2 is output as it is
stored in the RTT file.
When using RTT files exported from efficiency map analysis studies set
with one Iron Loss condition:
For example, if “3.0” is set, all eddy current loss values stored in the RTT
file are tripled and output.
700
Using JMAG-RT Models in a Commercial Circuit Simulator
Parameter Description
When using RTT files exported from efficiency map analysis studies set
with multiple Iron Loss conditions:
Specify the correction factor with arrays for each Iron Loss condition. The
value at the beginning of an array is valid for the total value of the eddy
current loss in all Iron Loss conditions. The total value of all Iron Loss con-
ditions is determined independently of the correction factor for the value
of each Iron Loss condition.
For example, if “3.0 2.0 1.0” is set, then the total value of all Iron Loss con-
ditions stored in the RTT file is output uniformly multiplied by 3.0. Simi-
larly, the value of Iron Loss condition 1 stored in the RTT file is output
multiplied by 2.0. The value of Iron Loss condition 2 is output as it is
stored in the RTT file.
Input
Speed (rpm) Command speed (rpm)
Torque (Nm) Command torque (Nm)
Output
Iron Loss (Hystere- Iron Loss condition hysteresis loss (W).
sis) (W) When using RTT files exported from JMAG-Designer efficiency map analysis
studies set with multiple Iron Loss conditions, the total value of all Iron Loss
conditions and the value for each condition are output with arrays. The
beginning of the array is the total value of all Iron Loss conditions.
MEMO Use JMAG-RT Viewer to open the RTT file currently being used to
check the order of the array content and the corresponding output quantity.
Array details are displayed in the [Loss Map Info] field.
701
JMAG Version 22.2 User's Manual
JMAG-RT
Iron Loss (Eddy Iron Loss condition eddy current loss (W).
Current) (W) This value is output for PMSM or SynRM.
When using RTT files exported from JMAG-Designer efficiency map analysis
studies set with multiple Iron Loss conditions, the total value of all Iron Loss
conditions and the value for each condition are output with arrays. The
beginning of the array is the total value of all Iron Loss conditions.
MEMO Use JMAG-RT Viewer to open the RTT file currently being used to
check the order of the array content and the corresponding output quantity.
Array details are displayed in the [Loss Map Info] field.
Iron Loss (PWM Eddy current loss (W) in laminated steel due to PWM (pulse width modula-
Eddy Current) (W) tion).
This value is output for PMSM or SynRM.
• The loss calculated when the checkbox of [Add Approximate PWM Iron
Losses] is selected in the process of creating an efficiency map in JMAG-
Designer efficiency map analysis studies, is output.
When [Add Approximate PWM Iron Losses] is cleared, the value 0 is out-
put.
• When using RTT files exported from JMAG-Designer efficiency map anal-
ysis studies set with multiple Iron Loss conditions, the total value of all Iron
Loss conditions and the value for each condition are output with arrays.
The beginning of the array is the total value of all Iron Loss conditions.
MEMO Use JMAG-RT Viewer to open the RTT file currently being used to
check the order of the array content and the corresponding output quantity.
Array details are displayed in the [Loss Map Info] field.
Copper Loss (W) • PMSM and SynRM:
Only one value is output.
• IM:
Two values are output in one array. The first one is the copper loss of the
secondary conductor (cage) and the second one is the copper loss of the pri-
mary coil.
AC Copper Loss The loss calculated is output when the checkbox of [Add Approximate AC
(W) Copper Losses] is selected in the process of creating an efficiency map in
JMAG-Designer efficiency map analysis studies.
When [Add Approximate AC Copper Losses] is cleared, the value 0 is output.
Mechanical Loss When creating an efficiency map in JMAG-Designer efficiency map analysis
(W) studies, the value entered in [Loss Factor (W/k rpm)] of [Mechanical Loss] is
output.
Stray Loss (W) Stray loss (W) calculated from equivalent circuit.
This value is output for IM.
Current (A) • 3-phase PMSM or 3-phase SynRM:
Three values are output in one array. The order of output is as follows:
Current amplitude, d-axis current, q-axis current
• 6-phase PMSM or 6-phase SynRM:
Five values are output in one array. The order of output is as follows:
Current amplitude, d1-axis current, q1-axis current, d2-axis current, q2-
axis current
• IM:
The current amplitude is output.
702
Using JMAG-RT Models in a Commercial Circuit Simulator
Notes
• Only the circuit information to be added to the existing JMAG-RT model block should be
described in the Netlist file.
• Create a file that follows the SPICE Netlist file format. See below for details.
• The currents and losses of each component of a user-specified circuit added to the equivalent cir-
cuit of the JMAG-RT model block cannot be output from the JMAG-RT model block.
703
JMAG Version 22.2 User's Manual
JMAG-RT
• All terminals of a user-specified circuit must be connected to another terminal. Open terminals
are not supported.
• Do not use 0 for the terminal number. In the Netlist file, terminal 0 means ground, but user-
specified circuits containing ground cannot be added in this version.
• Do not duplicate component names in user-specified circuits. Component names that are the
same as those in the input JCF file used to create the JMAG-RT model in the user-specified cir-
cuit can be used.
• When [Use Neutral Point] is selected, write “.JMAGRT_USE_NEUTRAL_POINT”.
Terminal numbers
The following figure shows the equivalent circuit of the JMAG-RT model block when the [Add cir-
cuit] option is selected. To connect the equivalent circuit of the JMAG-RT model block to a user-
specified circuit, use the terminal numbers shown in red in this figure for the user-specified circuit.
Note that the meaning of the terminal numbers changes depending on the connection method.
704
Using JMAG-RT Models in a Commercial Circuit Simulator
Terminal
Star connection Delta connection
No.
0 Not available.
1 This terminal is connected to the output This terminal is connected to the output
port Iu of Simscape. port Iu of Simscape.
The current flowing between Iu and this When referring to look-up tables such as
terminal is used as the U-phase current flux and inductance during analysis, the
when referring to look-up tables such as flux total value of the currents flowing in the
and inductance during analysis. components connected to this terminal
with the input or positive terminal is used as
the U-phase current. For example, in the
figure below, the sum of the currents flow-
ing in C1 and L1 is used.
2 This terminal is connected to the output This terminal is connected to the output
port Iv of Simscape. port Iv of Simscape.
The current flowing between Iv and this ter- When referring to look-up tables such as
minal is used as the V-phase current when flux and inductance during analysis, the
referring to look-up tables such as flux and total value of the currents flowing in the
inductance during analysis. components connected to this terminal
with the input or positive terminal is used as
the V-phase current.
3 This terminal is connected to the output This terminal is connected to the output
port Iw of Simscape. port Iw of Simscape.
The current flowing between Iw and this When referring to look-up tables such as
terminal is used as the W-phase current flux and inductance during analysis, the
when referring to look-up tables such as flux total value of the currents flowing in the
and inductance during analysis. components connected to this terminal
with the input or positive terminal is used as
the W-phase current.
4 This terminal is the neutral point. This terminal is connected to the output
terminal of the U-phase resistor and the
input terminal of the U-phase coil.
705
JMAG Version 22.2 User's Manual
JMAG-RT
Terminal
Star connection Delta connection
No.
5 This terminal is connected to the output This terminal is connected to the output
terminal of the U-phase resistor and the terminal of the V-phase resistor and the
input terminal of the U-phase coil. input terminal of the V-phase coil.
6 This terminal is connected to the output This terminal is connected to the output
terminal of the V-phase resistor and the terminal of the W-phase resistor and the
input terminal of the V-phase coil. input terminal of the W-phase coil.
7 This terminal is connected to the output This terminal is connected to the input ter-
terminal of the W-phase resistor and the minal of the U-phase coil.
input terminal of the W-phase coil. If [3: Table from JMAG considering PWM
carrier frequency] is selected, when referring
to the torque table, the current flowing
through the U-phase coil is used.
8 This terminal is connected to the input ter- This terminal is connected to the input ter-
minal of the U-phase coil. minal of the V-phase coil.
If [3: Table from JMAG considering PWM If [3: Table from JMAG considering PWM
carrier frequency] is selected, when referring carrier frequency] is selected, when referring
to the torque table, the current flowing to the torque table, the current flowing
through the U-phase coil is used. through the V-phase coil is used.
9 This terminal is connected to the input ter- This terminal is connected to the input ter-
minal of the V-phase coil. minal of the W-phase coil.
If [3: Table from JMAG considering PWM If [3: Table from JMAG considering PWM
carrier frequency] is selected, when referring carrier frequency] is selected, when referring
to the torque table, the current flowing to the torque table, the current flowing
through the V-phase coil is used. through the W-phase coil is used.
10 This terminal is connected to the input ter- This terminal can be used freely in user-
minal of the W-phase coil. specified circuits.
If [3: Table from JMAG considering PWM
carrier frequency] is selected, when referring
to the torque table, the current flowing
through the W-phase coil is used.
11- These terminals can be used freely in user-specified circuits.
706
Using JMAG-RT Models in a Commercial Circuit Simulator
Circuit Examples
• Example 1:
0.25 ohm resistor components (R1, R2, R3) are added to the star-connected equivalent circuit.
01 * example1
02 R1 1 8 0.25
03 R2 2 9 0.25
04 R3 3 10 0.25
05 .END
• Example 2:
100 ohm resistor components (R1, R2, R3) and 2.5e-4 H inductance components (L1, L2, L3)
are added to the star-connected equivalent circuit. If terminals 1 and 8, 2 and 9, and 3 and 10 are
not used, a short circuit is automatically assumed between each terminal.
01 * example2
02 R1 5 11 100.0
03 R2 6 12 100.0
04 R3 7 13 100.0
05 L1 11 4 2.5e-4
06 L2 12 4 2.5e-4
07 L3 13 4 2.5e-4
08 .END
707
JMAG Version 22.2 User's Manual
JMAG-RT
• Example 3:
1e-6 F capacitance components (C1, C2, C3, C4) and a 100 ohm resistor component (R1) are
added to the star-connected equivalent circuit. The C1 component is short-circuited. To short
between terminals 1 and 8, use only 8.
01 * example3
02 C1 8 2 1e-6
03 C2 2 3 1e-6
04 C3 8 9 1e-6
05 C4 9 10 1e-6
06 R1 3 10 100.0
07 .END
• Example 4:
In the star-connected equivalent circuit, a 0.25 ohm resistor component (R1) is added between
the neutral point and the external circuit.
01 * example4
02 R1 11 4 0.25
03 .JMAGRT_USE_NEUTRAL_POINT
04 .END
708
Using JMAG-RT Models in a Commercial Circuit Simulator
Notes
• JMAG-RT models cannot be used with Linux.
• JMAG-RT models of all model types provided by JMAG can be used in PSIM.
• PM synchronous motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model, spatial harmonic (integral) model
• Synchronous reluctance motor (3-phase, 6-phase):
LdLq model, spatial harmonic (differential) model
• Unipolar stepping motor (2-phase)
• Linear solenoid
• Linear synchronous motor (3-phase)
• SR motor (3-phase, 4-phase, 5-phase)
• Induction motor (3-phase)
• Wound-field synchronous motor
• Generic model
709
JMAG Version 22.2 User's Manual
JMAG-RT
710
Using JMAG-RT Models in a Commercial Circuit Simulator
Placing jmag_circuit_interface_64_10.dll
If the following conditions are met, add jmag_circuit_interface_64_10.dll to the PSIM installation
folder:
• JMAG and PSIM are installed on different machines.
• One of PM Synchronous Machine (RT) block, Linear Synchronous Machine (RT) block, Step
Machine (RT) block, or Linear Solenoid (RT) block is used.
If JMAG and PSIM are installed on different machines, add jmag_circuit_interface_64_10.dll to
the PSIM installation folder. These files are located in the JMAG installation folder. For example,
when JMAG-Designer is installed with default settings, the path of the installation folder for
JMAG-Designer is “C:\Program Files\JMAG-Designer”.
When [PSIM] is selected as [Platform] when exporting a JMAG-RT model from JMAG-RT or
JMAG-Express, these files are copied to the same folder as the RTT file. You may add this dupli-
cated file to the PSIM installation folder.
MagCoupler-RT blocks
PSIM Version JMAG Model Type PSIM Block
-PSIM 9.0.0 PM synchronous motor, linear synchro- MagCoupler-RT PMSM Machine
nous motor
Stepping motor, linear solenoid MagCoupler-RT
PSIM 9.0.1- PM synchronous motor PM Synchronous Machine (RT)
Linear synchronous motor Linear Synchronous Machine (RT)
Stepping motor Step Machine (RT)
Linear solenoid Linear Solenoid (RT)
711
JMAG Version 22.2 User's Manual
JMAG-RT
General RT Block
The General RT block can be linked to JMAG-RT models of all model types provided by JMAG.
Block Description
General RT Blocks included in PSIM2021a. Can be linked to the following JMAG-RT
models.
• Permanent magnet synchronous motors (3-phase, 6-phase)
• Synchronous reluctance motors (3 phase, 6 phase)
• Unipolar stepping motor (2 phase)
• Linear solenoid
• Linear synchronous motor (3 phase)
• SR motor (3 phase, 4 phase, 5 phase)
• Induction motor (3 phase)
• Wound field magnet type synchronous motor
• Generic model
712
Using JMAG-RT Models in a Commercial Circuit Simulator
Block Description
PM Synchronous Machine (RT) Blocks for JMAG-RT models of 3-phase permanent magnet
synchronous motors
Step Machine (RT) Blocks for JMAG-RT models of 2-phase stepping motors
Linear Solenoid (RT) Blocks for JMAG-RT models of linear solenoids
Linear Synchronous Machine (RT) Blocks for JMAG-RT models of 3-phase linear synchronous
motors
713
JMAG Version 22.2 User's Manual
JMAG-RT
Note the following when working with the file in the above table:
• During control circuit simulation execution, put the RTT file, NetlistXML file, and the torque
correction table file in the same folder.
• In JMAG-RT, each file is outputted to the folder specified in the dialog [Copy to Circuit
Simulator] of the JMAG-RT Library Manager.
• In JMAG-Express, each file is output to the folder specified in the [Create JMAG-RT Model]
dialog.
• During control circuit simulation execution, use the file output from the same version of JMAG-
RT and JMAG-Express. All of the files need to be updated if a model exported from an older ver-
sion of JMAG-RT is re-calculated with newer version of JMAG-RT or a control circuit simula-
tion may not run properly.
Notes
• If a value exceeding the current range specified when creating a JMAG-RT model is input to the
JMAG-RT model in a circuit simulator, the value of inductance and of torque obtained at the
maximum value or the minimum value of the current are applied. Extrapolations of inductance
and of torque are not performed.
Parameters
MEMO When correction factors are specified in the JMAG-RT Library Manager, the value specified
there is displayed as the default value for each correction factor in PSIM.
714
Using JMAG-RT Models in a Commercial Circuit Simulator
Parameter Description
MomentOfInertia The inertia moment for a rotating machine (kg·m2).
The calculation diverges instead of converges if this value is set to zero.
MechTimeConstant The mechanical time constant (τ mech)
RU The U-phase resistance (ohm)
RV The V-phase resistance (ohm)
RW The W-phase resistance (ohm)
coef_inertia1 Correction factor for the inertia moment.
For example, setting this to “2.0” doubles all the inertia moment data.
coef_inertia2 Correction factor for the inertia moment.
For example, setting this to “2.0” adds all the inertia moment data.
coef_inductance Correction factor for the inductance.
For example, setting this to “2.0” doubles all the inductance data.
coef_flux Correction factor for the magnetic flux.
For example, setting this to “2.0” doubles all the magnetic flux data.
coef_torque Correction factor for the torque.
For example, setting this to “2.0” doubles all the torque data.
coef_magnet Change of a magnet grade.
This correction factor easily simulates the effects of magnets that have been
changed. This coefficient affects the magnetic flux and torque.
coef_material Change of a steel sheet grade.
This correction factor easily simulates the effects of materials that have
been changed. This coefficient affects the inductance, magnetic flux, and
torque.
turns_coil1 Correction value 1 for the number of turns in coil.
When specifying the number of coil turns for one phase in [turns_coil1],
the effects on the following physical quantities can be easily simulated by
changing the number of coil turns:
• Inductance
• Magnetic flux
• Torque
When the number of turns specified in the JMAG-RT Library Manager is
N0, and [turns_coil1] is N, these physical quantities are multiplied by N/
N0. For example, if the number of turns specified by the JMAG-RT
Library Manager is 20 and [turns_coil1] is 40, each physical quantity is
doubled (= 40/20).
The same number of turns specified in the JMAG-RT Library Manager
should be specified if correction by [turns_coil1] is not necessary.
MEMO If you are using an RTT file that does not contain the data of the
number of turns, the value of [turns_coil1] is not used in the calculation.
715
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
turns_coil2 Correction value 2 for the number of turns in coil.
When specifying the number of coil turns for one phase in [turns_coil2],
the effects on the following physical quantities can be easily simulated by
changing the number of coil turns:
• The current when referring to the magnetic flux and inductance
• The current when referring to the torque
When the number of turns specified in the JMAG-RT Library Manager is
N0, and [turns_coil2] is N, these physical quantities are multiplied by N/
N0. For example, if the number of turns specified by the JMAG-RT
Library Manager is 20 and [turns_coil2] is 40, each physical quantity is
doubled (= 40/20).
The same number of turns specified in the JMAG-RT Library Manager
should be specified if correction by [turns_coil2] is not necessary.
MEMO If you are using an RTT file that does not contain the data of the
number of turns, the value of [turns_coil2] is not used for the calculation.
coeftable_torque_flag Correction setting flag for torque using correction table file (.pa).
Select this to use the current dependence correction table of torque.
Back emf Flag Flag for displaying back electromotive force.
1: Display the result in a graph.
0: Do not output the result.
Rotor Angle Flag Flag for displaying the rotational angle.
1: Display the result in a graph.
0: Do not output the result
The initial position for the rotational angle of the motor is set to the posi-
tion where the current phase is 0 (position the direction of magnetic flux in
the U-phase coil is the same as the d-axis direction). The initial position of
the rotational angle does not depend on the initial position of the FEM
model.
Speed Flag Flag for displaying the rotation speed.
1: Display the result in a graph.
0: Do not output the result
Torque Flag Flag for displaying the torque.
1: Display the result in a graph.
0: Do not output the result
Current Flag Flag for displaying the current flowing in the coil.
1: Display the result in a graph.
0: Do not output the result
Offset angle (deg) The initial position of a rotational angle.
The initial position of a rotational angle is specified at the position that is
coincident with the d-axis direction and the direction of U-phase magnetic
flux of coil as default.
An offset angle can be set on a default position by specifying this parame-
ter.
716
Using JMAG-RT Models in a Commercial Circuit Simulator
Example
717
JMAG Version 22.2 User's Manual
JMAG-RT
Parameter Description
Rotor Angle Flag Flag for displaying the rotational angle.
1: Display the result in a graph.
0: Do not output the result
Speed Flag Flag for displaying the rotation speed.
1: Display the result in a graph.
0: Do not output the result
Torque Flag Flag for displaying the torque.
1: Display the result in a graph.
0: Do not output the result
Current Flag Flag for displaying the current flowing in the coil.
1: Display the result in a graph.
0: Do not output the result
Offset angle (deg) The initial position of the rotational angle.
The initial position of the rotational angle is the position of the current
phase at 0 by default. The offset can be specified by setting this parameter.
Example
718
Using JMAG-RT Models in a Commercial Circuit Simulator
Parameter Description
DispLimitMax The upper limit of the motion range of the mover
DispLimitMin The lower limit of the motion range of the mover
RA The resistance of the A-phase coil (ohm).
turns_coil2 Correction value for the number of turns in coil.
When specifying the number of coil turns for one phase in [turns_coil2],
the effects on the following physical quantities can be easily simulated by
changing the number of coil turns:
• The current when referring to the magnetic flux and inductance
• The current when referring to the magnetic force
When the number of turns specified in the JMAG-RT Library Manager is
N0, and [turns_coil2] is N, these physical quantities are multiplied by N/
N0. For example, if the number of turns specified by the JMAG-RT
Library Manager is 20 and [turns_coil2] is 40, each physical quantity is
doubled (= 40/20).
The same number of turns specified in the JMAG-RT Library Manager
should be specified if correction by [turns_coil2] is not necessary.
Back emf Flag Flag for displaying back electromotive force.
1: Display the result in a graph.
0: Do not output the result.
Position Flag Flag for displaying the displacement.
1: Display the result in a graph.
0: Do not output the result.
Velocity Flag Flag for displaying the translation speed.
1: Display the result in a graph.
0: Do not output the result.
Force Flag Flag for displaying the electromagnetic force.
1: Display the result in a graph.
0: Do not output the result.
Current Flag Flag for displaying the current flowing in the coil.
1: Display the result in a graph.
0: Do not output the result.
Example
719
JMAG Version 22.2 User's Manual
JMAG-RT
720
Using JMAG-RT Models in a Commercial Circuit Simulator
Parameter Description
turns_coil1 Correction value 1 for the number of turns in coil.
When specifying the number of coil turns for one phase in [turns_coil1],
the effects on the following physical quantities can be easily simulated by
changing the number of coil turns:
• Inductance
• Magnetic flux
• Electromagnetic force
When the number of turns specified in the JMAG-RT Library Manager is
N0, and [turns_coil1] is N, these physical quantities are multiplied by N/
N0. For example, if the number of turns specified by the JMAG-RT
Library Manager is 20 and [turns_coil1] is 40, each physical quantity is
doubled (= 40/20).
The same number of turns specified in the JMAG-RT Library Manager
should be specified if correction by [turns_coil1] is not necessary.
turns_coil2 Correction value 2 for the number of turns in coil.
When specifying the number of coil turns for one phase in [turns_coil2],
the effects on the following physical quantities can be easily simulated by
changing the number of coil turns:
• The current when referring to the magnetic flux and inductance
• The current when referring to the electromagnetic force
When the number of turns specified in the JMAG-RT Library Manager is
N0, and [turns_coil2] is N, these physical quantities are multiplied by N/
N0. For example, if the number of turns specified by the JMAG-RT
Library Manager is 20 and [turns_coil2] is 40, each physical quantity is
doubled (= 40/20).
The same number of turns specified in the JMAG-RT Library Manager
should be specified if correction by [turns_coil2] is not necessary.
Back emf Flag Flag for displaying back electromotive force.
1: Display the result in a graph.
0: Do not output the result.
Position Flag Flag for displaying the displacement.
1: Display the result in a graph.
0: Do not output the result
Velocity Flag Flag for displaying the translation speed.
1: Display the result in a graph.
0: Do not output the result
Force Flag Flag for displaying the electromagnetic force.
1: Display the result in a graph.
0: Do not output the result
Current Flag Flag for displaying the current flowing in the coil.
1: Display the result in a graph.
0: Do not output the result
Offset Disp (m) The initial position of the mover.
The initial position specified in the FEM model is used. The displacement
can be offset by setting this parameter.
721
JMAG Version 22.2 User's Manual
JMAG-RT
Example
722
Using JMAG-RT Models in Your Programs in C
723
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
• JMAG-RT models cannot be used with Linux.
• The following model types of JMAG-RT models can be used in any C language program:
• Permanent magnet synchronous motor (PMSM)
• Two-phase stepping motor
• Linear solenoid
• Linear synchronous motor (LSM)
• SR motor (switched reluctance motor)
724
Using JMAG-RT Models in Your Programs in C
When JMAG-Designer is installed with the default settings, it is saved in the following
folder.
C:\Program Files\JMAG-Designer22.2\JMAG_RT\general
IMPORTANT JMAGRT_DLL may also be updated when updating JMAG. When updating
JMAG through a service pack installation, duplicate JMAGRT_DLL again.
6. Double-click the executable file.
The simulation is run.
725
JMAG Version 22.2 User's Manual
JMAG-RT
jmagrtSetInterpolationType(0) *8
Set the table interpolation method
jmagrtSetSkewParameter(1, 0, 30, 0, 2, 0) *7
Set the skew
jmagrtSetCorrectionOfFlux(1.0) *8
Specify correction factor jmagrtSetCorrectionOfMagnet(1.0) *8
jmagrtSetCorrectionOfSteel(1.0) *8
jmagrtSetCorrectionOfInductance(1.0) *8
jmagrtSetCorrectionOfTorque(1.0) *1, 8
jmagrtSetCorrectionOfForce(1.0) *2, 8
jmagrtSetCorrectionOfCoilTurn1(1.0) *8
jmagrtSetCorrectionOfCoilTurn2(1.0) *8
jmagrtSetCorrectionValue()
jmagrtSetInitialTime(0. 0)
Set the initial state jmagrtSetInitialCurrent(1, 0.0)* 3
jmagrtSetInitialDisplacement(0. 0)
jmagrtSetIronLossCalc() *5
jmagrtSetPWMFreq(10000.0) *6
jmagrtSetTime(t) t: Time
Specify a value for n step jmagrtSetCurrent(1, 0.0) * 3
jmagrtSetVoltage(1, 0.0) *3
To next step (n + 1)
jmagrtSetSignal(1, 0.0) *3
jmagrtSetDisplacement(disp)
jmagrtSetMagnetTemprature(300.0) *7
jmagrtSetCoilTemprature(300.0) *7
jmagrtExecute() *4
Run the analysis at n step
jmagrtGetCurrent(1) *4
Obtain the results at n step
jmagrtGetVoltage(1) *4
jmagrtGetTorque() *1
jmagrtGetForce() *2
jmagrtGetInductance(1) *4, 8
jmagrtUpdate()
Save the results at n step
jmagrtTerminate()
Termination processing
*1: This function can only be used when a PM synchronous motor, stepping motor, and a SR
726
Using JMAG-RT Models in Your Programs in C
motor is set.
*2: Can be used for a linear solenoid and linear synchronous motor.
*3: Specify only the number of terminals.
*4: Can only be used for an electric signal type.
*5: This function can only be used when a PM synchronous motor and iron loss information
is set.
*6: This function can only be used when the specifications from *5 exist and the input volt-
age signal is PWM.
*7: This function can only be used for a PM synchronous motor.
*8: This function cannot be used for induction motors.
727
JMAG Version 22.2 User's Manual
JMAG-RT
Notes
The following functions must be specified:
• jmagrtInitialize
Initialize the program
• jmagrtSetCorrection***
Specify the correction value for the magnetic flux and magnets
• jmagrtUpdate
Save the data for the current step
• jmagrtTerminate
Terminate the program
The order of the following functions cannot be changed:
• jmagrtInitialize
Initializes the program
• jmagrtSetCorrection***
Specifies the correction value for the magnetic flux and magnets
• jmagrtSetInitial***
Specifies the default values of each physical quantity such as current and voltage.
Functions in JMAGRT_DLL.dll
728
Using JMAG-RT Models in Your Programs in C
729
JMAG Version 22.2 User's Manual
JMAG-RT
Function Details
730
Using JMAG-RT Models in Your Programs in C
731
JMAG Version 22.2 User's Manual
JMAG-RT
jmagrtSetCorrectionOfMagnet(double value)
Function Corrects the grade of a magnet.
Argument value: Correction value for the grade of a magnet. The correction factor is used to take
into account the effects when a magnet is changed.
This coefficient affects the flux linkage of a magnet, torque, and electromagnetic force.
The default value is 1.0.
Return value None
jmagrtSetCorrectionOfSteel(double value)
Function Corrects the grade of a steel sheet.
Argument value: Correction value for the grade of a steel sheet. The correction factor is used to
take into account the effects when a material is changed.
This coefficient affects the flux linkage of a magnet, torque, and electromagnetic force.
The default value is 1.0.
Return value None
jmagrtSetCorrectionOfInductance(double value)
Function Specifies the correction factor for inductance.
Argument value: Correction factor for inductance.
The default value is 1.0.
Return value None
jmagrtSetCorrectionOfTorque(double value)
Function Specifies the correction factor for torque.
Argument value: Correction factor for torque.
The default value is 1.0.
Return value None
Description This command can be used for a PM synchronous motor and stepping motor.
jmagrtSetCorrectionOfForce(double value)
Function Specifies the correction factor for electromagnetic force.
Argument value: Correction factor for electromagnetic force.
The default value is 1.0.
Return value None
Description This command can be used for a linear solenoid and linear synchronous motor.
jmagrtSetCorrectionOfCoilTurn1(double value)
Function Specifies the correction factor (1) for the number of coil turns.
732
Using JMAG-RT Models in Your Programs in C
Argument value: Correction factor (1) for the number of coil turns.
The default value is 1.0.
With this setting, the effects of changing the number of turns is taken into account.
This value affects the inductance, flux linkage of a magnet, and electromagnetic force.
If the number of turns does not need to be corrected, specify the number of turns of
the original motor.
Return value None
jmagrtSetCorrectionOfCoilTurn2(double value)
Function Specifies the correction factor (2) for the number of coil turns.
Argument value: Correction factor (2) for the number of coil turns. The default value is 1.0.
With this setting, the effects of changing the number of turns is taken into account.
This value affects the inductance, flux linkage of a magnet, and electromagnetic force.
If the number of turns does not need to be corrected, specify the number of turns of
the original motor.
Return value None
jmagrtSetCorrectionValue()
Function Applies each correction value to a model.
Argument None
Return value None
Description Even if the correction factors are not used, this function is necessary.
733
JMAG Version 22.2 User's Manual
JMAG-RT
Description This command specifies the initial angle for a PM synchronous motor and stepping
motor.
This command specifies the initial position for a linear solenoid and linear synchro-
nous motor.
jmagrtSetDisplacement(double disp)
Function Specifies the position of a mover for each step with the angle or distance.
Argument disp: Angle (deg) or distance (m).
The default value is 0.0.
Return value None
734
Using JMAG-RT Models in Your Programs in C
Description This command specifies the initial angle for a PM synchronous motor and stepping
motor.
This command specifies the initial position for a linear solenoid and linear synchro-
nous motor.
If the position is not set, the initial position specified for jmagrtSetInitialDisplacement
is used.
int jmagrtSetIronlossCalc()
Function Calculation using iron loss is valid.
Argument Cannot be specified
Return value 0 (constant)
Description A calculation using iron loss is not run when this function is not executed, regardless
that there is information on iron loss in the RTT file.
A calculation using iron loss is not run when there is no information on iron loss in the
RTT file, regardless that this function is executed.
The “jmagrtCheckIronloss()” function can be used to confirm that there is iron loss
information in the RTT file.
735
JMAG Version 22.2 User's Manual
JMAG-RT
jmagrtGetVoltage(int terminal_id)
Function Obtains the voltage of the specified terminal
Argument terminal_id: Terminal ID. Enter “1” for setting the terminal 1
Return value Voltage (V)
Description This command can be used at each step for electric signal input.
This command cannot be used for a current signal input.
jmagrtGetTorque()
Function Obtains torque.
Argument None
Return value Torque (Nm)
Description This command can be used for a PM synchronous motor and stepping motor.
jmagrtGetForce()
Function Obtains electromagnetic force.
Argument None
736
Using JMAG-RT Models in Your Programs in C
737
JMAG Version 22.2 User's Manual
JMAG-RT
Files to be Used
Files required for creating the executable file are as follows:
Creation Procedures
In this explanation, the project name is “rt_run”. Any name can be specified when actually creating
the file.
i. Select [Create a new project] in the start window to display the [Create a new proj-
ect] dialog.
ii. Select [Empty Project] and click [Next].
iii. In the [Configure your new project] dialog, enter “rt_run” in [Project name].
iv. Click [Create].
3. Select [Release] in [Solution Configurations] in the toolbar.
4. From the menu bar, select [Project] > [Property] to display the [rt_run Property Pages]
dialog.
5. Click [Configuration Properties] > [Linker] > [General] and specify the JMAGRT_DLL.dll
save location in the row of [Additional Library Directories].
JMAGRT_DLL.dll is saved in the following folder:
(JMAG installation folder)\JMAG RT\general
When JMAG-Designer is installed with the default settings, it is saved in the following folder:
738
Using JMAG-RT Models in Your Programs in C
C:\Program Files\JMAG-Designer22.2\JMAG_RT\general
6. Click [OK].
7. Drag and drop the program created previously into [Source Files] in [Solution Explorer].
The program is added under [Source Files] of [Solution Explorer]. Related header files are also
automatically added to [External Dependencies] in [Solution Explorer].
For details on program creation methods, see “Creating a C Language Program” on page 728.
8. Double-click the program under [Source Files] in [Solution Explorer].
9. Perform program coding as needed.
10.From the menu bar, select [Build] > [Build rt_run].
The program is built, and the executable file (rt_run) is created.
Debug Procedures
1. Create a debug version of the created executable file.
2. Enter the following command into the command prompt, and run Visual Studio 2022.
devenv (created executable file name)
739
JMAG Version 22.2 User's Manual
JMAG-RT
740
JMAG-RT Viewer
JMAG-RT Viewer Overviews
A JMAG-RT model is a dataset of control circuit simulation parameters (coil flux linkage and inductance, resis-
tance etc.) that is extracted from FED analysis results of motors, etc. and edited. This dataset can be exported as
a RTT file.
Using blocks linked to the JMAG-RT model (RTT file) in the circuit simulator, makes it possible to run high-
speed control circuit simulation with consideration for nonlinear magnetizing properties and position depen-
dency, as if using the finite element method.
In JMAG-RT Viewer, input information and motor specifications used when creating the JMAG-RT model can
be checked as well as using the JMAG-RT model to create torque-speed curves and efficiency/loss maps.
743
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
For details, see “Displaying JMAG-RT Model FEA Result Value Maps” on page 768.
744
JMAG-RT Viewer Overviews
Creating and Displaying Torque-Speed Curves and Efficiency Maps Using JMAG-RT
models
You can display torque-speed curves and efficiency maps with JMAG-RT Viewer when using
JMAG-RT models of the following motors:
• PM synchronous motors and synchronous reluctance motors
• Induction motors
In addition, d/q phase current-speed curves (N-Id/Iq), current amplitude-speed curves (N-Iam),
iron loss maps (N-T-IronLoss) and copper loss maps (N-T-CopperLoss) also can be displayed.
For details, see the following pages:
• “Settings for Creating Torque-Speed Curves/Efficiency Maps” on page 796
• “Displaying Torque-Speed Curves/Efficiency Maps in Map View” on page 806
• “Changing Speed Curves/Maps Displayed in Map View” on page 808
• “Exporting Speed Curve/Map Reports and Images” on page 811
• “Exporting Speed Curve and Map Data Tables” on page 812
Displaying torque-speed curves and efficiency maps that account for iron loss
When creating torque-speed curves and efficiency maps that account for iron loss, iron loss data
must be output to RTT files.
• When using JMAG-RT, select [Allow Iron Loss] in the [Create] tab of the setting dialog of each
motor to generate RTT files with output iron loss data.
• When using JMAG-Express and using versions of JMAG-Express from June 2011 and later,
RTT files with output iron loss data are generated.
When using RTT files that do not possess output iron loss data, torque-speed curves and efficiency
maps that account only the coil Joule loss are created.
745
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
The above “LdLq model + spatial harmonic (differential) model” refers to the result data of both
LdLq models and spatial harmonic (differential) models output to RTT files.
Files such as these are created when the checkboxes for both [LdLq model] and [Spatial Harmonic
Model] are selected in the JMAG-RT library manager [Select Motor Model] dialog.
MEMO For information on LdLq models, spatial harmonic (differential) models, and spatial harmonic
(integral) models, see “Checking Basic Information of the JMAG-RT Model” on page 760.
746
JMAG-RT Viewer Overviews
747
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Function Description
Displaying JMAG-RT model basic No license is required.
information
• Displaying FEA result value maps One of the following licenses is required to render torque-
using JMAG-RT models speed curve, Ld map, and Lq map.
• Displaying maps of efficiency map • License (JMAG-RT-Viewer)
analysis studies in JMAG-RT model • A free license separately issued through JMAG website
• Creating and displaying torque-speed (https://www.jmag-international.com/)
curves using JMAG-RT models
However, if you have the efficiency map license (JMAG-RT-
• Exporting MAT files for MATLAB/
EFFICIENCYMAP), you can use these functions without
Simulink FEM-Parameterized block
having to obtain the above license.
If both the license (JMAG-RT-EFFICIENCYMAP) and the
free license are valid, the free license is consumed first.
Creating and displaying efficiency A paid JMAG-RT-EFFICIENCYMAP is required.
maps using JMAG-RT models To obtain it, please contact your distributor or sales represen-
tative.
Applying skew to JMAG-RT model No license is required.
Adding equivalent iron loss resistance A paid JMAG-RT license is required.
tables To obtain it, please contact your distributor or sales represen-
tative.
748
JMAG-RT Viewer Overviews
Conversion Procedure
1. Start the JMAG-RT Library Manager bundled in JMAG-Designer 10.5 or later.
2. Select a JMAG-RT motor model from the [RT Model Library] list in the main dialog that
is set to [Created] in the [Data Status] column and click [Modify].
A message asking if you want to edit the current data is displayed.
3. Select [No] in the dialog and dialog to set each model type is displayed.
4. Confirm the information for the JMAG-RT model file displayed in the [Data Information]
tab.
5. Select [OK] and a message asking if you want to update the RTT file is displayed.
6. Select [Yes] and a report file is displayed on the screen whether or not updating the data
has succeeded or not.
Confirm the error message that is displayed explaining the error if it occurs.
7. Copy the JMAG-RT model to the working folder for the circuit simulator.
The RTT file that is created to the working folder is converted to the new format.
749
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
750
Using JMAG-RT Viewer
This chapter describes the operations, input parameters, and precautions when using the JMAG-RT model
(RTT file) output from JMAG-RT or JMAG-Express with JMAG-RT Viewer.
Specifications
• Motor Control Information (page 814)
Licenses
• Setting the License Check (License Waiting Function) (page 829)
751
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Windows 10
MEMO File paths with spaces need to be enclosed with double quotation marks (").
752
Using JMAG-RT Viewer
[Model Type]
[Model Type] is activated when PM synchronous motor (or synchronous reluctance motor) RTT files
that possess the result data of multiple model types are opened in JMAG-RT Viewer.
Select from the following:
753
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
• [LdLq]
• [Spatial harmonic (differential)]
FEA result value maps, torque-speed curves, and efficiency maps are displayed using the result data
of the model type that is selected here.
MEMO When there is no valid license for the torque-speed curve or efficiency map, [More] is disabled.
MEMO The types of settings that can be specified, can vary depending on the motor.
For details about each parameters, see “Settings for Creating Torque-Speed Curves/Efficiency
Maps” on page 796.
754
Using JMAG-RT Viewer
In the map view window for [Torque-Speed Curve] or [Efficiency Map], torque speed curves/effi-
ciency maps are displayed in the left side of the window, and parameters used for outputting torque
speed curves/efficiency maps are displayed on the right side.
The percentage of operating range is displayed to show how much of the efficiency is acquired in the
entire operating range of the efficiency map.
After displaying the torque-speed curve in this window, the graph can be changed to the d/q cur-
rent-speed curve (N-Id/Iq) or to the current amplitude-speed curve (N-Iam). Also, it is possible to
change the efficiency map to the iron loss map (N-T-Iron loss) and to the coil loss map (N-T-Coil
loss).
For display items, see “Changing Speed Curves/Maps Displayed in Map View” on page 808.
755
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
[File] menu
Command Description
[Open] Opens the RTT file.
[Open Setting] Loads previously saved settings for the detailed parameters saved in an XML
file.
[Save Setting] Saves the settings for the detailed settings window to an XML file.
[Display JMAG- This command is activated when the RTT file exported from JMAG-Designer
Designer Efficiency efficiency map analysis studies is loaded.
Map] This opens the map view window and display the map based on the map data
of the RTT file. For details see “Displaying Maps of JMAG-Efficiency Map
Analysis Studies in JMAG-RT Model” on page 773.
[Apply Skew and Save This command is activated when RTT files of the PM synchronous motors are
As] loaded.
This applies skew to JMAG-RT model, rename the RTT file and output. For
details see “Applying Skew to JMAG-RT Model” on page 788.
[Add Equivalent Iron- This command is activated when RTT files that have iron loss table data
loss Resistance Table are loaded.
and Save As] This adds equivalent iron loss resistance tables and filter harmonic induc-
tance data to JMAG-RT models, then exports those JMAG-RT models
with new names. For details, see “Adding Equivalent Iron Loss Resistance
Tables to JMAG-RT Models” on page 790.
[Export File for MAT- This command is activated when the RTT files of three-phase PM synchro-
LAB/Simulink FEM- nous motors have been loaded.
Parameterized Block] Data described in pre-existing RTT files is exported to the MathWorks MAT
file format. For details, see “Exporting MAT Files for MATLAB/Simulink FEM-
Parameterized Block” on page 793.
[Exit] Terminates the JMAG-RT Viewer.
[Tools] menu
Command Description
[Torque-Speed curve] Displays the torque-speed curve with the settings in the detailed setting
option window. This is the same as clicking [Torque-Speed curve] .
[Efficiency map] Displays the efficiency map with the settings in the detailed setting option
window. This is the same as clicking [Efficiency map] .
[Language] Changes the display language. English and Japanese are supported.
756
Using JMAG-RT Viewer
Command Description
[Temperature Unit] Changes the unit of temperature used for the temperature correction of the
coil and magnet in the detailed setting option window. The options are Kelvin
(K), Celsius (deg C) and Fahrenheit (deg F).
Each value set in [Base], [Coefficient], [Max], and [Min] are automatically
converted when the unit in temperature is modified.
[Efficiency Map Changes the calculation region (motoring and generating) in an efficiency
Range] map. The positive region for torque is only calculated when [Motor Only] is
selected. The positive and negative region of a torque is calculated when
[Motor + Generator] is selected.
The calculation time is shorter when [Motor Only] is selected, as compared to
when [Motor + Generator] is selected.
[Efficiency Map Range] can be set when a RTT file for a PM synchronous
motor (or synchronous reluctance motor) is imported. The setting cannot be
specified for files that are set for an induction motor.
[Help] menu
Command Description
[Help] Starts the JMAG-RT Viewer Help.
[Registration Key Allows the setting of the license key for displaying the torque-speed curve. The
Update] license key can be requested from the JMAG website. When this command is
selected, the [Registration Key Setup] dialog opens. Enter your [E-mail
address], [Expiry date] and [License Key] in the dialog to set the license.
[About] Displays the version information of the JMAG-RT Viewer.
757
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
[File] menu
Command Description
[Export] Exports the torque-speed curve or the efficiency map to a report (.pdf ) or
to an image file (.bmp, .jpeg, .png, .tif ). [Export] in the tool bar can also
be used to export the image. For details, see “Exporting Speed Curve/Map
Reports and Images” on page 811.
[Csv Export] Exports the data of the torque-speed curve or the efficiency map as CSV for-
mat file. For details, see “Exporting Speed Curve and Map Data Tables” on
page 812.
[Print Setup] Sets the properties for printing reports and images.
[Print Preview] Displays a preview of the page for printing.
[Print] Prints a report of the torque-speed curve or the efficiency map to the
selected printer. The function is the same as [Print] in the tool bar.
[Close] Closes the map view window.
[Display] menu
Command Description
Switch display item Switches display between torque-speed curve and efficiency map. For details,
see “Changing Speed Curves/Maps Displayed in Map View” on page 808.
[Set Color Range] Sets the rendering range for map diagrams or gradation. See “Displaying
Torque-Speed Curves/Efficiency Maps in Map View” on page 806 for
details.
758
Using JMAG-RT Viewer
759
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
[Title]
The title of the JMAG-RT model described in the RTT file is displayed.
[Info]
Information when creating the JMAG-RT model is displayed.
[Motor Info]
The following information is displayed:
Body/rated value
This is information added by users responsible for creating RTT files. These values are not used as
input values in FEA for RTT file creation.
Rotating machines
• [Weight (Wg) (kg)] • [Rated Speed (Nrat) (rpm)]
• [Shaft Length (m)] • [Rated Output (PWR) (kW)]
• [Diameter (m)] • [Rated Current (Irat) (A)]
• [Inertia (Ina) (kgm2)] • [Rated Voltage (Vrat) (V)]
760
Using JMAG-RT Viewer
Type Description
[(PMSM. LdLq)] This is displayed when RTT files possess LdLq model result data.
The following result data is output for LdLq models:
• d-axis and q-axis inductances that possess current dependency and cur-
rent phase angle dependency.
Because only the sine wave components of motor electromotive force wave-
forms are used when calculating Ld and Lq, the influence of harmonics due
to slots cannot be confirmed.
[(PMSM. Harmonic [Dif- This is displayed when RTT file possess spatial harmonic (differential)
ferential])] model result data.
761
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
762
Using JMAG-RT Viewer
• Torque:
[Torque: Angle Resolution], [Torque: Coilset1: Current Resolution], [Torque: Coilset1: Phase
Resolution], [Torque: Coilset2: Current Resolution], [Torque: Coilset2: Phase Resolution]
• Iron loss:
[Iron Loss Data], [Iron Loss: Coilset1: Current Resolution], [Iron Loss: Coilset1: Phase Resolu-
tion], [Iron Loss: Coilset2: Current Resolution], [Iron Loss: Coilset2: Phase Resolution], [Iron
Loss: Rotation Speed]
Stepping motor
• [Number of Poles]
• [Resistance (ohm)]
Linear solenoid
• [Resistance (ohm)]
SR motor
• [Number of Poles]
• [Resistance (ohm)]
763
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Item Description
[Permanent Magnet Flux Value Ψ a of magnetic flux linking the coil for the dq coordinate system.
(Wb)]
Ψ a is calculated with the following formula:
Ψa = Ψf × (3 ⁄ 2)
764
Using JMAG-RT Viewer
Item Description
[Ld (H)], [Lq (H)] Displayed for three-phase motors.
• LdLq model:
An average value is computed from all the data points in the Ld, Lq table
that have dependence on the current amplitude and phase of the stator.
• Spatial harmonic (differential) model:
The 3 x 3 inductance matrix with dependence on the current amplitude,
phase, and mechanical angle of the stator is converted into an Ld, Lq
table having dependency on the current amplitude and phase of the sta-
tor, and an average value is computed from all the data points in the Ld,
Lq table.
For RTT files containing both LdLq model data and spatial harmonic (dif-
ferential) model data, the average value of the spatial harmonic (differen-
tial) model is displayed.
These values are used for control circuit simulation when the [LdLq (Con-
stant)] option is selected for the parameter [Accuracy Type] in the JMAG-
RT model block in Simulink.
[Averaged d1d1 Induc- Displayed for six-phase motors.
tance (H)], [Averaged The 3 x 3 inductance matrix with dependence on the current amplitude,
d1d2 Inductance (H)], phase, and mechanical angle of the stator is converted into an Ld, Lq table
[Averaged d2d2 Induc- having dependency on the current amplitude and phase of the stator, and
tance (H)], [Averaged an average value is computed from all the data points in the Ld, Lq table.
q1q1 Inductance (H)],
[Averaged q1q2 Induc-
tance (H)], [Averaged
q2q2 Inductance (H)]
[Geometric Angle Differ- Displayed for six-phase motors.
ence between Star connec- This value is calculated from the following procedure:
tions (elec.deg)]
1.Magnetic field analysis is performed for one electrical cycle with six ter-
minals open (no load).
2.FFT is performed on the U1-phase flux and the U2-phase flux as the
analysis result of Step 1 to extract the fundamental wave phase.
3.The fundamental wave phase of the U1-phase flux is subtracted from the
fundamental wave phase of the U2-phase flux.
[Harmonic Filter Induc- This is displayed when reading RTT files with equivalent iron loss resis-
tance (H)] tance tables added. See “Adding Equivalent Iron Loss Resistance Tables to
JMAG-RT Models” on page 790.
[Stator Leakage Reac- Displayed for three-phase induction motors.
tance (ohm)], [Rotor
Leakage Reactance
(ohm)], [Exciting Suscep-
tance (S)]
765
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Item Description
[Stator Leakage Reac- Displayed for six-phase induction motors.
tance (multiplication 1)
(ohm)], [Stator Leakage
Reactance (multiplication
2) (ohm)], [Rotor Leakage
Reactance (multiplication
1) (ohm)], [Rotor Leakage
Reactance (multiplication
2) (ohm)], [Exciting Sus-
ceptance (multiplication
1) (S)], [Exciting Suscep-
tance (multiplication 2)
(S)]
Winding Specifications
If winding parameter values are output to the RTT file, those values are displayed.
Winding parameters are used to approximate AC copper losses during control circuit simulation;
they are not used in the FEA to create the RTT file.
Input Value of RTT File in Efficiency Map Analysis Studies When Creating Map Data
When map data obtained from JMAG-Designer efficiency map analysis studies is output to the
RTT file, the input values used to create the map data is displayed.
766
Using JMAG-RT Viewer
[Comment]
Comments added to the RTT file when the RTT file is created are displayed.
767
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Notes
• When the FEA result values included in JMAG-RT model are constant, the result value map
cannot be displayed.
• When using a JMAG-RT model to which a correction file is applied, a map of the corrected
result data is displayed. For details on correction files, see “Applying Corrections to JMAG-RT
Model FEA Result Values” on page 774.
• The correction factors specified in the [Corrections] tab of the JMAG-RT motor settings dialog
when creating a JMAG-RT model are not taken into account when calculating N-T curves or
efficiency maps in the JMAG-RT Viewer.
• The RTT file with the following settings has iron loss result data.
(1) When taking iron loss into account when creating the RTT file.
(2) When the loss table is added to the RTT file by using the loss table application function of
JMAG-RT.
(3) When both (1) and (2) are performed.
• The iron loss data added using the loss table application function of JMAG-RT is used to cre-
ate the iron loss (speed-current amplitude) map of the RTT file in (3).
• In addition, the RTT file of (2) or (3) has the result data of user-specified physical quantities
such as current phase, bus voltage, carrier frequency in addition to iron loss, rotation speed,
and current amplitude.
• When an iron loss (speed-current amplitude) map is created from the RTT file of (2) or (3),
physical quantities that are not used as axes of the current phase, bus voltage, carrier fre-
quency, etc. are averaged.
• The result data of LdLq models, spatial harmonic (differential) models, and spatial harmonic
(integral) models are output in either singular or multiple for PM synchronous motor RTT files.
The result data of LdLq models and spatial harmonic (differential) models are output in either
singular or multiple for synchronous reluctance motor RTT files.
The table below shows the types of result data that can be used when displaying maps.
Types of result data output to RTT files Result data available for maps
Ld, Lq Ld,Lq
Spatial harmonic differential (sinusoidal drive) Spatial harmonic differential (sinusoidal
drive)
768
Using JMAG-RT Viewer
Types of result data output to RTT files Result data available for maps
Spatial harmonic differential (other drives) Spatial harmonic differential (other
drives).
However, only the induced voltage map
can be displayed.
Ld, Lq + spatial harmonic differential (sinusoidal drive) Ld,Lq or spatial harmonic differential
(sinusoidal drive)
Ld, Lq + spatial harmonic differential (other drives) Ld,Lq
Spatial harmonic differential (sinusoidal drive) + spatial har- Spatial harmonic differential (sinusoidal
monic integral drive)
Ld, Lq + spatial harmonic differential (sinusoidal drive) + Ld,Lq or spatial harmonic differential
spatial harmonic integral (sinusoidal drive)
MEMO For information on LdLq models, spatial harmonic differential models, and spatial harmonic
integral models, see “PMSM/SynRM JMAG-RT Model Type (LdLq, Spatial Harmonic)” on page 435.
Procedures
1. With a RTT file imported, select a physical quantity under the [Table Value] menu in the
JMAG-RT Viewer main window.
The map is displayed.
For details on the PM synchronous motor (or synchronous reluctance motor) result values, see
“Viewable Result Values” on page 770.
MEMO To zoom in on parts of the Ld map and the Lq map, click [Zoom] on the toolbar, then
click and drag a rectangle for the region to zoom.
2. The axis can be changed in some of the maps.
Axis other than θ can be changed in the following table:
• Iron loss table for three-Phase PM Synchronous Motor (or three-phase Synchronous Reluc-
tance Motor):
(Iam, β, Speed, Iron loss) or (Id, Iq, Speed, Iron loss)
• Inductance table, torque table and flux linkage table for six-phase PM Synchronous Motor
(or six-phase Synchronous Reluctance Motor):
(Iam1, β1, Iam2, β2, θ):
• Iron loss table for six-phase PM Synchronous Motor (or six-phase Synchronous Reluctance
Motor):
(Iam1, β1, Iam2, β2, Speed, Iron loss)
MEMO In the flux linkage table, the amplitude of the fundamental wave is output to the θ axis. In
the inductance and torque tables, averaged data is output to the θ axis.
Parameter:
Specify the axis of the map from the following parameters:
• [Fixed Axis Type]:
This option is displayed for six-phase PM Synchronous Motors (or six-phase Synchronous
Reluctance Motors). Select one of the following:
769
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
770
Using JMAG-RT Viewer
771
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
772
Using JMAG-RT Viewer
Procedures
1. Load the RTT file and select [Display JMAG Designer Efficiency Map] from the [File]
menu of the JMAG-RT Viewer main window.
Each map is displayed.
You can switch between maps for display using the command in the [View] menu of the Map
View window.
The type of maps that can be displayed and the definition of physical quantity are set in accor-
dance to JMAG-designer efficiency map analysis studies. For details on JMAG-Designer effi-
ciency map analysis studies, see “JMAG-Designer Help”.
773
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Notes
• This function supports RTT files for the following motors:
• Three-phase/six-phase PM synchronous motor
• Three-phase/six-phase Synchronous reluctance motor
• Three-phase Induction motor
• If applying corrections, the correction file (.csv) needs to be made manually by writing the cor-
rection value in the regulated file format. For details about the correction file format, see “For-
mat of Correction File” on page 776.
• Old formats of correction files ($RT_Correction_LdLq, $RT_Correction_BackEMF, $RT_Cor-
rection_Flux) cannot be used for versions later than 13.0 or 13.1.
• If applying corrected result values in a RTT file in a newly created file, this cannot be done in
JMAG-RT Viewer. Use JMAG-RT.
• Total flux linkage corrections cannot be used with inductance corrections or magnet flux-linkage
corrections.
Procedures
1. Prepare a correction file (.csv).
For details about the correction file format, see “Format of Correction File” on page 776.
2. Select [Apply the Correction File] on the JMAG-RT Viewer main screen.
3. Click [Browse] in [Correction File].
4. In the [Open correction file] dialog, specify a path for the correction file created in Step
1.
5. Click [Open].
When opening a RTT file in JMAG-RT Viewer, corrections apply to that file's results values. If
the file is not open, corrections will be applied to the result values of RTT files subsequently
opened.
Addition
Set the physical quantity of the correction target. This supports the following physical quantities:
774
Using JMAG-RT Viewer
Multiplier
Set the correction value (correction ratio) multiplied to the physical quantity of the correction tar-
get. This supports the following physical quantities:
Induction motor
Correction Type Description
$RT_Correction_Resistance_Sec- The correction factor for secondary conductor resistance.
ondary Set the correction value when the primary axis is the slip fre-
quency (Hz) and the secondary axis is the primary current (A).
775
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Format
• Do not fail to input the following on Row 1 “$RT_Correction_Start,” and on the end row put
“$RT_Correction_End”.
• Enter correction values (correction ratio) separated by commas after reservation words that start
with $ for corrections of table specifications.
• If a column is missing, anything after that column will be invalid and cannot be corrected.
Row 1 $RT_Correction_Start,
Start marker * Fixed
Row 2 $RT_Correction_Version, (Version number)
File version. Specify “13.0.a”.
Row 3 $RT_Correction_MotorType, (Motor Type)
Specify the following as the motor type.
• [PMSM]: Three-phase PM synchronous motor
• [SynRM]: Three-phase synchronous reluctance motor
Row 4 • When specifying a constant value:
(type of correction), (correction value)
• When specifying tables:
(type of correction), (number of table rows), (number of table columns)
776
Using JMAG-RT Viewer
777
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
• For multiplier correction of total flux linkage (current amplitude (A), phase
(deg)):
$Iam/Beta, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
100.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
200.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
300.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
• For multiplier correction of iron loss (revolution speed (rpm), current ampli-
tude (A)):
$N/Current, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0
100.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
200.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
300.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
End row $RT_Correction_End,
End marker * Fixed
778
Using JMAG-RT Viewer
Format
• Do not fail to input the following on row 1 “$RT_Correction_Start,” and on the end row put
“$RT_Correction_End”.
• Enter correction values (correction ratio) separated by commas after reservation words that start
with $ for corrections of table specifications.
• If a column is missing, anything after that column will be invalid and cannot be corrected.
Row 1 $RT_Correction_Start,
Start marker * Fixed
Row 2 $RT_Correction_Version, (Version number)
File version. Specify “19.1.a”.
Row 3 $RT_Correction_MotorType, (Motor Type)
Specify the following as the motor type.
• [PMSM_6Phase]: Six-phase PM synchronous motor
• [SynRM_6Phase]: Six-phase synchronous reluctance motor
Row 4 • When specifying constant values:
(correction type), (correction value)
• When specifying tables:
(correction type), (axis 1 physical properties), (axis 2 physical properties), (axis 3
physical properties), (axis 4 physical properties), (axis 5 physical properties)
779
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
The number of axes in correction tables will differ depending on the physical
quantities where correction values are applied, similar to the following:
• Inductance, torque, magnet flux, total flux linkage:
4 (I1 axis, Beta1 axis, I2 axis, Beta2 axis)
• Iron loss:
5 (I1 axis, Beta1 axis, I2 axis, Beta2 axis, Speed axis)
780
Using JMAG-RT Viewer
$RT_Correction_AxisOrder, (Axis 1), (Axis 2), (Axis 3), (Axis 4), (Axis 5)
• When physical quantities where correction values are applied are iron loss:
$RT_Correction_AxisOrder, Iam1, Beta1, Iam2, Beta2, Speed
The title row for each axis.
Specify the physical properties of each axis for tables specified in the 6th and
subsequent rows in order. The meaning of each physical property is as follows:
Iam1: Current amplitude of coil set 1 (A)
Beta1: Current phase of coil set 1 (deg)
Iam2: Current amplitude of coil set 2 (A)
Beta2: Current phase of coil set 2 (deg) or the current phase difference of
coil set 1 and coil set 2 (deg)
Speed: Rotational speed (rpm)
Items used as axes in each corrected table will differ depending on the physical
quantities to be corrected.
781
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Example:
$1stAxis, 10.0
$2ndAxis, 0.0
$3rdAxis/4thAxis, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
10.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
20.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 10.0
$2ndAxis, 90.0
$3rdAxis/4thAxis, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
10.0, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7,
20.0, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7,
...
782
Using JMAG-RT Viewer
An example of the 3rd axis-4th axis table (or the 4th axis-5th axis table) is
shown below. The number of rows in this example is “3”, and the number of
columns is “6”.
• For inductance (or torque, magnet flux, total flux linkage) multiplier correc-
tions:
The 3rd axis is the current amplitude of coil set 2 (A), and the 4th axis is the
current phase of coil set 2 (deg).
$3rd/4th, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
100.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
200.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
300.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
783
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
784
Using JMAG-RT Viewer
$3rdAxis, 0.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 0.0
$3rdAxis, 30.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 0.0
$3rdAxis, 60.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 30.0
$3rdAxis, 0.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 30.0
$3rdAxis, 30.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$1stAxis, 50.0
$2ndAxis, 30.0
$3rdAxis, 60.0
$4thAxis/5thAxis, 0.0, 300.0, 600.0, 900.0, 1200.0, 3600.0
0.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
360.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$RT_Correction_End,
785
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
$RT_Correction_Torque, 1, 1, 3, 6
$AxisOrder, Iam1, Beta1, Iam2, Beta2
$1stAxis, 10.0
$2ndAxis, 0.0
$3rdAxis/4thAxis, 0.0, 30.0, 60.0, 90.0, 120.0, 360.0
10.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
20.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
30.0, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7,
$RT_Correction_End,
Format
• Do not fail to input the following on row 1 “$RT_Correction_Start,” and on the end row put
“$RT_Correction_End”.
• Enter correction values (correction ratio) separated by commas after reservation words that start
with $ for corrections of table specifications.
• If a column is missing, anything after that column will be invalid and cannot be corrected.
Row 1 $RT_Correction_Start,
Start marker * Fixed
Row 2 $RT_Correction_Version, (Version number)
File version. Specify “20.0.a”.
Row 3 $RT_Correction_MotorType, (Motor Type)
Specify the following as the motor type.
• [IM]: Induction motor
Row 4 (type of correction), (number of table rows), (number of table columns)
Specify one of the following for correction type.
• [$RT_Correction_Resistance_Secondary]:
Multiplier correction table for secondary conductor resistance (Ohm)
• [$RT_Correction_MagnetizingInductance]:
Multiplier correction table for magnetizing leakage inductance (H)
• [$RT_Correction_LeakageInductance_Primary]:
Multiplier correction for primary coil leakage inductance (H)
• [$RT_Correction_LeakageInductance_Secondary]:
Multiplier correction for secondary conductor leakage inductance (H)
Specify the number of columns and rows of tables specified after row 5 for
table.
786
Using JMAG-RT Viewer
787
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Notes
• This function supports JMAG-RT model (RTT files) for the following motors:
• Spatial harmonic (integral) model of three-phase PM synchronous motor
• Supports not only applying a skew to the rotor or stator but also applying skews to both the rotor
and stator.
• In this method, a skew is expressed by stacking and averaging numerous cross-sections which are
created corresponding to the skew angle based on the results of a JMAG-RT model (torque, flux
linkage, inductance) generated using a model without skew.
• This method accounts for simple skews. 3D effects due to skew are not accounted for with this
method, so the results are not completely consistent with when a JMAG-RT model created from
a 3D model with skew is used.
To strictly evaluate the effects of a skew, creating a JMAG-RT model using a 3D model with a
skew is recommended.
• This function cannot be used to apply a skew to a JMAG-RT model with a skew already applied
to it.
Procedures
1. With an RTT file loaded, select [Apply Skew and Save As] in the [File] menu from the
JMAG-RT Viewer main window.
1. In the [Apply Skew and Save As] dialog, set the destination and name for the RTT file
after the skew is applied in the [RTT File After Applied Skew] box.
2. Select the checkbox for [Publish] when adding skew settings information to the RTT file.
The values of each skew parameter can be confirmed by selecting the checkbox for [Publish]
when the RTT file with skew settings added to it is loaded to the JMAG-RT Viewer.
3. Specify skew parameters.
788
Using JMAG-RT Viewer
Left: Linear skew of a stator, Center: V-skew of a stator, Right: Step skew of a rotor
789
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Notes
• This function supports RTT files for the following motors:
• Spatial harmonic (differential) model of three-phase/six-phase PM synchronous motors
(PMSM)
• Spatial harmonic (differential) model of three-phase/six-phase synchronous reluctance motors
(SynRM)
• Three-phase/six-phase induction motors (IM):
Only RTT files created from JMAG-RT of JMAG-Designer Version 22.0 or later are sup-
ported.
• Iron loss result data must additionally be output to input RTT files.
• In the current version, RTT files that include equivalent iron loss resistance tables can be used in
the following software:
• JMAG-Designer
• Simulink
Procedures
1. With an RTT file loaded, select [Add Equivalent Ironloss Resistance Table and Save As]
from the [File] menu in the main JMAG-RT Viewer window.
1. In the [Add Equivalent Ironloss Resistance Table and Save As] dialog, in the [Rtt file after
Applied Ironloss Equivalent Resistance Table and Harmonic Filter Inductance] box, spec-
ify the save destination and the name of the RTT file after adding the table.
2. To add equivalent iron loss resistance table settings information to the RTT file, select
[Publish].
When [Publish] is selected, filter inductance values can be checked when RTT files with equiva-
lent iron loss resistance tables added are loaded into JMAG-RT Viewer.
3. Set the input current file (.csv) and calculation parameters.
For RTT files of six-phase IMs, set the input current file and the calculation parameters before
(for 2p poles) and after (for 4p poles) changing the number of poles, respectively.
[Input]
• [Input Current File (CSV)]:
Create a CSV file that describes the time-dependent phase current table and specify that CSV
file here. For CSV file formats, see “Electric Current Point Sequence File Format” on page
791.
790
Using JMAG-RT Viewer
[Setting]
• [Iron loss (W)]:
This is displayed when the RTT files of PMSMs, SynRMs, or IMs are loaded. For PMSMs or
SynRMs, enter the average value of one electrical cycle. For IMs, enter the average value of
the primary current for one steady-state cycle.
• [Offset angle (deg)]:
This is displayed when the RTT files of PMSMs or SynRMs are loaded. Enter the difference
between the d-axis direction and the U-axis (the direction of the magnetic flux due to the U-
phase current) at the time 0.0 s in mechanical angle (deg).
• [Slip frequency (Hz)]:
This is displayed when the RTT files of IMs are loaded. Enter the average value of the pri-
mary current for one steady-state cycle.
4. Click [Output].
Format
791
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
792
Using JMAG-RT Viewer
Notes
Advance preparation
To use this function, MATLAB must be installed on the machine used to output the MAT files.
In addition, the following environment variables must be set on the machine used to output the
MAT files. For procedures on setting environment variables, refer to the “Overview Edition”.
793
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Environment
Description
variable
Path The full path of the folder where MATLAB is installed. An example is shown below.
C:\Program Files\MATLAB\R2021b\bin
Procedures
1. Load an RTT file into JMAG-RTViewer, and select [File] > [Export File for MATLAB/Sim-
ulink FEM-Parameterized Block] from the menu bar.
2. In the [Export File for MATLAB/Simulink Parameterized Block] dialog, specify a save des-
tination for the MAT file in the [Export Folder] box.
3. Select the version for the MAT file to be exported with the [MATLAB Version] list.
4. Click [Export].
When using a MAT file created from an RTT file with [Drive Type] set to [Sine Wave
Drive]
1. Start MATLAB/Simulink.
2. Navigate to the calculation folder where the MAT file is located. Double-click the MAT
file to load the MAT file into MATLAB.
The data loaded from the MAT file is displayed in a table format in the MATLAB Workspace.
3. Select [FEM-Parameterized PMSM] from the Simulink block library, and place it in the
Simulink circuit window.
4. Right-click the FEM-Parameterized PMSM block in Step 3, and select [3-D Flux Linkage
Data].
5. Select [A-phase flux linkage as a function of peak current magnitude (I), current advance
angle (B), and rotor angle (theta)] for [Flux linkage data format].
6. Select [Q leads D, rotor angle measured from A-phase to D-axis] for [Park's convention
for tabulated data].
7. Assign Workspace variables to the number of pole pairs, the vector selection, table
selection, phase resistance, etc.
When using a MAT file created from an RTT file with [Drive Type] set to [Other]
1. Start MATLAB/Simulink.
2. Navigate to the calculation folder where the MAT file is located. Double-click the MAT
file to load the MAT file into MATLAB.
The data loaded from the MAT file is displayed in a table format in the MATLAB Workspace.
794
Using JMAG-RT Viewer
3. From the magnetic flux table, create a table of partial derivatives of the magnetic flux
with current is created using the MATLAB function ee_calculateFluxPartialDerivatives().
4. Select [FEM-Parameterized PMSM] from the Simulink block library, and place it in the
Simulink circuit window.
5. Right-click the FEM-Parameterized PMSM block from Step 4, and select [4-D partial
derivative data].
6. Assign Workspace variables to the number of pole pairs, the vector selection, table
selection, phase resistance, etc.
795
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Notes
Procedures
1. Click [More] on the main window.
The window expands to show the detailed setting option window on the right side.
2. Set each parameter.
• [Efficiency Map Range] can be set when a RTT file for a PM synchronous motor (or syn-
chronous reluctance motor) is imported. The positive and negative region of a torque can be
calculated in [Tools] > [Efficiency Map Range] > [Motor + Generator] from the main win-
dow of JMAG-RT Viewer. The default value is [Motor Only].
• The short title in brackets shown with the parameter, i.e. Vmax with Max. Voltage (Vmax), is
used as the label in the report (.pdf ) of the torque-speed curve/efficiency map. For exporting
the report of the torque-speed curve/the efficiency map, see “Exporting Speed Curve/Map Reports
and Images” on page 811.
• Parameters can be exported to an XML file. For exporting parameters to the file, see “Saving Set-
tings for Creating Torque-Speed Curves/Efficiency Maps to Files” on page 805.
[Inverter Rating]
• [Max. Voltage (Vmax), V]:
Input the maximum value of the fundamental line voltage supplied from the inverter to the
motor.
JMAG-RT Viewer calculates the N-T curve and efficiency assuming a space vector modulation
796
Using JMAG-RT Viewer
method. Therefore, when the amplitude of the motor phase voltage is set to Vph, the motor is
controlled within the range of √3 × Vph <= Vmax for a star connection. For a delta connection,
the motor is controlled within the range of Vph <= Vmax.
Inverter circuit
[Motor Control]
Select [Basic Control] when using only a single control method. Select [Detailed Control] when
using different control methods for every revolution speed.
MEMO The value defined in a RTT file is used as the default value for [Max. Speed, rpm] in [Basic
Control], [Speed, rpm] in [Detailed Control], and [Max.Current, A] in [Detailed Control].
[Basic Control]
Select [Control Type] and enter a value in [Max. Speed]. The following are the types of control
methods:
• [id=0 (id=0)]
• [Max. Torque/Current (MTPA)]
• [Max. Torque/Flux (MTPF)]
• [Max. Efficiency (ME)]
• [Max. Power (MP)]
• [Moment of Force (PF=1)]
• [Flux Weakening (FW)]
For details, see “Motor Control Information” on page 814.
[Detailed Control]
Specify a set of combination in a table between [Speed, rpm], [Control Type], and [Max.Current, A]
as required.
• [Speed, rpm]:
Enter the value for the upper limit in revolution speed when using [Control Type] and [Max.
Current, A].
• [Control Type]:
The options are the same as [Basic Control].
797
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
• [Max.Current]:
Enter the maximum current that can be tolerated in inverters.
The [Speed, rpm] column should be sorted in an ascending order. The order of rows in a table can
be modified using and . Rows can also be deleted by using .
MEMO The maximum voltage set in [Max. Voltage (Vmax)] under [Inverter Rating] applies to the
entire cases registered in a table.
[Calculation Resolution]
To specify a calculation resolution, click to check on [Calculation Resolution] to set following:
• [Current Divisions (Idiv)]
• [Phase Step (βdiv), deg]
• [Speed Interval (Ndiv), rpm]
Finer calculation resolutions improve the accuracy of the torque-speed curve and the efficiency map
but increase the calculation time.
[Correction Coefficients]
Specify the correction value (multiplier) for the physical quantity if required.
• [Coefficient of Inductance (Lcof )]
• [Coefficient of Iron Loss (Hcof )]
• [Coefficient of the Magnet Flux (φcof )]
If the iron loss is not considered when creating the JMAG-RT model, the effect is not included in
the calculation of the Torque-Speed curve/Efficiency map even [Coefficient of Iron Loss] if an Iron
Loss correction is specified.
[Leakage Inductance]
Specify these values when accounting for leakage inductance during N-T curve calculation and efficiency
map calculation. Leave it at zero when it is not being accounted for. The problem will be solved as if the
coil with the specified leakage inductance value is connected in series with the coil of each phase when a
value other than zero is specified.
The default value for each parameter is the value described in the RTT file.
[Temperature Correction]
• Select [None] when temperature correction is not specified.
• Select [Coil Only], and then specify each item under [Coil Temperature] when correcting tem-
perature for coils.
• Select [Magnet Only], and then specify each item under [Magnet Temperature] when correcting
temperature for magnets.
798
Using JMAG-RT Viewer
• Select [Both (Same Temperature)], and then specify settings for the entire items under [Coil
Temperature] and specific items under [Magnet Temperature], to run temperature correction on
both coil and magnet using the same value as temperature during motor drive.
• Select [Both (Different Temperature)], and then specify specific items under [Coil Temperature]
and [Magnet Temperature], to run temperature correction on both coil and magnet using differ-
ent values as temperature during motor drive.
The calculation of the entire combination for coil temperature and magnet temperature during drive
is run when [Both (Different Temperature)] is selected. Calculation in (N+1) x (M+1) case is run
when the number of divisions in temperature for coil is N and the number of divisions for magnet is
M.
Correction factors
Specify [Base (Tcb)] and [Coefficient (Kc)] based on the following correction equation when run-
ning temperature correction:
Correction equation for coil:
R ′ = R ( 1 + α ( Tr now – Tr base ) )
R' : Resistance after correction (ohm)
R : Resistance before correction (ohm)
α : Temperature correction factor of coil (ppm/K). The range of the coefficient is 0.0 and
over. Default value is 3810 ppm/K.
Tr now : Coil temperature during motor drive (temperature during analysis) (K).
k
F ′ = F 1 + --------- ( Tf now – Tf base )
100
Specify also the temperature during motor drive from [Min (Tcrs)], [Max (Tcre)], and [Divisions
(Tcdiv)]. For example, specifying 280 as [Min], 310 as [Max], and 3 as [Division], runs a calcula-
tion with the temperature during drive as 280, 290, 300, 310.
• The default values for [Base] and [Coefficient] are those described in the RTT file.
• The more the value in [Division] is increased, the more the calculation accuracy is increased for
torque-speed curve and efficiency map. However, the calculation time would require a large
amount of time in proportion to the number of divisions.
• Set the same value for [Min] and [Max] when specifying zero for [Divisions].
799
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
• The unit for temperature can be changed in [Tools] > [Temperature Unit] from the main win-
dow of JMAG-RT Viewer.
[Skew]
Skew is to tilt the motor stator or rotor to the axis direction to control torque pulsation.
A JMAG-RT model created from a model without skew is handled as a JMAG-RT model created
from a model with a skew when setting each parameter in the [Skew] tab.
Notes
• Not only applying a skew to only the rotor or stator but also applying skews to both the rotor
and stator is supported.
• In this method, a skew is expressed by stacking and averaging numerous cross-sections which are
created corresponding to the skew angle based on the results of a JMAG-RT model (torque, link-
age flux, inductance) generated using a model without skew.
• This method accounts for simple skews. 3D effects due to skew are not accounted for with this
method so the results are not completely consistent with when a JMAG-RT model created from
a 3D model with skew is used.
Creating a JMAG-RT model using a 3D model with a skew is recommended when you wish to
strictly evaluate the effects of a skew.
• In JMAG-RT Viewer, you can apply skew to a JMAG-RT model and then export it as a new
JMAG-RT model. For details, see “Applying Skew to JMAG-RT Model” on page 788.
Parameters
• [Skew Type (Rsty)], [Skew Type (Ssty)]:
Select one of the following:
• [No Skew (Noskw)]
• [Linear Skew (Lskw)]
• [V Skew (Vskw)]
• [Step Skew (Stskw)]
Left: Linear skew of a stator, Center: V linear skew of a stator, Right: Step skew of a rotor
800
Using JMAG-RT Viewer
[Inverter Rating]
• [Max. Voltage (Vmax), V]:
Input the maximum value of the fundamental line voltage supplied from the inverter to the
motor.
When the amplitude of the motor phase voltage is set to Vph, the motor is controlled within the
range of √3 × Vph/√2 <= Vmax for a star connection. For a delta connection, the motor is con-
trolled within the range of Vph/√2 <= Vmax.
• [Max. Current (Imax), A]:
Input the maximum amplitude of the line current supplied from the inverter to the motor.
When the amplitude of the motor phase current is set to Iph, the motor is controlled within the
range of Iph/√2 <= Imax for a star connection. For a delta connection, the motor is controlled
within the range of Iph/√2/√3 <= Imax.
[Motor Control]
Enter a value in [Max. Speed, rpm].
• The control method setting is fixated at [Max. Power (MP)] when an induction motor is speci-
fied. For details about the Notes regarding the motor control information, “Motor Control
Information” on page 814.
• Multiple control methods cannot be combined and used when an induction motor is specified.
• The default values for [Max. Speed, rpm] in [Basic Control] and [Speed, rpm] in [Detailed Con-
trol] are the values described in the RTT file.
[Coefficients]
Induction motors are modeled in T-type equivalent circuits using analysis values of a constraint state
and a synchronized state. Each machine parameter is positioned on an equivalent circuit as indicated
in the figure below:
The machine parameters shown in the figure above is displayed in the main window of JMAG-RT
Viewer.
801
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
[Correction Coefficients]
Correction factors: Correction values:
The default value for all correction factors is 1.0. The default value for all correction values is 1.0.
• [Secondary Resistance (R2cof )]: • [Additional Primary Leakage Inductance (LsIadd)
Enter the correction factor to the resistance of the (H)]
cage. This value only affects the secondary resis- • [Additional Secondary Leakage Inductance (LrI-
tance of the equivalent circuit, not the inductance. add) (H)]
• [Primary Leakage Inductance (LsIcof )]
• [Secondary Leakage Inductance (LrIcof )]
• [Exciting Susceptance (b0cor)]
• [Exciting Conductance (g0cof )]
[Calculation Resolution]
When setting a calculation resolution, select [Calculation Resolution], and specify the following
parameters:
• [Current Divisions (Idiv)]
• [Slip Interval (Sdiv), deg]
• [Speed Interval (Ndiv), rpm]
The calculation accuracy increases for the N-T curve and efficiency map when resolution is more
precise. However, the calculation time would require a large amount of time in proportion to the
number of divisions.
802
Using JMAG-RT Viewer
Correction factors
Specify [Base (Tcb)] and [Coefficient (Kc)] under each setting based on the following correction
equation when running temperature correction:
Correction equation for coil and cage:
R′ = R ( 1 + α ( Tr now – Tr base ) )
R' : Resistance after correction (ohm)
R : Resistance before correction (ohm)
α :Temperature correction factor of coil (ppm/K). The range of the coefficient is 0.0 and
over. Default value is 3810 ppm/K.
Tr now : Coil temperature during motor drive (temperature during analysis) (K).
Specify the temperature during motor drive from [Min (Tcrs)], [Max (Tcre)], and [Divisions
(Tcdiv)] for coils and conductors/cages. For example, specifying 280 as [Min], 310 as [Max], and 3
as [Division], runs a calculation with the temperature during drive as 280, 290, 300, 310.
• The unit for temperature can be changed in [Tools] > [Temperature Unit] from the main win-
dow of JMAG-RT Viewer.
• The default values for [Base] and [Coefficient] are those described in the RTT file.
• The calculation accuracy is increased for N-T curve and efficiency map when the value in [Divi-
sion] is increased. However, the calculation time would require a large amount of time in propor-
tion to [Division].
• Set the same value for [Min] and [Max] when specifying zero for [Divisions].
803
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
[Skew]
Skew is to tilt the motor stator or rotor to the axis direction to control torque pulsation.
A JMAG-RT model created from a model without skew is handled as a JMAG-RT model created
from a model with a skew when setting each parameter in the [Skew] tab.
Notes
• Applying a skew to the rotor is supported. Applying a skew to the stator is not supported.
• Linear skew can be applied. V-skew and step skew can not be applied.
• When this function is used, JMAG-RT model leakage inductance is corrected in accordance with
the specified skew angle.
• This method accounts for simple skews. 3D effects due to skew are not accounted for with this
method so the results are not completely consistent with when a JMAG-RT model created from
a 3D model with skew is used.
Creating a JMAG-RT model using a 3D model with a skew is recommended when you wish to
strictly evaluate the effects of a skew.
Parameters
• [Rotor Skew Angle (Rsag), deg]:
Enter the angle difference between top face and bottom face for a full model. The counterclock-
wise direction in relation to the rotation axis will be positive. A negative value can also be entered
for the skew angle.
804
Using JMAG-RT Viewer
1. Select [File] > [Save Setting] from the menu bar in the Map view window.
2. In the [Save xml file] dialog, specify the file name to save in the [File name] box.
3. Specify the location to save the file.
4. Click [save] to save the file.
1. Select [File] > [Open Setting] from the menu bar in the Map view window.
1. In the [Open setting file] dialog, select the folder where the setting file to import is
saved.
2. Select the file or put the file name in the file name box.
3. Click [Open].
805
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
MEMO The phase resistance used to calculate torque-speed curve is the value set in the [Resistance
(PSIM/RT-Viewer)] box of the [Data Creation] tab in the JMAG-RT Library Manager.
MEMO The stray load loss is calculated as zero, when using RTT files for induction motors, that is
exported from JMAG-Designer Version 12.1 and earlier or JMAG-Express.
2. Click the left mouse button with the mouse pointer on the graph to display revolution
speed, torque, and efficiency values at that position.
3. The temperature during motor drive can be changed using the slider bar under [Tem-
perature Correction] when temperature corrections for the magnet or the coil is set.
MEMO The minimum. maximum and number of steps shown for the temperature slider bar are
determined by the settings for the minimum and maximum temperatures in the [Temperature Cor-
rection] on the option window.
4. Select [Display] > [Set Color Range] in [Map View] to specify each setting in the [Set
Color Range] dialog, when modifying the rending range or gradation for efficiency maps.
The following settings can be specified in the [Set Color Range] dialog.
• [Min. Value]/[Max. Value] for [Speed, rpm], [Torque, Nm], and [Efficiency, %]:
Specifies display area for each color bar. Click [Default] when specifying the settings to
default values.
806
Using JMAG-RT Viewer
MEMO The items that can be specified in [Min. Value]/[Min. Value] vary based on the type of
map that is displayed.
• [Gradient]:
Select from either [Purple-Red], [Blue-Red], [Grayscale], and [CMR].
MEMO The [CMR] display setting is used for printing efficiency maps.
5. Click [OK] when specifying settings is complete in the [Set Color Range] dialog.
807
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
MEMO For six-phase motors, the following Ld and Lq maps can be displayed.
(1) Ld1d1, (2) Ld1q1, (3) Lq1d1, (4) Lq1q1, (5) Ld1d2, (6) Ld1q2, (7) Lq1d2, (8) Lq1q2, (9) Ld2d1,
(10) Ld2q1, (11) Lq2d1, (12) Lq2q1, (13) Ld2d2, (14) Ld2q2, (15) Lq2d2, (16) Lq2q2
Definition
Notations are as following.
• N : Revolution speed (rpm)
• T : Torque (Nm)
• Id : d axis amplitude (A)
• Iq : q axis amplitude (A)
• Iam : phase current amplitude (A). The phase current amplitude output through JMAG-RT
Viewer is defined with the following formula.
2 2
Id + Iq
Iam = -----------------------
3
---
2
• Ld : d axis inductance (H)
• Lq : q axis inductance (H)
808
Using JMAG-RT Viewer
Calculation formula
Efficiency and power are calculated with the following formula.
Efficiency
Spatial harmonic (differential) model
• When operating as a motor:
Efficiency = 100 × Power ⁄ ( Power + IronLoss + CopperLoss )
• When operating as a generator:
Efficiency = 100 × ( Power + IronLoss + CopperLoss ) ⁄ Power
LdLq model
• When operating as a motor:
Efficiency = 100 × Power ⁄ ( Vd × Id + Vq × Iq )
• When operating as a generator:
Efficiency = 100 × ( Vd × Id + Vq × Iq ) ⁄ Power
Power
Power = ( 2 × π × N ) ⁄ 60 × T
Each of the designations used in the formula have the following meanings.
Efficiency : Efficiency (%), Power : Power (input) (W), N : Revolution speed (rpm),
T : Torque (Nm), IronLoss : Iron loss (W), CopperLoss : Copper loss (W),
Vd : d-axis voltage (V), Vq : q-axis voltage (V)
Notes
• The value on the N-T-Id/Iq or N-T-Id/Iq in the map view window is Ld/Lq or Id/Iq. It is differ-
ent from the value which is shown when [Ld map] or [Lq map] is displayed from the main win-
dow.
809
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Definition
Notations are as following.
• N : Revolution speed (rpm)
• T : Torque (Nm)
• Slip : Slip frequency (Hz)
• I : Electric current (A)
• CopperLoss1st : Primary copper loss (W)
• CopperLoss2nd : Secondary copper loss (W)
• StrayLoadLoss : Stray load loss (W)
• LossAll : Total loss (W)
Calculation formula
Efficiency and power are calculated with the following formula.
• Efficiency
Efficiency = 100 × Power ⁄ ( 3VI cos ( φ ) )
• Power
Power = ( 2 × π × N ) ⁄ 60 × T
Each of the designations used in the formula have the following meanings.
Efficiency : Efficiency (%), Power : Power (input) (W), N : Revolution speed (rpm),
T :Torque (Nm), I : Phase current (effective value) (A), V : Phase voltage (effective value) (V), cos ( φ ) :
Power factor
Notes
• The stray loss curve and stray loss map is not outputted, when using RTT files (.rtt) for induc-
tion motor outputted by JMAG-Designer Version 12.1 and earlier or JMAG-Express.
810
Using JMAG-RT Viewer
1. Select [File] > [Export] from the menu bar in the map view window.
2. In the [Export File Name] dialog, select the file type from the [Save as Type] list.
The type of the files that can be selected are as follows:
• PDF file (.pdf )
• SVG file (.svg)
• Image file (.bmp, .ico, .jpeg, .png, .ppm, .tif, .xbm, .xpm)
3. Enter a file name in the [File name] box.
When the [Image file] is selected as the file type in step.2, specify the file name with the exten-
sion of the image file type (i.e. motor.png).
4. Specify the directory to save the file.
5. Click [Save].
MEMO In the report file, the parameters used to calculate the graph are also listed in addition to the dia-
gram. Labels in the list corresponded to the short title on the detailed setting option window.
MEMO The value specified by the slider bar under [Temperature Correction] in the map view window,
is exported to “Tmr,” “Tcr,” and “T2r” of a PDF file.
811
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
1. Select [File] > [Csv Export] from the menu bar in the map view window for speed curves.
2. In the [Save csv file] dialog, enter a file name in the [File Name] box.
3. Specify the directory to save the file.
4. Click [Save].
1. Select [File] > [Csv Export] from the menu bar in map view window for maps.
2. In the [Csv Export] dialog, set the grid resolution.
For both the [Horizontal Axis] and [Vertical Axis], set the following parameter to specify the grid
resolution.
• [Min. Value]
• [Max. Value]
• [Divisions]
812
Using JMAG-RT Viewer
MEMO An empty column is output for a cell without a value for the map.
813
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Induction motors
• In addition to torque being calculated, efficiency, slip frequency, current, primary copper loss,
secondary copper loss, stray load loss, and total loss are also calculated.
814
Using JMAG-RT Viewer
• When using RTT files that possess the result data of both LdLq models and the spatial harmonic
(differential) models, which model result data to use can be selected.
In these circumstances, average values are used for mechanical angles.
Induction motors
• Torque and copper loss at each operating point are obtained by gradually decreasing the current
amplitude value from the value at the maximum torque obtained for each revolution speed and
assigning slip.
• I a : effective current (= i d2 + i q2 )
MEMO The relationship between the effective current value I a and the maximum current specified
as a JMAG-RT Viewer parameter I max is expressed in the following equation.
• For a star connection:
I max = I a × 2
---
3
• For a delta connection:
I max = I a × 2
id=0
For the specified current, the d axis current i d to is controlled so that it is 0. This means that the
current phase is 0 degrees. In this case, i d and i q are expressed as eq. (1).:
id = 0
iq = Ia when operating as a motor ........................................ (1)
iq = –Ia when operating as a generator
815
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Max. Torque/Current
For the specified current, the current phase is controlled so as to maximize the torque.
The current phase β to be controlled is expressed as in eq.(2).
2 2 2 4
–Ψa I a ± Ψ a I a+ 8 ( L q – L d ) I a
sin β = ----------------------------------------------------------------------------
2
- ..................................................... (2)
4 ( L q – L d )I a
Note that β is in the range ( 90 ≥ β ≥ – 90 ) when operating as a motor, and in the range
( 270 ≥ β ≥ 90 ) when operating as a generator.
In the case where L d = L q , this technique is identical with the “id=0” control technique.
Max. Torque/Flux
This control method selects among several conditions which generate the same torque, for the one
which minimizes the linkage flux. i d and i q are as expressed as in eq.(3).
i = –Ψ a + ΔΨ d
-------------------------
d Ld
2 2
Ψ 0 – ΔΨ d
i q = ----------------------------- when operating as a motor ........................... (3)
Lq
2
Ψ 0 – ΔΨ d
2
i = – ---------------------------- - when operating as a generator
q Lq
where,
2 2 2 2
–Lq Ψa ± Lq Ψa + 8 ( Ld – Lq ) Ψ0
ΔΨ d = ---------------------------------------------------------------------------------- ................................................. (4)
4 ( Lq – Ld )
2 2
Ψ0 = (L d i d + Ψ a ) + ( L q i q ) ..................................................................... (5)
Ψa
i d = – ------
Ld
-
i = Ψ ------0- when operating as a motor ................................ (6)
q Lq
Ψ
i q = – ------a- when operating as a generator
Lq
816
Using JMAG-RT Viewer
Flux Weakening
The flux Weakening control varies the phase of the current for a constant current amplitude so that
the voltage is lower than the limit voltage for a specified current. i d and i q are as in e.q. (7).
2 2 2 2 2 2 V om
2
L Ψ
d a ± L q aΨ + ( L q – L ) L
d q a ω I – ---------
i = ----------------------------------------------------------------------------------------------------------
-
d ( L
2
– L
2
)
q d
...................... (7)
i = I 2 – i2 when operating as a motor
q a d
2 2
iq = Ia – id when operating as a generator
where
V om = V am – R a I a ............................................................................................. (8)
2
V om
--------- – Ψ 2a – L 2q I a2
ω
i d = -------------------------------------------------
2L d Ψ a
..................... (9)
i = I 2 – i2 when operating as a motor
q a d
i q = I a2 – i 2d when operating as a generator
MEMO V am is calculated from the following formula using [Max. Voltage (Vmax)] used in [Inverter
Rating].
V am = V max ⁄ 2
V max : bus voltage (constant) (V)
817
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Moment of Force 1
For a given current, the current phase is controlled so that the moment of force is 1. i d and i q are
expressed as e.q.(10).
2 2
i = Ψ a – Ψ a + 4 ( L q – L d )L q I a
-------------------------------------------------------------------
d 2 ( Lq – Ld )
2 2
........................ (10)
iq = Ia – id when operating as a motor
2 2 when operating as a generator
i
q = – I a – i d
2
–Lq Ia
i d = --------------
Ψa
....................... (11)
i = I 2 – i2 when operating as a motor
q a d
when operating as a generator
i q = – I a2 – i 2d
Max. Efficiency
For the specified current, the current phase is controlled so that the efficiency is maximized.
Max. Power
• For PM synchronous motors and synchronous reluctance motors, the point at which maximum
torque is reached is searched for while transforming the current amplitude and current phase.
• For induction motors, the point at which maximum torque is reached is searched for while trans-
forming the current amplitude and slip.
818
Using JMAG-RT Viewer
1. Start a command prompt and input the commands to run the viewer as described
below.
Or a batch file (.bat) can be created the commands.
The syntax is as follows:
Syntax
# > "path to the rtviewer.exe" "path to the rtt file" [--property name = value]
Example1:
#> rtviewer.exe new_mtr600_Iron.rtt --in="sample.xml"^
--out="./tests/exportwh500.png" --width=500 --height=500
Example2: Adding the equivalent ironloss resistance table to the RTT file
\>rtviewer.exe mtr600_Iron.rtt --added_ironlos_table^
--current_input_csv="input.csv" --out="new_mtr600_Iron.rtt" --ironloss=10.5^
--offset_angle=30
MEMO To create a batch file, save the command above as a text file. Then change the extension to
*.bat and then double click it to run.
MEMO To set the command, the line should be set in a line. To continue to the next line, specify
“^(hat)” at the end of the line.
819
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
Basic settings
property Type and
Type Flag name Description
name Phases
*rttfile String RTT file (without options) Common
in String Setting file (.xml)
This file is explained in the export pro-
cedures in “Saving Settings for Creat-
ing Torque-Speed Curves/Efficiency
Maps to Files” on page 805.
The [More] button in the main window
of JMAG-RT Viewer is selected when a
setting file is specified.
out String Full path of output RTT file (.rtt)
correct_file String Full path of correction file (.csv)
subout String The export file for [Efficiency and
Operation Range] that is displayed in
map view.
The file can be exported when the type
is “Map” (EfficiencyMap or IronLoss-
Map).
model_type Flag Model to use PMSM/
LdLq LdLq model SynRM
HarmonicDiffer- Spatial harmonic (differential) model (3)
ential
DesignerEfficien- Loss map model
cyMap
Preferences
property Type and
Type Flag name Description
name Phases
language Flag Language
Settings specified previously are used
when this setting is not specified.
ja Japanese
en English
820
Using JMAG-RT Viewer
821
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
822
Using JMAG-RT Viewer
823
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
824
Using JMAG-RT Viewer
825
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
826
Using JMAG-RT Viewer
827
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
828
Using JMAG-RT Viewer
Notes
• The [License Waiting Function] is valid when [--out] is included in the command as an argu-
ment running from the command line.
Example: A command that has the argument [--out] included.
\>rtviewer.exe motor.rtt --in="sample.xml" --out="./jmag/N-T-Eff.png"
• The [License Waiting] function is invalid when operating from the GUI (operating from the
graphics window).
829
JMAG Version 22.2 User's Manual
JMAG-RT Viewer
830
INDEX
Symbols B
831
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
832
INDEX
833
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
834
INDEX
835
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
836
INDEX
837
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
838
INDEX
839
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
840
INDEX
841
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
842
INDEX
Winding
JMAG-Express 100
JMAG-Express Classic 189, 197, 198, 200
Winding Diagram tab
JMAG-Express 38
JMAG-Express Classic 147
Winding System
JMAG-Express Classic 202, 207
Winding tab
JMAG-Express 37, 96
JMAG-Express Classic 145, 177, 189, 196,
198, 200, 202, 205, 207
Wire current density
JMAG-Express Classic output item 247, 251,
253, 255
Wire Diameter
JMAG-Express 98
JMAG-Express Classic 179
Wire Size
JMAG-Express 98
JMAG-Express Classic 179
Wire Size/Slot Fill Factor
JMAG-Express 97
JMAG-Express Classic 178
Wound-Field AC Synchronous Machine
JMAG-Express Classic 136
Wound-field AC Synchronous Machine
JMAG-Express Classic 205, 315
Wound-Field Synchronous Motor
JMAG-RT 530
843
JMAG Version 22.2 User's Manual
JMAG-Express, JMAG-RT, JMAG-RT Viewer
844