Ex_9.pdf

(75 KB) Pobierz
EXERCISE 9 – Variables and Attributes, Characterising a System
Include Variables and Attributes to create a way of representing information while the
simulation runs.
Modelling Instructions:
1. Attributes – Create 2 Attributes:
Entry_Time
and
Exit_Time
(which can be used to
calculate the cycle time), both are Real (Type) and assigned to the Entity
(Classification)
2. Variables (global) – Assign the following variables
ID
Failures
Produced_Units
Cost_per_Unit
Average_Cycle_Time
Time_of_Current_Cycle
Sum_of_Cycle_Times
WIP (work in progress)
Total_Cost
Type
Integer
Integer
Real
Real
Real
Real
Integer
Real
Initial Value
0
0
0
0
0
0
0
0
3. Background Graphics – Create a Shape onto which the list of different Variables with
their graphical representation can be placed
4. Costs – Arbitrarily define the Operation Rate for all machine Locations, the Regular
Rate for each Resource and the Initial Cost for the Entities (Enable “Cost” in the
Simulation Options)
5. Processing (INC
variable, by specific amount –
(DEC
variable, by specific amount)
a. Conveyor
i. Set the
Entry_Time
= Clock(Min)
ii. Increase
WIP
b. Defective Goods Storage
i. Increase
Failures
ii. Decrease
WIP
c. Assembly – Increase the
Total_Cost
by the fuction GetCost()
d. Output Storage
i. Increase the value of the
Produced_Units
ii. Calculate the
Cost_per_Unit
(Total_Cost divided by the number of
Produced_Units)
iii. Define the
Exit_Time
= Clock(Min)
iv. Calculate the
Time_of_Current_Cycle
(Exit_Time minus
Entry_Time)
v. Increase the
Sum_of_Cycle_Times
by the
Time_of_Current_Cycle
vi. Calculate the
Average_Cycle_Time
(Sum_of_Cycle_Times divided by
the number of
Produced_Units),
vii.
Decrease
WIP
Zgłoś jeśli naruszono regulamin