Related Topics:

Flowchart Block Types

Branch Gates

A branch gate functions as a "switch" statement. It checks the incoming value against a number of cases and passes different outputs depending on which case or branch evaluates to true. It has one incoming path and multiple outgoing paths.

A branch gate may be used in place of a series of conditional blocks. For example, the flowchart on the left, as shown next, has three conditional blocks that evaluate an automobile's mileage. If the first condition is met, the value is passed to the "true" (T) path to "Result Storage A," but if the condition is not met, the value is passed down the "false" (F) path to the next conditional block for evaluation. The evaluation continues until all paths end. The flowchart on the right shows an example of how a branch gate may be used to replace the conditional blocks.

The following picture shows the Block Properties window of the branch gate in the example. The branch gate checks the incoming value against each branch sequentially, based on the order shown in the Block Properties window (you can move a block up or down in priority by clicking the arrows that appear next to the block's name). The branch gate then passes only the output of the first branch that evaluates to true.

The Condition and Condition Value fields allow you to configure the conditional expression of the block. The drop-down list in the Condition field includes the following relational signs:

=

equal to

<=

less than or equal to

<

less than

>=

greater than or equal to

>

greater than

FP<=%

a special case where the conditional block itself draws a random number uniformly distributed from 0 to 100, and then evaluates whether the number is less than or equal to the condition value.

<>

not equal to

For the condition value, as well as the outgoing values, the expression can include:

You can enter the equation manually, or you can use the function selector or the equation editor to assist you.

RENO resources, analysis workbooks and internal functions are automatically color-coded to assist in reading the equation. When the cursor is positioned on one of these items, a preview area appears and displays a summary of the item. If the item is a resource, you can click the View icon in the Preview area to open that resource's properties window.

IMPORTANT: All values and results are assumed to be in terms of the default unit specified for the database. See Using Time Units in RENO for details on how this may affect your analysis.

Advanced Configurations

In the following example, if the incoming value is 50, then the branch gate will pass two outputs: the value 1 to the "Result Storage A" branch and the value 2 to the "Result Storage B" branch.

 

© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.