Setting Up Algorithm Calculation Execution Conditions

After adding and setting up parameters of calculation algorithm it is available to set up calculation algorithm execution conditions by means of branching. Branching is used to create conditions for executing single elements of calculation algorithm.

To set up calculation algorithm execution conditions:

  1. Click the Branching button on the Home ribbon tab. As a result, a branching in the calculation tree and the Else condition are created:

  1. Select the created branching and select the Branch item in the drop-down menu of the Branching button. As a result, a branch is created in the branching:

NOTE. The number of branches in the branching is unlimited. If there are several branches, only the first branch, which condition is executed, is calculated by default. To check the condition and execution of other branches, select the Execute All Appropriate Branches branching's context menu item. All branches, which conditions are executed, are executed on algorithm calculation.

  1. Drag calculation algorithm elements to the Branch and Else conditions:

  1. Open the Branching Parameters dialog box to set calculation block execution conditions:

As a result, the Branching Parameters dialog box opens:

  1. Click the Add button on the toolbar to add a condition:

  1. Set parameters:

NOTE. There is no parameter for the Formula type.

NOTE. There is no parameter for the Formula type.

To delete one of the conditions, select the condition and click the Delete button on the toolbar.

To delete all conditions, click the Clear button.

Example of Setting Up Algorithm Calculation Execution Condition

The example creates a branching with two branches, each of the branches has algorithm calculation execution conditions.

See also:

Building Calculation Algorithm