T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design T-FLEX Parametric CAD. Fundamentals. 2D Design

scp.s.scptuj.mb.edus.si
from scp.s.scptuj.mb.edus.si More from this publisher
30.07.2013 Views

Optimization The tolerance value defines the admissible range of the values of the target variable within which the optimization task is considered solved. Limitations. Defines the list of restrictions on the model variables when performing the optimization. New limitations are entered upon pressing the [Add] button. In the “Variable” box, set the name of the desired variable (one variable can be subject to multiple restrictions). In the “Condition” combo box, select one of the comparison types (, =) for comparing the variable against the target value (the “Value” input box). To modify the entered limitations, use the button [Properties] that allows editing all fields of the current line in the limitations list. Pressing the [Delete] button deletes the current line of the limitations list. Variables. This is the list of variables whose values will be the subject to the optimization process. The range of admissible values is to be defined for each variable. To be formulated correctly, the optimization task requires defining the range of admissible values for at least one variable. The graphic buttons [Add], [Properties] and [Delete] work similar to those described in the previous section. To define a new record, you need to fill in the following entries: Set the variable name by selecting from the list in the “Variable” combo box (each variable can have only one the range of admissible values). The entries “Minimum” and “Maximum” define the bounding values of the variable's range of admissible values. When solving the optimization task, the values of the variables are tried that satisfy the set of the limitations and fall in the range of admissible values. Once a limitation is defined for a variable, its name is no longer available for defining the range of values, and vice versa. The variable whose value is the target of the optimization is not included in the lists of variables when defining limitations and the value ranges. Run. This parameter takes one of the following values: User. The optimization task will run only upon user pressing the bottom [Run] in the "Optimization Task" dialog box. Optimizing may take long time on complicated drawings or 3D models. The described setting allows skipping optimization when regenerating the model. 557

Fundamentals. Two-Dimensional Design 558 On optimal Model Regeneration. The optimization task will run upon partial (optimal) model regeneration (when only modified elements are regenerated). On full Model Regeneration. The optimization task will run upon full model regeneration. To select an optimization algorithm and to define its parameters, use the graphic button [Algorithm…]. Pressing this button brings up the dialog box for defining the algorithm parameters. The pane in the left side of the dialog box displays the list of available optimization methods: Fast Search. This method is suitable for functions with one or two extremes. Dichotomy. This method is suitable for functions of one variable. Not recommended for handling restrictions Iterative Search. This method is suitable for functions with complicated behavior and multiple extremes. The right side of the dialog box contains the set of parameters for the selected optimization method. The button [Ok] closes the dialog box, saving the entered changes. The button [Cancel] allows quitting the dialog box without saving changes. Show current result. If this flag is set, the “Finding Solution” window dynamically displays the variable values as the solution progresses. Recalculate 3D model. Setting this flag forces the 3D model regeneration at each step of the optimization algorithm. If the target function of the optimization (the variable) is related to 3D elements, then this flag is required for proper optimization process. Examples of Using Optimization Idler Roller Positioning Task As an optimization example for a 2D model, let's consider the task of finding an idler roller position for fitting the belt of a specified length. This example can be found in the library “Documentation samples \2D Design\Optimization\ Belt.GRB”.

<strong>Fundamentals</strong>. Two-Dimensional <strong>Design</strong><br />

558<br />

On optimal Model Regeneration. The optimization task will run upon partial (optimal) model<br />

regeneration (when only modified elements are regenerated).<br />

On full Model Regeneration. The optimization task will run upon full model regeneration.<br />

To select an optimization algorithm and to define its parameters, use the graphic button [Algorithm…].<br />

Pressing this button brings up the dialog box for defining the algorithm parameters.<br />

The pane in the left side of the dialog<br />

box displays the list of available<br />

optimization methods:<br />

Fast Search. This method is suitable<br />

for functions with one or two<br />

extremes.<br />

Dichotomy. This method is suitable<br />

for functions of one variable. Not<br />

recommended for handling<br />

restrictions Iterative Search. This<br />

method is suitable for functions with<br />

complicated behavior and multiple<br />

extremes.<br />

The right side of the dialog box contains the set of parameters for the selected optimization method.<br />

The button [Ok] closes the dialog box, saving the entered changes. The button [Cancel] allows<br />

quitting the dialog box without saving changes.<br />

Show current result. If this flag is set, the “Finding Solution” window dynamically displays the variable<br />

values as the solution progresses.<br />

Recalculate 3D model. Setting this flag forces the 3D model regeneration at each step of the optimization<br />

algorithm. If the target function of the optimization (the variable) is related to 3D elements, then this flag is<br />

required for proper optimization process.<br />

Examples of Using Optimization<br />

Idler Roller Positioning Task<br />

As an optimization example for a <strong>2D</strong> model, let's consider the task of finding an idler roller position for<br />

fitting the belt of a specified length. This example can be found in the library “Documentation<br />

samples \<strong>2D</strong> <strong>Design</strong>\Optimization\ Belt.GRB”.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!