JFT132HybridOptimization e
JFT132HybridOptimization e
Contents
Overview........................................................................................................................................ 2
1 Function Description ................................................................................................................... 2
2 Performing the Procedure .......................................................................................................... 3
2.1 Preparing the Parameter File............................................................................................... 4
2.2 Starting JMAG-Designer ...................................................................................................... 5
2.3 Loading the Model ............................................................................................................... 5
2.4 Parameterizing the Settings................................................................................................. 6
2.5 Deleting the Number of Calculation Cases (for Verifying Behavior) .................................... 7
2.6 Executing the Optimization and Confirming the Variable Values ........................................ 8
Overview
The design variables of optimization calculations can be broadly divided into parameters and
topologies. The former searches for combinations of parameters so that objective functions are
optimum, while the latter searches for topology (geometry). In JMAG, parameters and topology
can be handled simultaneously as design variables, and searches can be performed for
optimum design proposals.
This document describes the method for optimizing parameters and topology simultaneously.
1 Function Description
[Topology Optimization] conditions set the parts that are to be optimized. Gaussian function
center coordinates and the function covariance matrix are additionally specified, and NGnet is
defined. Parameters related to objective functions and genetic algorithms are set with
[Optimization] which is located via [Case Control]. CSV files that record objective function
values can be specified, and execution environments can also be set.
For performing parameter optimization during topology optimization, prepare a parameter file
(*.xml) in accordance with the proper format, and specify the path to that file via environment
variables (Table 1-1). Additionally, parameterize the corresponding setting values of the study in
advance.
2
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
Design
3
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
1. Open Parameter File B in a text editor and confirm the content (Fig. 2-1-1).
2. Save Parameter File B in an arbitrary folder.
3. From the Windows Start menu, click [Control Panel] > [System] > [Advanced system
settings].
The [System Properties] dialog box appears.
4. Click [Environment Variables].
The [Environment Variables] dialog box appears.
5. Click the [New] button for [User variables for **].
The username of the user will occupy the portion denoted by "**".
The [New User Variable] dialog box appears.
6. Click the [Browse File] button.
The [Open file] dialog box appears.
7. Select the positioned Parameter File B, and click [OK].
The [Open file] dialog box closes, and the full path for Parameter File B is displayed in
[Variable Value].
8. Enter the name of the environment variable in [Variable Name] (Table 2-1-1).
9. Click [OK].
The [New User Variable] dialog box closes.
10. Click [OK].
The [Environment Variables] dialog box closes.
4
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
1. Start JMAG-Designer.
5
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
Variable Beta
Type Value
Value 0
U-Phase Beta
6
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
1. Right-click [Topology Optimization] under [Study] > [Conditions] in the [Project Manager]
tree.
2. Select the [Edit] from the context menu.
The [Topology Optimization] setting panel is displayed.
3. Delete rows 6 to 50 from [Center Positions] under [NGnet].
4. Click [OK] in the [Topology Optimization] setting panel.
The [Topology Optimization] setting panel closes.
5. Right-click [Case Control] under [Study] in the [Project Manager] tree.
6. Select [Optimization] from the context menu.
The [Optimization] dialog box appears.
7. Select the [Options] tab and set the parameters (Table 2-5-1).
Proceed to Step 3 of section 2.6.
Number of Generations 1
Population Size 10
Number of Children 10
7
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
8
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
Fig. 2-6-1 Values of variables for each case (when performing Step 2.5)
Because random numbers are used in optimization analyses, the values of the variables displayed here
END
9
JFT132-01e
JMAG Function Tutorial - Simultaneous Parameter and Topology Optimization -
URL https://www.jmag-international.com/tutorial/
JSOL Corporation
[email protected]
Technical Support
or
A distributor in your country
10
JFT132-01e