; ; ; Model statements for module: Station 1 ; 0$ STATION, Headrig to trimmer conveyor midpoint; 610$ DELAY: 0.0,,VA:NEXT(3$); ; ; ; Model statements for module: Exit 1 ; 3$ EXIT: Headrig conveyor,1:NEXT(1$); ; ; ; Model statements for module: Access 1 ; 1$ QUEUE, Access trimmer conveyor from headrig.Queue; ACCESS: Trimmer conveyor,1:NEXT(32$); ; ; ; Model statements for module: Convey 12 ; 32$ CONVEY: Trimmer conveyor,Tailman station; ; ; ; Model statements for module: Station 2 ; 4$ STATION, Headrig to preedger conveyor midpoint; 613$ DELAY: 0.0,,VA:NEXT(5$); ; ; ; Model statements for module: Access 2 ; 5$ QUEUE, Access preedger conveyor.Queue; ACCESS: Preedger conveyor,2:NEXT(7$); ; ; ; Model statements for module: Exit 2 ; 7$ EXIT: Headrig conveyor,1:NEXT(8$); ; ; ; Model statements for module: Convey 2 ; 8$ CONVEY: Preedger conveyor,Preedger conveyo to edger conveyor midpoint; ; ; ; Model statements for module: Station 3 ; 9$ STATION, Preedger conveyo to edger conveyor midpoint; 616$ DELAY: 0.0,,VA:NEXT(10$); ; ; ; Model statements for module: Access 3 ; 10$ QUEUE, Access edger conveyor.Queue; ACCESS: Edger conveyor,1:NEXT(12$); ; ; ; Model statements for module: Exit 3 ; 12$ EXIT: Preedger conveyor,2:NEXT(13$); ; ; ; Model statements for module: Convey 3 ; 13$ CONVEY: Edger conveyor,Edger conveyor and edger holding area midpoint; ; ; ; Model statements for module: Station 4 ; 14$ STATION, Post edger conveyor to trimmer conveyor midpoint; 619$ DELAY: 0.0,,VA:NEXT(73$); ; ; ; Model statements for module: Exit 36 ; 73$ EXIT: Postedger conveyor,1:NEXT(83$); ; ; ; Model statements for module: Decide 171 ; 83$ BRANCH, 1: If,NQ(Access ladder conveyor.Queue) >= UNIF(20,25),620$,Yes: Else,621$,Yes; 620$ ASSIGN: Decide if holding area is full.NumberOut True=Decide if holding area is full.NumberOut True + 1 :NEXT(84$); 621$ ASSIGN: Decide if holding area is full.NumberOut False=Decide if holding area is full.NumberOut False + 1 :NEXT(85$); ; ; ; Model statements for module: Stop 10 ; 84$ STOP: Second trimmer conveyor:NEXT(15$); ; ; ; Model statements for module: Access 4 ; 15$ QUEUE, Access second trimmer conveyor from post edger conveyor.Queue; ACCESS: Second trimmer conveyor,1:NEXT(17$); ; ; ; Model statements for module: Convey 4 ; 17$ CONVEY: Second trimmer conveyor,Beginning of ladder conveyor; ; ; ; Model statements for module: Start 25 ; 85$ START: Second trimmer conveyor:NEXT(15$); ; ; ; Model statements for module: Station 6 ; 18$ STATION, Post gangsaw to trimmer conveyor midpoint; 624$ DELAY: 0.0,,VA:NEXT(19$); ; ; ; Model statements for module: Access 5 ; 19$ QUEUE, AccessTrimmer conveyor.Queue; ACCESS: Trimmer conveyor,1:NEXT(21$); ; ; ; Model statements for module: Exit 5 ; 21$ EXIT: Postgangsaw conveyor,10:NEXT(22$); ; ; ; Model statements for module: Convey 5 ; 22$ CONVEY: Trimmer conveyor,Enter 17.Station; ; ; ; Model statements for module: Station 10 ; 23$ STATION, Edger conveyor and edger holding area midpoint; 627$ DELAY: 0.0,,VA:NEXT(24$); ; ; ; Model statements for module: Access 7 ; 24$ QUEUE, Access edger holding area.Queue; ACCESS: Edger holding area conveyor,1:NEXT(26$); ; ; ; Model statements for module: Exit 7 ; 26$ EXIT: Edger conveyor,1:NEXT(27$); ; ; ; Model statements for module: Convey 8 ; 27$ CONVEY: Edger holding area conveyor,Preedger station; ; ; ; Model statements for module: Station 11 ; 28$ STATION, Headrig to pregangsaw conveyor midpoint; 630$ DELAY: 0.0,,VA:NEXT(40$); ; ; ; Model statements for module: Decide 27 ; 40$ BRANCH, 1: If,Entity.Type==13 diam,29$,Yes: If,Entity.Type==14 diam,29$,Yes: If,Entity.Type==15 diam,29$,Yes: If,Entity.Type==19 diam,29$,Yes: If,Entity.Type==21 diam,29$,Yes: Else,57$,Yes; ; ; ; Model statements for module: Decide 52 ; 57$ BRANCH, 1: If,Log type==1,42$,Yes: If,Log type==2,42$,Yes: If,Log type==3,42$,Yes: If,Log type==4,42$,Yes: If,Log type==5,42$,Yes: If,Log type==6,42$,Yes: If,Log type==7,42$,Yes: If,Log type==8,42$,Yes: If,Log type==9,42$,Yes: If,Log type==10,42$,Yes: If,Log type==11,42$,Yes: If,Log type==12,42$,Yes: If,Log type==13,92$,Yes: If,Log type==14,79$,Yes: Else,91$,Yes; ; ; ; Model statements for module: Dispose 47 ; 91$ ASSIGN: Dispose 47.NumberOut=Dispose 47.NumberOut + 1; 635$ DISPOSE: Yes; ; ; ; Model statements for module: Leave 25 ; 42$ DELAY: 0.00,,VA:NEXT(641$); 641$ DELAY: 0.000000000000000,,VA:NEXT(645$); 645$ CONVEY: ,Headrig to preedger conveyor midpoint; ; ; ; Model statements for module: Decide 194 ; 92$ BRANCH, 1: If,Entity.Type==FAS,93$,Yes: If,Entity.Type==1 COM,94$,Yes: Else,95$,Yes; ; ; ; Model statements for module: Decide 200 ; 95$ BRANCH, 1: If,Headrig lumber volume==14,42$,Yes: Else,41$,Yes; ; ; ; Model statements for module: Leave 24 ; 41$ DELAY: 0.00,,VA:NEXT(665$); 665$ DELAY: 0.000000000000000,,VA:NEXT(669$); 669$ CONVEY: ,Headrig to trimmer conveyor midpoint; ; ; ; Model statements for module: Decide 198 ; 93$ BRANCH, 1: If,Headrig lumber volume==5,42$,Yes: If,Headrig lumber volume==7,42$,Yes: If,Headrig lumber volume==8,42$,Yes: Else,42$,Yes; ; ; ; Model statements for module: Decide 199 ; 94$ BRANCH, 1: If,Headrig lumber volume==2,42$,Yes: If,Headrig lumber volume==3,42$,Yes: If,Headrig lumber volume==4,42$,Yes: If,Headrig lumber volume==5,42$,Yes: If,Headrig lumber volume==12,42$,Yes: Else,41$,Yes; ; ; ; Model statements for module: Decide 166 ; 79$ BRANCH, 1: If,Entity.Type==FAS,80$,Yes: If,Entity.Type==1 COM,81$,Yes: Else,82$,Yes; ; ; ; Model statements for module: Decide 169 ; 82$ BRANCH, 1: If,Headrig lumber volume==7,42$,Yes: If,Headrig lumber volume==10,42$,Yes: Else,41$,Yes; ; ; ; Model statements for module: Decide 167 ; 80$ BRANCH, 1: If,Headrig lumber volume==0,42$,Yes: Else,42$,Yes; ; ; ; Model statements for module: Decide 168 ; 81$ BRANCH, 1: If,Headrig lumber volume==4,42$,Yes: If,Headrig lumber volume==6,42$,Yes: If,Headrig lumber volume==7,42$,Yes: If,Headrig lumber volume==10,42$,Yes: Else,41$,Yes; ; ; ; Model statements for module: Access 8 ; 29$ QUEUE, Access pregangsaw conveyor.Queue; ACCESS: Pregangsaw conveyor,1:NEXT(65$); ; ; ; Model statements for module: Delay 28 ; 65$ DELAY: SecondsToBaseTime(0.57 + LOGN(0.446, 0.344, stream11)),,VA:NEXT(64$); ; ; ; Model statements for module: ReadWrite 10 ; 64$ WRITE, Costing worksheet,RECORDSET(When log leaves): tnow:NEXT(62$); ; ; ; Model statements for module: Delay 27 ; 62$ DELAY: SecondsToBaseTime(2.12 + WEIB(1.86, 3.16, stream9)),,VA:NEXT(61$); ; ; ; Model statements for module: Release 9 ; 61$ RELEASE: sawyer,1:NEXT(87$); ; ; ; Model statements for module: Assign 103 ; 87$ ASSIGN: Cant headrig cycle time=TNOW - Beginning of headrig cycle time:NEXT(63$); ; ; ; Model statements for module: Record 16 ; 63$ TALLY: TNOW after headrig,TNOW,1:NEXT(31$); ; ; ; Model statements for module: Convey 9 ; 31$ CONVEY: Pregangsaw conveyor,Pregangsaw station; ; ; ; Model statements for module: Enter 18 ; 35$ STATION, Tailman drop off point.Station; 692$ DELAY: 0.000000000000000,,VA:NEXT(694$); 694$ FREE: Tailman:NEXT(33$); ; ; ; Model statements for module: Access 10 ; 33$ QUEUE, Access edger conveyor from tailman.Queue; ACCESS: Edger conveyor,1:NEXT(36$); ; ; ; Model statements for module: Convey 15 ; 36$ CONVEY: Edger conveyor,Edger conveyor and edger holding area midpoint; ; ; ; Model statements for module: Station 12 ; 37$ STATION, Pregangsaw station; 705$ DELAY: 0.0,,VA:NEXT(66$); ; ; ; Model statements for module: Hold 60 ; 66$ QUEUE, Hold for gangsaw.Queue; SCAN: Gangsaw.WIP == 0 && STATE(Gangsaw operator) <> -4 && NEC(Trimmer conveyor) <= 10:NEXT(68$); ; ; ; Model statements for module: Seize 7 ; 68$ QUEUE, Seize gangsaw operator.Queue; SEIZE, 2,VA: Gangsaw operator,1:NEXT(707$); 707$ DELAY: 0.0,,VA:NEXT(88$); ; ; ; Model statements for module: Assign 104 ; 88$ ASSIGN: Time stamp at beginning of gangsaw=TNOW:NEXT(38$); ; ; ; Model statements for module: Exit 15 ; 38$ EXIT: Pregangsaw conveyor,1:NEXT(39$); ; ; ; Model statements for module: Leave 23 ; 39$ DELAY: 0.00,,VA:NEXT(713$); 713$ DELAY: 0.000000000000000,,VA:NEXT(714$); 714$ ROUTE: 0.000000000000000,Gangsaw station.Station; ; ; ; Model statements for module: Station 36 ; 44$ STATION, Lumber yard; 730$ DELAY: 0.0,,VA:NEXT(45$); ; ; ; Model statements for module: Free 2 ; 45$ FREE: Lumber forklift:NEXT(60$); ; ; ; Model statements for module: Assign 81 ; 60$ ASSIGN: Number of boards in pack of lumber=0:NEXT(43$); ; ; ; Model statements for module: Dispose 41 ; 43$ ASSIGN: Dispose 41.NumberOut=Dispose 41.NumberOut + 1; 731$ DISPOSE: Yes; ; ; ; Model statements for module: Enter 38 ; 47$ STATION, Edger station.Station; 732$ DELAY: 0.000000000000000,,NVA:NEXT(738$); 738$ DELAY: 0.000,,VA:NEXT(77$); ; ; ; Model statements for module: ReadWrite 18 ; 77$ WRITE, Costing worksheet,RECORDSET(EdgerTNOW): TNOW:NEXT(46$); ; ; ; Model statements for module: Process 15 ; 46$ ASSIGN: Edger.NumberIn=Edger.NumberIn + 1: Edger.WIP=Edger.WIP+1; 772$ STACK, 1:Save:NEXT(744$); 744$ DELAY: SecondsToBaseTime(4.42 + GAMM(0.366, 4.31, stream8)),,VA:NEXT(753$); 753$ TALLY: Edger.TotalTimePerEntity,Diff.StartTime,1; 754$ TALLY: Edger.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 777$ ASSIGN: Edger.VATime=Edger.VATime + Diff.VATime; 778$ TALLY: Edger.VATimePerEntity,Diff.VATime,1; 782$ ASSIGN: Edger.VACost=Edger.VACost + Diff.VACost; 779$ TALLY: Edger.VACostPerEntity,Diff.VACost,1; 792$ STACK, 1:Destroy:NEXT(791$); 791$ ASSIGN: Edger.NumberOut=Edger.NumberOut + 1: Edger.WIP=Edger.WIP-1:NEXT(86$); ; ; ; Model statements for module: Assign 96 ; 86$ ASSIGN: Edger machine center=500: Edger volume=Headrig lumber volume + Gangsaw lumber volume:NEXT(59$); ; ; ; Model statements for module: Exit 33 ; 59$ EXIT: Edger holding area conveyor,1:NEXT(70$); ; ; ; Model statements for module: Access 24 ; 70$ QUEUE, Access postedger conveyor.Queue; ACCESS: Postedger conveyor,1:NEXT(48$); ; ; ; Model statements for module: Release 7 ; 48$ RELEASE: Edger operator,1:NEXT(78$); ; ; ; Model statements for module: ReadWrite 19 ; 78$ WRITE, Costing worksheet,RECORDSET(EdgerTAFTER): TNOW:NEXT(90$); ; ; ; Model statements for module: Assign 109 ; 90$ ASSIGN: Total edger cycle time=TNOW - Beginning of edger time:NEXT(72$); ; ; ; Model statements for module: Convey 33 ; 72$ CONVEY: Postedger conveyor,Post edger conveyor to trimmer conveyor midpoint; ; ; ; Model statements for module: Station 40 ; 49$ STATION, Beginning of ladder conveyor; 796$ DELAY: 0.0,,VA:NEXT(50$); ; ; ; Model statements for module: Exit 27 ; 50$ EXIT: Second trimmer conveyor,1:NEXT(56$); ; ; ; Model statements for module: Route 2 ; 56$ ROUTE: 0.016666666666667,Bottom of ladder conveyor; ; ; ; Model statements for module: Station 44 ; 55$ STATION, Bottom of ladder conveyor; 799$ DELAY: 0.0,,VA:NEXT(51$); ; ; ; Model statements for module: Assign 48 ; 51$ ASSIGN: Rank=ANINT(NQ(Hold at bottom of ladder conveyor.Queue)*RA(1)):NEXT(52$); ; ; ; Model statements for module: Access 16 ; 52$ QUEUE, Access ladder conveyor.Queue; ACCESS: Ladder conveyor,1:NEXT(54$); ; ; ; Model statements for module: Convey 26 ; 54$ CONVEY: Ladder conveyor,Trimmer station.Station; ; ; ; Model statements for module: Station 47 ; 58$ STATION, Preedger station; 802$ DELAY: 0.0,,VA:NEXT(74$); ; ; ; Model statements for module: Seize 9 ; 74$ QUEUE, Seize edger operator.Queue; SEIZE, 2,VA: Edger operator,1:NEXT(804$); 804$ DELAY: 0.0,,VA:NEXT(89$); ; ; ; Model statements for module: Assign 108 ; 89$ ASSIGN: Beginning of edger time=TNOW:NEXT(76$); ; ; ; Model statements for module: Route 7 ; 76$ ROUTE: 0.000000000000000,Edger station.Station; ; ; ; Model statements for module: Create 2 ; 805$ CREATE, 1,SecondstoBaseTime(0.0),Entity 1:SecondstoBaseTime(1),20:NEXT(806$); 806$ ASSIGN: Create 2.NumberOut=Create 2.NumberOut + 1:NEXT(98$); ; ; ; Model statements for module: Station 22 ; 98$ STATION, Log pile; 811$ DELAY: 0.0,,VA:NEXT(111$); ; ; ; Model statements for module: Batch 9 ; 111$ QUEUE, Batch 9.Queue; 812$ GROUP, ,Temporary:10,Last:NEXT(813$); 813$ ASSIGN: Batch 9.NumberOut=Batch 9.NumberOut + 1:NEXT(141$); ; ; ; Model statements for module: Request 10 ; 141$ QUEUE, Request 10.Queue; REQUEST, 1:Loader(CYC):NEXT(143$); ; ; ; Model statements for module: Delay 17 ; 143$ DELAY: SecondsToBaseTime(TRIA( 30 , 40 , 50)),,Transfer:NEXT(144$); ; ; ; Model statements for module: Transport 15 ; 144$ TRANSPORT: Loader,Staging area; ; ; ; Model statements for module: Station 23 ; 99$ STATION, Debarker and junk conveyor midpoint; 817$ DELAY: 0.0,,VA:NEXT(103$); ; ; ; Model statements for module: Access 13 ; 103$ QUEUE, Access debarker conveyor.Queue; ACCESS: Debarker conveyor,1:NEXT(168$); ; ; ; Model statements for module: Decide 272 ; 168$ BRANCH, 1: If,Dummy>=1,818$,Yes: Else,819$,Yes; 818$ ASSIGN: Decide on dummy variable II.NumberOut True=Decide on dummy variable II.NumberOut True + 1 :NEXT(180$); 819$ ASSIGN: Decide on dummy variable II.NumberOut False=Decide on dummy variable II.NumberOut False + 1 :NEXT(169$); ; ; ; Model statements for module: Assign 218 ; 180$ ASSIGN: Log number=ANINT(IDENT *NORM(1,1000) ):NEXT(147$); ; ; ; Model statements for module: Convey 32 ; 147$ CONVEY: Debarker conveyor,Headrig station.Station; ; ; ; Model statements for module: Release 19 ; 169$ RELEASE: Load logs onto debarker conveyor,1:NEXT(105$); ; ; ; Model statements for module: Exit 16 ; 105$ EXIT: Third metal detector conveyor,1:NEXT(147$); ; ; ; Model statements for module: Station 27 ; 106$ STATION, Metal detector; 822$ DELAY: 0.0,,VA:NEXT(108$); ; ; ; Model statements for module: Process 13 ; 108$ ASSIGN: Process metal detector.NumberIn=Process metal detector.NumberIn + 1: Process metal detector.WIP=Process metal detector.WIP+1; 852$ STACK, 1:Save:NEXT(826$); 826$ QUEUE, Process metal detector.Queue; 825$ SEIZE, 2,VA: Metal detection,1:NEXT(824$); 824$ DELAY: 0.000000000000000,,VA:NEXT(867$); 867$ ASSIGN: Process metal detector.WaitTime=Process metal detector.WaitTime + Diff.WaitTime; 831$ TALLY: Process metal detector.WaitTimePerEntity,Diff.WaitTime,1; 868$ ASSIGN: Process metal detector.WaitCost=Process metal detector.WaitCost + Diff.WaitCost; 829$ TALLY: Process metal detector.WaitCostPerEntity,Diff.WaitCost,1; 833$ TALLY: Process metal detector.TotalTimePerEntity,Diff.StartTime,1; 834$ TALLY: Process metal detector.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 857$ ASSIGN: Process metal detector.VATime=Process metal detector.VATime + Diff.VATime; 858$ TALLY: Process metal detector.VATimePerEntity,Diff.VATime,1; 862$ ASSIGN: Process metal detector.VACost=Process metal detector.VACost + Diff.VACost; 859$ TALLY: Process metal detector.VACostPerEntity,Diff.VACost,1; 823$ RELEASE: Metal detection,1; 872$ STACK, 1:Destroy:NEXT(871$); 871$ ASSIGN: Process metal detector.NumberOut=Process metal detector.NumberOut + 1: Process metal detector.WIP=Process metal detector.WIP-1:NEXT(133$); ; ; ; Model statements for module: Access 19 ; 133$ QUEUE, Access third metal detector conveyor.Queue; ACCESS: Third metal detector conveyor,1:NEXT(129$); ; ; ; Model statements for module: Exit 28 ; 129$ EXIT: First metal detector conveyor,1:NEXT(107$); ; ; ; Model statements for module: Convey 23 ; 107$ CONVEY: Third metal detector conveyor,End of third metal detector conveyor; ; ; ; Model statements for module: Station 37 ; 118$ STATION, Beginning of log deck; 876$ DELAY: 0.0,,VA:NEXT(123$); ; ; ; Model statements for module: Delay 14 ; 123$ DELAY: SecondsToBaseTime(TRIA( 15 ,30 ,45)),,VA:NEXT(149$); ; ; ; Model statements for module: Hold 61 ; 149$ QUEUE, Hold 61.Queue; SCAN: (NEA(Log deck) + NEC(Log deck) )<= UNIF(5,10):NEXT(148$); ; ; ; Model statements for module: Free 11 ; 148$ FREE: Loader:NEXT(112$); ; ; ; Model statements for module: Separate 28 ; 112$ SPLIT: *:NEXT(877$); 877$ ASSIGN: Separate 28.NumberOut Orig=Separate 28.NumberOut Orig + 1:NEXT(97$); ; ; ; Model statements for module: Assign 42 ; 97$ ASSIGN: Log type= DISC(0.07143, 1, 0.14286, 2, 0.21429, 3, 0.28572, 4, 0.35715, 5, 0.42858, 6, 0.50001, 7, 0.57144, 8, 0.64287, 9, 0.7143, 10, 0.78573, 11, 0.85716, 12, 0.92859, 13, 1, 14): Entity.Type=Log diameter (log type): Entity.Picture=Log pictures(Log type): Volume=Log volume (log type):NEXT(146$); ; ; ; Model statements for module: Separate 34 ; 146$ DUPLICATE, 100 - 0: 1,882$,0:NEXT(881$); 881$ ASSIGN: Separate 34.NumberOut Orig=Separate 34.NumberOut Orig + 1:NEXT(100$); 882$ ASSIGN: Separate 34.NumberOut Dup=Separate 34.NumberOut Dup + 1:NEXT(98$); ; ; ; Model statements for module: Access 11 ; 100$ QUEUE, Access log deck.Queue; ACCESS: Log deck,1:NEXT(151$); ; ; ; Model statements for module: Assign 93 ; 151$ ASSIGN: Log number=ANINT(IDENT *NORM(1,1000) ):NEXT(115$); ; ; ; Model statements for module: Decide 39 ; 115$ BRANCH, 1: If,STATE(Debarker operator) == -3 || -4,883$,Yes: Else,884$,Yes; 883$ ASSIGN: Decide if debarker operator is on break.NumberOut True= Decide if debarker operator is on break.NumberOut True + 1:NEXT(116$); 884$ ASSIGN: Decide if debarker operator is on break.NumberOut False= Decide if debarker operator is on break.NumberOut False + 1:NEXT(102$); ; ; ; Model statements for module: Hold 36 ; 116$ QUEUE, Hold 36.Queue; SCAN: STATE(Debarker operator) == -1 || STATE(Debarker operator) == -2:NEXT(102$); ; ; ; Model statements for module: Convey 19 ; 102$ CONVEY: Log deck,Debarker; ; ; ; Model statements for module: Station 41 ; 124$ STATION, Beginning of metal detector conveyor; 887$ DELAY: 0.0,,VA:NEXT(125$); ; ; ; Model statements for module: Access 17 ; 125$ QUEUE, Access first metal detector conveyor.Queue; ACCESS: First metal detector conveyor,1:NEXT(113$); ; ; ; Model statements for module: Release 5 ; 113$ RELEASE: Debarker operator,1:NEXT(153$); ; ; ; Model statements for module: Assign 99 ; 153$ ASSIGN: Total debarker cycle tiem=TNOW - Beginning of cycle time befor debarker:NEXT(127$); ; ; ; Model statements for module: Convey 27 ; 127$ CONVEY: First metal detector conveyor,Beginning of second metal detector conveyor; ; ; ; Model statements for module: Station 42 ; 128$ STATION, Beginning of second metal detector conveyor; 890$ DELAY: 0.0,,VA:NEXT(130$); ; ; ; Model statements for module: Access 18 ; 130$ QUEUE, Access second metal detector conveyor.Queue; ACCESS: Second metal detector conveyor,1:NEXT(132$); ; ; ; Model statements for module: Convey 28 ; 132$ CONVEY: Second metal detector conveyor,Metal detector; ; ; ; Model statements for module: Station 43 ; 136$ STATION, Staging area; 893$ DELAY: 0.0,,VA:NEXT(145$); ; ; ; Model statements for module: Free 9 ; 145$ FREE: Loader:NEXT(137$); ; ; ; Model statements for module: Separate 32 ; 137$ SPLIT: *:NEXT(894$); 894$ ASSIGN: Separate 32.NumberOut Orig=Separate 32.NumberOut Orig + 1:NEXT(138$); ; ; ; Model statements for module: Hold 45 ; 138$ QUEUE, Hold 45.Queue; SCAN: (NEA(Log deck) + NEC(Log deck) )<= UNIF(5,13):NEXT(140$); ; ; ; Model statements for module: Batch 13 ; 140$ QUEUE, Batch 13.Queue; 897$ GROUP, ,Temporary:3,Last:NEXT(898$); 898$ ASSIGN: Batch 13.NumberOut=Batch 13.NumberOut + 1:NEXT(120$); ; ; ; Model statements for module: Request 9 ; 120$ QUEUE, Request 9.Queue; REQUEST, 1:Loader(CYC):NEXT(122$); ; ; ; Model statements for module: Delay 13 ; 122$ DELAY: SecondsToBaseTime(TRIA( 30 , 40 , 50 )),,Other:NEXT(119$); ; ; ; Model statements for module: Transport 14 ; 119$ TRANSPORT: Loader,Beginning of log deck; ; ; ; Model statements for module: Station 49 ; 156$ STATION, Debarker; 902$ DELAY: 0.0,,VA:NEXT(154$); ; ; ; Model statements for module: Seize 11 ; 154$ QUEUE, Seize debarker operator.Queue; SEIZE, 2,Other: Debarker operator,1:NEXT(904$); 904$ DELAY: 0.0,,VA:NEXT(114$); ; ; ; Model statements for module: Exit 23 ; 114$ EXIT: Log deck,1:NEXT(152$); ; ; ; Model statements for module: Assign 98 ; 152$ ASSIGN: Beginning of cycle time befor debarker=TNOW:NEXT(96$); ; ; ; Model statements for module: Process 7 ; 96$ ASSIGN: Debarker.NumberIn=Debarker.NumberIn + 1: Debarker.WIP=Debarker.WIP+1; 934$ STACK, 1:Save:NEXT(906$); 906$ DELAY: SecondsToBaseTime(12 + LOGN(17.3, 28.5, stream4)),,VA:NEXT(915$); 915$ TALLY: Debarker.TotalTimePerEntity,Diff.StartTime,1; 916$ TALLY: Debarker.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 939$ ASSIGN: Debarker.VATime=Debarker.VATime + Diff.VATime; 940$ TALLY: Debarker.VATimePerEntity,Diff.VATime,1; 944$ ASSIGN: Debarker.VACost=Debarker.VACost + Diff.VACost; 941$ TALLY: Debarker.VACostPerEntity,Diff.VACost,1; 954$ STACK, 1:Destroy:NEXT(953$); 953$ ASSIGN: Debarker.NumberOut=Debarker.NumberOut + 1: Debarker.WIP=Debarker.WIP-1:NEXT(157$); ; ; ; Model statements for module: Hold 62 ; 157$ QUEUE, Hold until first metal detector conveyor is empty.Queue; SCAN: (NEA(First metal detector conveyor) + NEC(First metal detector conveyor) )< 1:NEXT(135$); ; ; ; Model statements for module: Route 1 ; 135$ ROUTE: SecondsToBaseTime(TRIA(2.09, 3.43, 4)),Beginning of metal detector conveyor; ; ; ; Model statements for module: Station 50 ; 159$ STATION, End of third metal detector conveyor; 958$ DELAY: 0.0,,VA:NEXT(160$); ; ; ; Model statements for module: Decide 271 ; 160$ BRANCH, 1: With,99/100,959$,Yes: Else,960$,Yes; 959$ ASSIGN: Decide if log will not be rejected.NumberOut True= Decide if log will not be rejected.NumberOut True + 1:NEXT(165$); 960$ ASSIGN: Decide if log will not be rejected.NumberOut False= Decide if log will not be rejected.NumberOut False + 1:NEXT(109$); ; ; ; Model statements for module: Seize 12 ; 165$ QUEUE, Seize mechanical arms.Queue; SEIZE, 2,Other: Load logs onto debarker conveyor,1:NEXT(962$); 962$ DELAY: 0.0,,VA:NEXT(163$); ; ; ; Model statements for module: Exit 39 ; 163$ EXIT: Second metal detector conveyor,1:NEXT(164$); ; ; ; Model statements for module: Process 16 ; 164$ ASSIGN: Load log onto debarker conveyor.NumberIn=Load log onto debarker conveyor.NumberIn + 1: Load log onto debarker conveyor.WIP=Load log onto debarker conveyor.WIP+1; 992$ STACK, 1:Save:NEXT(964$); 964$ DELAY: SecondsToBaseTime(TRIA(2.09, 3.43, 4)),,VA:NEXT(973$); 973$ TALLY: Load log onto debarker conveyor.TotalTimePerEntity,Diff.StartTime,1; 974$ TALLY: Load log onto debarker conveyor.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 997$ ASSIGN: Load log onto debarker conveyor.VATime=Load log onto debarker conveyor.VATime + Diff.VATime; 998$ TALLY: Load log onto debarker conveyor.VATimePerEntity,Diff.VATime,1; 1002$ ASSIGN: Load log onto debarker conveyor.VACost=Load log onto debarker conveyor.VACost + Diff.VACost; 999$ TALLY: Load log onto debarker conveyor.VACostPerEntity,Diff.VACost,1; 1012$ STACK, 1:Destroy:NEXT(1011$); 1011$ ASSIGN: Load log onto debarker conveyor.NumberOut=Load log onto debarker conveyor.NumberOut + 1: Load log onto debarker conveyor.WIP=Load log onto debarker conveyor.WIP-1:NEXT(167$); ; ; ; Model statements for module: Route 8 ; 167$ ROUTE: 0.000000000000000,Debarker and junk conveyor midpoint; ; ; ; Model statements for module: Access 15 ; 109$ QUEUE, Access junk conveyor.Queue; ACCESS: Junk conveyor,1:NEXT(161$); ; ; ; Model statements for module: Exit 38 ; 161$ EXIT: Second metal detector conveyor,1:NEXT(170$); ; ; ; Model statements for module: Exit 41 ; 170$ EXIT: Third metal detector conveyor,1:NEXT(162$); ; ; ; Model statements for module: Convey 35 ; 162$ CONVEY: Junk conveyor,End of junk conveyor; ; ; ; Model statements for module: Station 51 ; 171$ STATION, End of junk conveyor; 1016$ DELAY: 0.0,,VA:NEXT(175$); ; ; ; Model statements for module: Exit 42 ; 175$ EXIT: Junk conveyor,1:NEXT(178$); ; ; ; Model statements for module: Batch 15 ; 178$ QUEUE, Batch 15.Queue; 1017$ GROUP, ,Temporary:10,Last:NEXT(1018$); 1018$ ASSIGN: Batch 15.NumberOut=Batch 15.NumberOut + 1:NEXT(176$); ; ; ; Model statements for module: Leave 43 ; 176$ DELAY: 0.00,,VA:NEXT(1032$); 1032$ QUEUE, Transport to junk log pile.Queue; 1036$ REQUEST, 1:Loader(CYC); 1024$ DELAY: SecondsToBaseTime(TRIA( 10 , 30 , 60 )),,VA:NEXT(1026$); 1026$ TRANSPORT: ,Junk log pile; ; ; ; Model statements for module: Station 52 ; 172$ STATION, Junk log pile; 1041$ DELAY: 0.0,,VA:NEXT(177$); ; ; ; Model statements for module: Delay 30 ; 177$ DELAY: 0.000000000000000,,Other:NEXT(173$); ; ; ; Model statements for module: Free 12 ; 173$ FREE: Loader:NEXT(179$); ; ; ; Model statements for module: Separate 50 ; 179$ SPLIT::NEXT(1042$); 1042$ ASSIGN: Separate 50.NumberOut Orig=Separate 50.NumberOut Orig + 1:NEXT(174$); ; ; ; Model statements for module: Dispose 49 ; 174$ ASSIGN: Dispose 49.NumberOut=Dispose 49.NumberOut + 1; 1045$ DISPOSE: Yes; ; ; ; Model statements for module: Enter 12 ; 181$ STATION, Headrig station.Station; 1046$ DELAY: SecondsToBaseTime(TRIA( 5 , 30 , 45)),,VA:NEXT(1052$); 1052$ DELAY: 0.000,,VA:NEXT(224$); ; ; ; Model statements for module: Seize 5 ; 224$ QUEUE, Seize sawyer.Queue; SEIZE, 2,VA: sawyer,1:NEXT(1058$); 1058$ DELAY: 0.0,,VA:NEXT(228$); ; ; ; Model statements for module: Record 19 ; 228$ TALLY: TNOW at beginning of headrig,TNOW,1:NEXT(239$); ; ; ; Model statements for module: Assign 100 ; 239$ ASSIGN: Beginning of headrig cycle time=TNOW:NEXT(229$); ; ; ; Model statements for module: ReadWrite 12 ; 229$ WRITE, Costing worksheet,RECORDSET(When log arrives): tnow:NEXT(233$); ; ; ; Model statements for module: Decide 159 ; 233$ BRANCH, 1: If,Log type==1,234$,Yes: If,Log type==2,235$,Yes: If,Log type==3,236$,Yes: Else,237$,Yes; ; ; ; Model statements for module: Record 29 ; 237$ COUNT: Record no. of 19 diam logs,1:NEXT(218$); ; ; ; Model statements for module: Record 12 ; 218$ COUNT: Record number of logs in system,1:NEXT(210$); ; ; ; Model statements for module: Decide 42 ; 210$ BRANCH, 1: If,Log type==1,241$,Yes: If,Log type==2,212$,Yes: If,Log type==3,211$,Yes: If,Log type==4,243$,Yes: If,Log type==5,244$,Yes: If,Log type==6,245$,Yes: If,Log type==7,246$,Yes: If,Log type==8,247$,Yes: If,Log type==9,248$,Yes: If,Log type==10,249$,Yes: If,Log type==11,250$,Yes: If,Log type==12,251$,Yes: If,Log type==13,252$,Yes: If,Log type==14,253$,Yes: Else,242$,Yes; ; ; ; Model statements for module: Dispose 46 ; 242$ ASSIGN: Dispose 46.NumberOut=Dispose 46.NumberOut + 1; 1063$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 112 ; 241$ ASSIGN: cuts=DISC(0.5, 4, 1, 5):NEXT(232$); ; ; ; Model statements for module: Delay 29 ; 232$ DELAY: SecondsToBaseTime(1 + LOGN(2.78, 2, stream17)),,VA:NEXT(226$); ; ; ; Model statements for module: Decide 154 ; 226$ BRANCH, 1: If,Dummy>=1,1064$,Yes: Else,1065$,Yes; 1064$ ASSIGN: Decide on dummy variable.NumberOut True=Decide on dummy variable.NumberOut True + 1:NEXT(202$); 1065$ ASSIGN: Decide on dummy variable.NumberOut False=Decide on dummy variable.NumberOut False + 1:NEXT(202$); ; ; ; Model statements for module: Exit 20 ; 202$ EXIT: Debarker conveyor,1:NEXT(191$); ; ; ; Model statements for module: Delay 7 ; 191$ DELAY: SecondsToBaseTime(1.81 + LOGN(0.75, 0.378, stream14)),,VA:NEXT(219$); ; ; ; Model statements for module: Hold 57 ; 219$ QUEUE, Hold 57.Queue; SCAN: NEC(Headrig conveyor) <= 2:NEXT(208$); ; ; ; Model statements for module: Hold 38 ; 208$ QUEUE, Hold 38.Queue; SCAN: NQ(Convey to pregangsaw conveyor.Queue) == 0:NEXT(183$); ; ; ; Model statements for module: Delay 5 ; 183$ DELAY: SecondsToBaseTime(2 + GAMM(0.419, 3.48, stream12)),,VA:NEXT(184$); ; ; ; Model statements for module: Assign 36 ; 184$ ASSIGN: passes=passes + 1:NEXT(185$); ; ; ; Model statements for module: Separate 20 ; 185$ DUPLICATE, 100 - 100: 1,1068$,100:NEXT(1067$); 1067$ ASSIGN: Separate 20.NumberOut Orig=Separate 20.NumberOut Orig + 1:NEXT(182$); 1068$ ASSIGN: Separate 20.NumberOut Dup=Separate 20.NumberOut Dup + 1:NEXT(189$); ; ; ; Model statements for module: Decide 22 ; 182$ BRANCH, 1: If,cuts==0,198$,Yes: If,sawlines == cuts,198$,Yes: If,90 degree rotations == No of log rotations && Sawlines == cuts,198$,Yes: Else,193$,Yes; ; ; ; Model statements for module: Decide 25 ; 193$ BRANCH, 1: If,Sawlines == 2 && passes == 3,194$,Yes: If,Log type == 13 || 14&& Sawlines >= 2 && passes == 3 && No of log rotations < 3,194$,Yes: Else,192$,Yes; ; ; ; Model statements for module: Delay 8 ; 192$ DELAY: SecondsToBaseTime(1 + GAMM(0.136,6.18, stream15)),,VA:NEXT(221$); ; ; ; Model statements for module: Assign 77 ; 221$ ASSIGN: Sawlines=Sawlines +1:NEXT(219$); ; ; ; Model statements for module: Assign 39 ; 194$ ASSIGN: No of log rotations=No of log rotations + 1:NEXT(195$); ; ; ; Model statements for module: Assign 40 ; 195$ ASSIGN: Slabs=Slabs + 1:NEXT(222$); ; ; ; Model statements for module: Assign 78 ; 222$ ASSIGN: passes=0:NEXT(223$); ; ; ; Model statements for module: Delay 22 ; 223$ DELAY: SecondsToBaseTime(1.81 + LOGN(0.75, 0.378, stream16)),,VA:NEXT(190$); ; ; ; Model statements for module: Delay 6 ; 190$ DELAY: SecondsToBaseTime(1 + ERLA(0.267, 6, stream13)),,VA:NEXT(191$); ; ; ; Model statements for module: Hold 4 ; 198$ QUEUE, Hold for gangsaw operator.Queue; SCAN: NEA(Pregangsaw conveyor) <= 4:NEXT(227$); ; ; ; Model statements for module: Record 17 ; 227$ COUNT: Record log volume,Volume:NEXT(231$); ; ; ; Model statements for module: Route 6 ; 231$ ROUTE: SecondsToBaseTime(1.81 + LOGN(0.75,0.378)),Headrig to pregangsaw conveyor midpoint; ; ; ; Model statements for module: Decide 24 ; 189$ BRANCH, 1: If,Sawlines==0,197$,Yes: If,Sawlines == 0 && Slabs == 1,197$,Yes: If,passes == 1 && Sawlines >= 2,197$,Yes: Else,201$,Yes; ; ; ; Model statements for module: Assign 43 ; 201$ ASSIGN: passes=0:NEXT(196$); ; ; ; Model statements for module: Assign 41 ; 196$ ASSIGN: Slabs=0:NEXT(254$); ; ; ; Model statements for module: Decide 179 ; 254$ BRANCH, 1: If,Log type==1,213$,Yes: If,Log type==2,186$,Yes: If,Log type==3,255$,Yes: If,Log type==4,257$,Yes: If,Log type==5,256$,Yes: If,Log type==6,258$,Yes: If,Log type==7,260$,Yes: If,Log type==8,259$,Yes: If,Log type==9,261$,Yes: If,Log type==10,263$,Yes: If,Log type==11,262$,Yes: If,Log type==12,264$,Yes: If,Log type==13,188$,Yes: If,Log type==14,238$,Yes: Else,187$,Yes; ; ; ; Model statements for module: Dispose 27 ; 187$ ASSIGN: Dispose 27.NumberOut=Dispose 27.NumberOut + 1; 1077$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 53 ; 213$ ASSIGN: Lumber grade=DISC(0.22222, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(214$); ; ; ; Model statements for module: Decide 43 ; 214$ BRANCH, 1: If,Lumber grade==1,215$,Yes: If,Lumber grade==2,216$,Yes: Else,217$,Yes; ; ; ; Model statements for module: Assign 56 ; 217$ ASSIGN: Headrig lumber volume=DISC(0.14286, 2, 0.42857, 3, 0.57143, 4, 1, 5):NEXT(200$); ; ; ; Model statements for module: Record 4 ; 200$ COUNT: Record headirg lumber volume,Headrig lumber volume:NEXT(204$); ; ; ; Model statements for module: Decide 33 ; 204$ BRANCH, 1: If,Entity.Type==FAS,203$,Yes: If,Entity.Type==1 COM,206$,Yes: If,Entity.Type==2 Com,207$,Yes: Else,205$,Yes; ; ; ; Model statements for module: Dispose 39 ; 205$ ASSIGN: Dispose 39.NumberOut=Dispose 39.NumberOut + 1; 1082$ DISPOSE: Yes; ; ; ; Model statements for module: ReadWrite 1 ; 203$ WRITE, Costing worksheet,RECORDSET(FAS lumber volume): Headrig lumber volume:NEXT(240$); ; ; ; Model statements for module: Assign 102 ; 240$ ASSIGN: Lumber headrig cycle time=TNOW - Beginning of headrig cycle time:NEXT(230$); ; ; ; Model statements for module: Leave 42 ; 230$ DELAY: 0.00,,VA:NEXT(1096$); 1096$ QUEUE, Convey to pregangsaw conveyor.Queue; 1087$ ACCESS: Headrig conveyor,1; 1088$ DELAY: 0.000000000000000,,Transfer:NEXT(1092$); 1092$ CONVEY: ,Headrig to pregangsaw conveyor midpoint; ; ; ; Model statements for module: ReadWrite 5 ; 206$ WRITE, Costing worksheet,RECORDSET(1COM lumber volume): Headrig lumber volume:NEXT(240$); ; ; ; Model statements for module: ReadWrite 6 ; 207$ WRITE, Costing worksheet,RECORDSET(2COM lumber volume): Headrig lumber volume:NEXT(240$); ; ; ; Model statements for module: Assign 54 ; 215$ ASSIGN: Headrig lumber volume=DISC(1, 0):NEXT(200$); ; ; ; Model statements for module: Assign 55 ; 216$ ASSIGN: Headrig lumber volume=DISC(0.5, 2, 1, 5):NEXT(200$); ; ; ; Model statements for module: Assign 37 ; 186$ ASSIGN: Lumber grade=DISC(0.16667, 1, 0.8334, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(265$); ; ; ; Model statements for module: Decide 181 ; 265$ BRANCH, 1: If,Lumber grade==1,278$,Yes: If,Lumber grade==2,279$,Yes: Else,280$,Yes; ; ; ; Model statements for module: Assign 137 ; 280$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(200$); ; ; ; Model statements for module: Assign 135 ; 278$ ASSIGN: Headrig lumber volume=DISC(1, 7):NEXT(200$); ; ; ; Model statements for module: Assign 136 ; 279$ ASSIGN: Headrig lumber volume=DISC(0.25, 1, 0.75, 3, 1, 5):NEXT(200$); ; ; ; Model statements for module: Assign 125 ; 255$ ASSIGN: Lumber grade=DISC(0.61535, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(266$); ; ; ; Model statements for module: Decide 182 ; 266$ BRANCH, 1: If,Lumber grade==1,281$,Yes: If,Lumber grade==2,282$,Yes: Else,283$,Yes; ; ; ; Model statements for module: Assign 140 ; 283$ ASSIGN: Headrig lumber volume=DISC(0.2, 3, 0.4, 5, 1, 7):NEXT(200$); ; ; ; Model statements for module: Assign 138 ; 281$ ASSIGN: Headrig lumber volume=DISC(1, 0):NEXT(200$); ; ; ; Model statements for module: Assign 139 ; 282$ ASSIGN: Headrig lumber volume=DISC(0.25, 3, 0.375, 4, 0.75, 5, 0.875, 7, 1, 8):NEXT(200$); ; ; ; Model statements for module: Assign 127 ; 257$ ASSIGN: Lumber grade=DISC(0.07143, 1, 0.57143, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(267$); ; ; ; Model statements for module: Decide 183 ; 267$ BRANCH, 1: If,Lumber grade==1,284$,Yes: If,Lumber grade==2,285$,Yes: Else,286$,Yes; ; ; ; Model statements for module: Assign 143 ; 286$ ASSIGN: Headrig lumber volume=DISC(0.5, 2, 0.66667, 3, 0.83334, 4, 1, 5):NEXT(200$); ; ; ; Model statements for module: Assign 141 ; 284$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(200$); ; ; ; Model statements for module: Assign 142 ; 285$ ASSIGN: Headrig lumber volume=DISC(0.28571, 3, 0.57142, 4, 1, 5):NEXT(200$); ; ; ; Model statements for module: Assign 126 ; 256$ ASSIGN: Lumber grade=DISC(0.45455, 2 ,1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(268$); ; ; ; Model statements for module: Decide 184 ; 268$ BRANCH, 1: If,Lumber grade==1,287$,Yes: If,Lumber grade==2,288$,Yes: Else,289$,Yes; ; ; ; Model statements for module: Assign 146 ; 289$ ASSIGN: Headrig lumber volume=DISC(0.33333, 3, 0.50, 4, 0.8333, 5, 1, 7):NEXT(200$); ; ; ; Model statements for module: Assign 144 ; 287$ ASSIGN: Headrig lumber volume=DISC(1, 0):NEXT(200$); ; ; ; Model statements for module: Assign 145 ; 288$ ASSIGN: Headrig lumber volume=DISC(0.4, 4, 0.8, 5, 1, 7):NEXT(200$); ; ; ; Model statements for module: Assign 128 ; 258$ ASSIGN: Lumber grade=DISC(0.54545, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(269$); ; ; ; Model statements for module: Decide 185 ; 269$ BRANCH, 1: If,Lumber grade==1,290$,Yes: If,Lumber grade==2,291$,Yes: Else,292$,Yes; ; ; ; Model statements for module: Assign 149 ; 292$ ASSIGN: Headrig lumber volume=DISC(0.2, 3, 0.4, 4, 0.8, 5, 1, 7):NEXT(200$); ; ; ; Model statements for module: Assign 147 ; 290$ ASSIGN: Headrig lumber volume=DISC(1, 0):NEXT(200$); ; ; ; Model statements for module: Assign 148 ; 291$ ASSIGN: Headrig lumber volume=DISC(0.16667, 3, 0.5, 4, 1, 5):NEXT(200$); ; ; ; Model statements for module: Assign 130 ; 260$ ASSIGN: Lumber grade=DISC(0.25, 1, 0.833333, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(270$); ; ; ; Model statements for module: Decide 186 ; 270$ BRANCH, 1: If,Lumber grade==1,293$,Yes: If,Lumber grade==2,294$,Yes: Else,295$,Yes; ; ; ; Model statements for module: Assign 152 ; 295$ ASSIGN: Headrig lumber volume=DISC(0.5, 3, 1, 7):NEXT(200$); ; ; ; Model statements for module: Assign 150 ; 293$ ASSIGN: Headrig lumber volume=DISC(0.666667, 5, 1, 6):NEXT(200$); ; ; ; Model statements for module: Assign 151 ; 294$ ASSIGN: Headrig lumber volume=DISC(0.14286, 2, 0.42857, 3, 0.71428, 4, 0.85714, 5, 1, 6):NEXT(200$); ; ; ; Model statements for module: Assign 129 ; 259$ ASSIGN: Lumber grade=DISC(0.31579, 1, 0.94737, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(271$); ; ; ; Model statements for module: Decide 187 ; 271$ BRANCH, 1: If,Lumber grade==1,296$,Yes: If,Lumber grade==2,297$,Yes: Else,298$,Yes; ; ; ; Model statements for module: Assign 155 ; 298$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(200$); ; ; ; Model statements for module: Assign 153 ; 296$ ASSIGN: Headrig lumber volume=DISC(0.333333, 5, 0.666667, 6, 0.833333, 7, 1, 8):NEXT(200$); ; ; ; Model statements for module: Assign 154 ; 297$ ASSIGN: Headrig lumber volume= DISC(0.166667, 3, 0.25, 4, 0.416667, 6, 0.583333, 7, 0.833333, 8, 0.916667, 9, 1, 10):NEXT(200$); ; ; ; Model statements for module: Assign 131 ; 261$ ASSIGN: Lumber grade=DISC(0.31818, 1, 0.59091, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(272$); ; ; ; Model statements for module: Decide 188 ; 272$ BRANCH, 1: If,Lumber grade==1,299$,Yes: If,Lumber grade==2,300$,Yes: Else,301$,Yes; ; ; ; Model statements for module: Assign 158 ; 301$ ASSIGN: Headrig lumber volume= DISC(0.216667, 3, 0.333333, 4, 0.55, 5, 0.6667, 6, 0.783333, 7, 0.883333, 8, 1, 12):NEXT(200$); ; ; ; Model statements for module: Assign 156 ; 299$ ASSIGN: Headrig lumber volume=DISC(0.14286, 5, 0.28572, 6, 0.71429, 7, 0.85715, 8, 1, 10):NEXT(200$); ; ; ; Model statements for module: Assign 157 ; 300$ ASSIGN: Headrig lumber volume=DISC(0.166667, 2, 0.5, 4, 0.666667, 9, 0.833333, 10, 1, 12):NEXT(200$); ; ; ; Model statements for module: Assign 133 ; 263$ ASSIGN: Lumber grade=DISC(0.13333, 1, 0.33333, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(273$); ; ; ; Model statements for module: Decide 189 ; 273$ BRANCH, 1: If,Lumber grade==1,302$,Yes: If,Lumber grade==2,303$,Yes: Else,304$,Yes; ; ; ; Model statements for module: Assign 161 ; 304$ ASSIGN: Headrig lumber volume=DISC(0.1, 2, 0.3, 3, 0.6, 4, 0.7, 5, 0.8, 6, 0.9, 9, 1, 10):NEXT(200$); ; ; ; Model statements for module: Assign 159 ; 302$ ASSIGN: Headrig lumber volume=DISC(0.5, 4, 1, 7):NEXT(200$); ; ; ; Model statements for module: Assign 160 ; 303$ ASSIGN: Headrig lumber volume=DISC(0.33333, 5, 0.66666, 6, 1, 8):NEXT(200$); ; ; ; Model statements for module: Assign 132 ; 262$ ASSIGN: Lumber grade=DISC(0.0667, 1, 0.2, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(274$); ; ; ; Model statements for module: Decide 190 ; 274$ BRANCH, 1: If,Lumber grade==1,305$,Yes: If,Lumber grade==2,306$,Yes: Else,307$,Yes; ; ; ; Model statements for module: Assign 164 ; 307$ ASSIGN: Headrig lumber volume= DISC(0.1667, 2, 0.33334, 3, 0.58334, 4, 0.75001, 5, 0.83334, 6, 0.91667, 8, 1, 10 ):NEXT(200$); ; ; ; Model statements for module: Assign 162 ; 305$ ASSIGN: Headrig lumber volume=DISC(1, 8):NEXT(200$); ; ; ; Model statements for module: Assign 163 ; 306$ ASSIGN: Headrig lumber volume=DISC(0.5, 3, 1, 9):NEXT(200$); ; ; ; Model statements for module: Assign 134 ; 264$ ASSIGN: Lumber grade=DISC(0.125, 1, 0.625, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(275$); ; ; ; Model statements for module: Decide 191 ; 275$ BRANCH, 1: If,Lumber grade==1,308$,Yes: If,Lumber grade==2,309$,Yes: Else,310$,Yes; ; ; ; Model statements for module: Assign 167 ; 310$ ASSIGN: Headrig lumber volume=DISC(0.16667, 4, 0.33334, 5, 0.50001, 6, 0.66668, 7, 1, 8):NEXT(200$); ; ; ; Model statements for module: Assign 165 ; 308$ ASSIGN: Headrig lumber volume=DISC(0.5, 7, 1, 10):NEXT(200$); ; ; ; Model statements for module: Assign 166 ; 309$ ASSIGN: Headrig lumber volume=DISC(0.125, 2, 0.625, 3, 0.75, 5, 0.875, 8, 1, 11):NEXT(200$); ; ; ; Model statements for module: Assign 38 ; 188$ ASSIGN: Lumber grade=DISC(0.38095, 1, 0.90476, 2, 1, 3): Entity.Type=Lumber grades (lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(276$); ; ; ; Model statements for module: Decide 192 ; 276$ BRANCH, 1: If,Lumber grade==1,311$,Yes: If,Lumber grade==2,312$,Yes: Else,313$,Yes; ; ; ; Model statements for module: Assign 170 ; 313$ ASSIGN: Headrig lumber volume=DISC(0.5, 10, 1, 14):NEXT(200$); ; ; ; Model statements for module: Assign 168 ; 311$ ASSIGN: Headrig lumber volume=DISC(0.125, 5, 0.25, 7, 0.625, 8, 1, 10):NEXT(200$); ; ; ; Model statements for module: Assign 169 ; 312$ ASSIGN: Headrig lumber volume=DISC(0.09091, 2, 0.18182, 3, 0.45455, 4, 0.54546, 5, 0.72728, 8, 1, 12) :NEXT(200$); ; ; ; Model statements for module: Assign 85 ; 238$ ASSIGN: Lumber grade=DISC(0.76923, 2, 1, 3): Entity.Type=Lumber grades (lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(277$); ; ; ; Model statements for module: Decide 193 ; 277$ BRANCH, 1: If,Lumber grade==1,314$,Yes: If,Lumber grade==2,315$,Yes: Else,316$,Yes; ; ; ; Model statements for module: Assign 173 ; 316$ ASSIGN: Headrig lumber volume=DISC(0.66667, 7, 1, 10):NEXT(200$); ; ; ; Model statements for module: Assign 171 ; 314$ ASSIGN: Headrig lumber volume=DISC(1, 0):NEXT(200$); ; ; ; Model statements for module: Assign 172 ; 315$ ASSIGN: Headrig lumber volume=DISC(0.1, 4, 0.2, 6, 0.3, 7, 0.8, 10, 1, 12):NEXT(200$); ; ; ; Model statements for module: Dispose 31 ; 197$ ASSIGN: Dispose 31.NumberOut=Dispose 31.NumberOut + 1; 1129$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 52 ; 212$ ASSIGN: cuts=DISC(1, 6):NEXT(232$); ; ; ; Model statements for module: Assign 50 ; 211$ ASSIGN: cuts=DISC(0.5, 6, 1, 7):NEXT(232$); ; ; ; Model statements for module: Assign 114 ; 243$ ASSIGN: cuts=DISC(0.5, 3, 1, 4):NEXT(232$); ; ; ; Model statements for module: Assign 115 ; 244$ ASSIGN: cuts=DISC(0.5, 5, 1, 6):NEXT(232$); ; ; ; Model statements for module: Assign 116 ; 245$ ASSIGN: cuts=DISC(0.5, 5, 1, 6):NEXT(232$); ; ; ; Model statements for module: Assign 117 ; 246$ ASSIGN: cuts=DISC(0.35, 3, 0.366667, 4, 1, 5):NEXT(232$); ; ; ; Model statements for module: Assign 118 ; 247$ ASSIGN: cuts=DISC(0.5, 4, 0.75, 5, 1, 6):NEXT(232$); ; ; ; Model statements for module: Assign 119 ; 248$ ASSIGN: cuts=DISC(0.75, 5, 1, 7):NEXT(232$); ; ; ; Model statements for module: Assign 120 ; 249$ ASSIGN: cuts=DISC(0.66667, 4, 1, 7):NEXT(232$); ; ; ; Model statements for module: Assign 121 ; 250$ ASSIGN: cuts=DISC(0.33333, 2, 0.66666, 4, 1, 9):NEXT(232$); ; ; ; Model statements for module: Assign 122 ; 251$ ASSIGN: cuts=DISC(0.33333, 4, 0.6666, 5, 1, 7):NEXT(232$); ; ; ; Model statements for module: Assign 123 ; 252$ ASSIGN: cuts=DISC(0.5, 8, 1, 13): 90 degree rotations=3:NEXT(232$); ; ; ; Model statements for module: Assign 124 ; 253$ ASSIGN: cuts=DISC(1, 13): 90 degree rotations=3:NEXT(232$); ; ; ; Model statements for module: Record 26 ; 234$ COUNT: Record no. of 13 diam logs,1:NEXT(218$); ; ; ; Model statements for module: Record 27 ; 235$ COUNT: Record no. of 14 diam logs,1:NEXT(218$); ; ; ; Model statements for module: Record 28 ; 236$ COUNT: Record no. of 15 diam logs,1:NEXT(218$); ; ; ; Model statements for module: Enter 21 ; 321$ STATION, Gangsaw station.Station; 1130$ DELAY: 0.000000000000000,,VA:NEXT(1136$); 1136$ DELAY: 0.000,,VA:NEXT(317$); ; ; ; Model statements for module: Process 9 ; 317$ ASSIGN: Gangsaw.NumberIn=Gangsaw.NumberIn + 1: Gangsaw.WIP=Gangsaw.WIP+1; 1170$ STACK, 1:Save:NEXT(1142$); 1142$ DELAY: SecondsToBaseTime(28 + LOGN(5.7, 3.89, stream5)),,VA:NEXT(1151$); 1151$ TALLY: Gangsaw.TotalTimePerEntity,Diff.StartTime,1; 1152$ TALLY: Gangsaw.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1175$ ASSIGN: Gangsaw.VATime=Gangsaw.VATime + Diff.VATime; 1176$ TALLY: Gangsaw.VATimePerEntity,Diff.VATime,1; 1180$ ASSIGN: Gangsaw.VACost=Gangsaw.VACost + Diff.VACost; 1177$ TALLY: Gangsaw.VACostPerEntity,Diff.VACost,1; 1141$ RELEASE: Gangsaw operator,1; 1190$ STACK, 1:Destroy:NEXT(1189$); 1189$ ASSIGN: Gangsaw.NumberOut=Gangsaw.NumberOut + 1: Gangsaw.WIP=Gangsaw.WIP-1:NEXT(319$); ; ; ; Model statements for module: Hold 1 ; 319$ QUEUE, Hold 1.Queue; SCAN: NEC(Trimmer conveyor) <= UNIF(10,15):NEXT(322$); ; ; ; Model statements for module: Hold 5 ; 322$ QUEUE, Hold 5.Queue; SCAN: NEC(Postgangsaw conveyor) == 0:NEXT(318$); ; ; ; Model statements for module: Leave 16 ; 318$ DELAY: 0.00,,VA:NEXT(1205$); 1205$ QUEUE, Leave gangsaw station for trimmer conveyor.Queue; 1196$ ACCESS: Postgangsaw conveyor,10; 1197$ DELAY: 0.000000000000000,,VA:NEXT(1201$); 1201$ CONVEY: ,Post gangsaw to trimmer conveyor midpoint; ; ; ; Model statements for module: Station 31 ; 327$ STATION, Tailman station; 1214$ DELAY: 0.0,,VA:NEXT(329$); ; ; ; Model statements for module: Decide 40 ; 329$ BRANCH, 1: If,STATE(Gangsaw operator) == -4,1215$,Yes: Else,1216$,Yes; 1215$ ASSIGN: Decide if gangsaw operator is functioning.NumberOut True= Decide if gangsaw operator is functioning.NumberOut True + 1:NEXT(332$); 1216$ ASSIGN: Decide if gangsaw operator is functioning.NumberOut False= Decide if gangsaw operator is functioning.NumberOut False + 1:NEXT(344$); ; ; ; Model statements for module: Stop 2 ; 332$ STOP: Trimmer conveyor:NEXT(330$); ; ; ; Model statements for module: Hold 46 ; 330$ QUEUE, Hold 46.Queue; SCAN: STATE(Gangsaw operator) == -1 || -2 || -3:NEXT(333$); ; ; ; Model statements for module: Start 8 ; 333$ START: Trimmer conveyor:NEXT(344$); ; ; ; Model statements for module: Decide 170 ; 344$ BRANCH, 1: If,Headrig lumber volume>0,1217$,Yes: Else,1218$,Yes; 1217$ ASSIGN: Decide board was produced at headrig.NumberOut True= Decide board was produced at headrig.NumberOut True + 1:NEXT(341$); 1218$ ASSIGN: Decide board was produced at headrig.NumberOut False= Decide board was produced at headrig.NumberOut False + 1:NEXT(324$); ; ; ; Model statements for module: Access 23 ; 341$ QUEUE, Access second trimmer conveyor.Queue; ACCESS: Second trimmer conveyor,1:NEXT(343$); ; ; ; Model statements for module: Exit 34 ; 343$ EXIT: Trimmer conveyor,1:NEXT(325$); ; ; ; Model statements for module: Convey 14 ; 325$ CONVEY: Second trimmer conveyor,Beginning of ladder conveyor; ; ; ; Model statements for module: Decide 7 ; 324$ BRANCH, 1: If,Entity.Type==FAS,334$,Yes: If,Entity.Type==1 COM,334$,Yes: If,Entity.Type==2 Com,334$,Yes: Else,341$,Yes; ; ; ; Model statements for module: Decide 115 ; 334$ BRANCH, 1: If,Log type==1,335$,Yes: If,Log type==2,339$,Yes: If,Log type==3,340$,Yes: If,Log type==4,347$,Yes: If,Log type==5,348$,Yes: If,Log type==6,349$,Yes: If,Log type==7,350$,Yes: If,Log type==8,351$,Yes: If,Log type==9,352$,Yes: If,Log type==10,353$,Yes: If,Log type==11,354$,Yes: If,Log type==12,355$,Yes: If,Log type==13,356$,Yes: If,Log type==14,345$,Yes: Else,346$,Yes; ; ; ; Model statements for module: Dispose 48 ; 346$ ASSIGN: Dispose 48.NumberOut=Dispose 48.NumberOut + 1; 1223$ DISPOSE: Yes; ; ; ; Model statements for module: Decide 116 ; 335$ BRANCH, 1: If,Entity.Type==FAS,336$,Yes: If,Entity.Type==1 COM,337$,Yes: Else,338$,Yes; ; ; ; Model statements for module: Decide 125 ; 338$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Exit 21 ; 328$ EXIT: Trimmer conveyor,1:NEXT(326$); ; ; ; Model statements for module: Leave 17 ; 326$ DELAY: 0.00,,VA:NEXT(1241$); 1241$ QUEUE, Request tailman.Queue; 1245$ REQUEST, 3:Tailman(CYC); 1233$ DELAY: 0.000000000000000,,VA:NEXT(1235$); 1235$ TRANSPORT: ,Tailman drop off point.Station; ; ; ; Model statements for module: Decide 117 ; 336$ BRANCH, 1: If,Gangsaw lumber volume==0,341$,Yes: If,Gangsaw lumber volume==0,341$,Yes: Else,341$,Yes; ; ; ; Model statements for module: Decide 120 ; 337$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 128 ; 339$ BRANCH, 1: If,Entity.Type==FAS,357$,Yes: If,Entity.Type==1 COM,358$,Yes: Else,359$,Yes; ; ; ; Model statements for module: Decide 226 ; 359$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 224 ; 357$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 225 ; 358$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 137 ; 340$ BRANCH, 1: If,Entity.Type==FAS,360$,Yes: If,Entity.Type==1 COM,361$,Yes: Else,362$,Yes; ; ; ; Model statements for module: Decide 229 ; 362$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==5,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 227 ; 360$ BRANCH, 1: If,Gangsaw lumber volume==0,341$,Yes: If,Gangsaw lumber volume==0,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 228 ; 361$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 214 ; 347$ BRANCH, 1: If,Entity.Type==FAS,363$,Yes: If,Entity.Type==1 COM,364$,Yes: Else,365$,Yes; ; ; ; Model statements for module: Decide 232 ; 365$ BRANCH, 1: If,Gangsaw lumber volume==3,396$,Yes: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 266 ; 396$ BRANCH, 1: With,66.6667/100,1272$,Yes: Else,1273$,Yes; 1272$ ASSIGN: Send to edger 66.6667% of time.NumberOut True=Send to edger 66.6667% of time.NumberOut True + 1 :NEXT(328$); 1273$ ASSIGN: Send to edger 66.6667% of time.NumberOut False=Send to edger 66.6667% of time.NumberOut False + 1 :NEXT(341$); ; ; ; Model statements for module: Decide 230 ; 363$ BRANCH, 1: If,Gangsaw lumber volume==0,328$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 231 ; 364$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 215 ; 348$ BRANCH, 1: If,Entity.Type==FAS,366$,Yes: If,Entity.Type==1 COM,367$,Yes: Else,368$,Yes; ; ; ; Model statements for module: Decide 235 ; 368$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 233 ; 366$ BRANCH, 1: If,Gangsaw lumber volume==0,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 234 ; 367$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 216 ; 349$ BRANCH, 1: If,Entity.Type==FAS,369$,Yes: If,Entity.Type==1 COM,370$,Yes: Else,371$,Yes; ; ; ; Model statements for module: Decide 238 ; 371$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 236 ; 369$ BRANCH, 1: If,Gangsaw lumber volume==0,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 237 ; 370$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 217 ; 350$ BRANCH, 1: If,Entity.Type==FAS,372$,Yes: If,Entity.Type==1 COM,373$,Yes: Else,374$,Yes; ; ; ; Model statements for module: Decide 241 ; 374$ BRANCH, 1: If,Gangsaw lumber volume==4,328$,Yes: Else,341$,Yes; ; ; ; Model statements for module: Decide 239 ; 372$ BRANCH, 1: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 240 ; 373$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 218 ; 351$ BRANCH, 1: If,Entity.Type==FAS,375$,Yes: If,Entity.Type==1 COM,376$,Yes: Else,377$,Yes; ; ; ; Model statements for module: Decide 244 ; 377$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 242 ; 375$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 243 ; 376$ BRANCH, 1: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 219 ; 352$ BRANCH, 1: If,Entity.Type==FAS,378$,Yes: If,Entity.Type==1 COM,379$,Yes: Else,380$,Yes; ; ; ; Model statements for module: Decide 247 ; 380$ BRANCH, 1: If,Gangsaw lumber volume==4,397$,Yes: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 267 ; 397$ BRANCH, 1: With,80/100,1314$,Yes: Else,1315$,Yes; 1314$ ASSIGN: Send to trimmer 80% of time.NumberOut True=Send to trimmer 80% of time.NumberOut True + 1 :NEXT(341$); 1315$ ASSIGN: Send to trimmer 80% of time.NumberOut False=Send to trimmer 80% of time.NumberOut False + 1 :NEXT(328$); ; ; ; Model statements for module: Decide 245 ; 378$ BRANCH, 1: If,Gangsaw lumber volume==4,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 246 ; 379$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,341$,Yes: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 220 ; 353$ BRANCH, 1: If,Entity.Type==FAS,381$,Yes: If,Entity.Type==1 COM,382$,Yes: Else,383$,Yes; ; ; ; Model statements for module: Decide 250 ; 383$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 248 ; 381$ BRANCH, 1: If,Gangsaw lumber volume==0,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 249 ; 382$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,398$,Yes: If,Gangsaw lumber volume==7,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 268 ; 398$ BRANCH, 1: With,66.667/100,1328$,Yes: Else,1329$,Yes; 1328$ ASSIGN: Send to trimmer 66.667% of time.NumberOut True=Send to trimmer 66.667% of time.NumberOut True + 1 :NEXT(341$); 1329$ ASSIGN: Send to trimmer 66.667% of time.NumberOut False=Send to trimmer 66.667% of time.NumberOut False + 1 :NEXT(328$); ; ; ; Model statements for module: Decide 221 ; 354$ BRANCH, 1: If,Entity.Type==FAS,384$,Yes: If,Entity.Type==1 COM,385$,Yes: Else,386$,Yes; ; ; ; Model statements for module: Decide 256 ; 386$ BRANCH, 1: If,Gangsaw lumber volume==3,399$,Yes: If,Gangsaw lumber volume==4,341$,Yes: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 269 ; 399$ BRANCH, 1: With,83.3/100,1334$,Yes: Else,1335$,Yes; 1334$ ASSIGN: Send to trimmer 83.3% of time.NumberOut True=Send to trimmer 83.3% of time.NumberOut True + 1 :NEXT(341$); 1335$ ASSIGN: Send to trimmer 83.3% of time.NumberOut False=Send to trimmer 83.3% of time.NumberOut False + 1 :NEXT(328$); ; ; ; Model statements for module: Decide 254 ; 384$ BRANCH, 1: If,Gangsaw lumber volume==0,341$,Yes: Else,341$,Yes; ; ; ; Model statements for module: Decide 255 ; 385$ BRANCH, 1: If,Gangsaw lumber volume==4,328$,Yes: Else,341$,Yes; ; ; ; Model statements for module: Decide 222 ; 355$ BRANCH, 1: If,Entity.Type==FAS,387$,Yes: If,Entity.Type==1 COM,388$,Yes: Else,389$,Yes; ; ; ; Model statements for module: Decide 259 ; 389$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 257 ; 387$ BRANCH, 1: If,Gangsaw lumber volume==0,341$,Yes: Else,341$,Yes; ; ; ; Model statements for module: Decide 258 ; 388$ BRANCH, 1: If,Gangsaw lumber volume==3,341$,Yes: If,Gangsaw lumber volume==4,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 223 ; 356$ BRANCH, 1: If,Entity.Type==FAS,390$,Yes: If,Entity.Type==1 COM,391$,Yes: Else,392$,Yes; ; ; ; Model statements for module: Decide 262 ; 392$ BRANCH, 1: If,Gangsaw lumber volume==4,400$,Yes: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 270 ; 400$ BRANCH, 1: With,50/100,1352$,Yes: Else,1353$,Yes; 1352$ ASSIGN: Send to trimmer 50% of time.NumberOut True=Send to trimmer 50% of time.NumberOut True + 1 :NEXT(341$); 1353$ ASSIGN: Send to trimmer 50% of time.NumberOut False=Send to trimmer 50% of time.NumberOut False + 1 :NEXT(328$); ; ; ; Model statements for module: Decide 260 ; 390$ BRANCH, 1: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 261 ; 391$ BRANCH, 1: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 173 ; 345$ BRANCH, 1: If,Entity.Type==FAS,393$,Yes: If,Entity.Type==1 COM,394$,Yes: Else,395$,Yes; ; ; ; Model statements for module: Decide 265 ; 395$ BRANCH, 1: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 263 ; 393$ BRANCH, 1: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Decide 264 ; 394$ BRANCH, 1: If,Gangsaw lumber volume==5,341$,Yes: If,Gangsaw lumber volume==6,341$,Yes: Else,328$,Yes; ; ; ; Model statements for module: Enter 15 ; 402$ STATION, Trimmer station.Station; 1366$ DELAY: 0.000000000000000,,VA:NEXT(1372$); 1372$ DELAY: 0.000,,VA:NEXT(406$); ; ; ; Model statements for module: Seize 10 ; 406$ QUEUE, Seize trimmer operator.Queue; SEIZE, 2,VA: Trimmer operator,1:NEXT(1378$); 1378$ DELAY: 0.0,,VA:NEXT(418$); ; ; ; Model statements for module: Assign 110 ; 418$ ASSIGN: Beginning of trimmer cycle=TNOW:NEXT(401$); ; ; ; Model statements for module: Process 10 ; 401$ ASSIGN: Trimmer.NumberIn=Trimmer.NumberIn + 1: Trimmer.WIP=Trimmer.WIP+1; 1408$ STACK, 1:Save:NEXT(1380$); 1380$ DELAY: SecondsToBaseTime(0.6 + LOGN(0.876, 0.534, stream7)),,VA:NEXT(1389$); 1389$ TALLY: Trimmer.TotalTimePerEntity,Diff.StartTime,1; 1390$ TALLY: Trimmer.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1413$ ASSIGN: Trimmer.VATime=Trimmer.VATime + Diff.VATime; 1414$ TALLY: Trimmer.VATimePerEntity,Diff.VATime,1; 1418$ ASSIGN: Trimmer.VACost=Trimmer.VACost + Diff.VACost; 1415$ TALLY: Trimmer.VACostPerEntity,Diff.VACost,1; 1428$ STACK, 1:Destroy:NEXT(1427$); 1427$ ASSIGN: Trimmer.NumberOut=Trimmer.NumberOut + 1: Trimmer.WIP=Trimmer.WIP-1:NEXT(404$); ; ; ; Model statements for module: Hold 51 ; 404$ QUEUE, Hold at trimmer.Queue; SCAN: NQ(Access green chain.Queue) <=0 && NQ(Inspect lumber.Queue) <= UNIF(0,1) && NQ(Access green chain ladder conveyor.Queue) == 0 :NEXT(408$); ; ; ; Model statements for module: Access 25 ; 408$ QUEUE, Access middle trimmer conveyor.Queue; ACCESS: Middle trimmer conveyor,1:NEXT(403$); ; ; ; Model statements for module: Exit 32 ; 403$ EXIT: Ladder conveyor,1:NEXT(417$); ; ; ; Model statements for module: Record 31 ; 417$ COUNT: Record entity statistics,Cant volume:NEXT(413$); ; ; ; Model statements for module: Decide 158 ; 413$ BRANCH, 1: If,Entity.Type==FAS,411$,Yes: If,Entity.Type==1 COM,414$,Yes: If,Entity.Type==2 Com,415$,Yes: Else,412$,Yes; ; ; ; Model statements for module: Record 23 ; 412$ COUNT: Record Cant,Cant volume:NEXT(416$); ; ; ; Model statements for module: Release 18 ; 416$ RELEASE: Trimmer operator,1:NEXT(419$); ; ; ; Model statements for module: Assign 111 ; 419$ ASSIGN: Trimmer cycle time=TNOW - Beginning of trimmer cycle:NEXT(420$); ; ; ; Model statements for module: ReadWrite 20 ; 420$ WRITE, Log number data: Log number:NEXT(428$); ; ; ; Model statements for module: ReadWrite 28 ; 428$ WRITE, Log type data: Log type:NEXT(421$); ; ; ; Model statements for module: ReadWrite 21 ; 421$ WRITE, Log volume data: Volume:NEXT(422$); ; ; ; Model statements for module: ReadWrite 22 ; 422$ WRITE, Lumber grade data: Lumber grade:NEXT(423$); ; ; ; Model statements for module: ReadWrite 23 ; 423$ WRITE, Headrig volume data: Headrig lumber volume:NEXT(424$); ; ; ; Model statements for module: ReadWrite 24 ; 424$ WRITE, Gangsaw volume data: Gangsaw lumber volume:NEXT(425$); ; ; ; Model statements for module: ReadWrite 25 ; 425$ WRITE, Edger volume data: Edger volume:NEXT(426$); ; ; ; Model statements for module: ReadWrite 26 ; 426$ WRITE, Cant volume data: Cant volume:NEXT(427$); ; ; ; Model statements for module: ReadWrite 27 ; 427$ WRITE, Current time data: TNOW:NEXT(410$); ; ; ; Model statements for module: Convey 34 ; 410$ CONVEY: Middle trimmer conveyor,Top of Green chain ladder conveyor; ; ; ; Model statements for module: Record 20 ; 411$ COUNT: Record FAS,Headrig lumber volume + Gangsaw lumber volume:NEXT(416$); ; ; ; Model statements for module: Record 24 ; 414$ COUNT: Record 1C,Headrig lumber volume + Gangsaw lumber volume:NEXT(416$); ; ; ; Model statements for module: Record 25 ; 415$ COUNT: Record 2C,Headrig lumber volume + Gangsaw lumber volume:NEXT(416$); ; ; ; Model statements for module: Enter 17 ; 429$ STATION, Enter 17.Station; 1432$ DELAY: 0.000000000000000,,Transfer:NEXT(1435$); 1435$ EXIT: Trimmer conveyor:NEXT(434$); ; ; ; Model statements for module: Decide 107 ; 434$ BRANCH, 1: If,Log type==1,437$,Yes: If,Log type==2,438$,Yes: If,Log type==3,439$,Yes: If,Log type==4,463$,Yes: If,Log type==5,464$,Yes: If,Log type==6,465$,Yes: If,Log type==7,466$,Yes: If,Log type==8,467$,Yes: If,Log type==9,468$,Yes: If,Log type==10,469$,Yes: If,Log type==11,470$,Yes: If,Log type==12,471$,Yes: If,Log type==13,472$,Yes: If,Log type==14,454$,Yes: Else,435$,Yes; ; ; ; Model statements for module: Dispose 44 ; 435$ ASSIGN: Dispose 44.NumberOut=Dispose 44.NumberOut + 1; 1445$ DISPOSE: Yes; ; ; ; Model statements for module: Separate 35 ; 437$ DUPLICATE, 100 - 100: DISC(0.5, 5, 1, 6),1448$,100:NEXT(1447$); 1447$ ASSIGN: Separate Prime 13 diam 8 foot log.NumberOut Orig= Separate Prime 13 diam 8 foot log.NumberOut Orig + 1:NEXT(456$); 1448$ ASSIGN: Separate Prime 13 diam 8 foot log.NumberOut Dup=Separate Prime 13 diam 8 foot log.NumberOut Dup + 1 :NEXT(436$); ; ; ; Model statements for module: Separate 39 ; 456$ DUPLICATE, 100 - 100: 1,1451$,100:NEXT(1450$); 1450$ ASSIGN: Separate 39.NumberOut Orig=Separate 39.NumberOut Orig + 1:NEXT(458$); 1451$ ASSIGN: Separate 39.NumberOut Dup=Separate 39.NumberOut Dup + 1:NEXT(459$); ; ; ; Model statements for module: Assign 105 ; 458$ ASSIGN: Log leaving system=TNOW - Time stamp at beginning of gangsaw:NEXT(457$); ; ; ; Model statements for module: Dispose 45 ; 457$ ASSIGN: Dispose 45.NumberOut=Dispose 45.NumberOut + 1; 1452$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 106 ; 459$ ASSIGN: Cycle time for cant at gangsaw=TNOW - Time stamp at beginning of gangsaw:NEXT(461$); ; ; ; Model statements for module: Decide 201 ; 461$ BRANCH, 1: If,Volume==40,462$,Yes: If,Volume==50,462$,Yes: If,Volume==60,462$,Yes: Else,432$,Yes; ; ; ; Model statements for module: Assign 49 ; 432$ ASSIGN: Cant volume=21: Entity.Picture=Cant picture:NEXT(433$); ; ; ; Model statements for module: Record 8 ; 433$ COUNT: Record cant volume,Cant volume:NEXT(430$); ; ; ; Model statements for module: Leave 19 ; 430$ DELAY: 0.00,,VA:NEXT(1468$); 1468$ QUEUE, Leave 19.Queue; 1459$ ACCESS: Trimmer conveyor,1; 1460$ DELAY: 0.000000000000000,,VA:NEXT(1464$); 1464$ CONVEY: ,Tailman station; ; ; ; Model statements for module: Assign 174 ; 462$ ASSIGN: Cant volume=14: Entity.Picture=Cant picture:NEXT(433$); ; ; ; Model statements for module: Assign 64 ; 436$ ASSIGN: Lumber grade=DISC(0.18, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(443$); ; ; ; Model statements for module: Decide 109 ; 443$ BRANCH, 1: If,Lumber grade==1,442$,Yes: If,Lumber grade==2,444$,Yes: Else,445$,Yes; ; ; ; Model statements for module: Assign 69 ; 445$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(431$); ; ; ; Model statements for module: Record 7 ; 431$ COUNT: Record gangsaw lumber volume,Gangsaw lumber volume:NEXT(460$); ; ; ; Model statements for module: Assign 107 ; 460$ ASSIGN: Cycle time for lumber at gangsaw=TNOW - Time stamp at beginning of gangsaw:NEXT(430$); ; ; ; Model statements for module: Assign 67 ; 442$ ASSIGN: Gangsaw lumber volume=DISC(1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 68 ; 444$ ASSIGN: Gangsaw lumber volume=DISC(0.5, 3, 1, 4):NEXT(431$); ; ; ; Model statements for module: Separate 36 ; 438$ DUPLICATE, 100 - 100: DISC(1, 7),1479$,100:NEXT(1478$); 1478$ ASSIGN: Separate Prime 14 diam 8 foot log.NumberOut Orig= Separate Prime 14 diam 8 foot log.NumberOut Orig + 1:NEXT(456$); 1479$ ASSIGN: Separate Prime 14 diam 8 foot log.NumberOut Dup=Separate Prime 14 diam 8 foot log.NumberOut Dup + 1 :NEXT(440$); ; ; ; Model statements for module: Assign 65 ; 440$ ASSIGN: Lumber grade=DISC(0.28571, 1, 0.42857, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(446$); ; ; ; Model statements for module: Decide 110 ; 446$ BRANCH, 1: If,Lumber grade==1,447$,Yes: If,Lumber grade==2,448$,Yes: Else,449$,Yes; ; ; ; Model statements for module: Assign 72 ; 449$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(431$); ; ; ; Model statements for module: Assign 70 ; 447$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(431$); ; ; ; Model statements for module: Assign 71 ; 448$ ASSIGN: Gangsaw lumber volume=DISC(1, 3):NEXT(431$); ; ; ; Model statements for module: Separate 37 ; 439$ DUPLICATE, 100 - 100: DISC(0.5, 6, 1, 8),1484$,100:NEXT(1483$); 1483$ ASSIGN: Separate Prime 15 diam 8 foot log.NumberOut Orig= Separate Prime 15 diam 8 foot log.NumberOut Orig + 1:NEXT(456$); 1484$ ASSIGN: Separate Prime 15 diam 8 foot log.NumberOut Dup=Separate Prime 15 diam 8 foot log.NumberOut Dup + 1 :NEXT(441$); ; ; ; Model statements for module: Assign 66 ; 441$ ASSIGN: Lumber grade=DISC(0.57143, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(450$); ; ; ; Model statements for module: Decide 111 ; 450$ BRANCH, 1: If,Lumber grade==1,451$,Yes: If,Lumber grade==2,452$,Yes: Else,453$,Yes; ; ; ; Model statements for module: Assign 75 ; 453$ ASSIGN: Gangsaw lumber volume=DISC(0.16667, 3, 1, 5):NEXT(431$); ; ; ; Model statements for module: Assign 73 ; 451$ ASSIGN: Gangsaw lumber volume=DISC(1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 74 ; 452$ ASSIGN: Gangsaw lumber volume=DISC(0.25, 3, 1, 4):NEXT(431$); ; ; ; Model statements for module: Separate 40 ; 463$ DUPLICATE, 100 - 100: DISC(0.25, 4, 0.75, 5, 1, 6),1489$,100:NEXT(1488$); 1488$ ASSIGN: Separate Select 13 diam 8 foot log.NumberOut Orig= Separate Select 13 diam 8 foot log.NumberOut Orig + 1:NEXT(456$); 1489$ ASSIGN: Separate Select 13 diam 8 foot log.NumberOut Dup= Separate Select 13 diam 8 foot log.NumberOut Dup + 1:NEXT(473$); ; ; ; Model statements for module: Assign 175 ; 473$ ASSIGN: Lumber grade=DISC(0.25, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(483$); ; ; ; Model statements for module: Decide 202 ; 483$ BRANCH, 1: If,Lumber grade==1,494$,Yes: If,Lumber grade==2,495$,Yes: Else,496$,Yes; ; ; ; Model statements for module: Assign 187 ; 496$ ASSIGN: Gangsaw lumber volume=DISC(0.06667, 2, 0.46667, 3, 1, 4):NEXT(431$); ; ; ; Model statements for module: Assign 185 ; 494$ ASSIGN: Gangsaw lumber volume=DISC(1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 186 ; 495$ ASSIGN: Gangsaw lumber volume=DISC(0.4, 3, 1, 4):NEXT(431$); ; ; ; Model statements for module: Separate 41 ; 464$ DUPLICATE, 100 - 100: DISC(0.5, 6, 1, 7),1494$,100:NEXT(1493$); 1493$ ASSIGN: Separate Select 14 diam 8 foot log.NumberOut Orig= Separate Select 14 diam 8 foot log.NumberOut Orig + 1:NEXT(456$); 1494$ ASSIGN: Separate Select 14 diam 8 foot log.NumberOut Dup= Separate Select 14 diam 8 foot log.NumberOut Dup + 1:NEXT(474$); ; ; ; Model statements for module: Assign 176 ; 474$ ASSIGN: Lumber grade=DISC(0.07692, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(484$); ; ; ; Model statements for module: Decide 203 ; 484$ BRANCH, 1: If,Lumber grade==1,497$,Yes: If,Lumber grade==2,498$,Yes: Else,499$,Yes; ; ; ; Model statements for module: Assign 190 ; 499$ ASSIGN: Gangsaw lumber volume=DISC(0.08333, 2, 0.16666, 3, 1, 4):NEXT(431$); ; ; ; Model statements for module: Assign 188 ; 497$ ASSIGN: Gangsaw lumber volume=DISC(1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 189 ; 498$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(431$); ; ; ; Model statements for module: Separate 42 ; 465$ DUPLICATE, 100 - 100: DISC(0.5, 3, 1, 5),1499$,100:NEXT(1498$); 1498$ ASSIGN: Separate Select 15 diam 8 foot log.NumberOut Orig= Separate Select 15 diam 8 foot log.NumberOut Orig + 1:NEXT(456$); 1499$ ASSIGN: Separate Select 15 diam 8 foot log.NumberOut Dup= Separate Select 15 diam 8 foot log.NumberOut Dup + 1:NEXT(475$); ; ; ; Model statements for module: Assign 177 ; 475$ ASSIGN: Lumber grade=DISC(0.25, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(485$); ; ; ; Model statements for module: Decide 204 ; 485$ BRANCH, 1: If,Lumber grade==1,500$,Yes: If,Lumber grade==2,501$,Yes: Else,502$,Yes; ; ; ; Model statements for module: Assign 193 ; 502$ ASSIGN: Gangsaw lumber volume=DISC(0.5, 3, 1, 4):NEXT(431$); ; ; ; Model statements for module: Assign 191 ; 500$ ASSIGN: Gangsaw lumber volume=DISC(1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 192 ; 501$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(431$); ; ; ; Model statements for module: Separate 43 ; 466$ DUPLICATE, 100 - 100: DISC(0.666667, 5 ,1, 6),1504$,100:NEXT(1503$); 1503$ ASSIGN: Separate Prime 13 diam 12 foot log.NumberOut Orig= Separate Prime 13 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1504$ ASSIGN: Separate Prime 13 diam 12 foot log.NumberOut Dup= Separate Prime 13 diam 12 foot log.NumberOut Dup + 1:NEXT(476$); ; ; ; Model statements for module: Assign 178 ; 476$ ASSIGN: Lumber grade=DISC(0.18750, 1, 0.6875, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(486$); ; ; ; Model statements for module: Decide 205 ; 486$ BRANCH, 1: If,Lumber grade==1,503$,Yes: If,Lumber grade==2,504$,Yes: Else,505$,Yes; ; ; ; Model statements for module: Assign 196 ; 505$ ASSIGN: Gangsaw lumber volume=DISC(0.2, 4, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 194 ; 503$ ASSIGN: Gangsaw lumber volume=DISC(0.333333, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 195 ; 504$ ASSIGN: Gangsaw lumber volume=DISC(0.366667, 3, 0.5, 4, 1, 6):NEXT(431$); ; ; ; Model statements for module: Separate 44 ; 467$ DUPLICATE, 100 - 100: DISC(0.25, 5, 0.5, 6, 1, 7),1509$,100:NEXT(1508$); 1508$ ASSIGN: Separate Prime 14 diam 12 foot log.NumberOut Orig= Separate Prime 14 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1509$ ASSIGN: Separate Prime 14 diam 12 foot log.NumberOut Dup= Separate Prime 14 diam 12 foot log.NumberOut Dup + 1:NEXT(477$); ; ; ; Model statements for module: Assign 179 ; 477$ ASSIGN: Lumber grade=DISC(0.12, 1, 0.48, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(487$); ; ; ; Model statements for module: Decide 206 ; 487$ BRANCH, 1: If,Lumber grade==1,506$,Yes: If,Lumber grade==2,507$,Yes: Else,508$,Yes; ; ; ; Model statements for module: Assign 199 ; 508$ ASSIGN: Gangsaw lumber volume=DISC(0.083333, 3, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 197 ; 506$ ASSIGN: Gangsaw lumber volume=DISC(0.333333, 4, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 198 ; 507$ ASSIGN: Gangsaw lumber volume=DISC(0.116667, 3, 0.216667, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Separate 45 ; 468$ DUPLICATE, 100 - 100: DISC(0.5, 6, 0.75, 8, 1, 9),1514$,100:NEXT(1513$); 1513$ ASSIGN: Separate Prime 15 diam 12 foot log.NumberOut Orig= Separate Prime 15 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1514$ ASSIGN: Separate Prime 15 diam 12 foot log.NumberOut Dup= Separate Prime 15 diam 12 foot log.NumberOut Dup + 1:NEXT(478$); ; ; ; Model statements for module: Assign 180 ; 478$ ASSIGN: Lumber grade=DISC(0.20690, 1, 0.44828, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(488$); ; ; ; Model statements for module: Decide 207 ; 488$ BRANCH, 1: If,Lumber grade==1,509$,Yes: If,Lumber grade==2,510$,Yes: Else,511$,Yes; ; ; ; Model statements for module: Assign 202 ; 511$ ASSIGN: Gangsaw lumber volume=DISC(0.083333, 2, 0.366667, 4, 0.75, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 200 ; 509$ ASSIGN: Gangsaw lumber volume=DISC(0.166667, 4, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 201 ; 510$ ASSIGN: Gangsaw lumber volume=DISC(0.15, 3, 0.266667, 4, 0.433333, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Separate 46 ; 469$ DUPLICATE, 100 - 100: DISC(0.33333, 6, 1, 7),1519$,100:NEXT(1518$); 1518$ ASSIGN: Separate Select 13 diam 12 foot log.NumberOut Orig= Separate Select 13 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1519$ ASSIGN: Separate Select 13 diam 12 foot log.NumberOut Dup= Separate Select 13 diam 12 foot log.NumberOut Dup + 1:NEXT(479$); ; ; ; Model statements for module: Assign 181 ; 479$ ASSIGN: Lumber grade=DISC(0.25, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(489$); ; ; ; Model statements for module: Decide 208 ; 489$ BRANCH, 1: If,Lumber grade==1,512$,Yes: If,Lumber grade==2,513$,Yes: Else,514$,Yes; ; ; ; Model statements for module: Assign 205 ; 514$ ASSIGN: Gangsaw lumber volume=DISC(0.0667, 2, 0.2, 3, 0.3333, 4, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 203 ; 512$ ASSIGN: Gangsaw lumber volume=DISC( 1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 204 ; 513$ ASSIGN: Gangsaw lumber volume=DISC(0.2, 3, 0.8, 4, 1, 7):NEXT(431$); ; ; ; Model statements for module: Separate 47 ; 470$ DUPLICATE, 100 - 100: DISC(0.33333, 5, 0.66666, 6, 1, 8),1524$,100:NEXT(1523$); 1523$ ASSIGN: Separate Select 14 diam 12 foot log.NumberOut Orig= Separate Select 14 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1524$ ASSIGN: Separate Select 14 diam 12 foot log.NumberOut Dup= Separate Select 14 diam 12 foot log.NumberOut Dup + 1:NEXT(480$); ; ; ; Model statements for module: Assign 182 ; 480$ ASSIGN: Lumber grade=DISC(0.05263, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(490$); ; ; ; Model statements for module: Decide 209 ; 490$ BRANCH, 1: If,Lumber grade==1,515$,Yes: If,Lumber grade==2,516$,Yes: Else,517$,Yes; ; ; ; Model statements for module: Assign 208 ; 517$ ASSIGN: Gangsaw lumber volume=DISC(0.33333, 3, 0.5, 4, 0.77778, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 206 ; 515$ ASSIGN: Gangsaw lumber volume=DISC(1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 207 ; 516$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(431$); ; ; ; Model statements for module: Separate 48 ; 471$ DUPLICATE, 100 - 100: DISC(0.33333, 6, 1, 7),1529$,100:NEXT(1528$); 1528$ ASSIGN: Separate Select 15 diam 12 foot log.NumberOut Orig= Separate Select 15 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1529$ ASSIGN: Separate Select 15 diam 12 foot log.NumberOut Dup= Separate Select 15 diam 12 foot log.NumberOut Dup + 1:NEXT(481$); ; ; ; Model statements for module: Assign 183 ; 481$ ASSIGN: Lumber grade=DISC(0.25, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(491$); ; ; ; Model statements for module: Decide 210 ; 491$ BRANCH, 1: If,Lumber grade==1,518$,Yes: If,Lumber grade==2,519$,Yes: Else,520$,Yes; ; ; ; Model statements for module: Assign 211 ; 520$ ASSIGN: Gangsaw lumber volume=DISC(0.06667, 2, 0.13334, 3, 0.20001, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 209 ; 518$ ASSIGN: Gangsaw lumber volume=DISC(1, 0):NEXT(431$); ; ; ; Model statements for module: Assign 210 ; 519$ ASSIGN: Gangsaw lumber volume=DISC(0.2, 2, 0.4, 3, 0.6, 4, 1, 6):NEXT(431$); ; ; ; Model statements for module: Separate 49 ; 472$ DUPLICATE, 100 - 100: DISC(0.5, 6, 1, 9),1534$,100:NEXT(1533$); 1533$ ASSIGN: Separate Select 19 diam 12 foot log.NumberOut Orig= Separate Select 19 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1534$ ASSIGN: Separate Select 19 diam 12 foot log.NumberOut Dup= Separate Select 19 diam 12 foot log.NumberOut Dup + 1:NEXT(482$); ; ; ; Model statements for module: Assign 184 ; 482$ ASSIGN: Lumber grade=DISC(0.13333, 1, 0.33333, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(492$); ; ; ; Model statements for module: Decide 211 ; 492$ BRANCH, 1: If,Lumber grade==1,521$,Yes: If,Lumber grade==2,522$,Yes: Else,523$,Yes; ; ; ; Model statements for module: Assign 214 ; 523$ ASSIGN: Gangsaw lumber volume=DISC(0.22222, 4, 0.33333, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 212 ; 521$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 213 ; 522$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(431$); ; ; ; Model statements for module: Separate 38 ; 454$ DUPLICATE, 100 - 100: DISC(1, 6),1539$,100:NEXT(1538$); 1538$ ASSIGN: Separate Select 21 diam 12 foot log.NumberOut Orig= Separate Select 21 diam 12 foot log.NumberOut Orig + 1:NEXT(456$); 1539$ ASSIGN: Separate Select 21 diam 12 foot log.NumberOut Dup= Separate Select 21 diam 12 foot log.NumberOut Dup + 1:NEXT(455$); ; ; ; Model statements for module: Assign 89 ; 455$ ASSIGN: Lumber grade=DISC(0.16667, 1, 0.5, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(493$); ; ; ; Model statements for module: Decide 212 ; 493$ BRANCH, 1: If,Lumber grade==1,524$,Yes: If,Lumber grade==2,525$,Yes: Else,526$,Yes; ; ; ; Model statements for module: Assign 217 ; 526$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 215 ; 524$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(431$); ; ; ; Model statements for module: Assign 216 ; 525$ ASSIGN: Gangsaw lumber volume=DISC(0.5, 5, 1, 6):NEXT(431$); ; ; ; Model statements for module: Station 21 ; 534$ STATION, Beginning of green chain; 1544$ DELAY: 0.0,,VA:NEXT(593$); ; ; ; Model statements for module: Exit 30 ; 593$ EXIT: Green chain ladder conveyor,1:NEXT(594$); ; ; ; Model statements for module: Access 21 ; 594$ QUEUE, Access green chain.Queue; ACCESS: Green chain,1:NEXT(541$); ; ; ; Model statements for module: Convey 25 ; 541$ CONVEY: Green chain,Lumber grader; ; ; ; Model statements for module: Enter 26 ; 538$ STATION, Fas cart.Station; 1545$ DELAY: 0.000000000000000,,VA:NEXT(1547$); 1547$ FREE: Stacker 1:NEXT(559$); ; ; ; Model statements for module: Store 3 ; 559$ STORE: FAS bundle:NEXT(562$); ; ; ; Model statements for module: Batch 1 ; 562$ QUEUE, Batch 1.Queue; 1556$ GROUP, ,Permanent:110,Last:NEXT(1557$); 1557$ ASSIGN: Batch 1.NumberOut=Batch 1.NumberOut + 1:NEXT(565$); ; ; ; Model statements for module: Request 3 ; 565$ QUEUE, Request 3.Queue; REQUEST, 1:Lumber forklift(CYC),50:NEXT(571$); ; ; ; Model statements for module: Transport 3 ; 571$ TRANSPORT: Lumber forklift,Lumber yard,50; ; ; ; Model statements for module: Enter 27 ; 539$ STATION, 1COM cart.Station; 1559$ DELAY: 0.000000000000000,,VA:NEXT(1561$); 1561$ FREE: Stacker 2:NEXT(560$); ; ; ; Model statements for module: Store 4 ; 560$ STORE: 1COM bundle:NEXT(563$); ; ; ; Model statements for module: Batch 2 ; 563$ QUEUE, Batch 2.Queue; 1570$ GROUP, ,Permanent:110,Last:NEXT(1571$); 1571$ ASSIGN: Batch 2.NumberOut=Batch 2.NumberOut + 1:NEXT(567$); ; ; ; Model statements for module: Request 4 ; 567$ QUEUE, Request 4.Queue; REQUEST, 1:Lumber forklift(CYC),50:NEXT(586$); ; ; ; Model statements for module: Transport 11 ; 586$ TRANSPORT: Lumber forklift,Lumber yard,50; ; ; ; Model statements for module: Enter 28 ; 540$ STATION, 2COM cart.Station; 1573$ DELAY: 0.000000000000000,,VA:NEXT(1575$); 1575$ FREE: Stacker 3:NEXT(561$); ; ; ; Model statements for module: Store 5 ; 561$ STORE: 2COM bundle:NEXT(564$); ; ; ; Model statements for module: Batch 3 ; 564$ QUEUE, Batch 3.Queue; 1584$ GROUP, ,Permanent:110,Last:NEXT(1585$); 1585$ ASSIGN: Batch 3.NumberOut=Batch 3.NumberOut + 1:NEXT(569$); ; ; ; Model statements for module: Request 5 ; 569$ QUEUE, Request 5.Queue; REQUEST, 1:Lumber forklift(CYC),50:NEXT(587$); ; ; ; Model statements for module: Transport 12 ; 587$ TRANSPORT: Lumber forklift,Lumber yard,50; ; ; ; Model statements for module: Station 30 ; 542$ STATION, Lumber grader; 1589$ DELAY: 0.0,,VA:NEXT(607$); ; ; ; Model statements for module: Decide 155 ; 607$ BRANCH, 1: If,Entity.Type==FAS,543$,Yes: If,Entity.Type==1 COM,543$,Yes: If,Entity.Type==2 Com,543$,Yes: Else,596$,Yes; ; ; ; Model statements for module: Convey 30 ; 596$ CONVEY: Green chain,Cant stacking area; ; ; ; Model statements for module: Process 14 ; 543$ ASSIGN: Inspect lumber.NumberIn=Inspect lumber.NumberIn + 1: Inspect lumber.WIP=Inspect lumber.WIP+1; 1621$ STACK, 1:Save:NEXT(1595$); 1595$ QUEUE, Inspect lumber.Queue; 1594$ SEIZE, 2,VA: Lumber inspector,1:NEXT(1593$); 1593$ DELAY: SecondsToBaseTime(1 + 4.77 * BETA(0.879, 1.55, stream6)),,VA:NEXT(1636$); 1636$ ASSIGN: Inspect lumber.WaitTime=Inspect lumber.WaitTime + Diff.WaitTime; 1600$ TALLY: Inspect lumber.WaitTimePerEntity,Diff.WaitTime,1; 1637$ ASSIGN: Inspect lumber.WaitCost=Inspect lumber.WaitCost + Diff.WaitCost; 1598$ TALLY: Inspect lumber.WaitCostPerEntity,Diff.WaitCost,1; 1602$ TALLY: Inspect lumber.TotalTimePerEntity,Diff.StartTime,1; 1603$ TALLY: Inspect lumber.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1626$ ASSIGN: Inspect lumber.VATime=Inspect lumber.VATime + Diff.VATime; 1627$ TALLY: Inspect lumber.VATimePerEntity,Diff.VATime,1; 1631$ ASSIGN: Inspect lumber.VACost=Inspect lumber.VACost + Diff.VACost; 1628$ TALLY: Inspect lumber.VACostPerEntity,Diff.VACost,1; 1592$ RELEASE: Lumber inspector,1; 1641$ STACK, 1:Destroy:NEXT(1640$); 1640$ ASSIGN: Inspect lumber.NumberOut=Inspect lumber.NumberOut + 1: Inspect lumber.WIP=Inspect lumber.WIP-1:NEXT(527$); ; ; ; Model statements for module: Decide 29 ; 527$ BRANCH, 1: If,Entity.Type==FAS,535$,Yes: If,Entity.Type==1 COM,536$,Yes: If,Entity.Type==2 Com,537$,Yes: Else,596$,Yes; ; ; ; Model statements for module: Convey 16 ; 535$ CONVEY: Green chain,FAS station; ; ; ; Model statements for module: Convey 17 ; 536$ CONVEY: Green chain,1COM station; ; ; ; Model statements for module: Convey 18 ; 537$ CONVEY: Green chain,2COM station; ; ; ; Model statements for module: Station 32 ; 545$ STATION, FAS station; 1647$ DELAY: 0.0,,VA:NEXT(548$); ; ; ; Model statements for module: Decide 34 ; 548$ BRANCH, 1: If,IT(Stacker 1,1) == 0,1648$,Yes: Else,1649$,Yes; 1648$ ASSIGN: Decide 34.NumberOut True=Decide 34.NumberOut True + 1:NEXT(531$); 1649$ ASSIGN: Decide 34.NumberOut False=Decide 34.NumberOut False + 1:NEXT(544$); ; ; ; Model statements for module: Enter 23 ; 531$ STATION, Lumber stacker 1.Station; 1650$ DELAY: 0.000000000000000,,VA:NEXT(1653$); 1653$ EXIT: Green chain:NEXT(528$); ; ; ; Model statements for module: Leave 28 ; 528$ DELAY: 0.00,,VA:NEXT(1674$); 1674$ QUEUE, Leave 28.Queue; 1678$ REQUEST, 3:Stacker 1(CYC,Lumber grade); 1666$ DELAY: 0.000000000000000,,VA:NEXT(1668$); 1668$ TRANSPORT: ,Fas cart.Station; ; ; ; Model statements for module: Enter 31 ; 544$ STATION, Lumber stacker 4.Station; 1681$ DELAY: 0.000000000000000,,VA:NEXT(1684$); 1684$ EXIT: Green chain:NEXT(549$); ; ; ; Model statements for module: Leave 31 ; 549$ DELAY: 0.00,,VA:NEXT(1705$); 1705$ QUEUE, Leave 31.Queue; 1709$ REQUEST, 3:Stacker 4(CYC,Lumber grade); 1697$ DELAY: 0.000000000000000,,VA:NEXT(1699$); 1699$ TRANSPORT: ,Fas cart II.Station; ; ; ; Model statements for module: Station 33 ; 546$ STATION, 1COM station; 1714$ DELAY: 0.0,,VA:NEXT(550$); ; ; ; Model statements for module: Decide 35 ; 550$ BRANCH, 1: If,IT(Stacker 2,1) == 0,1715$,Yes: Else,1716$,Yes; 1715$ ASSIGN: Decide 35.NumberOut True=Decide 35.NumberOut True + 1:NEXT(532$); 1716$ ASSIGN: Decide 35.NumberOut False=Decide 35.NumberOut False + 1:NEXT(551$); ; ; ; Model statements for module: Enter 24 ; 532$ STATION, Lumber stacker 2.Station; 1717$ DELAY: 0.000000000000000,,VA:NEXT(1720$); 1720$ EXIT: Green chain:NEXT(529$); ; ; ; Model statements for module: Leave 29 ; 529$ DELAY: 0.00,,VA:NEXT(1741$); 1741$ QUEUE, Leave 29.Queue; 1745$ REQUEST, 3:Stacker 2(CYC,Lumber grade); 1733$ DELAY: 0.000000000000000,,VA:NEXT(1735$); 1735$ TRANSPORT: ,1COM cart.Station; ; ; ; Model statements for module: Enter 32 ; 551$ STATION, Lumber stacker 5.Station; 1748$ DELAY: 0.000000000000000,,VA:NEXT(1751$); 1751$ EXIT: Green chain:NEXT(552$); ; ; ; Model statements for module: Leave 32 ; 552$ DELAY: 0.00,,VA:NEXT(1772$); 1772$ QUEUE, Leave 32.Queue; 1776$ REQUEST, 3:Stacker 5(CYC,Lumber grade); 1764$ DELAY: 0.000000000000000,,VA:NEXT(1766$); 1766$ TRANSPORT: ,1COM cartII.Station; ; ; ; Model statements for module: Station 34 ; 547$ STATION, 2COM station; 1781$ DELAY: 0.0,,VA:NEXT(553$); ; ; ; Model statements for module: Decide 36 ; 553$ BRANCH, 1: If,IT(Stacker 3,1) == 0,1782$,Yes: Else,1783$,Yes; 1782$ ASSIGN: Decide 36.NumberOut True=Decide 36.NumberOut True + 1:NEXT(533$); 1783$ ASSIGN: Decide 36.NumberOut False=Decide 36.NumberOut False + 1:NEXT(554$); ; ; ; Model statements for module: Enter 25 ; 533$ STATION, Lumber stacker 3.Station; 1784$ DELAY: 0.000000000000000,,VA:NEXT(1787$); 1787$ EXIT: Green chain:NEXT(530$); ; ; ; Model statements for module: Leave 30 ; 530$ DELAY: 0.00,,VA:NEXT(1808$); 1808$ QUEUE, Leave 30.Queue; 1812$ REQUEST, 3:Stacker 3(CYC,Lumber grade); 1800$ DELAY: 0.000000000000000,,VA:NEXT(1802$); 1802$ TRANSPORT: ,2COM cart.Station; ; ; ; Model statements for module: Enter 33 ; 554$ STATION, Lumber stacker 6.Station; 1815$ DELAY: 0.000000000000000,,VA:NEXT(1818$); 1818$ EXIT: Green chain:NEXT(555$); ; ; ; Model statements for module: Leave 33 ; 555$ DELAY: 0.00,,VA:NEXT(1839$); 1839$ QUEUE, Leave 33.Queue; 1843$ REQUEST, 3:Stacker 6(CYC,Lumber grade); 1831$ DELAY: 0.000000000000000,,VA:NEXT(1833$); 1833$ TRANSPORT: ,2COM cartII.Station; ; ; ; Model statements for module: Enter 34 ; 556$ STATION, Fas cart II.Station; 1846$ DELAY: 0.000000000000000,,VA:NEXT(1848$); 1848$ FREE: Stacker 4:NEXT(572$); ; ; ; Model statements for module: Store 6 ; 572$ STORE: FAS bundle II:NEXT(573$); ; ; ; Model statements for module: Batch 4 ; 573$ QUEUE, Batch 4.Queue; 1857$ GROUP, ,Permanent:110,Last:NEXT(1858$); 1858$ ASSIGN: Batch 4.NumberOut=Batch 4.NumberOut + 1:NEXT(574$); ; ; ; Model statements for module: Request 6 ; 574$ QUEUE, Request 6.Queue; REQUEST, 1:Lumber forklift(CYC),50:NEXT(585$); ; ; ; Model statements for module: Transport 10 ; 585$ TRANSPORT: Lumber forklift,Lumber yard,50; ; ; ; Model statements for module: Enter 35 ; 557$ STATION, 1COM cartII.Station; 1860$ DELAY: 0.000000000000000,,VA:NEXT(1862$); 1862$ FREE: Stacker 5:NEXT(576$); ; ; ; Model statements for module: Store 7 ; 576$ STORE: 1COM bundle II:NEXT(577$); ; ; ; Model statements for module: Batch 5 ; 577$ QUEUE, Batch 5.Queue; 1871$ GROUP, ,Permanent:110,Last:NEXT(1872$); 1872$ ASSIGN: Batch 5.NumberOut=Batch 5.NumberOut + 1:NEXT(578$); ; ; ; Model statements for module: Request 7 ; 578$ QUEUE, Request 7.Queue; REQUEST, 1:Lumber forklift(CYC),50:NEXT(584$); ; ; ; Model statements for module: Transport 9 ; 584$ TRANSPORT: Lumber forklift,Lumber yard,50; ; ; ; Model statements for module: Enter 36 ; 558$ STATION, 2COM cartII.Station; 1874$ DELAY: 0.000000000000000,,VA:NEXT(1876$); 1876$ FREE: Stacker 6:NEXT(580$); ; ; ; Model statements for module: Store 8 ; 580$ STORE: 2COM bundle II:NEXT(581$); ; ; ; Model statements for module: Batch 6 ; 581$ QUEUE, Batch 6.Queue; 1885$ GROUP, ,Permanent:110,Last:NEXT(1886$); 1886$ ASSIGN: Batch 6.NumberOut=Batch 6.NumberOut + 1:NEXT(582$); ; ; ; Model statements for module: Request 8 ; 582$ QUEUE, Request 8.Queue; REQUEST, 1:Lumber forklift(CYC),50:NEXT(588$); ; ; ; Model statements for module: Transport 13 ; 588$ TRANSPORT: Lumber forklift,Lumber yard,50; ; ; ; Model statements for module: Station 45 ; 589$ STATION, Top of Green chain ladder conveyor; 1890$ DELAY: 0.0,,VA:NEXT(590$); ; ; ; Model statements for module: Access 20 ; 590$ QUEUE, Access green chain ladder conveyor.Queue; ACCESS: Green chain ladder conveyor,1:NEXT(606$); ; ; ; Model statements for module: Exit 37 ; 606$ EXIT: Middle trimmer conveyor,1:NEXT(592$); ; ; ; Model statements for module: Convey 29 ; 592$ CONVEY: Green chain ladder conveyor,Beginning of green chain; ; ; ; Model statements for module: Station 46 ; 597$ STATION, Cant stacking area; 1893$ DELAY: 0.0,,VA:NEXT(605$); ; ; ; Model statements for module: Exit 31 ; 605$ EXIT: Green chain,1:NEXT(598$); ; ; ; Model statements for module: Leave 40 ; 598$ DELAY: 0.00,,VA:NEXT(1907$); 1907$ QUEUE, Leave 40.Queue; 1911$ REQUEST, 1:Stacker 6(CYC); 1899$ DELAY: 0.000000000000000,,VA:NEXT(1901$); 1901$ TRANSPORT: ,Stack of cants.Station; ; ; ; Model statements for module: Enter 40 ; 599$ STATION, Stack of cants.Station; 1914$ DELAY: 0.000000000000000,,VA:NEXT(1916$); 1916$ FREE: Stacker 6:NEXT(600$); ; ; ; Model statements for module: Store 9 ; 600$ STORE: Cant storage:NEXT(601$); ; ; ; Model statements for module: Batch 14 ; 601$ QUEUE, Batch 14.Queue; 1925$ GROUP, ,Permanent:49,Last:NEXT(1926$); 1926$ ASSIGN: Batch 14.NumberOut=Batch 14.NumberOut + 1:NEXT(602$); ; ; ; Model statements for module: Request 12 ; 602$ QUEUE, Request 12.Queue; REQUEST, 1:Lumber forklift(CYC),50:NEXT(604$); ; ; ; Model statements for module: Transport 16 ; 604$ TRANSPORT: Lumber forklift,Lumber yard,50;