Sunteți pe pagina 1din 14

Referatul nr.

4
Fabricație Asistată de Calculator
Problema 1:
Un sistem de productie constă din două stații de lucru consecutive: Statia_1 și Statia_2. La fiecare stație
de lucru este câte un muncitor. Înaintea stației unu există suficient loc pentru ca piesele ce urmează a fi
prelucrate să aștepte, dar între stația unu și doi există loc limitat. Piesele sosesc la stația unu la interval
de 30±20 minute și durata de prelucrare pe stații este de 25±10 minute la stația unu și respectiv 30±10
minute la stația doi.
Proiectați dimensiunea minimă a bufferului intermediar de piese astfel încât Statia_1 să nu fie
influențată de Statia_2 în funcționare. Considerați un lot de 200 de piese.
SIMULATE
BUFF STORAGE 100
GENERATE 30,20
ADVANCE 0
SEIZE MAS1
ADVANCE 25,10
ENTER BUFF
RELEASE MAS1
SEIZE MAS2w
LEAVE BUFF
ADVANCE 30,10
RELEASE MAS2
TERMINATE 1
START 200
END
Pentru un lot de 200 de piese dimensiunea minimă a bufferului dintre stații trebuie să fie de minum 34
de piese.
Student GPSS/H Release 3.59 (UL124) 22 Apr 2018 16:59:16 File: Fac_cap_7_1.gps
Line# Stmt# If Do Block# *Loc Operation A,B,C,D,E,F,G Comments
1 1 SIMULATE
2 2 BUFF STORAGE 100
3 3 1 GENERATE 30,20
4 4 2 ADVANCE 0
5 5 3 SEIZE MAS1
6 6 4 ADVANCE 25,10
7 7 5 ENTER BUFF
8 8 6 RELEASE MAS1
9 9 7 SEIZE MAS2
10 10 8 LEAVE BUFF
11 11 9 ADVANCE 30,10
12 12 10 RELEASE MAS2
13 13 11 TERMINATE 1
14 14 START 200
15 15 END
Entity Dictionary (in ascending order by entity number; "*" => value conflict.)
Facilities: 1=MAS1 2=MAS2
Storages: 1=BUFF
SYMBOL VALUE EQU DEFNS CONTEXT REFERENCES BY STATEMENT NUMBER
MAS1 1 Facility 5 8
MAS2 2 Facility 9 12
BUFF 1 2 Storage 7 10
Storage Requirements (Bytes)
Compiled Code: 312
Compiled Data: 40
Miscellaneous: 0
Entities: 456
Common: 10000
-----------------------
Total: 10808
GPSS/H Model Size:
Control Statements 4
Blocks 11
Simulation begins.
Relative Clock: 6157.7595 Absolute Clock: 6157.7595
Block Current Total Block Current Total
1 202 11 200
2 202
3 202
4 202
5 202
6 2 202
7 200
8 200
9 200
10 200
--Avg-Util-During--
Facility Total Avail Unavl Entries Average Current Percent Seizing Preempting
Time Time Time Time/Xact Status Avail Xact Xact
MAS1 0.839 202 25.574 AVAIL
MAS2 0.949 200 29.220 AVAIL
--Avg-Util-During--
Storage Total Avail Unavl Entries Average Current Percent Capacity Average Current
Maximum
Time Time Time Time/Unit Status Avail Contents Contents Contents
BUFF 0.011 202 33.114 AVAIL 100.0 100 1.086 2 4
Random Antithetic Initial Current Sample Chi-Square
Stream Variates Position Position Count Uniformity
1 OFF 100000 100605 605 0.83
Status of Common Storage
9512 bytes available
488 in use
1272 used (max)
Simulation complete. Absolute Clock: 6157.7595
Total Block Executions: 2212
Blocks / second: 17670708
Microseconds / Block: 0.06
Elapsed Time Used (Sec)
Pass1: 0.00
Sym/Xref 0.00
Pass2: 0.00
Load/Ctrl: 0.00
Execution: 0.00
Output: 0.00
---------------------
Total: 0.00
Problema 2:
Considerăm două grupuri de câte 5 muncitori, grupul A și grupul B. Pentru a transforma o parte de
material brut într-un produs finit sunt necesari următorii pași: un muncitor A execută o operație care
durează 35±15 minute, apoi un muncitor B execută următoarea operație cu durata 50±10 minute și din
nou un muncitor A execută a treia operație cu durata 15±5 minute. Simultan nu sunt permise numai 10
părți în prelucrare. Când un produs este executat simultan o altă parte brută intră în prelucrare. Realizați
modelul și simulați pentru 100 de piese prelucrate.
SIMULATE
GRUPA STORAGE 5
GRUPB STORAGE 5
ENTER GRUPA
ADVANCE 35,15
ENTER GRUPB
LEAVE GRUPA
ADVANCE 50,10
ENTER GRUPA
LEAVE GRUPB
ADVANCE 15,5
LEAVE GRUPA
TERMINATE
GENERATE ,,,100
TERMINATE 1
START 1
END
Student GPSS/H Release 3.59 (UL124) 22 Apr 2018 17:59:06 File: Fac_cap_7_2.gps
Line# Stmt# If Do Block# *Loc Operation A,B,C,D,E,F,G Comments

