Difference: EditingDecideModules (17 vs. 18)

Revision 182010-03-13 - MichaelOSullivan

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

Editing Decide Modules

Line: 40 to 40
  Arena evaluates the expression and routes to the True exit point if the expression is true or the False exit point otherwise.
Changed:
<
<
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.
  Decide_module_by_expression_example.PNG
Changed:
<
<
Decide_module_by_expression.PNG
>
>
Decide_module_by_expression.PNG
 
Changed:
<
<
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.

Line: 70 to 68
 
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"
Changed:
<
<
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"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback