Using the Simulation Time Control

The Simulation Time control allows you to change the Duration (for Elapsed Time simulations) or the Start Date and End Date (for Calendar Time simulations).

The toolbar button for the Simulation Time control looks like this:

The appearance of the Simulation Time control differs depending on whether the model is set up to run an Elapsed Time simulation or a Calendar Time simulation.  If running an Elapsed Time simulation, the control looks like this:

If running a Calendar Time simulation, the control looks like this:

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).

You cannot select the font for a Simulation Time control. GoldSim always uses the default GUI font used by the operating system for the items in the control.

There are no options or attributes to specify for a Simulation Time control. Hence, double-clicking does not display a dialog:

A screenshot of a cell phone

Description automatically generated

For an Elapsed Time simulation, in Active view within a Dashboard the Simulation Time control looks like this:

The control directly changes the Duration (in the Simulation Settings) for the model.  It must be entered as a number (with a valid time unit).

For a Calendar Time simulation, in Active view within a Dashboard the Simulation Time control looks like this:

This control directly changes the Start Date and End Date (in the Simulation Settings) for the model. 

You can click on the arrow in the box to view a calendar to assist you in selecting a start or end date:

A screenshot of a cell phone

Description automatically generated

You can select part of the date (month, day, year) in the input field and then enter a value or use the arrow keys to increment or decrement the value. Arrow buttons on the calendar move forward or backward one calendar month. Clicking the month on the calendar activates a menu with the twelve months. Clicking the year on the calendar activates a control for changing the year.

   Note: GoldSim supports a date range from 1 January 1700 to 31 December 9999.

   Note: The format in which the dates are displayed is determined by the Windows settings for your machine. To change these settings (e.g., to display dates in European format with the day before the month), go to Control Panel and edit the Regional Options.

   Note: Although the Simulation Settings also support setting the time (as well as the date) for a Calendar Time simulation, the Simulation Time Control does not allow you to change the time. GoldSim will use whatever time was set in the Simulation Setting dialog (which defaults to midnight).

Related Topics…