Advertisement
deresuroberto

TS Lab 6

Nov 10th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. hist TABLE M1 100 100 200
  2.  
  3. timpProces1 FUNCTION RN1,D6
  4. .05,10/.18,14/.34,21/.56,32/.85,38/1,45
  5.  
  6. GENERATE (Exponential(1,0,30))
  7. ASSIGN 1,fn$timpProces1
  8.  
  9. proces1 QUEUE qmasina1
  10. SEIZE masina1
  11. ADVANCE p1
  12. RELEASE masina1
  13. DEPART qmasina1
  14.  
  15. ADVANCE 2
  16. TRANSFER 0.2,,reprelucrareProces1
  17.  
  18. proces2 QUEUE qmasina2
  19. SEIZE masina2
  20. ADVANCE 15,6
  21. RELEASE masina2
  22. DEPART qmasina2
  23.  
  24. ADVANCE 2
  25. TRANSFER 0.15,,reprelucrareProces2
  26.  
  27. proces3 QUEUE qmasina3
  28. SEIZE masina3
  29. ADVANCE (Normal(1,24,4))
  30. RELEASE masina3
  31. DEPART qmasina3
  32.  
  33. ADVANCE 2
  34. TRANSFER 0.05,,reprelucrareProces3
  35.  
  36. TABULATE hist
  37. TERMINATE 1
  38.  
  39. reprelucrareProces1 TRANSFER 0.4,,proces1
  40. TERMINATE
  41.  
  42. reprelucrareProces2 TRANSFER 0.4,,proces2
  43. TERMINATE
  44.  
  45. reprelucrareProces3 TRANSFER 0.4,,proces3
  46. TERMINATE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement