Building the Model: General Elements > General Information > General Information Dialog Box

General Information Dialog Box

The fields of the General Information dialog box are as follows:

 

Title An optional, brief description of the model. Information will be displayed in the caption bar and included in the model and results files.

 

Time Units The unit for any time value in the model that does not have an explicitly specified time unit. The smallest unit of time available in ProModel is .00001 second and the largest is 1 day.

 

Distance Units The units in feet or meters for all distances specified in the model. There is no practical limit on the size of the model.

 

Model Notes... Brings up a notes window for specifying general notes about the model. Notes are optional and are for user reference only. An alternative way to display notes is using a Display statement (see Display) in the initialization logic.

 

Graphic Library File Opens a dialog box for selecting the graphic library file to use with the open model. Graphics library files have the extension GLB and are further explained later in this section.

 

Model Instructions Opens a dialog box for selecting the model instructions to use with the open model. Files for model instructions have the extension RTF.

 

Initialization Logic Opens the Initialization Logic window for specifying initialization logic. An asterisk (*) next to the name of the button means that some initialization logic has been defined for the model. (See Initialization Logic.)

 

Termination Logic Opens the Termination Logic window for specifying termination logic. An asterisk (*) next to the name of the button means that some termination logic has been defined for the model. (See Termination Logic.)

 

Use SharePoint If the check box is selected, SharePoint can be used as a shared document library. (See Use SharePoint.)

 

Server If the Use SharePoint check box is selected, the Internet address of the intended SharePoint server must be typed in this text box. The text box is unavailable if the check box is cleared.

 

Test Connection Opens the Windows Security dialog box, which confirms access to the SharePoint server when the proper user name and password are typed into the respective text boxes. The button is unavailable if the check box is cleared.

 

Initialization Logic

Initialization logic allows you to initialize arrays, variables, and other elements at the beginning of a simulation run as shown below:

Other common uses of initialization logic include:

For a discussion of each of the buttons in the Initialization Logic window, see Editing Logic Windows.

Termination Logic

Termination logic allows you to summarize data or write special statistics to an output file at the end of a simulation run as shown below:

Other common uses of termination logic include:

See the following page for a discussion on the placement of initialization and termination logic within the sequence of run-time events.

Please Note: Although Initialization and Termination logic cannot be tested with the Compile option in the Edit menu, as with Processing or Arrival logic, the logic can be tested by clicking on the compile button in the logic window. ProModel checks all logic automatically upon selecting OK and, if an error in the logic is found, an error message describing the problem will appear.

Execution Time of Initialization and Termination Logic

It is important to understand exactly when initialization and termination logic is executed. When you select Run from the Simulation menu the following things occur in the order listed:

  1. Arrays are initialized based upon the defined Import specifications
  2. Variables are initialized to the values specified in the Variables Editor.
  3. Macros defined as a scenario parameter are set to their user-specified value.
  4. The model is loaded into the simulation module. As the model is loaded, any numeric expressions used to define such things as location capacities or number of resource units are evaluated and assigned a numeric value.
  5. Initialization logic is performed.
  6. Simulation begins. Initial arrivals and downtimes are scheduled and simulation processes begin.
  7. Simulation ends.
  8. Termination logic is performed.
  9. Statistics are compiled.

Logic elements that figure into a model's structure are evaluated only when the model is loaded into the simulation module. Those logic elements are:

For a complete list of when each field is evaluated, see Appendix.

 

Any variables or arrays used in an expression that change any of these logic elements should be initialized in the Variables Editor, Arrays Import,scenario manager and not in the initialization logic. The model structure cannot change after the model has been loaded into the simulation module. Thus, any variable or array figuring into a location's capacity and initialized in the initialization logic will be initialized too late to affect the location's capacity.

 

Variables or arrays which do not figure into a location's capacity may be initialized in the Initialization Logic without any problem. A variable initialized in the initialization logic could be used as the “First Time” for an arrival or downtime occurrence. This is true because arrivals and downtime occurrences are simulation events, and all initialization logic occurs before the first simulation event.

Graphic Library File

ProModel allows you to create and store as many graphics libraries as desired. However, only one graphic library may be used for each model. To copy a graphic from one graphic library to another model's graphic library, see Graphic Editor.

How to select the desired graphics library:

  1. Select Graphic Library from the General Information dialog box.

  1. Enter the name of the desired graphics library.
  2. Select OK.

Please Note: Only files with the extension GLB may be used as graphics libraries. For more information on creating, merging and saving graphics libraries, see Graphic Editor.

Use SharePoint

This feature allows you to use SharePoint as a shared document library. It will enable reading data from, and writing data to, external files residing on a SharePoint server. It will also enable accessing files on a SharePoint server for importing data into arrays and exporting data from arrays. For using SharePoint with arrays and with external files, see Accessing Files for Arrays on SharePoint and Accessing External Files with SharePoint. You can test and confirm the connection to the SharePoint server with the following procedure:

  1. Select the Use SharePoint check box.
  2. Type the Internet address of the SharePoint server in the Server text box.
  3. Click Test Connection.
  4. When the Windows Security dialog box appears, type your user name and password for the server in the respective text boxes, and click OK.
  5. When the SharePoint Connection Test dialog box appears, the connection is confirmed. Click OK.

 


 

© 2016 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com