• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > HFSS > HFSS help > Adding a Cost Function

HFSS15: Adding a Cost Function

录入:edatop.com     点击:

A cost function can include one or more goals for an optimization analysis. Optimetrics manipulates the model's design variable values to fulfill the cost function.The optimization will stop when the solution quantity meets the acceptable cost criterion.

Following is the general procedure for adding a cost function with a single goal:

1. Under the Goals tab of the Setup Optimization dialog box, click Setup Calculations...

The Add/Edit Calculation dialog box is displayed.

2. In the Add/Edit Calculation dialog box, follow these general steps to set up a cost function.

a. Set the Context for the calculation.

b. Choose the Category of available data type depending upon the Solution type of the design being optimized.

c. Select the Quantity to add to the Calculated Expression field. Available quantities depend upon the Category selection.

d. You may optionally make a selection from the function list to apply to the calculated expression.

e. When the Calculation Expression has the desired equation, click Add Calculation to add the expression to the cost function table.

f. Repeat to add additional calculations to the cost function or click Done to exit the Add/Edit Calculation dialog box and return to Setup Optimization.

3. To modify the Solution on which the calculation is based, click in the Solution column and select the solution from which the cost function is to be extracted from the pull-down list.

4. To edit the calculation on which to base the cost function goal, select Edit from the pull-down list.

5. In the Condition text box, click one of the following conditions from the pull-down list:

<=

Less than or equal to

=

Equal to

>=

Greater than or equal to

Minimize

Reduce the cost function to a minimum value

Maximize

Identify a maximized condition


6. In the Goal text box, type the value of the solution quantity that you want to be achieved during the optimization analysis. If the solution quantity is a complex calculation, the goal value must be complex; two goal values must be specified. The Minimize and Maximize options do not require you to specify a Goal value.

7. Optionally, if you have multiple goals and want to assign higher or lower priority to a goal, type a different value for the goal's weight in the Weight text box. The goal with the greater weight is given more importance. If the goal is a complex value, the weight value must be complex; two weight values must be specified. The weight value cannot be variable dependent.

Note

Click the Edit Goal/Weight button to open the Edit Goal Value/Weight dialog box where you can modify weights for all goals simultaneously; as well as, set the Goal Values to expressions.

8. Specify other options (such as acceptable cost, noise, and number of passes), and then click OK.

The optimization stops when the solution quantity meets the acceptable cost criterion.

HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS

上一篇:Assign Excitation
下一篇:Adding a Design Variable

HFSS视频培训课程推荐详情>>
HFSS教程推荐

  网站地图