HFSS中文教程 HFSS視頻教程推薦: HFSS培訓(xùn)教程套裝  |  兩周學(xué)會(huì)HFSS  |  HFSS微波器件仿真分析實(shí)例  |  HFSS雷達(dá)散射截面分析 

HFSS天線設(shè)計(jì)  |  PCB天線設(shè)計(jì)和HFSS仿真分析實(shí)例  | HFSS-IE仿真器使用詳解和天線設(shè)計(jì)實(shí)例

 HFSS online help > Setting Up an Optimization Analysis >
   Cost Function       

Adding a Cost Function

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:

[spacer]

<=

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.

Related Topics

Setting a Goal Value

Cost Function

Acceptable Cost

Goal Weight



HFSS教程     

Ansys HFSS,Ansoft HFSS online help,Version 15.0.

HFSS視頻教程HFSS教程專(zhuān)欄射頻工程師培訓(xùn)培訓(xùn)課程 : Adding a Cost Function'>HFSSComments