You are here: Building the Logic > Operation Logic

Operation Logic

Operation logic defines what happens to an entity when it enters a location. Operation logic is optional, but typically contains at least a Wait statement for the amount of time the entity should spend at the location. For modeling purposes, the exact nature of the operation (joining, grouping, etc.) is irrelevant. What is essential is to know what happens in terms of the time consumed, the resources used, and any other logic that impacts system performance. For operations requiring more than a time and resource designation, detailed logic may need to be defined using If...Then or action statements.

 

Special operation statements are provided to define the activities that are to occur. By using operation logic, any of the following activities can be defined:

Statements can be typed directly into the operation field, or inside a larger logic window after double-clicking in the field or clicking on the Operation button. Alternatively, the Logic Builder can help build logic and is accessed by clicking the right mouse button inside the operation field or logic window. All statements, functions, and distributions available in the operation field are discussed in detail, including examples, in Statements and Functions.

Example

Each entity processes the operation statements defined for it at a particular location, independent of other operations performed on other entities at the same location. The following example presents the operation logic for an entity joining an entity, EntB, and renaming the entity as EntC.

 


 

© 2019 ProModel Corporation • 705 E Timpanogos Parkway • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com