1 1 SIMULATE
2 2 GRUPA STORAGE 5
3 3 GRUPB STORAGE 5
4 4 1 ENTER GRUPA
5 5 2 ADVANCE 35,15
6 6 3 ENTER GRUPB
7 7 4 LEAVE GRUPA
8 8 5 ADVANCE 50,10
9 9 6 ENTER GRUPA
10 10 7 LEAVE GRUPB
11 11 8 ADVANCE 15,5
12 12 9 LEAVE GRUPA
13 13 10 TERMINATE
14 14 11 GENERATE ,,,100
15 15 12 TERMINATE 1
16 16 START 1
17 17 END
Entity Dictionary (in ascending order by entity number; "*" => value conflict.)
Storages: 1=GRUPA 2=GRUPB
SYMBOL VALUE EQU DEFNS CONTEXT REFERENCES BY STATEMENT NUMBER
GRUPA 1 2 Storage 4 7 9 12
GRUPB 2 3 Storage 6 10
Storage Requirements (Bytes)
Compiled Code: 360
Compiled Data: 40
Miscellaneous: 0
Entities: 344
Common: 10000
-----------------------
Total: 10744
GPSS/H Model Size:
Control Statements 5
Blocks 12
Simulation begins.
Relative Clock: 0. Absolute Clock: 0.
Block Current Total Block Current Total
1 0 11 1
2 0 12 1
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
Status of Common Storage
9736 bytes available
264 in use
376 used (max)
Simulation complete. Absolute Clock: 0.
Total Block Executions: 2
Blocks / second: 5671871
Microseconds / Block: 0.18
Elapsed Time Used (Sec)
Pass1: 0.00
Sym/Xref 0.00
Pass2: 0.00
Load/Ctrl: 0.00
Execution: 0.00
Output: 0.00
---------------------
Total: 0.00
Problema 3:
Linia finală de asamblare a televizoarelor are doi inspectori. Televizoarele ajung pe bandă la punctul de
testare la intervale de 5.5±2 minute. Fiecărui inspector îi este necesar 10±3 minute pentru testarea unui
televizor. 88% dintre televizoarele testate trec testul iar restul sunt trimise spre un punct de depanare
cu un singur muncitor. Operația de depanare îi ia 30±10 minute, după care televizoarele sunt trimise din
nou spre linia de testare. Dacă testul indică din nou o defecțiune circuitul este reluat. Simulați și
interpretați rezultatele pentru un lot de 100 de televizoare.
SIMULATE
GENERATE 5.5,2
ADVANCE 0
TRANSFER .88,,BUN
TRANSFER .22,,DEF
BUN SEIZE INS1
ADVANCE 10,3
RELEASE INS1
SEIZE INS2
ADVANCE 10,3
RELEASE INS2
TERMINATE
DEF SEIZE DEPAN
ADVANCE 30,10
RELEASE DEPAN
TRANSFER ,BUN
GENERATE ,,,100
TERMINATE 1
START 1
END
Student GPSS/H Release 3.59 (UL124) 22 Apr 2018 17:45:09 File: Fac_cap_7_3.gps
Line# Stmt# If Do Block# *Loc Operation A,B,C,D,E,F,G Comments
1 1 SIMULATE
2 2 1 GENERATE 5.5,2
3 3 2 ADVANCE 0
4 4 3 QUEUE DAP
5 5 4 TRANSFER .88,,BUN
6 6 5 TRANSFER .22,,DEF
7 7 6 BUN SEIZE INS1
8 8 7 ADVANCE 10,3
9 9 8 RELEASE INS1
10 10 9 SEIZE INS2
11 11 10 ADVANCE 10,3
12 12 11 RELEASE INS2
13 13 12 TERMINATE
14 14 13 DEF SEIZE DEPAN
15 15 14 ADVANCE 30,10
16 16 15 DEPART DAP
17 17 16 RELEASE DEPAN
18 18 17 TRANSFER ,BUN
19 19 18 GENERATE ,,,100
20 20 19 TERMINATE 1
21 21 START 1
22 22 END
Entity Dictionary (in ascending order by entity number; "*" => value conflict.)
Facilities: 1=INS1 2=INS2 3=DEPAN
Queues: 1=DAP
SYMBOL VALUE EQU DEFNS CONTEXT REFERENCES BY STATEMENT NUMBER
BUN 6 7 Block 5 18
DEF 13 14 Block 6
DEPAN 3 Facility 14 17
INS1 1 Facility 7 9
INS2 2 Facility 10 12
DAP 1 Queue 4 16
Storage Requirements (Bytes)
Compiled Code: 476
Compiled Data: 80
Miscellaneous: 0
Entities: 480
Common: 10000
-----------------------
Total: 11036
GPSS/H Model Size:
Control Statements 3
Blocks 19
Simulation begins.
Relative Clock: 0. Absolute Clock: 0.
Block Current Total Block Current Total
1 0 11 0
2 0 12 0
3 0 DEF 0
4 0 14 0
5 0 15 0
BUN 0 16 0
7 0 17 0
8 0 18 1
9 0 19 1
10 0
Random Antithetic Initial Current Sample Chi-Square
Stream Variates Position Position Count Uniformity
1 OFF 100000 100001 1 N/A
Status of Common Storage
9624 bytes available
376 in use
488 used (max)
Simulation complete. Absolute Clock: 0.
Total Block Executions: 2
Blocks / second: 5671901
Microseconds / Block: 0.18
Elapsed Time Used (Sec)
Pass1: 0.00
Sym/Xref 0.00
Pass2: 0.00
Load/Ctrl: 0.00
Execution: 0.00
Output: 0.00
---------------------
Total: 0.00
Problema 4:
Într-o secție sunt 5 tipuri de grupuri de mașini așa cum este indicat în următorul tabel:
Numărul grupului Numărul de mașini din grup
1 3
2 2
3 4
4 3
5 1
În interiorul unui grup de mașini toate sunt identice și nu are importanță mașina pe care se face o
anumită prelucrare. În interiorul secției se produc trei tipuri de produse denumite produse de tip 1, tip 2
și tip 3. Fiecare tip de produs necesită pentru a ajunge în starea finală o serie de procesări pe diferite
mașini din secție, tipul mașinilor, ordinea în care se execută procesările și duratele sunt prezentate în
următorul tabel:
Tip produs Număr mașini Secvența grupurilor Timpul procesării(ore)
prelucrare
1 4 3 0.5
1 0.6
2 0.85
5 0.5
2 3 4 1.1
1 0.8
3 0.75
3 5 2 1.2
5 0.25
1 0.7
4 0.9
5 1.00
Dintre materialele brute care sosec în sectie 30% sunt de tipul 1, 50% sunt pentru tipul 2 și restul sunt
pentru tipul 3. Materialele brute sosesc la intervale de 0.6±0.4 ore.
Simulați funcționarea timp de 25 de schimburi de câte 8 ore și determinați gradul de folosire al
mașinilor. Analizați informațiile referitoare la cozile de așteptare din sistem și determinați unde se
produc ștrangulări ale fluxului tehnologic.
Codul sursa:
SIMULATE
GRUPU STORAGE 3
GRUPD STORAGE 2
GRUPT STORAGE 4
GRUPP STORAGE 5
GRUPC STORAGE 1
GENERATE 0.6,0.4
TRANSFER .3,,TIPU
TRANSFER .7,,TIPD
ENTER GRUPD
ADVANCE 1.2
ENTER GRUPC
LEAVE GRUPD
ADVANCE 0.25
ENTER GRUPU
LEAVE GRUPC
ADVANCE 0.7
ENTER GRUPP
LEAVE GRUPU
ADVANCE 0.9
ENTER GRUPT
LEAVE GRUPP
ADVANCE 1
LEAVE GRUPT
TERMINATE
TIP1 ENTER GRUPT
ADVANCE 0.5
ENTER GRUPU
LEAVE GRUPT
ADVANCE 0.6
ENTER GRUPD
LEAVE GRUPU
ADVANCE 0.85
ENTER GRUPC
LEAVE GRUPD
ADVANCE 0.5
LEAVE GRUPC
TERMINATE
TIP2 ENTER GRUPP
ADVANCE 1.1
ENTER GRUPU
LEAVE GRUPP
ADVANCE 0.8
ENTER GRUPT
LEAVE GRUPU
ADVANCE 0.75
LEAVE GRUPT
TERMINATE
GENERATE 25*8
TERMINATE 1
START 1
END
Comentarii:
- Cozile de asteptare au fost folosite 100% pe durata functionarii.
Student GPSS/H Release 3.59 (UL124) 22 Apr 2018 17:51:47 File: Fac_cap_7_4.gps
Line# Stmt# If Do Block# *Loc Operation A,B,C,D,E,F,G Comments
1 1 SIMULATE
2 2 GRUPU STORAGE 3
3 3 GRUPD STORAGE 2
4 4 GRUPT STORAGE 4
5 5 GRUPP STORAGE 5
6 6 GRUPC STORAGE 1
7 7 1 GENERATE 0.6,0.4
8 8 2 TRANSFER .3,,TIPU
9 9 3 TRANSFER .7,,TIPD
10 10 4 ENTER GRUPD
11 11 5 ADVANCE 1.2
12 12 6 ENTER GRUPC
13 13 7 LEAVE GRUPD
14 14 8 ADVANCE 0.25
15 15 9 ENTER GRUPU
16 16 10 LEAVE GRUPC
17 17 11 ADVANCE 0.7
18 18 12 ENTER GRUPP
19 19 13 LEAVE GRUPU
20 20 14 ADVANCE 0.9
21 21 15 ENTER GRUPT
22 22 16 LEAVE GRUPP
23 23 17 ADVANCE 1
24 24 18 LEAVE GRUPT
25 25 19 TERMINATE
26 26 20 TIPU ENTER GRUPT
27 27 21 ADVANCE 0.5
28 28 22 ENTER GRUPU
29 29 23 LEAVE GRUPT
30 30 24 ADVANCE 0.6
31 31 25 ENTER GRUPD
32 32 26 LEAVE GRUPU
33 33 27 ADVANCE 0.85
34 34 28 ENTER GRUPC
35 35 29 LEAVE GRUPD
36 36 30 ADVANCE 0.5
37 37 31 LEAVE GRUPC
38 38 32 TERMINATE
39 39 33 TIPD ENTER GRUPP
40 40 34 ADVANCE 1.1
41 41 35 ENTER GRUPU
42 42 36 LEAVE GRUPP
43 43 37 ADVANCE 0.8
44 44 38 ENTER GRUPT
45 45 39 LEAVE GRUPU
46 46 40 ADVANCE 0.75
47 47 41 LEAVE GRUPT
48 48 42 TERMINATE
49 49 43 GENERATE 25*8
50 50 44 TERMINATE 1
51 51 START 1
52 52 END
Entity Dictionary (in ascending order by entity number; "*" => value conflict.)

