When Will You Need This?

To display the hours and minutes of each day (AM/PM) rather than just show the simulation clock which shows straight simulation run time.

Digital Clock with Days model image

Model Object

The following model object can be found in the model objects directory:

1. Time \ Digital Clock with Days, Black.

1. Time \ Digital Clock with Days, Blue.

1. Time \ Digital Clock with Days, Green.

1. Time \ Digital Clock with Days, Orange.

Ease of Use: Easy

Ease of Modification: Easy

How to Use the Model Object

1. Open Your Model

Open your model or create a new blank model.

2. Insert the Model Object into Your Model

1. Locate the model object Digital Clock with Days and select the insert button.

2. Move the cursor to the point of insertion and left mouse-click. The upper left corner of the model object will be inserted at the location of the mouse-click.

3. Update Objects

1. Optionally, turn off the clock (for faster simulation during replications) by changing the scenario parameter s_Clock_Off_0 to Zero. To turn the animation back on set s_Clock_Off_0 to One.

define scenarios for Digital Clock with Days

4. Completion

The model object is now integrated into your model, you should now be able to save and then simulate the model.

Advance Topics

How Do I Build This Model Object from Start?

Each of the numerals of the Digital Clock is a WMF graphic. These imported WMF files have been converted to shapes and changed to entities. All of the entity graphics are placed in the same area on the layout with graphic placed on top (the clock face).

Positions of the clock are activities. A single entity is scheduled (periodic arrival with zero in the Time Between Arrivals field) into each of the positions of the clock (minutes, tens of minutes, hours, etc.).

The logic for each position of the clock is independent of the others. The repeating logic (While Do) executes a TIME statement then uses the NEWNAME statement to change the entity graphic to mimic the function of a clock. Thus only one entity enters each position of the clock and never exits.

The AM/PM area is of two activities, each having a time of 12 hours. The routings that connect the AM/PM activities are set to zero.

The days area is a single activity that changes graphic every 24 hours. All the graphics are WMF. The graphics (words) were created in Corel Draw and exported as WMF.