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

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

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

Adding/Editing a Cost Function Calculation

The Add/Edit Calculation dialog box allows you to define the mathematical equation for one or multiple cost functions. It represents the calculation to be performed on the optimization variables to compare to the goal values. To set up a calculation for a cost function:

1. In the Context section of the dialog:

• Select the Report Type with a pull-down selection list containing the available types for this design.

• Select the Solution from the drop down selection list. This lists the available setups and sweeps. As a minimum, the LastAdaptive solution is available.

• Select the Geometry from the drop down selection list or select none (the default). This modifies the list of quantities available to the ones that apply to the specific geometry.

2. The Output Variables button opens the Output Variables dialog box allowing you to create special output variables to be used in the cost function.

3. The Calculated Expression field in the Trace tab is used to enter the equation to be used for the cost function. To enter an expression, you may type it directly into the field or use the Category, Quantity, and Function lists as follows:

• Select the Category, these depend on the Solution type and the design. This lets you specify the category of information to be used in the cost function.

• Select a Quantity from the list. Available quantities depend upon the Solution type, as well as the Geometry and Category selection. Selecting a Quantity automatically enters it into the Calculated Expression field.

• Select a Function to apply to the value in the calculated expression.

• For swept variables, the RangeFunction button opens the Set Range Function dialog to apply functions to the expression that apply over the sweep range.

4. The Calculation Range tab applies to swept variables and allows you to specify the range of the sweep over which to apply the calculation.

5. When the desired Calculated Expression has been obtained, click the Add Calculation button to add the entry to the cost function table. You may add multiple entries to the table simply by changing the Calculated Expression and using the Add Calculation button.

6. To update or edit a selected cost function, enter the desired Calculated Expression and click the Update Calculation button.

7. Click Done to return to the Setup Calculations dialog box.



HFSS教程     

Ansys HFSS,Ansoft HFSS online help,Version 15.0.

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