---+ Editing Assign Modules _Assign_ modules may be added to the flowchart view by dragging and dropping (the same as [[EditingCreateModules][ _Create_ modules]]). Multiple assignments can be done within a single assign module by clicking on the _Add_ button. Previously added assignments can be edited using the _Edit_ button. There are multiple possibilities for assignments: ---++ Variables Variables may be assigned a new value by setting the _Type_ to be =Variable=, the _Variable Name_ to the name of the variable to assign and _New Value_ to the new value of the variable. One dimensional variables may be useful when a variable has a different value in a different situation. One dimensional variables may be assigned a new value by setting the _Type_ to be =ID Variable=, and the _Variable Name_ to the name of the variable to assign. It is then best to access the newly created variable by going to _Basic Proces_ s and double clicking the =Variable= icon. Select the new variable and choose the _Row_ to be the number of different values the ID variable could be and the _New Value_ to the new value of the variable in each particular situation. A good example of a ID variable is assigning the times a Receptionist must start work on different days during the week. This example is shown below. <img width="497" alt="1D_variable.png" src="%ATTACHURL%/1D_variable.png" height="172" /> _Note:_ Row 1 represents Monday, Row 2 represents Tuesday...etc <img width="560" alt="Values_for_Reception_Start_Times.png" src="%ATTACHURL%/Values_for_Reception_Start_Times.png" height="295" /> Two dimensional variables may also be useful. They are implemented identically to one dimensional variables (above) except that the user can define the number of rows and the number of columns. A good example of a 2D variable is assigning a roster of when several receptionists must start work each day. This example is shown below. _Note:_ Row 1 represents Monday, Row 2 represents Tuesday...etc _Note:_ Column 1 represents Receptionist 1 (e.g. Mary) , Column 2 represents Receptionist 2 (e.g. Jenny)...etc ---++ Attributes Entities can have Attributes assigned to them. Each _Attribute_ must be named and assigned a specific value. _Entity.Type_ is a special kind of attribute that refers to one of the specific types of entities defined in the model. Entity.Picture is a special kind of attribute that stores the value of an entity's graphical picture to be used for animations within the Arena model. -- Main.MichaelOSullivan - 25 Aug 2009 * Values_for_Reception_Start_Times.png: <br /> <img src="%ATTACHURLPATH%/Values_for_Reception_Start_Times.png" alt="Values_for_Reception_Start_Times.png" width='560' height='295' /> * Entity Type: <br /> <img src="%ATTACHURLPATH%/Entity_Type.png" alt="Entity_Type.png" width='497' height='172' /> * Entity Picture: <br /> <img src="%ATTACHURLPATH%/Entity_Picture.png" alt="Entity_Picture.png" width='497' height='172' /> * 2D_Receptionist_Start_Times.png: <br /> <img src="%ATTACHURLPATH%/2D_Receptionist_Start_Times.png" alt="2D_Receptionist_Start_Times.png" width='716' height='295' /> * Attribute: <br /> <img src="%ATTACHURLPATH%/Attribute.png" alt="Attribute.png" width='497' height='172' /> * 1D_variable.png: <br /> <img src="%ATTACHURLPATH%/1D_variable.png" alt="1D_variable.png" width='497' height='172' />
This topic: OpsRes
Topic revision: r3 - 2009-12-14 - KatTrevor
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?