Related Topics and Links:

Flowchart Block Types

Flowchart Configurations and Execution

Result Storage Blocks

A result storage block stores numerical values passed to it during simulations, and then computes or holds a result based on one of the following options:

For example, if you select the Average of Results option, and then run 100 simulations on the following configuration (a single simulation is a single pass through the flowchart), then the block that generates a random number will pass a total of 100 random values to the result storage block, which will compute the average value of the numbers as they come in.

The following picture shows the Block Properties window of the result storage block in the example. The Store field allows you to select the output of the block. In this case, it stores the average of results.

A result storage block can have any number of incoming paths and any number of outgoing paths (i.e., the same output value is passed to more than one block). In addition to storing the results, the block may be configured to store the output in a variable. The Storage Variable field in the Block Properties window of the block displays the name of the variable, if any. If the result storage block is holding an array of results, only the most recent value that was added to the array will be stored in the variable.

Advanced Configurations

Conditional Formatting

Conditional formatting allows you to mark the result storage block with a corner indicator in a particular color when it meets a certain condition. For instance, you might wish to mark the block with red if the computed result is less than a particular value. The conditional formatting corner indicator appears at the upper left corner of the block. To apply conditional formatting, select the result storage block(s) and choose Format > Styles > Conditional Formatting or right-click the result storage block(s) and select Conditional Formatting on the shortcut menu.

There are two types of conditional formatting that you can apply in the Conditional Formatting window:

=   (equal to)

<>  (not equal to)

<=  (less than or equal to)

<   (less than)

>=  (greater than or equal to)

>   greater than

Between

Not between

You can define up to six conditions, and can enable and disable them with the Use this condition check boxes. The conditions you have defined will be saved even when disabled. Enabled conditions do not need to be immediately consecutive. Keep in mind, however, that the conditions are evaluated in the order in which they are displayed in this window and that if a result storage block meets more than one condition, the first true condition will be applied.

In both types, for the value(s) against which the result storage block is checked, the expression can include:

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

Resources, Synthesis 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.

You can enclose a resource name in single quotes to reference it by name. When the item using the expression is transferred to another project or database, any resource referenced by name will not be transferred along with it. If the destination project contains a resource with the same name as the one referenced by name, that resource will be used during simulation of the transferred item. For example, if you export a diagram that contains a block using the expression 'Model1'(1000) from Project1 to Project2, Model1 will not be transferred along with that diagram. If Project2 already contains a model called Model1, that model will be used in simulating the transferred diagram. You can also reference Synthesis Workbooks by name.

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.

You can click the No Formatting button to turn off conditional formatting for the selected block(s).

Note that for result storage blocks of type array, the conditional formatting will be based on the most recent value. The size of the conditional formatting corner indicators can be changed via the Block Corner Indicators pages of the Diagram Style window.

 

© 1992-2018. HBM Prenscia Inc. ALL RIGHTS RESERVED.

E-mail Link