Algorithm Calculation

To calculate an algorithm:

  1. Open a calculation algorithm in the calculation mode:

  1. Click the Calculation Execution Settings button on the toolbar to show the Execute Calculation side panel:

Set calculation execution parameters:

To correct the specified formula, click the Stop button, after which algorithm calculation will be stopped. Manually edit the formula and recalculate the algorithm.

To skip the error, select one of the skip options and click the OK button. The calculated elements will be skipped and the calculation result is the empty value.

If the checkbox is deselected, arithmetic operations in formulas are not checked. If there is a division by zero, then calculated elements are skipped and the calculation result is the empty value.

NOTE. It is possible to not check arithmetic operations if calculation formula is correct and the calculation result may contain empty values.

NOTE. Checkbox state is active only during algorithm calculation.

Formula calculation schemes

NOTE. The checkbox is available if a calculation algorithm contains calculation blocks and control blocks, for which calculation formulas are set.

If the Pointwise Calculation checkbox is selected for specific calculation formulas, calculation can be executed using several methods. Formula calculation methods are given on the schemes below.

Formula calculation schemes

IMPORTANT. The parameter use decreases performance and algorithm calculation takes more time.

If a calculation algorithm contains aggregation blocks, it is not possible to calculate aggregation for one calendar point when algorithm pointwise calculation is used. Select aggregation block calculation method using the radio buttons:

NOTE. The order of aggregation blocks calculation in the calculation tree is taken into account only if pointwise calculation of specific calculation formulas is used. When algorithm pointwise calculation is used, the order of aggregation blocks calculation depends on the selected calculation method.

  1. Set calculation algorithm parameter values on the parameters panel.

  2. Calculate the entire algorithm or its blocks.

After the calculation is completed, the dialog box with successful algorithm completion and execution time opens. If an error occurred on calculation, the corresponding message is displayed.

To view calculated data in the calculation result, see the Viewing Calculated Data section.

TIP. To speed up algorithm calculation, see the How to Speed Up Algorithm Calculation? section.

Calculating Entire Algorithm

To calculate the entire algorithm, select the Start Calculation item in the drop-down menu of the Calculate button on the toolbar. Algorithm calculation will start.

To stop calculation, click the Stop button on the toolbar.

After the calculation is completed, the message containing algorithm calculation results is displayed. If an error occurred on calculation, the corresponding error message is displayed.

TIP. To deny algorithm calculation stop, see the How to Deny Calculation Algorithm Stop? section.

Calculating Single Blocks

To calculate only selected blocks:

  1. Select the blocks to be calculated in the working area or calculation tree. To select blocks, use the SHIFT or CTRL key.

  2. Select the Start Selected item in the drop-down menu of the Calculate button on the toolbar.

After the calculation is completed, the message containing algorithm calculation results is displayed. If an error occurred on calculation, the corresponding error message is displayed.

Message with Algorithm Calculation Results

After the algorithm calculation or calculation of specific blocks is completed, the message with algorithm calculation result is displayed:

Copy calculation result to clipboard

View calculation result details

See also:

Working with Ready Calculation Algorithm