|
META TOPICPARENT |
name="ArenaGuide" |
Editing Decide Modules |
|
Arena evaluates the expression and routes to the True exit point if the expression is true or the False exit point otherwise. |
|
< < | Consider the example of simulating the operations within an egg sorting factory over several weeks. Employees are rostered to work Monday to Friday however employees do not work on the weekend. The simluation must determine that it is not the weekend in order to simluate employees arriving for work. If Sunday is Day 1, Monday Day 2, Wednesday Day 3....etc (up to Saturday Day 7) the following Decide module could be used to determine if the factory should open for business. |
> > | Consider the example of simulating the operations within an egg sorting factory over several weeks. Employees are rostered to work Monday to Friday however employees do not work on the weekend. The simluation must determine that it is not the weekend in order to simulate employees arriving for work. Using the built-in Arena variable TNOW (the current time) and the built-in Arena function CalDayOfWeek( ... ) we can determine if the day is Sunday = 1, Monday = 2, etc (up to Saturday Day 7) the following Decide module could be used to determine if the factory should open for business. |
|
 |
|
< < |  |
> > |  |
| |
|
< < | NB : TNOW is an inbuilt Arena variable that determines the current time of the simulation while DayOfWeek(TNOW) is a user-defined variable that uses TNOW to determine the current day of the week in the simulation
NB: In plain english the above expression says: If the current day of the week is less than 1 (which means it is a Sunday) or is greater than 7 (which means it is a Saturday) route to the True exit point. |
> > | NB: In plain English the above expression says: If the current day of the week is less than 1 (which means it is a Sunday) or is greater than 7 (which means it is a Saturday) route to the True exit point. |
| N-way by Chance
This type of Decide module is an extension of the 2-way by Chance Decide module. This type of Decide module will route entities any number of ways specified by the user and according to a given percentage. The percentage is specifed by the user and relates to the proprotion of entities that are routed to that particular exit point. |
|
META FILEATTACHMENT |
attachment="Decide_Module_by_Entity_Type.PNG" attr="h" comment="" date="1264540719" name="Decide_Module_by_Entity_Type.PNG" path="U:\Summer Work\Printscreens\Decide Module by Entity Type.PNG" size="10260" stream="U:\Summer Work\Printscreens\Decide Module by Entity Type.PNG" tmpFilename="" user="KatTrevor" version="1" |
META FILEATTACHMENT |
attachment="Decide_module_by_entity_type_example.PNG" attr="h" comment="" date="1264541085" name="Decide_module_by_entity_type_example.PNG" path="U:\Summer Work\Printscreens\Decide module by entity type example.PNG" size="5459" stream="U:\Summer Work\Printscreens\Decide module by entity type example.PNG" tmpFilename="" user="KatTrevor" version="1" |
META FILEATTACHMENT |
attachment="Decide_module_by_expression_example.PNG" attr="h" comment="" date="1264558416" name="Decide_module_by_expression_example.PNG" path="U:\Summer Work\Printscreens\Decide module by expression example.PNG" size="5625" stream="U:\Summer Work\Printscreens\Decide module by expression example.PNG" tmpFilename="" user="KatTrevor" version="1" |
|
|
< < |
META FILEATTACHMENT |
attachment="Decide_module_by_expression.PNG" attr="h" comment="" date="1264558427" name="Decide_module_by_expression.PNG" path="U:\Summer Work\Printscreens\Decide module by expression.PNG" size="10391" stream="U:\Summer Work\Printscreens\Decide module by expression.PNG" tmpFilename="" user="KatTrevor" version="1" |
|
> > |
META FILEATTACHMENT |
attachment="Decide_module_by_expression.PNG" attr="h" comment="" date="1268514273" name="Decide_module_by_expression.PNG" path="Decide_module_by_expression.PNG" size="10348" stream="Decide_module_by_expression.PNG" tmpFilename="" user="MichaelOSullivan" version="3" |
|