|
META TOPICPARENT |
name="ArenaGuide" |
Editing Decide Modules |
|
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. |
|
< < | NB: TNOW is an inbulit Arena variable that determines the current time of the simulation |
> > |  |
| |
|
< < | NB: DayOfWeek(TNOW) is a user-defined variable that uses TNOW to determine the current day of the week in the simulation |
> > |
NB: TNOW is an inbulit 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. |
| N-way by Chance
Coming soon! |
|
-- MichaelOSullivan - 25 Aug 2009 |
|
< < |
- Decide_module_by_entity_type_example.PNG:
- Decide_module_by_expression_example.PNG:
- Decide_module_by_expression.PNG:
|
|
META FILEATTACHMENT |
attachment="Decide_Module_by_Attribute_example.png" attr="h" comment="" date="1264024876" name="Decide_Module_by_Attribute_example.png" path="U:\Summer Work\Printscreens\Decide Module by Attribute example.png" size="37934" stream="U:\Summer Work\Printscreens\Decide Module by Attribute example.png" tmpFilename="" user="KatTrevor" version="1" |
META FILEATTACHMENT |
attachment="Decide_module_by_Attribute.png" attr="h" comment="" date="1264024897" name="Decide_module_by_Attribute.png" path="U:\Summer Work\Printscreens\Decide module by Attribute.png" size="8244" stream="U:\Summer Work\Printscreens\Decide module by Attribute.png" tmpFilename="" user="KatTrevor" version="1" |
META FILEATTACHMENT |
attachment="decide_modules_flow_diagram.PNG" attr="h" comment="" date="1264040826" name="decide_modules_flow_diagram.PNG" path="U:\Summer Work\Printscreens\decide modules flow diagram.PNG" size="4700" stream="U:\Summer Work\Printscreens\decide modules flow diagram.PNG" tmpFilename="" user="KatTrevor" version="2" |
|