HFSS视频教程推荐: HFSS培训教程套装 | 两周学会HFSS | HFSS微波器件仿真分析实例 | HFSS雷达散射截面分析 HFSS天线设计 | PCB天线设计和HFSS仿真分析实例 | HFSS-IE仿真器使用详解和天线设计实例 |
HFSS online help > Setting Up an Optimization Analysis >
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:
<= |
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.
Ansys HFSS,Ansoft HFSS online help,Version 15.0. |
HFSS视频教程 | HFSS教程专栏 | 射频工程师培训培训课程 : Adding a Cost Function'>HFSSComments |