Created
October 27, 2014 21:03
-
-
Save staroselskii/a5d209750f5490da2c68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TU5 TABLE M1,0,20,25; | |
FACILITY_1 STORAGE 1; | |
FACILITY_2 STORAGE 1; | |
GENERATE (Exponential(1,0,2)) | |
TRANSFER .5,,FACILITY_2_IN | |
SEIZE FACILITY_1 | |
ADVANCE (Exponential(1,0,10)) | |
RELEASE FACILITY_1 | |
TRANSFER ,TABLE_1 | |
FACILITY_2_IN SELECT L 15,1,1,2,Q,QUEUE_1_FULL; if (QUEUE_1->full) goto FACILITY_2_FULL | |
QUEUE 1 | |
SEIZE FACILITY_2 | |
DEPART 1 | |
ADVANCE (Exponential(1,0,10)) | |
RELEASE FACILITY_2 | |
TABLE_1 TABULATE TU5 | |
SIM_END TERMINATE 1 | |
QUEUE_1_FULL TERMINATE 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment