Difference: EditingDecideModules (12 vs. 13)

Revision 132010-01-27 - KatTrevor

Line: 1 to 1
 
META TOPICPARENT name="ArenaGuide"

Editing Decide Modules

Line: 42 to 42
  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.
Changed:
<
<
NB: TNOW is an inbulit Arena variable that determines the current time of the simulation
>
>
Decide_module_by_expression_example.PNG
 
Changed:
<
<
NB: DayOfWeek(TNOW) is a user-defined variable that uses TNOW to determine the current day of the week in the simulation
>
>
Decide_module_by_expression.PNG

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!

Line: 55 to 59
  -- MichaelOSullivan - 25 Aug 2009
Deleted:
<
<
  • Decide_module_by_entity_type_example.PNG:

  • Decide_module_by_expression_example.PNG:
    Decide_module_by_expression_example.PNG

  • Decide_module_by_expression.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"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback