Homework Twelve - Simio and Simulation: Chapter 10

Complete problem 1 from Chapter 10 in Kelton.

#create reproducability
set.seed(123)

Problem 1

Compare and contrast the three ways of creating model logic. What determines your choice when creating a specific object?

Facility Model

With a model created in the facility window, the model properties can be set in the Properties panel of the Definitions window. For example, adding two standard properties of type Expression to define the names and values of two objects, and hiding inherited properties that are not used in the model (as shown in Model 10-1.) This method is most useful when building a model from the Facilities window, and useful when leveraging or adjusting inherited properties of a new model.

Process Model

Processes are incredibly useful tools for creating models, as they allow the user to specify many aspects of object behaviour not visible in the Facilities window.

Sub-Classing

Sub-classing allows the user to adjust logic that could not otherwise be adjusted (such as an inherited process).

Comparison

One advantage of using processes over model processes is that when using several objects with the same processes, the process itself can be changed rather than changing each and every model object. Editing each facility object is the most simple, but each object (including input nodes and output nodes) must be managed individually. Sub-classing seems useful when inherited process logic needs to be over written, but can be reset in the model with a click of the mouse.