FLOWCHRT.MOD

From Support

Jump to: navigation, search

Back to Model Library

See also: How to read .MOD pages

Contents

Description

FLOWCHRT.MOD is a series of templates for Process Flow. The system is a series of tasks, each of which takes a set amount of time, and the total time the process takes (TOTIME) is tracked.

State Variables

State Variables in FLOWCHRT.MOD
Variable Name Variable Description Size Type
TIME Time for each task 1 Real
TOTIME Total Process time 1 Real
N Number of files merged in MERGE block 1 Integer

Vertices

Vertices in FLOWCHRT.MOD
Vertex Name Vertex Description State Changes
START The chart structure is set here (there are N=2 records MERGED) TOTTIME=0, N=2
VIEW_0 Set time for reporting task TIME=3*RND
VIE_0 Set report time TOTTIME=TOTTIME+TIME
DELAY_0 Set delay time TIME=4.4*RND
DELA_0 Set report time TOTTIME=TOTTIME+TIME
OPERN_0 Set time for operation TIME=3*ERL{3}
OPER_0 Set report time TOTTIME=TOTTIME+TIME
OPERN_1 Set time for operation TIME=3+ERL{2}
OPER_1 Set report time TOTTIME=TOTTIME+TIME
MERGE_0 Set merge time TIME=3
MERG_0 Set report time TOTTIME=TOTTIME+TIME,N=N-1
END End of run None
CHECK Set task time for inspection operation TIME=10+3*RND
CHEC Set report time TOTTIME=TOTTIME+TIME
CHOSE Set time for decision task TIME=5.5*BET{1;.3}
CHOS Set report time TOTTIME=TOTTIME+TIME
OPERN Set time for operation TIME=3+ERL{2}
OPER Set report time TOTTIME=TOTTIME+TIME
DELAY Set delay time TIME=4.4
DELA Set report time TOTTIME=TOTTIME+TIME
MERGE Set merge time TIME=3
MERG Set report time TOTTIME=TOTTIME+TIME
STORE Set storage time TIME=3*TRI{.3}
STOR Set report time TOTTIME=TOTTIME+TIME
TEST Set test time TIME=1+5*RND
TES Set report time TOTTIME=TOTTIME+TIME
VIEW Set time for reporting task TIME=3*RND
VIE Set report time TOTTIME=TOTTIME+TIME
TRAVL Set travel time TIME=3
TRAV Set report time TOTTIME=TOTTIME+TIME

Initialization Conditions

This model has no initialization conditions.

Event Relationship Graph

There is no event relationship graph available for this model.

FLOWCHRT.MOD as seen in SIGMA.MOD
FLOWCHRT.MOD as seen in SIGMA.MOD

English Translation

An English translation is a verbal description of a model, automatically generated by SIGMA.

The SIGMA Model, FLOWCHRT.MOD, is a discrete event simulation. 
It models Prototype Process Flow Tempates (TOTTIME=total process time).
I. STATE VARIABLE DEFINITIONS.
For this simulation, the following state variables are defined:
TIME: Time for each task  (real valued)
TOTTIME: Total Process time  (real valued)
N: Number of files merged in MERGE block   (integer valued)
II. EVENT DEFINITIONS.
Simulation state changes are represented by event vertices (nodes or balls) in a SIGMA graph.  
Event vertex parameters, if any, are given in parentheses. Logical and dynamic relationships 
between pairs of events are represented in a SIGMA graph by edges (arrows) between event vertices.  
Unless otherwise stated, vertex execution priorities, to break time ties, are equal to 5.
1. The START() event occurs when the chart structure is set here (there are N=2) records MERGED).
   This event causes the following state change(s):
   TOTTIME=0
   N=2
   After every occurrence of the START event:
   Unconditionally, schedule the VIEW_0() event to occur without delay.
   Unconditionally, schedule the START() event to occur in 50 time units.
2. The CHECK() event occurs when SET TASK TIME FOR INSPECTION OPERATION.
   This event causes the following state change(s):
   TIME=10+3*RND
   After every occurrence of the CHECK event:
   Unconditionally, schedule the CHEC(TIME) event to occur in TIME time units...
   using the parameter value(s) of TIME.
3. The CHEC(TIME) event occurs when CHICK AGAIN TO SET TASK TIME.
   This event causes the following state change(s):
   TOTTIME=TOTTIME+TIME
   No additional events are scheduled here.
4. The OPERN() event occurs when SET TIME FOR OPERATION.
   This event causes the following state change(s):
   TIME=3+ERL{2}
   After every occurrence of the OPERN event:
   Unconditionally, schedule the OPER(TIME) event to occur in TIME time units...
   using the parameter value(s) of TIME.
5. The OPER(TIME) event occurs when CLICK AGAIN TO SET TASK TIME.
   This event causes the following state change(s):
   TOTTIME=TOTTIME+TIME
   No additional events are scheduled here.
6. The STORE() event occurs when SET STORAGE TIME.
   This event causes the following state change(s):
   TIME=3*TRI{.3}
   After every occurrence of the STORE event:
   Unconditionally, schedule the STOR(TIME) event to occur in TIME time units...
   using the parameter value(s) of TIME.
