The most basic and versatile of the output controls is the Result Display control. This control provides a mechanism for viewing scalar outputs directly.
The toolbar button looks like this:
Result Display Control Button
The Result Display control looks like this when it is added to a Dashboard and selected:
The eight handles allow you to resize the control. For more precise changes, you can also change the width of the control using Ctrl-Left and Ctrl-Right, and change the height using Ctrl-Up and Ctrl-Down. (The default change is 1 pixel at a time. If you press the Shft key, the change is 5 pixels).
Double-clicking on the control displays the following properties dialog:
Within the Display portion of the dialog, the output to which the control is to be linked is specified. Before doing so, however, you must specify the type of result you wish to display:
Monitor Output Value: This is the default, and will display the actual value of the selected output.
Display Monte Carlo Result: This should be selected if you wish to display a statistical result for an output from a Monte Carlo simulation (e.g., the mean value or a particular percentile).
After selecting the type of result you wish to display, you select the specific output by pressing <Click to select>. This will display a browser for selecting the element of interest. If you have selected “Monitor Output Value”, the browser will contain all elements in the model. In this case, any scalar output can be selected. If you have selected “Display Monte Carlo Result”, the browser will contain only the Distribution Result elements in the model (i.e., in this case, you must link to a Distribution Result element, and the first result in the element will be used).
Once you have linked the control to an element, the linked element will be listed:
You can remove the linkage (by pressing the red X button), or reassign the linkage (by pressing the name of the element itself).
Note that if you have selected “Display Monte Carlo Result”, you must also display the type of statistical result to display:
Note: Result Display controls can be linked to both values and conditions. If the control is linked to a condition and “Monitor Output Value” is selected, the manner in which the result is displayed in the control (e.g., true/false, on/off, yes/no) is determined by the field labeled “Show condition result outputs as” within the Results tab of the Options dialog (accessed via Model|Options… in the main menu). If the control is linked to a condition and “Display Monte Carlo Result” is selected, statistics are generated by assuming True = 1 and False = 0.
If the output to which the control is linked has dimensions, the display units for the output will automatically be appended when the value is displayed in the control:
The Number of significant figures displayed field allows you to specify the number of significant figures displayed in the control. (Note, however, that the control omits trailing zeros). Whether or not the value is displayed in scientific notation is can be controlled via options provided in the Results tab of the Options dialog (accessed via the main menu via Model | Options…).
The remainder of the Appearance section of the properties dialog allows you to modify the Text Color, Background (color), text Alignment, and type of Border for the display. These options are self-explanatory, and you may want to experiment with them to see how they change the control’s appearance.
Note: Using and creating custom colors for objects is discussed in detail in Chapter 6 of the GoldSim User’s Guide.
The size of the numbers displayed in the field is controlled by the size of the control (GoldSim scales up the font size to match the control size).
Note: You cannot select the font for a Result Display control. GoldSim always uses the default GUI font used by the operating system. The font is dynamically scaled based on the height of the control.
The bottom section of the dialog allows you to enter a tool tip, which will be displayed whenever the Dashboard user holds the mouse cursor over the control.
The Attributes tab of the dialog provides tools that allow you to hide or disable the control dynamically based on the values of various model outputs. This allows you, for example, to hide the control if it was not applicable under certain situations.
Learn more about: