淘宝官方店     推荐课程     在线工具     联系方式     关于我们  
 
 

微波射频仿真设计   Ansoft Designer 中文培训教程   |   HFSS视频培训教程套装

 

Agilent ADS 视频培训教程   |   CST微波工作室视频教程   |   AWR Microwave Office

          首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档


Ansoft Designer / Ansys Designer 在线帮助文档:


Variables in Designer >
   Defining Local Variables >
       Defining a New Local Variable from a Component           


Defining a New Local Variable from a Component

To define a new local variable from a component:

1. Display the properties of the component that will use the local variable you want to define:

a. Double-click the component, or select the component and click Edit > Properties or Right-Click > Properties. The Properties dialog box opens.

b. Click the Parameter Values tab.

c. Click Value.

2. Click in the Value field for the parameter you want to set equal to the local variable.

3. Type the variable name. The name may not duplicate a reserved (intrinsic) variable name. See Reserved Variable Names for details.

4. Click Add. The Add Property dialog box appears.

In the Name box, type a variable name.

Project variable names must start with the symbol $ followed by a letter. Variable names may include alphanumeric characters and underscores ( _ ). The names of Intrinsic Functions and the pre-defined constant pi (π) cannot be used as variable names. For more information see Reserved Variable Names.

5. In the Unit Type text box you can use the drop down menu to select from the list of available unit types. “None” is the default.

When you select a Unit Type, the choices in the drop down menu for the Units text box adapt to that unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a range of metric and english units for length. Similarly, if you select the Unit Type as Resistance, the Units drop down lists a range of standard Ohm units.

6. In the Value text box, type the quantity that the variable represents. If you did not specify the Unit Type and Unit, you can also optionally include the units of measurement.

Warning

If you include the variable’s units in its definition in the Value text box, do not include the variable’s units when you enter the variable name for a parameter value.

The quantity can be a numerical value, a mathematical expression, or a mathematical function. The quantity entered will be the current value (default)for the variable. If the mathematical expression includes a reference to an existing variable, this variable is treated as a dependent variable. The units for a dependent variable will automatically change to those of the independent variable on which the value depends. Additionally, dependent variables, though useful in many situations, cannot be the direct subject of optimization, sensitivity analysis, tuning, or statistical analysis.

7. Click Local Variable.

8. Click OK or press Enter.

9. In the Properties dialog, you may click Add Array to Define Array Variables.

10. Do either of the following:

• To add another local variable, click Add.

• To stop adding local variables, click OK or press Enter.




HFSS视频教学培训教程 ADS2011视频培训教程 CST微波工作室教程 Ansoft Designer 教程

                HFSS视频教程                                      ADS视频教程                               CST视频教程                           Ansoft Designer 中文教程


 

      Copyright © 2006 - 2013   微波EDA网, All Rights Reserved    业务联系:mweda@163.com