Storages: 1=GRUPU 2=GRUPD 3=GRUPT 4=GRUPP 5=GRUPC 6=GRUPD


7=GRUPC 8=GRUPU 9=GRUPP 10=GRUPT

*** Warning: The following Storages may be undefined: (Capacity of 2**31-1 assumed)

Storages: GRUPC GRUPD GRUPP GRUPT GRUPU

*** Warning: The following entities have been defined but not explicitly referenced:
Storages: GRUPU GRUPD GRUPT GRUPP GRUPC
SYMBOL VALUE EQU DEFNS CONTEXT REFERENCES BY STATEMENT NUMBER
TIP1 20 26 Block 8
TIP2 33 39 Block 9
GRUPU 1 2 Storage
GRUPD 2 3 Storage
GRUPT 3 4 Storage
GRUPP 4 5 Storage
GRUPC 5 6 Storage
GRUPC 7 UNDEF Storage 12 16 34 37
GRUPD 6 UNDEF Storage 10 13 31 35
GRUPP 9 UNDEF Storage 18 22 39 42
GRUPT 10 UNDEF Storage 21 24 26 29 44 47
GRUPU 8 UNDEF Storage 15 19 28 32 41 45
Storage Requirements (Bytes)
Compiled Code: 978
Compiled Data: 80
Miscellaneous: 0
Entities: 792
Common: 10000
-----------------------
Total: 11850
GPSS/H Model Size:
Control Statements 8
Blocks 44
Simulation begins.
Relative Clock: 200.0000 Absolute Clock: 200.0000
Block Current Total Block Current Total Block Current Total Block Current Total Block Current
Total
1 339 11 80 21 94 31 94 41 162
2 339 12 80 22 94 32 94 42 162
3 245 13 80 23 94 TIPD 165 43 1
4 80 14 1 80 24 94 34 2 165 44 1
5 80 15 79 25 94 35 163
6 80 16 79 26 94 36 163
7 80 17 79 27 94 37 1 163
8 80 18 79 28 94 38 162
9 80 19 79 29 94 39 162
10 80 TIPU 94 30 94 40 162
--Avg-Util-During--
Storage Total Avail Unavl Entries Average Current Percent Capacity Average Current
Maximum
Time Time Time Time/Unit Status Avail Contents Contents Contents
GRUPD 0.000 174 1.011 AVAIL 100.0 2147483647 0.879 0 4
GRUPC 0.000 174 0.385 AVAIL 100.0 2147483647 0.335 0 3
GRUPU 0.000 337 0.720 AVAIL 100.0 2147483647 1.213 1 4
GRUPP 0.000 245 1.030 AVAIL 100.0 2147483647 1.261 3 4
GRUPT 0.000 335 0.739 AVAIL 100.0 2147483647 1.237 0 5
Random Antithetic Initial Current Sample Chi-Square
Stream Variates Position Position Count Uniformity
1 OFF 100000 100924 924 0.52
Status of Common Storage
9112 bytes available
888 in use
1448 used (max)
Simulation complete. Absolute Clock: 200.0000
Total Block Executions: 5051
Blocks / second: 34024556
Microseconds / Block: 0.03
Elapsed Time Used (Sec)
Pass1: 0.00
Sym/Xref 0.00
Pass2: 0.00
Load/Ctrl: 0.00
Execution: 0.00
Output: 0.00
---------------------
Total: 0.00

S-ar putea să vă placă și