7. The STOR(TIME) event occurs when CLICK AGAIN TO SET STORAGE TIME.
   This event causes the following state change(s):
   TOTTIME=TOTTIME+TIME
   No additional events are scheduled here.
8. The CHOSE() event occurs when SET TIME FOR DECISION TASK.
   This event causes the following state change(s):
   TIME=5.5*BET{1;.3}
   After every occurrence of the CHOSE event:
   Unconditionally, schedule the CHOS(TIME) event to occur in TIME time units...
   using the parameter value(s) of TIME.
9. The CHOS(TIME) event occurs when CLICK AGAIN TO SET TASK TIME.
   This event causes the following state change(s):
   TOTTIME=TOTTIME+TIME
   No additional events are scheduled here.
10. The TEST() event occurs when SET TEST TIME.
    This event causes the following state change(s):
    TIME=1+5*RND
    After every occurrence of the TEST event:
    Unconditionally, schedule the TES(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
11. The TES(TIME) event occurs when CLICK AGAIN TO SET TEST TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    No additional events are scheduled here.
12. The TRAVL() event occurs when SET TRAVEL TIME.
    This event causes the following state change(s):
    TIME=3
    After every occurrence of the TRAVL event:
    Unconditionally, schedule the TRAV(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
13. The TRAV(TIME) event occurs when CLICK AGAIN TO SET TRAVEL TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    No additional events are scheduled here.
14. The DELAY() event occurs when SET DELAY TIME.
    This event causes the following state change(s):
    TIME=4.4
    After every occurrence of the DELAY event:
    Unconditionally, schedule the DELA(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
15. The DELA(TIME) event occurs when CLICK AGAIN TO SET DELAY TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    No additional events are scheduled here.
16. The MERGE() event occurs when SET MERGE TIME.
    This event causes the following state change(s):
    TIME=3
    After every occurrence of the MERGE event:
    Unconditionally, schedule the MERG(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
17. The MERG(TIME) event occurs when CLICK AGAIN TO SET MERGE TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    No additional events are scheduled here.
18. The VIEW() event occurs when SET TIME FOR REPORTING TASK.
    This event causes the following state change(s):
    TIME=3*RND
    After every occurrence of the VIEW event:
    Unconditionally, schedule the VIE(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
19. The VIE(TIME) event occurs when CLICK AGAIN TO SET REPORT TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    No additional events are scheduled here.
20. The END() event:
    No additional events are scheduled here.
21. The VIEW_0() event occurs when SET TIME FOR REPORTING TASK.
    This event causes the following state change(s):
    TIME=3*RND
    After every occurrence of the VIEW_0 event:
    Unconditionally, schedule the VIE_0(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
22. The VIE_0(TIME) event occurs when CLICK AGAIN TO SET REPORT TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    After every occurrence of the VIE_0 event:
    Unconditionally, schedule the DELAY_0() event to occur without delay.
23. The OPERN_0() event occurs when SET TIME FOR OPERATION.
    This event causes the following state change(s):
    TIME=3*ERL{3}
    After every occurrence of the OPERN_0 event:
    Unconditionally, schedule the OPER_0(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
24. The OPER_0(TIME) event occurs when CLICK AGAIN TO SET TASK TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    After every occurrence of the OPER_0 event:
    Unconditionally, schedule the MERGE_0() event to occur without delay.
25. The OPERN_1() event occurs when SET TIME FOR OPERATION.
    This event causes the following state change(s):
    TIME=3+ERL{2}
    After every occurrence of the OPERN_1 event:
    Unconditionally, schedule the OPER_1(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
26. The OPER_1(TIME) event occurs when CLICK AGAIN TO SET TASK TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    After every occurrence of the OPER_1 event:
    Unconditionally, schedule the MERGE_0() event to occur without delay.
27. The MERGE_0() event occurs when SET MERGE TIME.
    This event causes the following state change(s):
    TIME=3
    After every occurrence of the MERGE_0 event:
    Unconditionally, schedule the MERG_0(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
28. The MERG_0(TIME) event occurs when CLICK AGAIN TO SET MERGE TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    N=N-1
    After every occurrence of the MERG_0 event:
    If N==0, then schedule the END() event to occur without delay.
29. The DELAY_0() event occurs when SET DELAY TIME.
    This event causes the following state change(s):
    TIME=4.4*RND
    After every occurrence of the DELAY_0 event:
    Unconditionally, schedule the DELA_0(TIME) event to occur in TIME time units...
    using the parameter value(s) of TIME.
30. The DELA_0(TIME) event occurs when CLICK AGAIN TO SET DELAY TIME.
    This event causes the following state change(s):
    TOTTIME=TOTTIME+TIME
    After every occurrence of the DELA_0 event:
    Unconditionally, schedule the OPERN_1() event to occur without delay.
    Unconditionally, schedule the OPERN_0() event to occur without delay.

Comments

This model is not available using the educational version of SIGMA.



Back to top

Back to Model Library

Personal tools
Navigation