; ; ; Model statements for module: Station 1 ; 0$ STATION, Headrig and bandresaw holding area midpoint; 1188$ DELAY: 0.0,,VA:NEXT(57$); ; ; ; Model statements for module: Decide 35 ; 57$ BRANCH, 1: If,Lumber grade==1,58$,Yes: If,Lumber grade==2,58$,Yes: If,Lumber grade==3,58$,Yes: If,Lumber grade==4,58$,Yes: If,Lumber grade==5,58$,Yes: Else,151$,Yes; ; ; ; Model statements for module: Access 46 ; 151$ QUEUE, Access bandresaw holding area.Queue; ACCESS: Bandresaw holding conveyor,1:NEXT(157$); ; ; ; Model statements for module: Delay 28 ; 157$ DELAY: SecondsToBaseTime(2.61 + 0.45 * BETA(1.1, 0.949)),,Other:NEXT(276$); ; ; ; Model statements for module: Decide 395 ; 276$ BRANCH, 1: If,Dummy==4,1191$,Yes: Else,1192$,Yes; 1191$ ASSIGN: Decide 395.NumberOut True=Decide 395.NumberOut True + 1:NEXT(2$); 1192$ ASSIGN: Decide 395.NumberOut False=Decide 395.NumberOut False + 1:NEXT(1$); ; ; ; Model statements for module: Convey 1 ; 2$ CONVEY: Bandresaw holding conveyor,Bandresaw holding area and merry go round midpoint; ; ; ; Model statements for module: Exit 1 ; 1$ EXIT: Headrig conveyor,1:NEXT(2$); ; ; ; Model statements for module: Convey 37 ; 58$ CONVEY: Headrig conveyor,Headrig and conveyor edger midpoint; ; ; ; Model statements for module: Station 2 ; 3$ STATION, Bandresaw holding area and merry go round midpoint; 1195$ DELAY: 0.0,,VA:NEXT(22$); ; ; ; Model statements for module: Hold 1 ; 22$ QUEUE, Hold until logs are needed.Queue; WAIT: 1000,4:NEXT(4$); ; ; ; Model statements for module: Exit 2 ; 4$ EXIT: Bandresaw holding conveyor,1:NEXT(87$); ; ; ; Model statements for module: Batch 3 ; 87$ QUEUE, Batch logs.Queue; 1196$ GROUP, ,Temporary:4,Last:NEXT(1197$); 1197$ ASSIGN: Batch logs.NumberOut=Batch logs.NumberOut + 1:NEXT(75$); ; ; ; Model statements for module: Process 16 ; 75$ ASSIGN: Elevator.NumberIn=Elevator.NumberIn + 1: Elevator.WIP=Elevator.WIP+1; 1227$ STACK, 1:Save:NEXT(1201$); 1201$ QUEUE, Elevator.Queue; 1200$ SEIZE, 2,Tran: Elevator lift,1:NEXT(1199$); 1199$ DELAY: 0.250000000000000,,Tran:NEXT(1242$); 1242$ ASSIGN: Elevator.WaitTime=Elevator.WaitTime + Diff.WaitTime; 1206$ TALLY: Elevator.WaitTimePerEntity,Diff.WaitTime,1; 1243$ ASSIGN: Elevator.WaitCost=Elevator.WaitCost + Diff.WaitCost; 1204$ TALLY: Elevator.WaitCostPerEntity,Diff.WaitCost,1; 1208$ TALLY: Elevator.TotalTimePerEntity,Diff.StartTime,1; 1209$ TALLY: Elevator.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1232$ ASSIGN: Elevator.TranTime=Elevator.TranTime + Diff.TranTime; 1233$ TALLY: Elevator.TranTimePerEntity,Diff.TranTime,1; 1237$ ASSIGN: Elevator.TranCost=Elevator.TranCost + Diff.TranCost; 1234$ TALLY: Elevator.TranCostPerEntity,Diff.TranCost,1; 1198$ RELEASE: Elevator lift,1; 1247$ STACK, 1:Destroy:NEXT(1246$); 1246$ ASSIGN: Elevator.NumberOut=Elevator.NumberOut + 1: Elevator.WIP=Elevator.WIP-1:NEXT(76$); ; ; ; Model statements for module: Stop 6 ; 76$ STOP: First Merry go round conveyor:NEXT(74$); ; ; ; Model statements for module: Route 7 ; 74$ ROUTE: 0.000000000000000,Beginning of merry go round bottom portion; ; ; ; Model statements for module: Station 3 ; 5$ STATION, Bandresaw to gangsaw midpoint; 1251$ DELAY: 0.0,,VA:NEXT(202$); ; ; ; Model statements for module: Access 56 ; 202$ QUEUE, Access gangsaw conveyor.Queue; ACCESS: Pregangsaw conveyor,1:NEXT(277$); ; ; ; Model statements for module: Decide 396 ; 277$ BRANCH, 1: If,Dummy==5,1252$,Yes: Else,1253$,Yes; 1252$ ASSIGN: Decide 396.NumberOut True=Decide 396.NumberOut True + 1:NEXT(7$); 1253$ ASSIGN: Decide 396.NumberOut False=Decide 396.NumberOut False + 1:NEXT(6$); ; ; ; Model statements for module: Convey 3 ; 7$ CONVEY: Pregangsaw conveyor,End of pregangsaw conveyor; ; ; ; Model statements for module: Exit 3 ; 6$ EXIT: Bandresaw conveyor,1:NEXT(7$); ; ; ; Model statements for module: Station 5 ; 8$ STATION, Bandresaw to edger midpoint; 1256$ DELAY: 0.0,,VA:NEXT(204$); ; ; ; Model statements for module: ReadWrite 8 ; 204$ WRITE, Costing workbook,RECORDSET(BREv): Bandresaw volume:NEXT(205$); ; ; ; Model statements for module: ReadWrite 9 ; 205$ WRITE, Costing workbook,RECORDSET(BREg): Lumber grade:NEXT(223$); ; ; ; Model statements for module: ReadWrite 25 ; 223$ WRITE, Costing workbook,RECORDSET(BRElogvol): Volume:NEXT(225$); ; ; ; Model statements for module: ReadWrite 39 ; 225$ WRITE, Costing workbook,RECORDSET(BRElognumber): Log number:NEXT(133$); ; ; ; Model statements for module: Record 16 ; 133$ COUNT: Record Bandresaw volume I,Bandresaw volume:NEXT(304$); ; ; ; Model statements for module: Decide 403 ; 304$ BRANCH, 1: If,NQ(Access edger conveyor.Queue) >= UNIF(10,15) && STATE(Bandresaw operator) == -4,1257$,Yes: Else,1258$,Yes; 1257$ ASSIGN: Decide if edger queue from bandresaw is full.NumberOut True= Decide if edger queue from bandresaw is full.NumberOut True + 1:NEXT(305$); 1258$ ASSIGN: Decide if edger queue from bandresaw is full.NumberOut False= Decide if edger queue from bandresaw is full.NumberOut False + 1:NEXT(11$); ; ; ; Model statements for module: Assign 627 ; 305$ ASSIGN: Reman=2:NEXT(308$); ; ; ; Model statements for module: Assign 630 ; 308$ ASSIGN: Bandresaw edger attribute=200:NEXT(307$); ; ; ; Model statements for module: Convey 81 ; 307$ CONVEY: Bandresaw conveyor,Bandresaw to trimmmer conveyor midpoint; ; ; ; Model statements for module: Exit 5 ; 11$ EXIT: Bandresaw conveyor,1:NEXT(9$); ; ; ; Model statements for module: Access 5 ; 9$ QUEUE, Access edger conveyor.Queue; ACCESS: Edger conveyor,1:NEXT(12$); ; ; ; Model statements for module: Convey 5 ; 12$ CONVEY: Edger conveyor,End of edger conveyor; ; ; ; Model statements for module: Station 6 ; 13$ STATION, Bandresaw to trimmmer conveyor midpoint; 1261$ DELAY: 0.0,,VA:NEXT(194$); ; ; ; Model statements for module: Decide 124 ; 194$ BRANCH, 1: If,Gangsaw attribute==100,1262$,Yes: Else,1263$,Yes; 1262$ ASSIGN: Decide if entity has gangsaw attribute.NumberOut True= Decide if entity has gangsaw attribute.NumberOut True + 1:NEXT(212$); 1263$ ASSIGN: Decide if entity has gangsaw attribute.NumberOut False= Decide if entity has gangsaw attribute.NumberOut False + 1:NEXT(206$); ; ; ; Model statements for module: Convey 74 ; 212$ CONVEY: Trimmer conveyor,Headrig and trimmer conveyor midpoint; ; ; ; Model statements for module: ReadWrite 10 ; 206$ WRITE, Costing workbook,RECORDSET(BRTv): Bandresaw volume:NEXT(207$); ; ; ; Model statements for module: ReadWrite 11 ; 207$ WRITE, Costing workbook,RECORDSET(BRTg): Lumber grade:NEXT(224$); ; ; ; Model statements for module: ReadWrite 26 ; 224$ WRITE, Costing workbook,RECORDSET(BRTlogvol): Volume:NEXT(134$); ; ; ; Model statements for module: Record 17 ; 134$ COUNT: Record Bandresaw volume II,Bandresaw volume:NEXT(226$); ; ; ; Model statements for module: ReadWrite 40 ; 226$ WRITE, Costing workbook,RECORDSET(BRTlognumber): Log number:NEXT(227$); ; ; ; Model statements for module: ReadWrite 44 ; 227$ WRITE, Costing workbook,RECORDSET(BRTLATER): TNOW:NEXT(213$); ; ; ; Model statements for module: Exit 61 ; 213$ EXIT: Bandresaw conveyor,1:NEXT(210$); ; ; ; Model statements for module: Access 60 ; 210$ QUEUE, Access trimmer conveyor from bandresaw.Queue; ACCESS: Trimmer conveyor,1:NEXT(193$); ; ; ; Model statements for module: Assign 105 ; 193$ ASSIGN: Bandresaw edger attribute=200:NEXT(212$); ; ; ; Model statements for module: Station 7 ; 14$ STATION, Headrig and conveyor edger midpoint; 1266$ DELAY: 0.0,,VA:NEXT(15$); ; ; ; Model statements for module: Exit 7 ; 15$ EXIT: Headrig conveyor,1:NEXT(41$); ; ; ; Model statements for module: Route 1 ; 41$ ROUTE: SecondsToBaseTime(1.17 + 0.65 * BETA(0.722, 0.448)),Edger storage area; ; ; ; Model statements for module: Station 8 ; 16$ STATION, Headrig and trimmer conveyor midpoint; 1269$ DELAY: 0.0,,VA:NEXT(197$); ; ; ; Model statements for module: Decide 127 ; 197$ BRANCH, 1: If,Bandresaw edger attribute==200,20$,Yes: If,Gangsaw attribute==100,20$,Yes: Else,19$,Yes; ; ; ; Model statements for module: Exit 8 ; 19$ EXIT: Headrig conveyor,1:NEXT(17$); ; ; ; Model statements for module: Access 8 ; 17$ QUEUE, Access trimmer conveyor from headrig.Queue; ACCESS: Trimmer conveyor,1:NEXT(20$); ; ; ; Model statements for module: Convey 8 ; 20$ CONVEY: Trimmer conveyor,Edger check station; ; ; ; Model statements for module: Station 28 ; 24$ STATION, Beginning of green chain; 1274$ DELAY: 0.0,,VA:NEXT(90$); ; ; ; Model statements for module: Exit 46 ; 90$ EXIT: Post trimmer conveyor,1:NEXT(91$); ; ; ; Model statements for module: Access 38 ; 91$ QUEUE, Access green chain.Queue; ACCESS: Green chain,1:NEXT(39$); ; ; ; Model statements for module: Decide 15 ; 39$ BRANCH, 1: With,50/100,1275$,Yes: Else,1276$,Yes; 1275$ ASSIGN: Decide on lumber grader.NumberOut True=Decide on lumber grader.NumberOut True + 1:NEXT(310$); 1276$ ASSIGN: Decide on lumber grader.NumberOut False=Decide on lumber grader.NumberOut False + 1:NEXT(311$); ; ; ; Model statements for module: Convey 82 ; 310$ CONVEY: Green chain,First grader station; ; ; ; Model statements for module: Convey 83 ; 311$ CONVEY: Green chain,Second grader station; ; ; ; Model statements for module: Enter 12 ; 29$ STATION, Lumber stacker 1.Station; 1277$ DELAY: 0.000000000000000,,VA:NEXT(1283$); 1283$ DELAY: 0.000,,VA:NEXT(54$); ; ; ; Model statements for module: Exit 30 ; 54$ EXIT: Green chain,1:NEXT(26$); ; ; ; Model statements for module: Leave 19 ; 26$ DELAY: 0.00,,VA:NEXT(1301$); 1301$ QUEUE, Leave 19.Queue; 1305$ REQUEST, 3:Stacker 1(CYC,Lumber grade); 1293$ DELAY: 0.000000000000000,,VA:NEXT(1295$); 1295$ TRANSPORT: ,Fas cart.Station; ; ; ; Model statements for module: Enter 13 ; 30$ STATION, Lumber stacker 2.Station; 1308$ DELAY: 0.000000000000000,,VA:NEXT(1314$); 1314$ DELAY: 0.000,,VA:NEXT(55$); ; ; ; Model statements for module: Exit 31 ; 55$ EXIT: Green chain,1:NEXT(27$); ; ; ; Model statements for module: Leave 20 ; 27$ DELAY: 0.00,,VA:NEXT(1332$); 1332$ QUEUE, Leave 20.Queue; 1336$ REQUEST, 3:Stacker 2(CYC,Lumber grade); 1324$ DELAY: 0.000000000000000,,VA:NEXT(1326$); 1326$ TRANSPORT: ,1COM cart.Station; ; ; ; Model statements for module: Enter 14 ; 31$ STATION, Lumber stacker 3.Station; 1339$ DELAY: 0.000000000000000,,VA:NEXT(1345$); 1345$ DELAY: 0.000,,VA:NEXT(56$); ; ; ; Model statements for module: Exit 32 ; 56$ EXIT: Green chain,1:NEXT(28$); ; ; ; Model statements for module: Leave 21 ; 28$ DELAY: 0.00,,VA:NEXT(1363$); 1363$ QUEUE, Leave 21.Queue; 1367$ REQUEST, 3:Stacker 3(CYC,Lumber grade); 1355$ DELAY: 0.000000000000000,,VA:NEXT(1357$); 1357$ TRANSPORT: ,2COM cart.Station; ; ; ; Model statements for module: Enter 15 ; 35$ STATION, Fas cart.Station; 1370$ DELAY: 0.000000000000000,,VA:NEXT(1372$); 1372$ FREE: Stacker 1:NEXT(108$); ; ; ; Model statements for module: Store 2 ; 108$ STORE: FAS storage:NEXT(114$); ; ; ; Model statements for module: Hold 17 ; 114$ QUEUE, Hold FAS bundle.Queue; WAIT: 1:NEXT(126$); ; ; ; Model statements for module: Batch 4 ; 126$ QUEUE, Batch 4.Queue; 1381$ GROUP, ,Permanent:2,Last:NEXT(1382$); 1382$ ASSIGN: Batch 4.NumberOut=Batch 4.NumberOut + 1:NEXT(132$); ; ; ; Model statements for module: Dispose 16 ; 132$ ASSIGN: Dispose 16.NumberOut=Dispose 16.NumberOut + 1; 1383$ DISPOSE: Yes; ; ; ; Model statements for module: Enter 16 ; 36$ STATION, 1COM cart.Station; 1384$ DELAY: 0.000000000000000,,VA:NEXT(1386$); 1386$ FREE: Stacker 2:NEXT(109$); ; ; ; Model statements for module: Store 3 ; 109$ STORE: 1COM storage:NEXT(116$); ; ; ; Model statements for module: Hold 18 ; 116$ QUEUE, Hold 1COM bundle.Queue; WAIT: 1:NEXT(127$); ; ; ; Model statements for module: Batch 5 ; 127$ QUEUE, Batch 5.Queue; 1395$ GROUP, ,Permanent:2,Last:NEXT(1396$); 1396$ ASSIGN: Batch 5.NumberOut=Batch 5.NumberOut + 1:NEXT(132$); ; ; ; Model statements for module: Enter 17 ; 37$ STATION, 2COM cart.Station; 1397$ DELAY: 0.000000000000000,,VA:NEXT(1399$); 1399$ FREE: Stacker 3:NEXT(110$); ; ; ; Model statements for module: Store 4 ; 110$ STORE: 2COM storage:NEXT(118$); ; ; ; Model statements for module: Hold 19 ; 118$ QUEUE, Hold 2COM bundle.Queue; WAIT: 1:NEXT(128$); ; ; ; Model statements for module: Batch 6 ; 128$ QUEUE, Batch 6.Queue; 1408$ GROUP, ,Permanent:2,Last:NEXT(1409$); 1409$ ASSIGN: Batch 6.NumberOut=Batch 6.NumberOut + 1:NEXT(132$); ; ; ; Model statements for module: Station 29 ; 42$ STATION, Edger storage area; 1412$ DELAY: 0.0,,VA:NEXT(43$); ; ; ; Model statements for module: Assign 20 ; 43$ ASSIGN: Rank=RA(1):NEXT(44$); ; ; ; Model statements for module: Access 20 ; 44$ QUEUE, Access Edger ladder conveyor.Queue; ACCESS: Edger ladder conveyor,1:NEXT(46$); ; ; ; Model statements for module: Convey 25 ; 46$ CONVEY: Edger ladder conveyor,Top of edger ladder conveyor; ; ; ; Model statements for module: Station 30 ; 47$ STATION, Top of edger ladder conveyor; 1415$ DELAY: 0.0,,VA:NEXT(51$); ; ; ; Model statements for module: Access 21 ; 51$ QUEUE, Access preedger conveyor.Queue; ACCESS: Predger conveyor,1:NEXT(48$); ; ; ; Model statements for module: Exit 21 ; 48$ EXIT: Edger ladder conveyor,1:NEXT(49$); ; ; ; Model statements for module: Route 2 ; 49$ ROUTE: SecondsToBaseTime(TRIA( 0.5 , 1 , 2 )),Beginning of preedger conveyor; ; ; ; Model statements for module: Station 31 ; 50$ STATION, Beginning of preedger conveyor; 1418$ DELAY: 0.0,,VA:NEXT(53$); ; ; ; Model statements for module: Convey 26 ; 53$ CONVEY: Predger conveyor,Edger station.Station; ; ; ; Model statements for module: Station 40 ; 59$ STATION, End of edger conveyor; 1421$ DELAY: 0.0,,VA:NEXT(158$); ; ; ; Model statements for module: Decide 122 ; 158$ BRANCH, 1: If,NQ(Access Edger ladder conveyor.Queue) >= UNIF(5,10),1422$,Yes: Else,1423$,Yes; 1422$ ASSIGN: Decide if edger holding area is full.NumberOut True= Decide if edger holding area is full.NumberOut True + 1:NEXT(159$); 1423$ ASSIGN: Decide if edger holding area is full.NumberOut False= Decide if edger holding area is full.NumberOut False + 1:NEXT(60$); ; ; ; Model statements for module: Stop 8 ; 159$ STOP: Edger conveyor:NEXT(160$); ; ; ; Model statements for module: Hold 28 ; 160$ QUEUE, Hold until space in ladder queue is available.Queue; SCAN: NQ(Access Edger ladder conveyor.Queue) <= UNIF(8,12):NEXT(162$); ; ; ; Model statements for module: Start 16 ; 162$ START: Edger conveyor:NEXT(60$); ; ; ; Model statements for module: Exit 35 ; 60$ EXIT: Edger conveyor,1:NEXT(61$); ; ; ; Model statements for module: Route 4 ; 61$ ROUTE: 0.000000000000000,Edger storage area; ; ; ; Model statements for module: Station 41 ; 62$ STATION, End of pregangsaw conveyor; 1426$ DELAY: 0.0,,VA:NEXT(222$); ; ; ; Model statements for module: Route 12 ; 222$ ROUTE: 0.000000000000000,Gangsaw station.Station; ; ; ; Model statements for module: Station 43 ; 63$ STATION, End of second trimmer conveyor; 1429$ DELAY: 0.0,,VA:NEXT(163$); ; ; ; Model statements for module: Decide 123 ; 163$ BRANCH, 1: If,NQ(Access trimmer ladder conveyor.Queue) >= UNIF(8,12),164$,Yes: If,NQ(Hold for ladder conveyor.Queue) >= UNIF(8,12),164$,Yes: If,NQ(Hold until trimmer is oprating.Queue) >= UNIF(8,12),164$,Yes: If,STATE(Trimmer operator) == -4,164$,Yes: Else,73$,Yes; ; ; ; Model statements for module: Assign 95 ; 73$ ASSIGN: Trimmer rank=RA(1):NEXT(64$); ; ; ; Model statements for module: Exit 38 ; 64$ EXIT: Trimmer conveyor,1:NEXT(70$); ; ; ; Model statements for module: Route 6 ; 70$ ROUTE: 0.000000000000000,Bottom of trimmer ladder conveyor; ; ; ; Model statements for module: Stop 9 ; 164$ STOP: Trimmer conveyor:NEXT(165$); ; ; ; Model statements for module: Hold 29 ; 165$ QUEUE, Hold until space in trimmer ladder queue is available.Queue; SCAN: NQ(Access trimmer ladder conveyor.Queue) <= UNIF(10,15) && NQ(Hold until trimmer is oprating.Queue) <= 10 && NQ(Hold for ladder conveyor.Queue) <= 10 :NEXT(168$); ; ; ; Model statements for module: Hold 30 ; 168$ QUEUE, Hold until trimmer is oprating II.Queue; SCAN: STATE(Trimmer operator) == -1 || -2 || -3:NEXT(167$); ; ; ; Model statements for module: Start 17 ; 167$ START: Trimmer conveyor:NEXT(73$); ; ; ; Model statements for module: Station 44 ; 65$ STATION, Beginning of pretrimmer conveyor; 1434$ DELAY: 0.0,,VA:NEXT(66$); ; ; ; Model statements for module: Access 30 ; 66$ QUEUE, Access pretrimmer conveyor.Queue; ACCESS: Pretrimmer conveyor,1:NEXT(68$); ; ; ; Model statements for module: Exit 39 ; 68$ EXIT: Trimmer ladder conveyor,1:NEXT(69$); ; ; ; Model statements for module: Convey 40 ; 69$ CONVEY: Pretrimmer conveyor,Beginning of pretrimmer ladder conveyor; ; ; ; Model statements for module: Station 45 ; 71$ STATION, Bottom of trimmer ladder conveyor; 1437$ DELAY: 0.0,,VA:NEXT(170$); ; ; ; Model statements for module: Access 48 ; 170$ QUEUE, Access trimmer ladder conveyor.Queue; ACCESS: Trimmer ladder conveyor,1:NEXT(72$); ; ; ; Model statements for module: Convey 41 ; 72$ CONVEY: Trimmer ladder conveyor,Beginning of pretrimmer conveyor; ; ; ; Model statements for module: Station 46 ; 77$ STATION, Beginning of merry go round bottom portion; 1440$ DELAY: 0.0,,VA:NEXT(88$); ; ; ; Model statements for module: Separate 14 ; 88$ SPLIT::NEXT(1441$); 1441$ ASSIGN: Separate batch from merry go round holding area.NumberOut Orig= Separate batch from merry go round holding area.NumberOut Orig + 1:NEXT(89$); ; ; ; Model statements for module: Assign 96 ; 89$ ASSIGN: m=Beginning of merry go round bottom portion:NEXT(78$); ; ; ; Model statements for module: Access 32 ; 78$ QUEUE, Access merry go round.Queue; ACCESS: Second Merry go round conveyor,1:NEXT(218$); ; ; ; Model statements for module: Decide 185 ; 218$ BRANCH, 1: If,Dummy>=2,1444$,Yes: Else,1445$,Yes; 1444$ ASSIGN: Decide 185.NumberOut True=Decide 185.NumberOut True + 1:NEXT(275$); 1445$ ASSIGN: Decide 185.NumberOut False=Decide 185.NumberOut False + 1:NEXT(81$); ; ; ; Model statements for module: Assign 603 ; 275$ ASSIGN: Log number=ANINT(IDENT *NORM(1,1000) ):NEXT(216$); ; ; ; Model statements for module: Decide 184 ; 216$ BRANCH, 1: If,Log type==1,255$,Yes: If,Log type==2,256$,Yes: If,Log type==3,257$,Yes: If,Log type==4,258$,Yes: If,Log type==5,259$,Yes: If,Log type==6,260$,Yes: If,Log type==7,261$,Yes: If,Log type==8,262$,Yes: If,Log type==9,263$,Yes: If,Log type==10,264$,Yes: If,Log type==11,265$,Yes: If,Log type==12,266$,Yes: If,Log type==13,267$,Yes: If,Log type==14,268$,Yes: If,Log type==15,269$,Yes: If,Log type==16,270$,Yes: If,Log type==17,271$,Yes: If,Log type==18,272$,Yes: If,Log type==19,273$,Yes: If,Log type==20,274$,Yes: Else,217$,Yes; ; ; ; Model statements for module: Dispose 21 ; 217$ ASSIGN: Dispose 21.NumberOut=Dispose 21.NumberOut + 1; 1448$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 335 ; 255$ ASSIGN: bandresaw cuts=DISC(0.5, 5, 1, 6):NEXT(81$); ; ; ; Model statements for module: Start 12 ; 81$ START: First Merry go round conveyor:NEXT(219$); ; ; ; Model statements for module: Assign 164 ; 219$ ASSIGN: Dummy=0:NEXT(80$); ; ; ; Model statements for module: Convey 44 ; 80$ CONVEY: Second Merry go round conveyor,End of second merry go round conveyor; ; ; ; Model statements for module: Assign 336 ; 256$ ASSIGN: bandresaw cuts=DISC(0.666667, 3, 1, 6):NEXT(81$); ; ; ; Model statements for module: Assign 337 ; 257$ ASSIGN: bandresaw cuts=DISC(0.5, 6, 1, 8):NEXT(81$); ; ; ; Model statements for module: Assign 338 ; 258$ ASSIGN: bandresaw cuts=DISC(0.333333, 4, 0.66667, 5, 1, 9):NEXT(81$); ; ; ; Model statements for module: Assign 339 ; 259$ ASSIGN: bandresaw cuts=DISC(1, 7):NEXT(81$); ; ; ; Model statements for module: Assign 340 ; 260$ ASSIGN: bandresaw cuts=DISC(0.5, 11, 1, 14):NEXT(81$); ; ; ; Model statements for module: Assign 341 ; 261$ ASSIGN: bandresaw cuts=DISC(1, 13):NEXT(81$); ; ; ; Model statements for module: Assign 342 ; 262$ ASSIGN: bandresaw cuts=DISC(0.33, 3, 1, 6):NEXT(81$); ; ; ; Model statements for module: Assign 343 ; 263$ ASSIGN: bandresaw cuts=DISC(0.67, 7, 1, 11):NEXT(81$); ; ; ; Model statements for module: Assign 344 ; 264$ ASSIGN: bandresaw cuts=DISC(1, 6):NEXT(81$); ; ; ; Model statements for module: Assign 345 ; 265$ ASSIGN: bandresaw cuts=DISC(1, 12):NEXT(81$); ; ; ; Model statements for module: Assign 346 ; 266$ ASSIGN: bandresaw cuts=DISC(0.33, 8, 1, 14):NEXT(81$); ; ; ; Model statements for module: Assign 347 ; 267$ ASSIGN: bandresaw cuts=DISC(0.67, 13, 1, 14):NEXT(81$); ; ; ; Model statements for module: Assign 348 ; 268$ ASSIGN: bandresaw cuts=DISC(0.33333, 2, 0.66666, 6, 1, 9):NEXT(81$); ; ; ; Model statements for module: Assign 349 ; 269$ ASSIGN: bandresaw cuts=DISC(0.333333, 3, 0.666667, 5, 1, 6):NEXT(81$); ; ; ; Model statements for module: Assign 350 ; 270$ ASSIGN: bandresaw cuts=DISC(0.33334, 5, 0.66668, 8, 1, 9):NEXT(81$); ; ; ; Model statements for module: Assign 351 ; 271$ ASSIGN: bandresaw cuts=DISC(0.333333, 4, 0.666667, 5, 1, 7):NEXT(81$); ; ; ; Model statements for module: Assign 352 ; 272$ ASSIGN: bandresaw cuts=DISC(0.333333, 10, 1, 11):NEXT(81$); ; ; ; Model statements for module: Assign 353 ; 273$ ASSIGN: bandresaw cuts=DISC(0.666667, 11, 1, 19):NEXT(81$); ; ; ; Model statements for module: Assign 354 ; 274$ ASSIGN: bandresaw cuts=DISC(0.5, 14, 1, 16):NEXT(81$); ; ; ; Model statements for module: Station 47 ; 82$ STATION, End of first trimmer conveyor; 1451$ DELAY: 0.0,,VA:NEXT(214$); ; ; ; Model statements for module: Hold 43 ; 214$ QUEUE, Hold 43.Queue; SCAN: NQ(Access trimmer conveyor from bandresaw.Queue) <= UNIF(2,8):NEXT(85$); ; ; ; Model statements for module: Route 8 ; 85$ ROUTE: 0.000000000000000,Beginning of trimmer conveyor; ; ; ; Model statements for module: Station 48 ; 83$ STATION, Beginning of trimmer conveyor; 1454$ DELAY: 0.0,,VA:NEXT(208$); ; ; ; Model statements for module: Access 57 ; 208$ QUEUE, Access trimmer conveyor at the beginning.Queue; ACCESS: Trimmer conveyor,1:NEXT(86$); ; ; ; Model statements for module: Exit 42 ; 86$ EXIT: First trimmer conveyor,1:NEXT(84$); ; ; ; Model statements for module: Convey 46 ; 84$ CONVEY: Trimmer conveyor,Headrig and trimmer conveyor midpoint; ; ; ; Model statements for module: Enter 19 ; 97$ STATION, Lumber stacker 4.Station; 1455$ DELAY: 0.000000000000000,,VA:NEXT(1461$); 1461$ DELAY: 0.000,,VA:NEXT(98$); ; ; ; Model statements for module: Exit 49 ; 98$ EXIT: Green chain,1:NEXT(96$); ; ; ; Model statements for module: Leave 24 ; 96$ DELAY: 0.00,,VA:NEXT(1479$); 1479$ QUEUE, Leave 24.Queue; 1483$ REQUEST, 3:Stacker 4(CYC,Lumber grade); 1471$ DELAY: 0.000000000000000,,VA:NEXT(1473$); 1473$ TRANSPORT: ,3A cart.Station; ; ; ; Model statements for module: Enter 20 ; 100$ STATION, Lumber stacker 5.Station; 1486$ DELAY: 0.000000000000000,,VA:NEXT(1492$); 1492$ DELAY: 0.000,,VA:NEXT(101$); ; ; ; Model statements for module: Exit 50 ; 101$ EXIT: Green chain,1:NEXT(99$); ; ; ; Model statements for module: Leave 25 ; 99$ DELAY: 0.00,,VA:NEXT(1510$); 1510$ QUEUE, Leave 25.Queue; 1514$ REQUEST, 3:Stacker 5(CYC,Lumber grade); 1502$ DELAY: 0.000000000000000,,VA:NEXT(1504$); 1504$ TRANSPORT: ,3B cart.Station; ; ; ; Model statements for module: Enter 21 ; 103$ STATION, Lumber stacker 6.Station; 1517$ DELAY: 0.000000000000000,,VA:NEXT(1523$); 1523$ DELAY: 0.000,,VA:NEXT(104$); ; ; ; Model statements for module: Exit 51 ; 104$ EXIT: Green chain,1:NEXT(102$); ; ; ; Model statements for module: Leave 26 ; 102$ DELAY: 0.00,,VA:NEXT(1541$); 1541$ QUEUE, Leave 26.Queue; 1545$ REQUEST, 3:Stacker 6(CYC,Lumber grade); 1533$ DELAY: 0.000000000000000,,VA:NEXT(1535$); 1535$ TRANSPORT: ,Cant cart.Station; ; ; ; Model statements for module: Enter 22 ; 105$ STATION, 3A cart.Station; 1548$ DELAY: 0.000000000000000,,VA:NEXT(1550$); 1550$ FREE: Stacker 4:NEXT(111$); ; ; ; Model statements for module: Store 5 ; 111$ STORE: 3A storage:NEXT(120$); ; ; ; Model statements for module: Hold 20 ; 120$ QUEUE, Hold 3A bundle.Queue; WAIT: 1:NEXT(129$); ; ; ; Model statements for module: Batch 7 ; 129$ QUEUE, Batch 7.Queue; 1559$ GROUP, ,Permanent:2,Last:NEXT(1560$); 1560$ ASSIGN: Batch 7.NumberOut=Batch 7.NumberOut + 1:NEXT(132$); ; ; ; Model statements for module: Enter 23 ; 106$ STATION, 3B cart.Station; 1561$ DELAY: 0.000000000000000,,VA:NEXT(1563$); 1563$ FREE: Stacker 5:NEXT(112$); ; ; ; Model statements for module: Store 6 ; 112$ STORE: 3B storage:NEXT(122$); ; ; ; Model statements for module: Hold 21 ; 122$ QUEUE, Hold 3B bundle.Queue; WAIT: 1:NEXT(130$); ; ; ; Model statements for module: Batch 8 ; 130$ QUEUE, Batch 8.Queue; 1572$ GROUP, ,Permanent:2,Last:NEXT(1573$); 1573$ ASSIGN: Batch 8.NumberOut=Batch 8.NumberOut + 1:NEXT(132$); ; ; ; Model statements for module: Enter 24 ; 107$ STATION, Cant cart.Station; 1574$ DELAY: 0.000000000000000,,VA:NEXT(1576$); 1576$ FREE: Stacker 6:NEXT(113$); ; ; ; Model statements for module: Store 7 ; 113$ STORE: Cants storage:NEXT(124$); ; ; ; Model statements for module: Hold 22 ; 124$ QUEUE, Hold Cant bundle.Queue; WAIT: 1:NEXT(131$); ; ; ; Model statements for module: Batch 9 ; 131$ QUEUE, Batch 9.Queue; 1585$ GROUP, ,Permanent:2,Last:NEXT(1586$); 1586$ ASSIGN: Batch 9.NumberOut=Batch 9.NumberOut + 1:NEXT(132$); ; ; ; Model statements for module: Station 49 ; 136$ STATION, End of bandresaw transfer conveyor; 1589$ DELAY: 0.0,,VA:NEXT(148$); ; ; ; Model statements for module: Exit 54 ; 148$ EXIT: Bandresaw transfer conveyor,1:NEXT(137$); ; ; ; Model statements for module: Access 40 ; 137$ QUEUE, Access first merry go round conveyor.Queue; ACCESS: First Merry go round conveyor,1:NEXT(139$); ; ; ; Model statements for module: Convey 52 ; 139$ CONVEY: First Merry go round conveyor,End of first merry go round conveyor; ; ; ; Model statements for module: Station 50 ; 140$ STATION, Headrig to short bandresaw conveyor midpoint; 1592$ DELAY: 0.0,,VA:NEXT(146$); ; ; ; Model statements for module: Decide 109 ; 146$ BRANCH, 1: If,Lumber grade==1,147$,Yes: If,Lumber grade==2,147$,Yes: If,Lumber grade==3,147$,Yes: If,Lumber grade==4,147$,Yes: If,Lumber grade==5,147$,Yes: Else,156$,Yes; ; ; ; Model statements for module: Decide 121 ; 156$ BRANCH, 1: If, (NEA(Bandresaw holding conveyor) + NEC(Bandresaw holding conveyor) )>= 45 && (NEA(Short bandresaw conveyor) + NEC(Short bandresaw conveyor) ) <= 18, 153$,Yes: Else,155$,Yes; ; ; ; Model statements for module: Convey 60 ; 155$ CONVEY: Headrig conveyor,Headrig and bandresaw holding area midpoint; ; ; ; Model statements for module: Access 47 ; 153$ QUEUE, Access short bandresaw conveyor.Queue; ACCESS: Short bandresaw conveyor,1:NEXT(278$); ; ; ; Model statements for module: Decide 397 ; 278$ BRANCH, 1: If,Dummy==6,1597$,Yes: Else,1598$,Yes; 1597$ ASSIGN: Decide 397.NumberOut True=Decide 397.NumberOut True + 1:NEXT(281$); 1598$ ASSIGN: Decide 397.NumberOut False=Decide 397.NumberOut False + 1:NEXT(142$); ; ; ; Model statements for module: Decide 399 ; 281$ BRANCH, 1: If,Log type==1,282$,Yes: If,Log type==2,283$,Yes: If,Log type==3,284$,Yes: If,Log type==4,285$,Yes: If,Log type==5,286$,Yes: If,Log type==6,287$,Yes: If,Log type==7,288$,Yes: If,Log type==8,289$,Yes: If,Log type==9,290$,Yes: If,Log type==10,291$,Yes: If,Log type==11,292$,Yes: If,Log type==12,301$,Yes: If,Log type==13,293$,Yes: If,Log type==14,294$,Yes: If,Log type==15,295$,Yes: If,Log type==16,296$,Yes: If,Log type==17,297$,Yes: If,Log type==18,298$,Yes: If,Log type==19,299$,Yes: If,Log type==20,300$,Yes: Else,302$,Yes; ; ; ; Model statements for module: Dispose 26 ; 302$ ASSIGN: Dispose 26.NumberOut=Dispose 26.NumberOut + 1; 1601$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 606 ; 282$ ASSIGN: bandresaw cuts=DISC(0.5, 5, 1, 6):NEXT(303$); ; ; ; Model statements for module: Assign 626 ; 303$ ASSIGN: Dummy=0:NEXT(143$); ; ; ; Model statements for module: Convey 53 ; 143$ CONVEY: Short bandresaw conveyor,End of short bandresaw conveyor; ; ; ; Model statements for module: Assign 607 ; 283$ ASSIGN: bandresaw cuts=DISC(0.666667, 3, 1, 6):NEXT(303$); ; ; ; Model statements for module: Assign 608 ; 284$ ASSIGN: bandresaw cuts=DISC(0.5, 6, 1, 8):NEXT(303$); ; ; ; Model statements for module: Assign 609 ; 285$ ASSIGN: bandresaw cuts=DISC(0.333333, 4, 0.66667, 5, 1, 9):NEXT(303$); ; ; ; Model statements for module: Assign 610 ; 286$ ASSIGN: bandresaw cuts=DISC(1, 7):NEXT(303$); ; ; ; Model statements for module: Assign 611 ; 287$ ASSIGN: bandresaw cuts=DISC(0.5, 11, 1, 14):NEXT(303$); ; ; ; Model statements for module: Assign 612 ; 288$ ASSIGN: bandresaw cuts=DISC(1, 13):NEXT(303$); ; ; ; Model statements for module: Assign 613 ; 289$ ASSIGN: bandresaw cuts=DISC(0.33, 3, 1, 6):NEXT(303$); ; ; ; Model statements for module: Assign 614 ; 290$ ASSIGN: bandresaw cuts=DISC(0.67, 7, 1, 11):NEXT(303$); ; ; ; Model statements for module: Assign 615 ; 291$ ASSIGN: bandresaw cuts=DISC(1, 6):NEXT(303$); ; ; ; Model statements for module: Assign 616 ; 292$ ASSIGN: bandresaw cuts=DISC(1, 12):NEXT(303$); ; ; ; Model statements for module: Assign 625 ; 301$ ASSIGN: bandresaw cuts=DISC(0.33, 8, 1, 14):NEXT(303$); ; ; ; Model statements for module: Assign 617 ; 293$ ASSIGN: bandresaw cuts=DISC(0.67, 13, 1, 14):NEXT(303$); ; ; ; Model statements for module: Assign 618 ; 294$ ASSIGN: bandresaw cuts=DISC(0.33333, 2, 0.66666, 6, 1, 9):NEXT(303$); ; ; ; Model statements for module: Assign 619 ; 295$ ASSIGN: bandresaw cuts=DISC(0.333333, 3, 0.666667, 5, 1, 6):NEXT(303$); ; ; ; Model statements for module: Assign 620 ; 296$ ASSIGN: bandresaw cuts=DISC(0.33334, 5, 0.66668, 8, 1, 9):NEXT(303$); ; ; ; Model statements for module: Assign 621 ; 297$ ASSIGN: bandresaw cuts=DISC(0.333333, 4, 0.666667, 5, 1, 7):NEXT(303$); ; ; ; Model statements for module: Assign 622 ; 298$ ASSIGN: bandresaw cuts=DISC(0.333333, 10, 1, 11):NEXT(303$); ; ; ; Model statements for module: Assign 623 ; 299$ ASSIGN: bandresaw cuts=DISC(0.666667, 11, 1, 19):NEXT(303$); ; ; ; Model statements for module: Assign 624 ; 300$ ASSIGN: bandresaw cuts=DISC(0.5, 14, 1, 16):NEXT(303$); ; ; ; Model statements for module: Exit 52 ; 142$ EXIT: Headrig conveyor,1:NEXT(143$); ; ; ; Model statements for module: Convey 57 ; 147$ CONVEY: Headrig conveyor,Headrig and conveyor edger midpoint; ; ; ; Model statements for module: Station 51 ; 141$ STATION, End of short bandresaw conveyor; 1604$ DELAY: 0.0,,VA:NEXT(149$); ; ; ; Model statements for module: Hold 25 ; 149$ QUEUE, Hold until short bandresaw conveyor is full.Queue; SCAN: (((NEA(Short bandresaw conveyor) + NEC(Short bandresaw conveyor) )>= 19 && ( NEC(First Merry go round conveyor) + NEA(First Merry go round conveyor)+NEA(Second Merry go round conveyor) + NEC(Second Merry go round conveyor) + NEA(Third Merry go round conveyor) + NEC(Third Merry go round conveyor)) == DISC(0.5, 29, 1.0, 30) && NEA(Bandresaw holding conveyor) + NEC(Bandresaw holding conveyor) >= 45)) || ((NEA(Bandresaw holding conveyor) + NEC(Bandresaw holding conveyor) )<= 5 && (NEA(First Merry go round conveyor) + NEC(First Merry go round conveyor) + NEA(Second Merry go round conveyor) + NEC(Second Merry go round conveyor) + NEA(Third Merry go round conveyor) + NEC(Third Merry go round conveyor)) <= 20) :NEXT(145$); ; ; ; Model statements for module: Route 9 ; 145$ ROUTE: 0.000000000000000,In front of bandresaw operator; ; ; ; Model statements for module: Station 55 ; 172$ STATION, End of first merry go round conveyor; 1607$ DELAY: 0.0,,VA:NEXT(220$); ; ; ; Model statements for module: Hold 44 ; 220$ QUEUE, Hold 44.Queue; SCAN: NQ(Access merry go round.Queue) == 0:NEXT(173$); ; ; ; Model statements for module: Access 50 ; 173$ QUEUE, Access second merry go round conveyor.Queue; ACCESS: Second Merry go round conveyor,1:NEXT(175$); ; ; ; Model statements for module: Exit 57 ; 175$ EXIT: First Merry go round conveyor,1:NEXT(176$); ; ; ; Model statements for module: Convey 63 ; 176$ CONVEY: Second Merry go round conveyor,End of second merry go round conveyor; ; ; ; Model statements for module: Station 56 ; 177$ STATION, End of second merry go round conveyor; 1610$ DELAY: 0.0,,VA:NEXT(187$); ; ; ; Model statements for module: Assign 103 ; 187$ ASSIGN: Merry go round attribute=1:NEXT(182$); ; ; ; Model statements for module: Seize 22 ; 182$ QUEUE, Seize Cant flipper.Queue; SEIZE, 2,Other: Cant flipper,1:NEXT(1612$); 1612$ DELAY: 0.0,,VA:NEXT(188$); ; ; ; Model statements for module: Convey 66 ; 188$ CONVEY: Second Merry go round conveyor,Cant flipper station; ; ; ; Model statements for module: Station 57 ; 186$ STATION, End of third merry go round conveyor; 1615$ DELAY: 0.0,,VA:NEXT(228$); ; ; ; Model statements for module: Access 63 ; 228$ QUEUE, Access prebandresaw transfer conveyor.Queue; ACCESS: Prebandresaw transfer conveyor,1:NEXT(237$); ; ; ; Model statements for module: Convey 76 ; 237$ CONVEY: Prebandresaw transfer conveyor,In front of bandresaw operator; ; ; ; Model statements for module: Station 58 ; 189$ STATION, Cant flipper station; 1618$ DELAY: 0.0,,VA:NEXT(181$); ; ; ; Model statements for module: Process 17 ; 181$ ASSIGN: Flip cant.NumberIn=Flip cant.NumberIn + 1: Flip cant.WIP=Flip cant.WIP+1; 1648$ STACK, 1:Save:NEXT(1620$); 1620$ DELAY: SecondsToBaseTime(0.19 + LOGN(0.523, 0.278, stream24)),,Tran:NEXT(1629$); 1629$ TALLY: Flip cant.TotalTimePerEntity,Diff.StartTime,1; 1630$ TALLY: Flip cant.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1653$ ASSIGN: Flip cant.TranTime=Flip cant.TranTime + Diff.TranTime; 1654$ TALLY: Flip cant.TranTimePerEntity,Diff.TranTime,1; 1658$ ASSIGN: Flip cant.TranCost=Flip cant.TranCost + Diff.TranCost; 1655$ TALLY: Flip cant.TranCostPerEntity,Diff.TranCost,1; 1668$ STACK, 1:Destroy:NEXT(1667$); 1667$ ASSIGN: Flip cant.NumberOut=Flip cant.NumberOut + 1: Flip cant.WIP=Flip cant.WIP-1:NEXT(178$); ; ; ; Model statements for module: Access 51 ; 178$ QUEUE, Access third merry go round conveyor.Queue; ACCESS: Third Merry go round conveyor,1:NEXT(184$); ; ; ; Model statements for module: Release 23 ; 184$ RELEASE: Cant flipper,1:NEXT(180$); ; ; ; Model statements for module: Exit 58 ; 180$ EXIT: Second Merry go round conveyor,1:NEXT(185$); ; ; ; Model statements for module: Convey 65 ; 185$ CONVEY: Third Merry go round conveyor,End of third merry go round conveyor; ; ; ; Model statements for module: Station 59 ; 196$ STATION, Post edger conveyor to trimmer conveyor midpoint; 1672$ DELAY: 0.0,,VA:NEXT(195$); ; ; ; Model statements for module: Decide 125 ; 195$ BRANCH, 1: If,Bandresaw edger attribute == 200 && Reman == 0,192$,Yes: If,Gangsaw attribute==100,192$,Yes: If,Bandresaw edger attribute == 200 && Reman == 2,192$,Yes: If,Bandresaw edger attribute == 200 && Reman == 1,21$,Yes: Else,21$,Yes; ; ; ; Model statements for module: Exit 9 ; 21$ EXIT: Post edger conveyor,1:NEXT(235$); ; ; ; Model statements for module: ReadWrite 50 ; 235$ WRITE, Costing workbook,RECORDSET(EdgerTAFTER): TNOW:NEXT(190$); ; ; ; Model statements for module: Access 52 ; 190$ QUEUE, Access trimmer conveyor from edger.Queue; ACCESS: Trimmer conveyor,1:NEXT(192$); ; ; ; Model statements for module: Convey 70 ; 192$ CONVEY: Trimmer conveyor,End of second trimmer conveyor; ; ; ; Model statements for module: Station 60 ; 200$ STATION, Edger check station; 1677$ DELAY: 0.0,,VA:NEXT(198$); ; ; ; Model statements for module: Hold 32 ; 198$ QUEUE, Hold 32.Queue; SCAN: NQ(Access trimmer conveyor from edger.Queue) <= UNIF(5,10):NEXT(201$); ; ; ; Model statements for module: Convey 71 ; 201$ CONVEY: Trimmer conveyor,Post edger conveyor to trimmer conveyor midpoint; ; ; ; Model statements for module: Station 61 ; 234$ STATION, In front of bandresaw operator; 1680$ DELAY: 0.0,,VA:NEXT(238$); ; ; ; Model statements for module: Access 64 ; 238$ QUEUE, Access prebandresaw conveyor.Queue; ACCESS: Prebandresaw conveyor,1:NEXT(249$); ; ; ; Model statements for module: Decide 190 ; 249$ BRANCH, 1: If,Merry go round attribute==1,1681$,Yes: Else,1682$,Yes; 1681$ ASSIGN: Decide 190.NumberOut True=Decide 190.NumberOut True + 1:NEXT(230$); 1682$ ASSIGN: Decide 190.NumberOut False=Decide 190.NumberOut False + 1:NEXT(144$); ; ; ; Model statements for module: Exit 62 ; 230$ EXIT: Third Merry go round conveyor,1:NEXT(231$); ; ; ; Model statements for module: Seize 24 ; 231$ QUEUE, Sieze bandresaw operator.Queue; SEIZE, 2,Other: Bandresaw operator,1:NEXT(1684$); 1684$ DELAY: 0.0,,VA:NEXT(236$); ; ; ; Model statements for module: ReadWrite 52 ; 236$ WRITE, Costing workbook,RECORDSET(BRTNOW): TNOW:NEXT(233$); ; ; ; Model statements for module: Convey 75 ; 233$ CONVEY: Prebandresaw conveyor,Bandresaw station; ; ; ; Model statements for module: Exit 53 ; 144$ EXIT: Short bandresaw conveyor,1:NEXT(231$); ; ; ; Model statements for module: Station 62 ; 240$ STATION, Beginning of pretrimmer ladder conveyor; 1687$ DELAY: 0.0,,VA:NEXT(252$); ; ; ; Model statements for module: Decide 192 ; 252$ BRANCH, 1: If,(NEA(Pretrimmer conveyor) + NEC(Pretrimmer conveyor) ) >= 12,250$,Yes: Else,246$,Yes; ; ; ; Model statements for module: Seize 25 ; 246$ QUEUE, Seize trimmer.Queue; SEIZE, 2,Other: Trimmer operator,1:NEXT(1691$); 1691$ DELAY: 0.0,,VA:NEXT(306$); ; ; ; Model statements for module: Decide 404 ; 306$ BRANCH, 1: If,Reman>=2,245$,Yes: Else,254$,Yes; ; ; ; Model statements for module: Decide 195 ; 254$ BRANCH, 1: With,95/100,1694$,Yes: Else,1695$,Yes; 1694$ ASSIGN: Decide if board will be handled.NumberOut True=Decide if board will be handled.NumberOut True + 1 :NEXT(245$); 1695$ ASSIGN: Decide if board will be handled.NumberOut False=Decide if board will be handled.NumberOut False + 1 :NEXT(253$); ; ; ; Model statements for module: Process 19 ; 245$ ASSIGN: Trimmer.NumberIn=Trimmer.NumberIn + 1: Trimmer.WIP=Trimmer.WIP+1; 1725$ STACK, 1:Save:NEXT(1697$); 1697$ DELAY: SecondsToBaseTime(9 * BETA(0.889, 3.3, stream13)),,VA:NEXT(1706$); 1706$ TALLY: Trimmer.TotalTimePerEntity,Diff.StartTime,1; 1707$ TALLY: Trimmer.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1730$ ASSIGN: Trimmer.VATime=Trimmer.VATime + Diff.VATime; 1731$ TALLY: Trimmer.VATimePerEntity,Diff.VATime,1; 1735$ ASSIGN: Trimmer.VACost=Trimmer.VACost + Diff.VACost; 1732$ TALLY: Trimmer.VACostPerEntity,Diff.VACost,1; 1745$ STACK, 1:Destroy:NEXT(1744$); 1744$ ASSIGN: Trimmer.NumberOut=Trimmer.NumberOut + 1: Trimmer.WIP=Trimmer.WIP-1:NEXT(253$); ; ; ; Model statements for module: Decide 193 ; 253$ BRANCH, 1: If,(NEA(Pretrimmer conveyor) + NEC(Pretrimmer conveyor) ) < 12,251$,Yes: Else,241$,Yes; ; ; ; Model statements for module: Access 65 ; 241$ QUEUE, Access trimmer lug conveyor.Queue; ACCESS: Trimmer lug conveyor,1:NEXT(279$); ; ; ; Model statements for module: Hold 56 ; 279$ QUEUE, Hold 56.Queue; SCAN: NQ(Access green chain.Queue) <= UNIF(1,8):NEXT(248$); ; ; ; Model statements for module: Release 26 ; 248$ RELEASE: Trimmer operator,1:NEXT(243$); ; ; ; Model statements for module: Exit 64 ; 243$ EXIT: Pretrimmer conveyor,1:NEXT(244$); ; ; ; Model statements for module: Convey 77 ; 244$ CONVEY: Trimmer lug conveyor,Trimmer station.Station; ; ; ; Model statements for module: Start 19 ; 251$ START: Trimmer ladder conveyor:NEXT(241$); ; ; ; Model statements for module: Stop 11 ; 250$ STOP: Trimmer ladder conveyor:NEXT(246$); ; ; ; Model statements for module: Station 67 ; 309$ STATION, First grader station; 1751$ DELAY: 0.0,,VA:NEXT(38$); ; ; ; Model statements for module: Process 12 ; 38$ ASSIGN: Lumber grader 1.NumberIn=Lumber grader 1.NumberIn + 1: Lumber grader 1.WIP=Lumber grader 1.WIP+1; 1781$ STACK, 1:Save:NEXT(1755$); 1755$ QUEUE, Lumber grader 1.Queue; 1754$ SEIZE, 2,VA: Grader 1,1:NEXT(1753$); 1753$ DELAY: SecondsToBaseTime(0.14 + LOGN(2.33, 1.52, stream14)),,VA:NEXT(1796$); 1796$ ASSIGN: Lumber grader 1.WaitTime=Lumber grader 1.WaitTime + Diff.WaitTime; 1760$ TALLY: Lumber grader 1.WaitTimePerEntity,Diff.WaitTime,1; 1797$ ASSIGN: Lumber grader 1.WaitCost=Lumber grader 1.WaitCost + Diff.WaitCost; 1758$ TALLY: Lumber grader 1.WaitCostPerEntity,Diff.WaitCost,1; 1762$ TALLY: Lumber grader 1.TotalTimePerEntity,Diff.StartTime,1; 1763$ TALLY: Lumber grader 1.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1786$ ASSIGN: Lumber grader 1.VATime=Lumber grader 1.VATime + Diff.VATime; 1787$ TALLY: Lumber grader 1.VATimePerEntity,Diff.VATime,1; 1791$ ASSIGN: Lumber grader 1.VACost=Lumber grader 1.VACost + Diff.VACost; 1788$ TALLY: Lumber grader 1.VACostPerEntity,Diff.VACost,1; 1752$ RELEASE: Grader 1,1; 1801$ STACK, 1:Destroy:NEXT(1800$); 1800$ ASSIGN: Lumber grader 1.NumberOut=Lumber grader 1.NumberOut + 1: Lumber grader 1.WIP=Lumber grader 1.WIP-1:NEXT(25$); ; ; ; Model statements for module: Decide 14 ; 25$ BRANCH, 1: If,Entity.Type==FAS,32$,Yes: If,Entity.Type==1Com,33$,Yes: If,Entity.Type==2A,34$,Yes: If,Entity.Type==3A,93$,Yes: If,Entity.Type==3B,94$,Yes: Else,135$,Yes; ; ; ; Model statements for module: Record 24 ; 135$ COUNT: Post hoc log volume,Volume:NEXT(95$); ; ; ; Model statements for module: Convey 50 ; 95$ CONVEY: Green chain,Lumber stacker 6.Station; ; ; ; Model statements for module: Convey 22 ; 32$ CONVEY: Green chain,Lumber stacker 1.Station; ; ; ; Model statements for module: Convey 23 ; 33$ CONVEY: Green chain,Lumber stacker 2.Station; ; ; ; Model statements for module: Convey 24 ; 34$ CONVEY: Green chain,Lumber stacker 3.Station; ; ; ; Model statements for module: Convey 48 ; 93$ CONVEY: Green chain,Lumber stacker 4.Station; ; ; ; Model statements for module: Convey 49 ; 94$ CONVEY: Green chain,Lumber stacker 5.Station; ; ; ; Model statements for module: Station 68 ; 312$ STATION, Second grader station; 1807$ DELAY: 0.0,,VA:NEXT(40$); ; ; ; Model statements for module: Process 13 ; 40$ ASSIGN: Lumber grader 2.NumberIn=Lumber grader 2.NumberIn + 1: Lumber grader 2.WIP=Lumber grader 2.WIP+1; 1837$ STACK, 1:Save:NEXT(1811$); 1811$ QUEUE, Lumber grader 2.Queue; 1810$ SEIZE, 2,VA: Grader 2,1:NEXT(1809$); 1809$ DELAY: SecondsToBaseTime(0.14 + GAMM(0.736, 3.14, stream2)),,VA:NEXT(1852$); 1852$ ASSIGN: Lumber grader 2.WaitTime=Lumber grader 2.WaitTime + Diff.WaitTime; 1816$ TALLY: Lumber grader 2.WaitTimePerEntity,Diff.WaitTime,1; 1853$ ASSIGN: Lumber grader 2.WaitCost=Lumber grader 2.WaitCost + Diff.WaitCost; 1814$ TALLY: Lumber grader 2.WaitCostPerEntity,Diff.WaitCost,1; 1818$ TALLY: Lumber grader 2.TotalTimePerEntity,Diff.StartTime,1; 1819$ TALLY: Lumber grader 2.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1842$ ASSIGN: Lumber grader 2.VATime=Lumber grader 2.VATime + Diff.VATime; 1843$ TALLY: Lumber grader 2.VATimePerEntity,Diff.VATime,1; 1847$ ASSIGN: Lumber grader 2.VACost=Lumber grader 2.VACost + Diff.VACost; 1844$ TALLY: Lumber grader 2.VACostPerEntity,Diff.VACost,1; 1808$ RELEASE: Grader 2,1; 1857$ STACK, 1:Destroy:NEXT(1856$); 1856$ ASSIGN: Lumber grader 2.NumberOut=Lumber grader 2.NumberOut + 1: Lumber grader 2.WIP=Lumber grader 2.WIP-1:NEXT(25$); ; ; ; Model statements for module: Station 22 ; 315$ STATION, Debarker and junk conveyor midpoint; 1861$ DELAY: 0.0,,VA:NEXT(317$); ; ; ; Model statements for module: Access 17 ; 317$ QUEUE, Access debarker conveyor.Queue; ACCESS: Debarker conveyor,1:NEXT(380$); ; ; ; Model statements for module: Decide 394 ; 380$ BRANCH, 1: If,Dummy>=1,1862$,Yes: Else,1863$,Yes; 1862$ ASSIGN: Decide on dummy variable II.NumberOut True=Decide on dummy variable II.NumberOut True + 1 :NEXT(396$); 1863$ ASSIGN: Decide on dummy variable II.NumberOut False=Decide on dummy variable II.NumberOut False + 1 :NEXT(384$); ; ; ; Model statements for module: Assign 605 ; 396$ ASSIGN: Log number=ANINT(IDENT *NORM(1,1000) ):NEXT(377$); ; ; ; Model statements for module: ReadWrite 32 ; 377$ WRITE, Costing workbook,RECORDSET(Debarkerlogno): Log number:NEXT(319$); ; ; ; Model statements for module: Convey 18 ; 319$ CONVEY: Debarker conveyor,Headrig station.Station; ; ; ; Model statements for module: Release 27 ; 384$ RELEASE: Load logs onto debarker conveyor,1:NEXT(374$); ; ; ; Model statements for module: Exit 44 ; 374$ EXIT: Third metal detector conveyor,1:NEXT(377$); ; ; ; Model statements for module: Station 24 ; 323$ STATION, Metal detector; 1866$ DELAY: 0.0,,VA:NEXT(325$); ; ; ; Model statements for module: Process 10 ; 325$ ASSIGN: Scan log for metal.NumberIn=Scan log for metal.NumberIn + 1: Scan log for metal.WIP=Scan log for metal.WIP+1; 1896$ STACK, 1:Save:NEXT(1870$); 1870$ QUEUE, Scan log for metal.Queue; 1869$ SEIZE, 2,Tran: Metal detection,1:NEXT(1868$); 1868$ DELAY: 0.000000000000000,,Tran:NEXT(1911$); 1911$ ASSIGN: Scan log for metal.WaitTime=Scan log for metal.WaitTime + Diff.WaitTime; 1875$ TALLY: Scan log for metal.WaitTimePerEntity,Diff.WaitTime,1; 1912$ ASSIGN: Scan log for metal.WaitCost=Scan log for metal.WaitCost + Diff.WaitCost; 1873$ TALLY: Scan log for metal.WaitCostPerEntity,Diff.WaitCost,1; 1877$ TALLY: Scan log for metal.TotalTimePerEntity,Diff.StartTime,1; 1878$ TALLY: Scan log for metal.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1901$ ASSIGN: Scan log for metal.TranTime=Scan log for metal.TranTime + Diff.TranTime; 1902$ TALLY: Scan log for metal.TranTimePerEntity,Diff.TranTime,1; 1906$ ASSIGN: Scan log for metal.TranCost=Scan log for metal.TranCost + Diff.TranCost; 1903$ TALLY: Scan log for metal.TranCostPerEntity,Diff.TranCost,1; 1867$ RELEASE: Metal detection,1; 1916$ STACK, 1:Destroy:NEXT(1915$); 1915$ ASSIGN: Scan log for metal.NumberOut=Scan log for metal.NumberOut + 1: Scan log for metal.WIP=Scan log for metal.WIP-1:NEXT(361$); ; ; ; Model statements for module: Exit 28 ; 361$ EXIT: First metal detector conveyor,1:NEXT(324$); ; ; ; Model statements for module: Convey 20 ; 324$ CONVEY: Second metal detector conveyor,Beginning of third metal detector conveyor; ; ; ; Model statements for module: Station 25 ; 326$ STATION, End of junk conveyor; 1920$ DELAY: 0.0,,VA:NEXT(356$); ; ; ; Model statements for module: Exit 26 ; 356$ EXIT: Junk conveyor,1:NEXT(390$); ; ; ; Model statements for module: Batch 10 ; 390$ QUEUE, Batch junk logs.Queue; 1921$ GROUP, ,Temporary:5,Last:NEXT(1922$); 1922$ ASSIGN: Batch junk logs.NumberOut=Batch junk logs.NumberOut + 1:NEXT(330$); ; ; ; Model statements for module: Request 1 ; 330$ QUEUE, Request loader.Queue; REQUEST, 2:Loader(CYC),50:NEXT(333$); ; ; ; Model statements for module: Transport 1 ; 333$ TRANSPORT: Loader,Junk log pile,50; ; ; ; Model statements for module: Station 26 ; 332$ STATION, Junk log pile; 1926$ DELAY: 0.0,,VA:NEXT(334$); ; ; ; Model statements for module: Free 1 ; 334$ FREE: Loader:NEXT(391$); ; ; ; Model statements for module: Separate 34 ; 391$ SPLIT::NEXT(1927$); 1927$ ASSIGN: Separate junk log batch.NumberOut Orig=Separate junk log batch.NumberOut Orig + 1:NEXT(335$); ; ; ; Model statements for module: Dispose 6 ; 335$ ASSIGN: Dispose 6.NumberOut=Dispose 6.NumberOut + 1; 1930$ DISPOSE: Yes; ; ; ; Model statements for module: Station 27 ; 336$ STATION, Debarker station; 1933$ DELAY: 0.0,,VA:NEXT(378$); ; ; ; Model statements for module: ReadWrite 34 ; 378$ WRITE, Costing workbook,RECORDSET(DebarkTNOW): TNOW:NEXT(372$); ; ; ; Model statements for module: Seize 7 ; 372$ QUEUE, Seize debarker operator.Queue; SEIZE, 2,Other: Debarker operator,1:NEXT(1935$); 1935$ DELAY: 0.0,,VA:NEXT(322$); ; ; ; Model statements for module: Exit 19 ; 322$ EXIT: Log deck,1:NEXT(313$); ; ; ; Model statements for module: Process 2 ; 313$ ASSIGN: Debarker.NumberIn=Debarker.NumberIn + 1: Debarker.WIP=Debarker.WIP+1; 1965$ STACK, 1:Save:NEXT(1937$); 1937$ DELAY: SecondsToBaseTime(21 + ERLA(5.96, 3, stream8)),,VA:NEXT(1946$); 1946$ TALLY: Debarker.TotalTimePerEntity,Diff.StartTime,1; 1947$ TALLY: Debarker.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 1970$ ASSIGN: Debarker.VATime=Debarker.VATime + Diff.VATime; 1971$ TALLY: Debarker.VATimePerEntity,Diff.VATime,1; 1975$ ASSIGN: Debarker.VACost=Debarker.VACost + Diff.VACost; 1972$ TALLY: Debarker.VACostPerEntity,Diff.VACost,1; 1985$ STACK, 1:Destroy:NEXT(1984$); 1984$ ASSIGN: Debarker.NumberOut=Debarker.NumberOut + 1: Debarker.WIP=Debarker.WIP-1:NEXT(354$); ; ; ; Model statements for module: Record 3 ; 354$ TALLY: Record log volume,Volume,1:NEXT(385$); ; ; ; Model statements for module: Hold 53 ; 385$ QUEUE, Hold until first metal detector conveyor is empty.Queue; SCAN: (NEA(First metal detector conveyor) + NEC(First metal detector conveyor) )< 2:NEXT(358$); ; ; ; Model statements for module: Route 3 ; 358$ ROUTE: SecondsToBaseTime(TRIA(2.09, 3.43, 4)),Beginning of first metal detector conveyor; ; ; ; Model statements for module: Create 3 ; 1987$ CREATE, 1,SecondstoBaseTime(0.0),Entity 1:SecondstoBaseTime(1),20:NEXT(1988$); 1988$ ASSIGN: Create 3.NumberOut=Create 3.NumberOut + 1:NEXT(337$); ; ; ; Model statements for module: Station 32 ; 337$ STATION, Log pile; 1993$ DELAY: 0.0,,VA:NEXT(392$); ; ; ; Model statements for module: Hold 54 ; 392$ QUEUE, Hold 54.Queue; SCAN: (NEA(Log deck) + NEC(Log deck)) <= UNIF(6,10) && NQ(Request loader.Queue) == 0:NEXT(341$); ; ; ; Model statements for module: Batch 2 ; 341$ QUEUE, Batch 2.Queue; 1994$ GROUP, ,Temporary:8,Last:NEXT(1995$); 1995$ ASSIGN: Batch 2.NumberOut=Batch 2.NumberOut + 1:NEXT(348$); ; ; ; Model statements for module: Request 3 ; 348$ QUEUE, Request 3.Queue; REQUEST, 1:Loader(CYC):NEXT(350$); ; ; ; Model statements for module: Delay 12 ; 350$ DELAY: SecondsToBaseTime(TRIA( 60 , 80 , 120 )),,Other:NEXT(351$); ; ; ; Model statements for module: Transport 3 ; 351$ TRANSPORT: Loader,Beginning of log deck; ; ; ; Model statements for module: Station 33 ; 346$ STATION, Beginning of log deck; 1999$ DELAY: 0.0,,VA:NEXT(394$); ; ; ; Model statements for module: Hold 55 ; 394$ QUEUE, Hold 55.Queue; SCAN: (NEA(Log deck) + NEC(Log deck)) <= 10:NEXT(347$); ; ; ; Model statements for module: Delay 11 ; 347$ DELAY: SecondsToBaseTime(TRIA( 30 , 45 , 60)),,Other:NEXT(352$); ; ; ; Model statements for module: Free 2 ; 352$ FREE: Loader:NEXT(342$); ; ; ; Model statements for module: Separate 7 ; 342$ SPLIT: *:NEXT(2000$); 2000$ ASSIGN: Separate 7.NumberOut Orig=Separate 7.NumberOut Orig + 1:NEXT(353$); ; ; ; Model statements for module: Separate 8 ; 353$ DUPLICATE, 100 - 50: 1,2005$,50:NEXT(2004$); 2004$ ASSIGN: Separate 8.NumberOut Orig=Separate 8.NumberOut Orig + 1:NEXT(314$); 2005$ ASSIGN: Separate 8.NumberOut Dup=Separate 8.NumberOut Dup + 1:NEXT(337$); ; ; ; Model statements for module: Assign 2 ; 314$ ASSIGN: Log type= DISC(0.0625,1,0.125,2,0.1875,3,0.25,4,0.3125,6,0.375,7,0.4375,8,0.5,9,0.5625,11,0.625,12,0.6875,14,0.75,15,0.8125,16,0.875,17,0.9375,18,1,20): Entity.Type=log diameter (Log type): Entity.Picture=Log pictures (Log type): Volume=Log volume (log type):NEXT(338$); ; ; ; Model statements for module: Access 22 ; 338$ QUEUE, Access log deck.Queue; ACCESS: Log deck,1:NEXT(376$); ; ; ; Model statements for module: Assign 165 ; 376$ ASSIGN: Log number=ANINT(IDENT *NORM(1,1000) ):NEXT(343$); ; ; ; Model statements for module: Decide 22 ; 343$ BRANCH, 1: If,STATE(Debarker operator) == 3,2006$,Yes: Else,2007$,Yes; 2006$ ASSIGN: Decide if debarker operator is on break.NumberOut True= Decide if debarker operator is on break.NumberOut True + 1:NEXT(344$); 2007$ ASSIGN: Decide if debarker operator is on break.NumberOut False= Decide if debarker operator is on break.NumberOut False + 1:NEXT(340$); ; ; ; Model statements for module: Hold 9 ; 344$ QUEUE, Hold until debarker is off from break.Queue; SCAN: STATE(Debarker operator) == -1 || STATE(Debarker operator) == -2 || STATE(Debarker operator) == -4 :NEXT(340$); ; ; ; Model statements for module: Convey 27 ; 340$ CONVEY: Log deck,Debarker station; ; ; ; Model statements for module: Station 34 ; 357$ STATION, Beginning of first metal detector conveyor; 2010$ DELAY: 0.0,,VA:NEXT(320$); ; ; ; Model statements for module: Access 18 ; 320$ QUEUE, Access first metal detector conveyor.Queue; ACCESS: First metal detector conveyor,1:NEXT(355$); ; ; ; Model statements for module: Release 6 ; 355$ RELEASE: Debarker operator,1:NEXT(379$); ; ; ; Model statements for module: ReadWrite 35 ; 379$ WRITE, Costing workbook,RECORDSET(DebarkTLATER): TNOW:NEXT(362$); ; ; ; Model statements for module: Convey 28 ; 362$ CONVEY: First metal detector conveyor,Beginning of second metal detector conveyor; ; ; ; Model statements for module: Station 35 ; 363$ STATION, Beginning of second metal detector conveyor; 2013$ DELAY: 0.0,,VA:NEXT(359$); ; ; ; Model statements for module: Access 23 ; 359$ QUEUE, Access second metal detector conveyor.Queue; ACCESS: Second metal detector conveyor,1:NEXT(366$); ; ; ; Model statements for module: Convey 29 ; 366$ CONVEY: Second metal detector conveyor,Metal detector; ; ; ; Model statements for module: Station 36 ; 367$ STATION, Beginning of third metal detector conveyor; 2016$ DELAY: 0.0,,VA:NEXT(364$); ; ; ; Model statements for module: Access 24 ; 364$ QUEUE, Access third metal detector conveyor.Queue; ACCESS: Third metal detector conveyor,1:NEXT(369$); ; ; ; Model statements for module: Convey 30 ; 369$ CONVEY: Third metal detector conveyor,Middle of third metal debarker conveyor; ; ; ; Model statements for module: Station 37 ; 371$ STATION, Beginning of junk conveyor; 2019$ DELAY: 0.0,,VA:NEXT(328$); ; ; ; Model statements for module: Access 19 ; 328$ QUEUE, Access junk conveyor.Queue; ACCESS: Junk conveyor,1:NEXT(387$); ; ; ; Model statements for module: Exit 66 ; 387$ EXIT: Third metal detector conveyor,1:NEXT(327$); ; ; ; Model statements for module: Convey 21 ; 327$ CONVEY: Junk conveyor,End of junk conveyor; ; ; ; Model statements for module: Station 63 ; 388$ STATION, Middle of third metal debarker conveyor; 2022$ DELAY: 0.0,,VA:NEXT(316$); ; ; ; Model statements for module: Decide 12 ; 316$ BRANCH, 1: With,99/100,2023$,Yes: Else,2024$,Yes; 2023$ ASSIGN: Decide not to reject log at metal detector.NumberOut True= Decide not to reject log at metal detector.NumberOut True + 1:NEXT(382$); 2024$ ASSIGN: Decide not to reject log at metal detector.NumberOut False= Decide not to reject log at metal detector.NumberOut False + 1:NEXT(368$); ; ; ; Model statements for module: Seize 27 ; 382$ QUEUE, Seize mechanical arms.Queue; SEIZE, 2,Other: Load logs onto debarker conveyor,1:NEXT(2026$); 2026$ DELAY: 0.0,,VA:NEXT(375$); ; ; ; Model statements for module: Exit 59 ; 375$ EXIT: Second metal detector conveyor,1:NEXT(381$); ; ; ; Model statements for module: Process 20 ; 381$ 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; 2056$ STACK, 1:Save:NEXT(2028$); 2028$ DELAY: SecondsToBaseTime(TRIA(2.09, 3.43, 4)),,VA:NEXT(2037$); 2037$ TALLY: Load log onto debarker conveyor.TotalTimePerEntity,Diff.StartTime,1; 2038$ TALLY: Load log onto debarker conveyor.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 2061$ ASSIGN: Load log onto debarker conveyor.VATime=Load log onto debarker conveyor.VATime + Diff.VATime; 2062$ TALLY: Load log onto debarker conveyor.VATimePerEntity,Diff.VATime,1; 2066$ ASSIGN: Load log onto debarker conveyor.VACost=Load log onto debarker conveyor.VACost + Diff.VACost; 2063$ TALLY: Load log onto debarker conveyor.VACostPerEntity,Diff.VACost,1; 2076$ STACK, 1:Destroy:NEXT(2075$); 2075$ 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(389$); ; ; ; Model statements for module: Route 13 ; 389$ ROUTE: 0.000000000000000,Debarker and junk conveyor midpoint; ; ; ; Model statements for module: Exit 29 ; 368$ EXIT: Second metal detector conveyor,1:NEXT(370$); ; ; ; Model statements for module: Convey 31 ; 370$ CONVEY: Third metal detector conveyor,Beginning of junk conveyor; ; ; ; Model statements for module: Enter 18 ; 397$ STATION, Headrig station.Station; 2078$ DELAY: 0.,,VA:NEXT(2084$); 2084$ DELAY: 0.000,,VA:NEXT(436$); ; ; ; Model statements for module: Decide 112 ; 436$ BRANCH, 1: If,Log type==1,437$,Yes: If,Log type==2,452$,Yes: If,Log type==3,453$,Yes: If,Log type==4,454$,Yes: If,Log type==5,455$,Yes: If,Log type==6,456$,Yes: If,Log type==7,457$,Yes: If,Log type==8,458$,Yes: If,Log type==9,459$,Yes: If,Log type==10,460$,Yes: If,Log type==11,461$,Yes: If,Log type==12,462$,Yes: If,Log type==13,463$,Yes: If,Log type==14,464$,Yes: If,Log type==15,465$,Yes: If,Log type==16,466$,Yes: If,Log type==17,467$,Yes: If,Log type==18,468$,Yes: If,Log type==19,469$,Yes: If,Log type==20,470$,Yes: Else,438$,Yes; ; ; ; Model statements for module: Dispose 19 ; 438$ ASSIGN: Dispose 19.NumberOut=Dispose 19.NumberOut + 1; 2091$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 98 ; 437$ ASSIGN: bandresaw cuts=DISC(0.5, 5, 1, 6):NEXT(423$); ; ; ; Model statements for module: Seize 3 ; 423$ QUEUE, Seize sawyer.Queue; SEIZE, 2,Other: sawyer,1:NEXT(2093$); 2093$ DELAY: 0.0,,VA:NEXT(427$); ; ; ; Model statements for module: Record 7 ; 427$ TALLY: TNOW at beginning of headrig,TNOW,1:NEXT(632$); ; ; ; Model statements for module: Assign 634 ; 632$ ASSIGN: Beginning of headrig cycle time=TNOW:NEXT(419$); ; ; ; Model statements for module: Record 5 ; 419$ COUNT: Record number of logs in system,1:NEXT(450$); ; ; ; Model statements for module: ReadWrite 37 ; 450$ WRITE, Costing workbook,RECORDSET(HeadTNOW): TNOW:NEXT(416$); ; ; ; Model statements for module: Decide 28 ; 416$ BRANCH, 1: If,Log type==1,417$,Yes: If,Log type==2,471$,Yes: If,Log type==3,472$,Yes: If,Log type==4,473$,Yes: If,Log type==5,474$,Yes: If,Log type==6,475$,Yes: If,Log type==7,476$,Yes: If,Log type==8,477$,Yes: If,Log type==9,478$,Yes: If,Log type==10,479$,Yes: If,Log type==11,480$,Yes: If,Log type==12,481$,Yes: If,Log type==13,482$,Yes: If,Log type==14,483$,Yes: If,Log type==15,484$,Yes: If,Log type==16,485$,Yes: If,Log type==17,486$,Yes: If,Log type==18,487$,Yes: If,Log type==19,488$,Yes: If,Log type==20,489$,Yes: Else,441$,Yes; ; ; ; Model statements for module: Dispose 20 ; 441$ ASSIGN: Dispose 20.NumberOut=Dispose 20.NumberOut + 1; 2096$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 31 ; 417$ ASSIGN: cuts=1: Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Delay 18 ; 415$ DELAY: SecondsToBaseTime(1 + LOGN(2.89, 1.59, stream20)),,Other:NEXT(425$); ; ; ; Model statements for module: Decide 32 ; 425$ BRANCH, 1: If,Dummy>=1,2097$,Yes: Else,2098$,Yes; 2097$ ASSIGN: Decide on dummy variable.NumberOut True=Decide on dummy variable.NumberOut True + 1:NEXT(414$); 2098$ ASSIGN: Decide on dummy variable.NumberOut False=Decide on dummy variable.NumberOut False + 1:NEXT(414$); ; ; ; Model statements for module: Exit 33 ; 414$ EXIT: Debarker conveyor,1:NEXT(405$); ; ; ; Model statements for module: Delay 16 ; 405$ DELAY: SecondsToBaseTime(0.75 + GAMM(0.1, 8.38, stream18)),,Other:NEXT(629$); ; ; ; Model statements for module: Decide 392 ; 629$ BRANCH, 1: If, (NEA(Bandresaw holding conveyor) + NEC(Bandresaw holding conveyor) >= 45) && (NEA(Short bandresaw conveyor) + NEC(Short bandresaw conveyor) >= 18), 630$,Yes: Else,446$,Yes; ; ; ; Model statements for module: Process 18 ; 446$ ASSIGN: Saw.NumberIn=Saw.NumberIn + 1: Saw.WIP=Saw.WIP+1; 2130$ STACK, 1:Save:NEXT(2102$); 2102$ DELAY: SecondsToBaseTime(NORM(3.65, 0.634, stream16)),,VA:NEXT(2111$); 2111$ TALLY: Saw.TotalTimePerEntity,Diff.StartTime,1; 2112$ TALLY: Saw.TotalCostPerEntity,Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost, 1; 2135$ ASSIGN: Saw.VATime=Saw.VATime + Diff.VATime; 2136$ TALLY: Saw.VATimePerEntity,Diff.VATime,1; 2140$ ASSIGN: Saw.VACost=Saw.VACost + Diff.VACost; 2137$ TALLY: Saw.VACostPerEntity,Diff.VACost,1; 2150$ STACK, 1:Destroy:NEXT(2149$); 2149$ ASSIGN: Saw.NumberOut=Saw.NumberOut + 1: Saw.WIP=Saw.WIP-1:NEXT(399$); ; ; ; Model statements for module: Assign 24 ; 399$ ASSIGN: passes=passes + 1:NEXT(401$); ; ; ; Model statements for module: Separate 9 ; 401$ DUPLICATE, 100 - 50: 1,2154$,50:NEXT(2153$); 2153$ ASSIGN: Separate 9.NumberOut Orig=Separate 9.NumberOut Orig + 1:NEXT(398$); 2154$ ASSIGN: Separate 9.NumberOut Dup=Separate 9.NumberOut Dup + 1:NEXT(403$); ; ; ; Model statements for module: Decide 23 ; 398$ BRANCH, 1: If,sawlines == cuts && No of log rotations == Log rotations,435$,Yes: Else,407$,Yes; ; ; ; Model statements for module: Decide 26 ; 407$ BRANCH, 1: If,passes > 1 && Slabs < 4 || Sawlines == cuts,408$,Yes: Else,406$,Yes; ; ; ; Model statements for module: Delay 17 ; 406$ DELAY: SecondsToBaseTime(1.31 + 1.63 * BETA(1.26, 2.34, stream19)),,Other:NEXT(420$); ; ; ; Model statements for module: Assign 43 ; 420$ ASSIGN: Sawlines=Sawlines +1:NEXT(629$); ; ; ; Model statements for module: Assign 27 ; 408$ ASSIGN: No of log rotations=No of log rotations + 1:NEXT(409$); ; ; ; Model statements for module: Assign 28 ; 409$ ASSIGN: Slabs=Slabs + 1:NEXT(421$); ; ; ; Model statements for module: Assign 44 ; 421$ ASSIGN: passes=0:NEXT(422$); ; ; ; Model statements for module: Delay 19 ; 422$ DELAY: SecondsToBaseTime(2.12 + GAMM(0.2, 4.19, stream21)),,Other:NEXT(404$); ; ; ; Model statements for module: Delay 15 ; 404$ DELAY: SecondsToBaseTime(0.11 + LOGN(2.18, 0.913, stream17)),,Other:NEXT(405$); ; ; ; Model statements for module: Record 14 ; 435$ COUNT: Number of logs in system,1:NEXT(426$); ; ; ; Model statements for module: Record 6 ; 426$ COUNT: Record volume of log,Volume:NEXT(434$); ; ; ; Model statements for module: Delay 27 ; 434$ DELAY: SecondsToBaseTime(0.41 + LOGN(0.467, 0.255, stream23)),,Other:NEXT(451$); ; ; ; Model statements for module: ReadWrite 38 ; 451$ WRITE, Costing workbook,RECORDSET(HeadriglogTLATER): TNOW:NEXT(432$); ; ; ; Model statements for module: Delay 26 ; 432$ DELAY: SecondsToBaseTime(0.04 + WEIB(3.8, 4.56, stream22)),,Other:NEXT(439$); ; ; ; Model statements for module: Access 43 ; 439$ QUEUE, Access headrig conveyor for cant.Queue; ACCESS: Headrig conveyor,1:NEXT(445$); ; ; ; Model statements for module: ReadWrite 21 ; 445$ WRITE, Costing workbook,RECORDSET(Lgrade): Log type:NEXT(444$); ; ; ; Model statements for module: ReadWrite 20 ; 444$ WRITE, Costing workbook,RECORDSET(Lvolume): Volume:NEXT(431$); ; ; ; Model statements for module: Release 11 ; 431$ RELEASE: sawyer,1:NEXT(633$); ; ; ; Model statements for module: Assign 635 ; 633$ ASSIGN: Cant headrig cycle time=TNOW - Beginning of headrig cycle time:NEXT(433$); ; ; ; Model statements for module: Record 10 ; 433$ TALLY: TNOW after headrig,TNOW,1:NEXT(430$); ; ; ; Model statements for module: Convey 36 ; 430$ CONVEY: Headrig conveyor,Headrig to short bandresaw conveyor midpoint; ; ; ; Model statements for module: Decide 25 ; 403$ BRANCH, 1: If,Sawlines==0,411$,Yes: If,Sawlines == 0 && Slabs == 1,411$,Yes: If,No of log rotations > 0 && passes == 1,411$,Yes: Else,413$,Yes; ; ; ; Model statements for module: Assign 30 ; 413$ ASSIGN: passes=0:NEXT(410$); ; ; ; Model statements for module: Assign 29 ; 410$ ASSIGN: Slabs=0:NEXT(400$); ; ; ; Model statements for module: Decide 24 ; 400$ BRANCH, 1: If,Log type==1,418$,Yes: If,Log type==2,490$,Yes: If,Log type==3,491$,Yes: If,Log type==4,492$,Yes: If,Log type==5,493$,Yes: If,Log type==6,494$,Yes: If,Log type==7,495$,Yes: If,Log type==8,496$,Yes: If,Log type==9,497$,Yes: If,Log type==10,498$,Yes: If,Log type==11,499$,Yes: If,Log type==12,500$,Yes: If,Log type==13,501$,Yes: If,Log type==14,502$,Yes: If,Log type==15,503$,Yes: If,Log type==16,504$,Yes: If,Log type==17,505$,Yes: If,Log type==18,506$,Yes: If,Log type==19,507$,Yes: If,Log type==20,508$,Yes: Else,402$,Yes; ; ; ; Model statements for module: Dispose 12 ; 402$ ASSIGN: Dispose 12.NumberOut=Dispose 12.NumberOut + 1; 2163$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 33 ; 418$ ASSIGN: Lumber grade=DISC(0.5, 1, 1, 2): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(509$); ; ; ; Model statements for module: Decide 196 ; 509$ BRANCH, 1: If,Entity.Type==FAS,510$,Yes: If,Entity.Type==1Com,511$,Yes: If,Entity.Type==2A,512$,Yes: If,Entity.Type==3A,513$,Yes: Else,514$,Yes; ; ; ; Model statements for module: Assign 239 ; 514$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Record 4 ; 412$ COUNT: Record headirg lumber volume,Headrig lumber volume:NEXT(442$); ; ; ; Model statements for module: ReadWrite 6 ; 442$ WRITE, Costing workbook,RECORDSET(Hvolume): Headrig lumber volume:NEXT(448$); ; ; ; Model statements for module: ReadWrite 31 ; 448$ WRITE, Costing workbook,RECORDSET(Headriglogno): Log number:NEXT(443$); ; ; ; Model statements for module: ReadWrite 7 ; 443$ WRITE, Costing workbook,RECORDSET(Hgrade): Lumber grade:NEXT(447$); ; ; ; Model statements for module: ReadWrite 24 ; 447$ WRITE, Costing workbook,RECORDSET(headlogvol): Volume:NEXT(428$); ; ; ; Model statements for module: Access 27 ; 428$ QUEUE, Access headrig conveyor.Queue; ACCESS: Headrig conveyor,1:NEXT(449$); ; ; ; Model statements for module: ReadWrite 36 ; 449$ WRITE, Costing workbook,RECORDSET(HeadlumberTLATER): TNOW:NEXT(430$); ; ; ; Model statements for module: Assign 233 ; 510$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(412$); ; ; ; Model statements for module: Assign 236 ; 511$ ASSIGN: Headrig lumber volume=DISC(1, 3):NEXT(412$); ; ; ; Model statements for module: Assign 237 ; 512$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 238 ; 513$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 214 ; 490$ ASSIGN: Lumber grade=DISC(0.5, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(515$); ; ; ; Model statements for module: Decide 197 ; 515$ BRANCH, 1: If,Entity.Type==FAS,534$,Yes: If,Entity.Type==1Com,535$,Yes: If,Entity.Type==2A,536$,Yes: If,Entity.Type==3A,537$,Yes: Else,538$,Yes; ; ; ; Model statements for module: Assign 244 ; 538$ ASSIGN: Headrig lumber volume=DISC(1, 3):NEXT(412$); ; ; ; Model statements for module: Assign 240 ; 534$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 241 ; 535$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 242 ; 536$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(412$); ; ; ; Model statements for module: Assign 243 ; 537$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 215 ; 491$ ASSIGN: Lumber grade=DISC(0.5, 1, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(516$); ; ; ; Model statements for module: Decide 198 ; 516$ BRANCH, 1: If,Entity.Type==FAS,539$,Yes: If,Entity.Type==1Com,540$,Yes: If,Entity.Type==2A,541$,Yes: If,Entity.Type==3A,542$,Yes: Else,543$,Yes; ; ; ; Model statements for module: Assign 249 ; 543$ ASSIGN: Headrig lumber volume=DISC(1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 245 ; 539$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 246 ; 540$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 247 ; 541$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 248 ; 542$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 216 ; 492$ ASSIGN: Lumber grade=DISC(0.33333, 2, 0.83333, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(517$); ; ; ; Model statements for module: Decide 199 ; 517$ BRANCH, 1: If,Entity.Type==FAS,544$,Yes: If,Entity.Type==1Com,545$,Yes: If,Entity.Type==2A,546$,Yes: If,Entity.Type==3A,547$,Yes: Else,548$,Yes; ; ; ; Model statements for module: Assign 254 ; 548$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 250 ; 544$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 251 ; 545$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(412$); ; ; ; Model statements for module: Assign 252 ; 546$ ASSIGN: Headrig lumber volume=DISC(0.65, 3, 1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 253 ; 547$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 217 ; 493$ ASSIGN: Lumber grade=DISC(1, 2): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(518$); ; ; ; Model statements for module: Decide 200 ; 518$ BRANCH, 1: If,Entity.Type==FAS,624$,Yes: If,Entity.Type==1Com,625$,Yes: If,Entity.Type==2A,626$,Yes: If,Entity.Type==3A,627$,Yes: Else,628$,Yes; ; ; ; Model statements for module: Assign 334 ; 628$ ASSIGN: Headrig lumber volume=DISC(1,1000):NEXT(412$); ; ; ; Model statements for module: Assign 330 ; 624$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 331 ; 625$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 332 ; 626$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 333 ; 627$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 218 ; 494$ ASSIGN: Lumber grade=DISC(0.5, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(519$); ; ; ; Model statements for module: Decide 201 ; 519$ BRANCH, 1: If,Entity.Type==FAS,549$,Yes: If,Entity.Type==1Com,550$,Yes: If,Entity.Type==2A,551$,Yes: If,Entity.Type==3A,552$,Yes: Else,553$,Yes; ; ; ; Model statements for module: Assign 259 ; 553$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 255 ; 549$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 256 ; 550$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 257 ; 551$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 258 ; 552$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 219 ; 495$ ASSIGN: Lumber grade=DISC(1, 2): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(520$); ; ; ; Model statements for module: Decide 202 ; 520$ BRANCH, 1: If,Entity.Type==FAS,554$,Yes: If,Entity.Type==1Com,555$,Yes: If,Entity.Type==2A,556$,Yes: If,Entity.Type==3A,557$,Yes: Else,558$,Yes; ; ; ; Model statements for module: Assign 264 ; 558$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 260 ; 554$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 261 ; 555$ ASSIGN: Headrig lumber volume=DISC(1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 262 ; 556$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 263 ; 557$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 220 ; 496$ ASSIGN: Lumber grade=DISC(0.5, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(521$); ; ; ; Model statements for module: Decide 203 ; 521$ BRANCH, 1: If,Entity.Type==FAS,559$,Yes: If,Entity.Type==1Com,560$,Yes: If,Entity.Type==2A,561$,Yes: If,Entity.Type==3A,562$,Yes: Else,563$,Yes; ; ; ; Model statements for module: Assign 269 ; 563$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 265 ; 559$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 266 ; 560$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 267 ; 561$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(412$); ; ; ; Model statements for module: Assign 268 ; 562$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 221 ; 497$ ASSIGN: Lumber grade=DISC(0.33, 1, 1, 2): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(522$); ; ; ; Model statements for module: Decide 204 ; 522$ BRANCH, 1: If,Entity.Type==FAS,564$,Yes: If,Entity.Type==1Com,565$,Yes: If,Entity.Type==2A,566$,Yes: If,Entity.Type==3A,567$,Yes: Else,568$,Yes; ; ; ; Model statements for module: Assign 274 ; 568$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 270 ; 564$ ASSIGN: Headrig lumber volume=DISC(1, 7):NEXT(412$); ; ; ; Model statements for module: Assign 271 ; 565$ ASSIGN: Headrig lumber volume=DISC(0.5, 4, 1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 272 ; 566$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 273 ; 567$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 222 ; 498$ ASSIGN: Lumber grade=DISC(0.67, 2, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(523$); ; ; ; Model statements for module: Decide 205 ; 523$ BRANCH, 1: If,Entity.Type==FAS,569$,Yes: If,Entity.Type==1Com,570$,Yes: If,Entity.Type==2A,571$,Yes: If,Entity.Type==3A,572$,Yes: Else,573$,Yes; ; ; ; Model statements for module: Assign 279 ; 573$ ASSIGN: Headrig lumber volume=DISC(1, 3):NEXT(412$); ; ; ; Model statements for module: Assign 275 ; 569$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 276 ; 570$ ASSIGN: Headrig lumber volume=DISC(0.5, 5, 1, 7):NEXT(412$); ; ; ; Model statements for module: Assign 277 ; 571$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 278 ; 572$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 223 ; 499$ ASSIGN: Lumber grade=DISC(0.66667, 1, 1, 2): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(524$); ; ; ; Model statements for module: Decide 206 ; 524$ BRANCH, 1: If,Entity.Type==FAS,574$,Yes: If,Entity.Type==1Com,575$,Yes: If,Entity.Type==2A,576$,Yes: If,Entity.Type==3A,577$,Yes: Else,578$,Yes; ; ; ; Model statements for module: Assign 284 ; 578$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 280 ; 574$ ASSIGN: Headrig lumber volume=DISC(0.5, 5, 1, 10):NEXT(412$); ; ; ; Model statements for module: Assign 281 ; 575$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(412$); ; ; ; Model statements for module: Assign 282 ; 576$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 283 ; 577$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 224 ; 500$ ASSIGN: Lumber grade=DISC(0.44, 1, 0.88, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(525$); ; ; ; Model statements for module: Decide 207 ; 525$ BRANCH, 1: If,Entity.Type==FAS,579$,Yes: If,Entity.Type==1Com,580$,Yes: If,Entity.Type==2A,581$,Yes: If,Entity.Type==3A,582$,Yes: Else,583$,Yes; ; ; ; Model statements for module: Assign 289 ; 583$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 285 ; 579$ ASSIGN: Headrig lumber volume=DISC(0.5, 5, 1, 8):NEXT(412$); ; ; ; Model statements for module: Assign 286 ; 580$ ASSIGN: Headrig lumber volume=DISC(0.25, 3, 0.5, 4, 0.75, 5, 1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 287 ; 581$ ASSIGN: Headrig lumber volume=DISC(1, 8):NEXT(412$); ; ; ; Model statements for module: Assign 288 ; 582$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 225 ; 501$ ASSIGN: Lumber grade=DISC(0.86, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(526$); ; ; ; Model statements for module: Decide 208 ; 526$ BRANCH, 1: If,Entity.Type==FAS,584$,Yes: If,Entity.Type==1Com,585$,Yes: If,Entity.Type==2A,586$,Yes: If,Entity.Type==3A,587$,Yes: Else,588$,Yes; ; ; ; Model statements for module: Assign 294 ; 588$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 290 ; 584$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 291 ; 585$ ASSIGN: Headrig lumber volume=DISC(0.33, 2, 0.5, 3, 0.83, 5, 1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 292 ; 586$ ASSIGN: Headrig lumber volume=DISC(1, 7):NEXT(412$); ; ; ; Model statements for module: Assign 293 ; 587$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 226 ; 502$ ASSIGN: Lumber grade=DISC(0.75, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(527$); ; ; ; Model statements for module: Decide 209 ; 527$ BRANCH, 1: If,Entity.Type==FAS,589$,Yes: If,Entity.Type==1Com,590$,Yes: If,Entity.Type==2A,591$,Yes: If,Entity.Type==3A,592$,Yes: Else,593$,Yes; ; ; ; Model statements for module: Assign 299 ; 593$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 295 ; 589$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 296 ; 590$ ASSIGN: Headrig lumber volume=DISC(0.33333, 4, 1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 297 ; 591$ ASSIGN: Headrig lumber volume=DISC(1, 4):NEXT(412$); ; ; ; Model statements for module: Assign 298 ; 592$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 227 ; 503$ ASSIGN: Lumber grade=DISC(0.66667, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(528$); ; ; ; Model statements for module: Decide 210 ; 528$ BRANCH, 1: If,Entity.Type==FAS,594$,Yes: If,Entity.Type==1Com,595$,Yes: If,Entity.Type==2A,596$,Yes: If,Entity.Type==3A,597$,Yes: Else,598$,Yes; ; ; ; Model statements for module: Assign 304 ; 598$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 300 ; 594$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 301 ; 595$ ASSIGN: Headrig lumber volume=DISC(0.5, 3, 1, 4):NEXT(412$); ; ; ; Model statements for module: Assign 302 ; 596$ ASSIGN: Headrig lumber volume=DISC(1, 9):NEXT(412$); ; ; ; Model statements for module: Assign 303 ; 597$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 228 ; 504$ ASSIGN: Lumber grade=DISC(0.66667, 2, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(529$); ; ; ; Model statements for module: Decide 211 ; 529$ BRANCH, 1: If,Entity.Type==FAS,599$,Yes: If,Entity.Type==1Com,600$,Yes: If,Entity.Type==2A,601$,Yes: If,Entity.Type==3A,602$,Yes: Else,603$,Yes; ; ; ; Model statements for module: Assign 309 ; 603$ ASSIGN: Headrig lumber volume=DISC(1, 3):NEXT(412$); ; ; ; Model statements for module: Assign 305 ; 599$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 306 ; 600$ ASSIGN: Headrig lumber volume=DISC(0.5, 3, 1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 307 ; 601$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 308 ; 602$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 229 ; 505$ ASSIGN: Lumber grade=DISC(0.33333, 2, 0.5, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(530$); ; ; ; Model statements for module: Decide 212 ; 530$ BRANCH, 1: If,Entity.Type==FAS,604$,Yes: If,Entity.Type==1Com,605$,Yes: If,Entity.Type==2A,606$,Yes: If,Entity.Type==3A,607$,Yes: Else,608$,Yes; ; ; ; Model statements for module: Assign 314 ; 608$ ASSIGN: Headrig lumber volume=DISC(0.333333, 4, 0.666667, 7, 1, 8):NEXT(412$); ; ; ; Model statements for module: Assign 310 ; 604$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 311 ; 605$ ASSIGN: Headrig lumber volume=DISC(0.5, 4, 1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 312 ; 606$ ASSIGN: Headrig lumber volume=DISC(1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 313 ; 607$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 230 ; 506$ ASSIGN: Lumber grade=DISC(0.125, 1, 1, 2): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(531$); ; ; ; Model statements for module: Decide 213 ; 531$ BRANCH, 1: If,Entity.Type==FAS,609$,Yes: If,Entity.Type==1Com,610$,Yes: If,Entity.Type==2A,611$,Yes: If,Entity.Type==3A,612$,Yes: Else,613$,Yes; ; ; ; Model statements for module: Assign 319 ; 613$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 315 ; 609$ ASSIGN: Headrig lumber volume=DISC(1, 8):NEXT(412$); ; ; ; Model statements for module: Assign 316 ; 610$ ASSIGN: Headrig lumber volume=DISC(0.14286, 3, 0.28572, 4, 0.71429, 5, 0.85715, 6, 1, 10):NEXT(412$); ; ; ; Model statements for module: Assign 317 ; 611$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 318 ; 612$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 231 ; 507$ ASSIGN: Lumber grade=DISC(0.75, 2, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(532$); ; ; ; Model statements for module: Decide 214 ; 532$ BRANCH, 1: If,Entity.Type==FAS,614$,Yes: If,Entity.Type==1Com,615$,Yes: If,Entity.Type==2A,616$,Yes: If,Entity.Type==3A,617$,Yes: Else,618$,Yes; ; ; ; Model statements for module: Assign 324 ; 618$ ASSIGN: Headrig lumber volume=DISC(1, 10):NEXT(412$); ; ; ; Model statements for module: Assign 320 ; 614$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 321 ; 615$ ASSIGN: Headrig lumber volume=DISC(0.333333, 4, 0.666667, 6, 1, 7 ):NEXT(412$); ; ; ; Model statements for module: Assign 322 ; 616$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 323 ; 617$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 232 ; 508$ ASSIGN: Lumber grade=DISC(0.6, 2, 0.8, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(533$); ; ; ; Model statements for module: Decide 215 ; 533$ BRANCH, 1: If,Entity.Type==FAS,619$,Yes: If,Entity.Type==1Com,620$,Yes: If,Entity.Type==2A,621$,Yes: If,Entity.Type==3A,622$,Yes: Else,623$,Yes; ; ; ; Model statements for module: Assign 329 ; 623$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 325 ; 619$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Assign 326 ; 620$ ASSIGN: Headrig lumber volume=DISC(0.33333, 4, 1, 6):NEXT(412$); ; ; ; Model statements for module: Assign 327 ; 621$ ASSIGN: Headrig lumber volume=DISC(1, 5):NEXT(412$); ; ; ; Model statements for module: Assign 328 ; 622$ ASSIGN: Headrig lumber volume=DISC(1, 1000):NEXT(412$); ; ; ; Model statements for module: Dispose 13 ; 411$ ASSIGN: Dispose 13.NumberOut=Dispose 13.NumberOut + 1; 2204$ DISPOSE: Yes; ; ; ; Model statements for module: Hold 48 ; 630$ QUEUE, Hold 48.Queue; SCAN: (NEA(Bandresaw holding conveyor) + NEC(Bandresaw holding conveyor)) <= 44 || (NEA(Short bandresaw conveyor) + NEC(Short bandresaw conveyor)) <= 18 :NEXT(446$); ; ; ; Model statements for module: Assign 193 ; 471$ ASSIGN: cuts=DISC(0.666667, 0, 1, 2): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 194 ; 472$ ASSIGN: cuts=DISC(0.5, 0, 1, 2): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 195 ; 473$ ASSIGN: cuts=DISC(0.333333, 0, 0.666667, 2, 1, 4): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 196 ; 474$ ASSIGN: cuts=DISC(1, 1): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 197 ; 475$ ASSIGN: cuts=DISC(1, 1): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 198 ; 476$ ASSIGN: cuts=DISC(1, 1): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 200 ; 477$ ASSIGN: cuts=DISC(0.33, 0, 1, 1): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 201 ; 478$ ASSIGN: cuts=DISC(0.33, 0, 0.66, 1, 1, 2): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 202 ; 479$ ASSIGN: cuts=DISC(0.33, 0, 0.66, 1, 1, 2): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 203 ; 480$ ASSIGN: cuts=DISC(1, 3): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 204 ; 481$ ASSIGN: cuts=DISC(1, 3): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 205 ; 482$ ASSIGN: cuts=DISC(0.67, 2, 1, 3): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 206 ; 483$ ASSIGN: cuts=DISC(0.66667, 1, 1, 2 ): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 207 ; 484$ ASSIGN: cuts=DISC(1, 1): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 208 ; 485$ ASSIGN: cuts=DISC(0.33334, 0, 0.66668, 1, 1, 2): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 209 ; 486$ ASSIGN: cuts=DISC(1, 2): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 210 ; 487$ ASSIGN: cuts=DISC(0.333333, 2, 1, 3): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 211 ; 488$ ASSIGN: cuts=DISC(0.66667, 1, 1, 2): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 213 ; 489$ ASSIGN: cuts=DISC(0.5, 1, 1, 4): Log rotations=3:NEXT(415$); ; ; ; Model statements for module: Assign 174 ; 452$ ASSIGN: bandresaw cuts=DISC(0.666667, 3, 1, 6):NEXT(423$); ; ; ; Model statements for module: Assign 175 ; 453$ ASSIGN: bandresaw cuts=DISC(0.5, 6, 1, 8):NEXT(423$); ; ; ; Model statements for module: Assign 176 ; 454$ ASSIGN: bandresaw cuts=DISC(0.333333, 4, 0.66667, 5, 1, 9):NEXT(423$); ; ; ; Model statements for module: Assign 177 ; 455$ ASSIGN: bandresaw cuts=DISC(1, 7):NEXT(423$); ; ; ; Model statements for module: Assign 178 ; 456$ ASSIGN: bandresaw cuts=DISC(0.5, 11, 1, 14):NEXT(423$); ; ; ; Model statements for module: Assign 179 ; 457$ ASSIGN: bandresaw cuts=DISC(1, 13):NEXT(423$); ; ; ; Model statements for module: Assign 180 ; 458$ ASSIGN: bandresaw cuts=DISC(0.33, 3, 1, 6):NEXT(423$); ; ; ; Model statements for module: Assign 181 ; 459$ ASSIGN: bandresaw cuts=DISC(0.67, 7, 1, 11):NEXT(423$); ; ; ; Model statements for module: Assign 182 ; 460$ ASSIGN: bandresaw cuts=DISC(1, 6):NEXT(423$); ; ; ; Model statements for module: Assign 183 ; 461$ ASSIGN: bandresaw cuts=DISC(1, 12):NEXT(423$); ; ; ; Model statements for module: Assign 184 ; 462$ ASSIGN: bandresaw cuts=DISC(0.33, 8, 1, 14):NEXT(423$); ; ; ; Model statements for module: Assign 185 ; 463$ ASSIGN: bandresaw cuts=DISC(0.67, 13, 1, 14):NEXT(423$); ; ; ; Model statements for module: Assign 186 ; 464$ ASSIGN: bandresaw cuts=DISC(0.33333, 2, 0.66666, 6, 1, 9):NEXT(423$); ; ; ; Model statements for module: Assign 187 ; 465$ ASSIGN: bandresaw cuts=DISC(0.333333, 3, 0.666667, 5, 1, 6):NEXT(423$); ; ; ; Model statements for module: Assign 188 ; 466$ ASSIGN: bandresaw cuts=DISC(0.33334, 5, 0.66668, 8, 1, 9):NEXT(423$); ; ; ; Model statements for module: Assign 189 ; 467$ ASSIGN: bandresaw cuts=DISC(0.333333, 4, 0.666667, 5, 1, 7):NEXT(423$); ; ; ; Model statements for module: Assign 190 ; 468$ ASSIGN: bandresaw cuts=DISC(0.333333, 10, 1, 11):NEXT(423$); ; ; ; Model statements for module: Assign 191 ; 469$ ASSIGN: bandresaw cuts=DISC(0.666667, 11, 1, 19):NEXT(423$); ; ; ; Model statements for module: Assign 192 ; 470$ ASSIGN: bandresaw cuts=DISC(0.5, 14, 1, 16):NEXT(423$); ; ; ; Model statements for module: Station 15 ; 638$ STATION, Bandresaw station; 2207$ DELAY: 0.0,,VA:NEXT(931$); ; ; ; Model statements for module: Hold 50 ; 931$ QUEUE, Hold until room is available at gangsaw.Queue; SCAN: (NEA(Pregangsaw conveyor) + NEC(Pregangsaw conveyor) )<= 13:NEXT(666$); ; ; ; Model statements for module: Decide 186 ; 666$ BRANCH, 1: If, ( NEC(First Merry go round conveyor) + NEA(First Merry go round conveyor)+NEA(Second Merry go round conveyor) + NEC(Second Merry go round conveyor) + NEA(Third Merry go round conveyor) + NEC(Third Merry go round conveyor)) <= UNIF(24,27), 2208$,Yes: Else,2209$,Yes; 2208$ ASSIGN: Decide if more logs are needed.NumberOut True=Decide if more logs are needed.NumberOut True + 1 :NEXT(667$); 2209$ ASSIGN: Decide if more logs are needed.NumberOut False=Decide if more logs are needed.NumberOut False + 1 :NEXT(668$); ; ; ; Model statements for module: Signal 2 ; 667$ SIGNAL: 1000:NEXT(933$); ; ; ; Model statements for module: Decide 401 ; 933$ BRANCH, 1: If,Entity.Type==FAS,2210$,Yes: Else,2211$,Yes; 2210$ ASSIGN: Decide 401.NumberOut True=Decide 401.NumberOut True + 1:NEXT(934$); 2211$ ASSIGN: Decide 401.NumberOut False=Decide 401.NumberOut False + 1:NEXT(668$); ; ; ; Model statements for module: Dispose 27 ; 934$ ASSIGN: Dispose 27.NumberOut=Dispose 27.NumberOut + 1; 2212$ DISPOSE: Yes; ; ; ; Model statements for module: ReadWrite 28 ; 668$ WRITE, Costing workbook,RECORDSET(Tbefore): TNOW:NEXT(634$); ; ; ; Model statements for module: Process 4 ; 634$ ASSIGN: Bandresaw.NumberIn=Bandresaw.NumberIn + 1: Bandresaw.WIP=Bandresaw.WIP+1; 2242$ STACK, 1:Save:NEXT(2214$); 2214$ DELAY: SecondsToBaseTime(3 + WEIB(2.74, 2.08, stream9)),,VA:NEXT(2223$); 2223$ TALLY: Bandresaw.TotalTimePerEntity,Diff.StartTime,1; 2224$ TALLY: Bandresaw.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 2247$ ASSIGN: Bandresaw.VATime=Bandresaw.VATime + Diff.VATime; 2248$ TALLY: Bandresaw.VATimePerEntity,Diff.VATime,1; 2252$ ASSIGN: Bandresaw.VACost=Bandresaw.VACost + Diff.VACost; 2249$ TALLY: Bandresaw.VACostPerEntity,Diff.VACost,1; 2262$ STACK, 1:Destroy:NEXT(2261$); 2261$ ASSIGN: Bandresaw.NumberOut=Bandresaw.NumberOut + 1: Bandresaw.WIP=Bandresaw.WIP-1:NEXT(672$); ; ; ; Model statements for module: Decide 194 ; 672$ BRANCH, 1: If,Merry go round attribute==1,2264$,Yes: Else,2265$,Yes; 2264$ ASSIGN: Decide 194.NumberOut True=Decide 194.NumberOut True + 1:NEXT(671$); 2265$ ASSIGN: Decide 194.NumberOut False=Decide 194.NumberOut False + 1:NEXT(640$); ; ; ; Model statements for module: Exit 65 ; 671$ EXIT: Prebandresaw transfer conveyor,1:NEXT(640$); ; ; ; Model statements for module: Assign 56 ; 640$ ASSIGN: Bandresaw sawline=Bandresaw sawline + 1:NEXT(639$); ; ; ; Model statements for module: Exit 16 ; 639$ EXIT: Prebandresaw conveyor,1:NEXT(654$); ; ; ; Model statements for module: Access 31 ; 654$ QUEUE, Access bandresaw conveyor and send to transfer point.Queue; ACCESS: Bandresaw conveyor,1:NEXT(663$); ; ; ; Model statements for module: Release 19 ; 663$ RELEASE: Bandresaw operator,1:NEXT(656$); ; ; ; Model statements for module: Convey 42 ; 656$ CONVEY: Bandresaw conveyor,Transfer point; ; ; ; Model statements for module: Station 53 ; 664$ STATION, Transfer point; 2268$ DELAY: 0.0,,VA:NEXT(670$); ; ; ; Model statements for module: ReadWrite 46 ; 670$ WRITE, Costing workbook,RECORDSET(BRELATER): TNOW:NEXT(635$); ; ; ; Model statements for module: Separate 2 ; 635$ DUPLICATE, 100 - 50: 1,2271$,50:NEXT(2270$); 2270$ ASSIGN: Separate lumber from cant.NumberOut Orig=Separate lumber from cant.NumberOut Orig + 1:NEXT(669$); 2271$ ASSIGN: Separate lumber from cant.NumberOut Dup=Separate lumber from cant.NumberOut Dup + 1:NEXT(641$); ; ; ; Model statements for module: ReadWrite 29 ; 669$ WRITE, Costing workbook,RECORDSET(Tafter): TNOW:NEXT(658$); ; ; ; Model statements for module: Decide 111 ; 658$ BRANCH, 1: If,bandresaw cuts==Bandresaw sawline,659$,Yes: Else,657$,Yes; ; ; ; Model statements for module: Exit 55 ; 657$ EXIT: Bandresaw conveyor,1:NEXT(660$); ; ; ; Model statements for module: Access 42 ; 660$ QUEUE, Access bandresaw transfer conveyor.Queue; ACCESS: Bandresaw transfer conveyor,1:NEXT(662$); ; ; ; Model statements for module: Convey 59 ; 662$ CONVEY: Bandresaw transfer conveyor,End of bandresaw transfer conveyor; ; ; ; Model statements for module: Convey 58 ; 659$ CONVEY: Bandresaw conveyor,Bandresaw to gangsaw midpoint; ; ; ; Model statements for module: Decide 37 ; 641$ BRANCH, 1: If,Log type==1,642$,Yes: If,Log type==2,673$,Yes: If,Log type==3,674$,Yes: If,Log type==4,675$,Yes: If,Log type==5,676$,Yes: If,Log type==6,677$,Yes: If,Log type==7,678$,Yes: If,Log type==8,679$,Yes: If,Log type==9,680$,Yes: If,Log type==10,681$,Yes: If,Log type==11,682$,Yes: If,Log type==12,683$,Yes: If,Log type==13,684$,Yes: If,Log type==14,685$,Yes: If,Log type==15,686$,Yes: If,Log type==16,687$,Yes: If,Log type==17,688$,Yes: If,Log type==18,689$,Yes: If,Log type==19,690$,Yes: If,Log type==20,691$,Yes: Else,665$,Yes; ; ; ; Model statements for module: Dispose 18 ; 665$ ASSIGN: Dispose 18.NumberOut=Dispose 18.NumberOut + 1; 2276$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 58 ; 642$ ASSIGN: Lumber grade=DISC(0.72727, 1, 0.90909, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(644$); ; ; ; Model statements for module: Decide 38 ; 644$ BRANCH, 1: If,Entity.Type==FAS,643$,Yes: If,Entity.Type==1Com,645$,Yes: If,Entity.Type==2A,646$,Yes: If,Entity.Type==3A,647$,Yes: Else,648$,Yes; ; ; ; Model statements for module: Assign 64 ; 648$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(653$); ; ; ; Model statements for module: Decide 55 ; 653$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Leave 8 ; 637$ DELAY: 0.00,,VA:NEXT(2294$); 2294$ QUEUE, Route from bandresaw to trimmer.Queue; 2285$ ACCESS: Bandresaw conveyor,1; 2286$ DELAY: 0.000000000000000,,VA:NEXT(2290$); 2290$ CONVEY: ,Bandresaw to trimmmer conveyor midpoint; ; ; ; Model statements for module: Leave 7 ; 636$ DELAY: 0.00,,VA:NEXT(2314$); 2314$ QUEUE, Route from bandresaw to edger.Queue; 2305$ ACCESS: Bandresaw conveyor,1; 2306$ DELAY: 0.000000000000000,,VA:NEXT(2310$); 2310$ CONVEY: ,Bandresaw to edger midpoint; ; ; ; Model statements for module: Assign 60 ; 643$ ASSIGN: Bandresaw volume=DISC(0.125, 5, 0.75, 6, 0.875, 7, 1, 8):NEXT(649$); ; ; ; Model statements for module: Decide 39 ; 649$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,804$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 236 ; 804$ BRANCH, 1: With,80/100,2323$,Yes: Else,2324$,Yes; 2323$ ASSIGN: Send to edger 80% of time.NumberOut True=Send to edger 80% of time.NumberOut True + 1:NEXT(636$); 2324$ ASSIGN: Send to edger 80% of time.NumberOut False=Send to edger 80% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 61 ; 645$ ASSIGN: Bandresaw volume=DISC(1, 5):NEXT(650$); ; ; ; Model statements for module: Decide 42 ; 650$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 62 ; 646$ ASSIGN: Bandresaw volume=DISC(1, 6):NEXT(651$); ; ; ; Model statements for module: Decide 49 ; 651$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 63 ; 647$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(652$); ; ; ; Model statements for module: Decide 52 ; 652$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 355 ; 673$ ASSIGN: Lumber grade=DISC(0.25, 1, 0.66667, 2, 0.91667, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(692$); ; ; ; Model statements for module: Decide 216 ; 692$ BRANCH, 1: If,Entity.Type==FAS,711$,Yes: If,Entity.Type==1Com,712$,Yes: If,Entity.Type==2A,713$,Yes: If,Entity.Type==3A,714$,Yes: Else,715$,Yes; ; ; ; Model statements for module: Assign 378 ; 715$ ASSIGN: Bandresaw volume=DISC(1, 4):NEXT(809$); ; ; ; Model statements for module: Decide 246 ; 809$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 374 ; 711$ ASSIGN: Bandresaw volume=DISC(1, 5):NEXT(805$); ; ; ; Model statements for module: Decide 242 ; 805$ BRANCH, 1: If,Bandresaw volume==5,810$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 247 ; 810$ BRANCH, 1: With,33.333/100,2337$,Yes: Else,2338$,Yes; 2337$ ASSIGN: Send to edger 33.333% of time.NumberOut True=Send to edger 33.333% of time.NumberOut True + 1 :NEXT(636$); 2338$ ASSIGN: Send to edger 33.333% of time.NumberOut False=Send to edger 33.333% of time.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 375 ; 712$ ASSIGN: Bandresaw volume=DISC(0.4, 4, 0.6, 5, 1, 6):NEXT(806$); ; ; ; Model statements for module: Decide 243 ; 806$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 376 ; 713$ ASSIGN: Bandresaw volume=DISC(0.333333, 3, 0.666667, 5, 1, 6):NEXT(807$); ; ; ; Model statements for module: Decide 244 ; 807$ BRANCH, 1: If,Bandresaw volume==3,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 377 ; 714$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(808$); ; ; ; Model statements for module: Decide 245 ; 808$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 356 ; 674$ ASSIGN: Lumber grade=DISC(0.14286, 1, 0.57143, 2, 0.71429, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(693$); ; ; ; Model statements for module: Decide 217 ; 693$ BRANCH, 1: If,Entity.Type==FAS,716$,Yes: If,Entity.Type==1Com,717$,Yes: If,Entity.Type==2A,718$,Yes: If,Entity.Type==3A,719$,Yes: Else,720$,Yes; ; ; ; Model statements for module: Assign 383 ; 720$ ASSIGN: Bandresaw volume=DISC(0.5, 6, 1, 8):NEXT(815$); ; ; ; Model statements for module: Decide 252 ; 815$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==8,816$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 253 ; 816$ BRANCH, 1: With,50/100,2349$,Yes: Else,2350$,Yes; 2349$ ASSIGN: Send to edger 50% of time.NumberOut True=Send to edger 50% of time.NumberOut True + 1:NEXT(636$); 2350$ ASSIGN: Send to edger 50% of time.NumberOut False=Send to edger 50% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 379 ; 716$ ASSIGN: Bandresaw volume=DISC(1, 7):NEXT(811$); ; ; ; Model statements for module: Decide 248 ; 811$ BRANCH, 1: If,Bandresaw volume==7,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 380 ; 717$ ASSIGN: Bandresaw volume=DISC(0.17, 3, 0.33, 4, 0.66, 5, 0.83, 8, 1, 9):NEXT(812$); ; ; ; Model statements for module: Decide 249 ; 812$ BRANCH, 1: If,Bandresaw volume==3,636$,Yes: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 381 ; 718$ ASSIGN: Bandresaw volume=DISC(0.5 ,4, 1, 7):NEXT(813$); ; ; ; Model statements for module: Decide 250 ; 813$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 382 ; 719$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(814$); ; ; ; Model statements for module: Decide 251 ; 814$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 357 ; 675$ ASSIGN: Lumber grade=DISC(0.16667, 1, 0.5, 2, 0.88889, 3, 0.94445, 4 , 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(694$); ; ; ; Model statements for module: Decide 218 ; 694$ BRANCH, 1: If,Entity.Type==FAS,721$,Yes: If,Entity.Type==1Com,722$,Yes: If,Entity.Type==2A,723$,Yes: If,Entity.Type==3A,724$,Yes: Else,725$,Yes; ; ; ; Model statements for module: Assign 388 ; 725$ ASSIGN: Bandresaw volume=DISC(1, 5):NEXT(821$); ; ; ; Model statements for module: Decide 258 ; 821$ BRANCH, 1: If,Bandresaw volume==5,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 384 ; 721$ ASSIGN: Bandresaw volume=DISC(0.666667, 5, 1, 8):NEXT(817$); ; ; ; Model statements for module: Decide 254 ; 817$ BRANCH, 1: If,Bandresaw volume==5,816$,Yes: If,Bandresaw volume==8,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 385 ; 722$ ASSIGN: Bandresaw volume=DISC(0.166667, 4, 0.333333, 5, 0.833333, 6, 1, 8):NEXT(818$); ; ; ; Model statements for module: Decide 255 ; 818$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,822$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 259 ; 822$ BRANCH, 1: With,66.667/100,2367$,Yes: Else,2368$,Yes; 2367$ ASSIGN: Send to edger 66.667% of time.NumberOut True=Send to edger 66.667% of time.NumberOut True + 1 :NEXT(636$); 2368$ ASSIGN: Send to edger 66.667% of time.NumberOut False=Send to edger 66.667% of time.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 386 ; 723$ ASSIGN: Bandresaw volume=DISC(0.15, 3, 0.433333, 5, 0.716667, 6, 0.85, 7, 1, 8):NEXT(819$); ; ; ; Model statements for module: Decide 256 ; 819$ BRANCH, 1: If,Bandresaw volume==3,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,816$,Yes: If,Bandresaw volume==7,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 387 ; 724$ ASSIGN: Bandresaw volume=DISC(1, 5):NEXT(820$); ; ; ; Model statements for module: Decide 257 ; 820$ BRANCH, 1: If,Bandresaw volume==5,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 358 ; 676$ ASSIGN: Lumber grade=DISC(0.42857, 1, 0.85714, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(695$); ; ; ; Model statements for module: Decide 219 ; 695$ BRANCH, 1: If,Entity.Type==FAS,726$,Yes: If,Entity.Type==1Com,727$,Yes: If,Entity.Type==2A,728$,Yes: If,Entity.Type==3A,729$,Yes: Else,730$,Yes; ; ; ; Model statements for module: Assign 393 ; 730$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(827$); ; ; ; Model statements for module: Decide 264 ; 827$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 389 ; 726$ ASSIGN: Bandresaw volume=DISC(0.33333, 6, 1, 7):NEXT(823$); ; ; ; Model statements for module: Decide 260 ; 823$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 390 ; 727$ ASSIGN: Bandresaw volume=DISC(0.33333, 5, 0.66666, 6, 1, 7):NEXT(824$); ; ; ; Model statements for module: Decide 261 ; 824$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 391 ; 728$ ASSIGN: Bandresaw volume=DISC(1, 5):NEXT(825$); ; ; ; Model statements for module: Decide 262 ; 825$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 392 ; 729$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(826$); ; ; ; Model statements for module: Decide 263 ; 826$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 359 ; 677$ ASSIGN: Lumber grade=DISC(0.24, 1, 0.56, 2, 0.96, 3, 1, 4): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(696$); ; ; ; Model statements for module: Decide 220 ; 696$ BRANCH, 1: If,Entity.Type==FAS,731$,Yes: If,Entity.Type==1Com,732$,Yes: If,Entity.Type==2A,733$,Yes: If,Entity.Type==3A,734$,Yes: Else,735$,Yes; ; ; ; Model statements for module: Assign 398 ; 735$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(831$); ; ; ; Model statements for module: Decide 269 ; 831$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 394 ; 731$ ASSIGN: Bandresaw volume=DISC(0.33, 6, 0.83, 7, 1, 8):NEXT(828$); ; ; ; Model statements for module: Decide 265 ; 828$ BRANCH, 1: If,Bandresaw volume==6,816$,Yes: If,Bandresaw volume==7,637$,Yes: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 395 ; 732$ ASSIGN: Bandresaw volume=DISC(0.125, 2, 0.25, 4, 0.5, 5, 0.75, 6, 0.875, 7, 1, 9):NEXT(829$); ; ; ; Model statements for module: Decide 266 ; 829$ BRANCH, 1: If,Bandresaw volume==2,636$,Yes: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,816$,Yes: If,Bandresaw volume==6,816$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 396 ; 733$ ASSIGN: Bandresaw volume=DISC(0.10, 5, 0.40, 6, 0.80, 7, 0.90, 8, 1, 9):NEXT(830$); ; ; ; Model statements for module: Decide 267 ; 830$ BRANCH, 1: If,Bandresaw volume==5,637$,Yes: If,Bandresaw volume==6,832$,Yes: If,Bandresaw volume==7,637$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 270 ; 832$ BRANCH, 1: With,50/100,2395$,Yes: Else,2396$,Yes; 2395$ ASSIGN: Send to edger 33% of time.NumberOut True=Send to edger 33% of time.NumberOut True + 1:NEXT(636$); 2396$ ASSIGN: Send to edger 33% of time.NumberOut False=Send to edger 33% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 397 ; 734$ ASSIGN: Bandresaw volume=DISC(1.0, 7):NEXT(930$); ; ; ; Model statements for module: Decide 369 ; 930$ BRANCH, 1: If,Bandresaw volume==7,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 360 ; 678$ ASSIGN: Lumber grade=DISC(0.30769, 1, 0.76923, 2, 0.92308, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(697$); ; ; ; Model statements for module: Decide 221 ; 697$ BRANCH, 1: If,Entity.Type==FAS,736$,Yes: If,Entity.Type==1Com,737$,Yes: If,Entity.Type==2A,738$,Yes: If,Entity.Type==3A,739$,Yes: Else,740$,Yes; ; ; ; Model statements for module: Assign 403 ; 740$ ASSIGN: Bandresaw volume=DISC(1, 8):NEXT(837$); ; ; ; Model statements for module: Decide 275 ; 837$ BRANCH, 1: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 399 ; 736$ ASSIGN: Bandresaw volume=DISC(0.2, 6, 0.6, 7, 1, 8):NEXT(833$); ; ; ; Model statements for module: Decide 271 ; 833$ BRANCH, 1: If,Bandresaw volume==7,637$,Yes: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 400 ; 737$ ASSIGN: Bandresaw volume=DISC(0.16667, 6, 0.33334, 7, 0.83334, 8, 1 , 9):NEXT(834$); ; ; ; Model statements for module: Decide 272 ; 834$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,838$,Yes: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 276 ; 838$ BRANCH, 1: With,33.333/100,2407$,Yes: Else,2408$,Yes; 2407$ ASSIGN: Send to edger 33.333% of time III.NumberOut True= Send to edger 33.333% of time III.NumberOut True + 1:NEXT(636$); 2408$ ASSIGN: Send to edger 33.333% of time III.NumberOut False= Send to edger 33.333% of time III.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 401 ; 738$ ASSIGN: Bandresaw volume=DISC(0.5, 6 ,1, 7):NEXT(835$); ; ; ; Model statements for module: Decide 273 ; 835$ BRANCH, 1: If,Bandresaw volume==6,637$,Yes: If,Bandresaw volume==7,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 402 ; 739$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(836$); ; ; ; Model statements for module: Decide 274 ; 836$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 361 ; 679$ ASSIGN: Lumber grade=DISC(0.6, 1, 0.93, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(698$); ; ; ; Model statements for module: Decide 222 ; 698$ BRANCH, 1: If,Entity.Type==FAS,741$,Yes: If,Entity.Type==1Com,742$,Yes: If,Entity.Type==2A,743$,Yes: If,Entity.Type==3A,744$,Yes: Else,745$,Yes; ; ; ; Model statements for module: Assign 408 ; 745$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(843$); ; ; ; Model statements for module: Decide 281 ; 843$ BRANCH, 1: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 404 ; 741$ ASSIGN: Bandresaw volume=DISC(0.11, 5, 0.22, 6, 0.55, 7, 0.77, 8, 0.88, 9, 1, 10):NEXT(839$); ; ; ; Model statements for module: Decide 277 ; 839$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,844$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,637$,Yes: If,Bandresaw volume==10,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 282 ; 844$ BRANCH, 1: With,33/100,2419$,Yes: Else,2420$,Yes; 2419$ ASSIGN: Send to edger 33% of time II.NumberOut True=Send to edger 33% of time II.NumberOut True + 1 :NEXT(636$); 2420$ ASSIGN: Send to edger 33% of time II.NumberOut False=Send to edger 33% of time II.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 405 ; 742$ ASSIGN: Bandresaw volume=DISC(0.2, 6, 0.8, 7, 1, 9):NEXT(840$); ; ; ; Model statements for module: Decide 278 ; 840$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==9,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 406 ; 743$ ASSIGN: Bandresaw volume=DISC(1, 6):NEXT(841$); ; ; ; Model statements for module: Decide 279 ; 841$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 407 ; 744$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(842$); ; ; ; Model statements for module: Decide 280 ; 842$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 362 ; 680$ ASSIGN: Lumber grade=DISC(0.6, 1, 0.96, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(699$); ; ; ; Model statements for module: Decide 223 ; 699$ BRANCH, 1: If,Entity.Type==FAS,746$,Yes: If,Entity.Type==1Com,747$,Yes: If,Entity.Type==2A,748$,Yes: If,Entity.Type==3A,749$,Yes: Else,750$,Yes; ; ; ; Model statements for module: Assign 413 ; 750$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(849$); ; ; ; Model statements for module: Decide 287 ; 849$ BRANCH, 1: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 409 ; 746$ ASSIGN: Bandresaw volume=DISC(0.13, 5, 0.19, 6, 0.46, 7 , 0.79, 8, 0.92, 9, 1, 10 ):NEXT(845$); ; ; ; Model statements for module: Decide 283 ; 845$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,637$,Yes: If,Bandresaw volume==7,850$,Yes: If,Bandresaw volume==8,637$,Yes: If,Bandresaw volume==9,851$,Yes: If,Bandresaw volume==10,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 288 ; 850$ BRANCH, 1: With,75/100,2433$,Yes: Else,2434$,Yes; 2433$ ASSIGN: Send to edger 75% of time.NumberOut True=Send to edger 75% of time.NumberOut True + 1:NEXT(636$); 2434$ ASSIGN: Send to edger 75% of time.NumberOut False=Send to edger 75% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Decide 289 ; 851$ BRANCH, 1: With,50/100,2435$,Yes: Else,2436$,Yes; 2435$ ASSIGN: Send to edger 50% of time II.NumberOut True=Send to edger 50% of time II.NumberOut True + 1 :NEXT(636$); 2436$ ASSIGN: Send to edger 50% of time II.NumberOut False=Send to edger 50% of time II.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 410 ; 747$ ASSIGN: Bandresaw volume=DISC(0.11, 3 ,0.22, 4, 0.66, 5, 0.77, 7, 1, 8):NEXT(846$); ; ; ; Model statements for module: Decide 284 ; 846$ BRANCH, 1: If,Bandresaw volume==3,636$,Yes: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 411 ; 748$ ASSIGN: Bandresaw volume=DISC(1, 7):NEXT(847$); ; ; ; Model statements for module: Decide 285 ; 847$ BRANCH, 1: If,Bandresaw volume==7,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 412 ; 749$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(848$); ; ; ; Model statements for module: Decide 286 ; 848$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 363 ; 681$ ASSIGN: Lumber grade=DISC(0.82, 1, 1, 2): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(700$); ; ; ; Model statements for module: Decide 224 ; 700$ BRANCH, 1: If,Entity.Type==FAS,751$,Yes: If,Entity.Type==1Com,752$,Yes: If,Entity.Type==2A,753$,Yes: If,Entity.Type==3A,754$,Yes: Else,755$,Yes; ; ; ; Model statements for module: Assign 418 ; 755$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(857$); ; ; ; Model statements for module: Decide 294 ; 857$ BRANCH, 1: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 414 ; 751$ ASSIGN: Bandresaw volume=DISC(0.07, 6, 0.28, 7, 0.35, 8, 0.63, 9, 1, 10):NEXT(853$); ; ; ; Model statements for module: Decide 290 ; 853$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,850$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,858$,Yes: If,Bandresaw volume==10,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 295 ; 858$ BRANCH, 1: With,75/100,2449$,Yes: Else,2450$,Yes; 2449$ ASSIGN: Send to edger 75% of time ii.NumberOut True=Send to edger 75% of time ii.NumberOut True + 1 :NEXT(636$); 2450$ ASSIGN: Send to edger 75% of time ii.NumberOut False=Send to edger 75% of time ii.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 415 ; 752$ ASSIGN: Bandresaw volume=DISC(0.33, 5, 1, 10):NEXT(854$); ; ; ; Model statements for module: Decide 291 ; 854$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==10,859$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 296 ; 859$ BRANCH, 1: With,50/100,2453$,Yes: Else,2454$,Yes; 2453$ ASSIGN: Send to edger 50% of time III.NumberOut True=Send to edger 50% of time III.NumberOut True + 1 :NEXT(636$); 2454$ ASSIGN: Send to edger 50% of time III.NumberOut False=Send to edger 50% of time III.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 416 ; 753$ ASSIGN: Bandresaw volume=DISC(0.66668, 7, 1.0, 9):NEXT(855$); ; ; ; Model statements for module: Decide 292 ; 855$ BRANCH, 1: If,Bandresaw volume==7,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 417 ; 754$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(856$); ; ; ; Model statements for module: Decide 293 ; 856$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 364 ; 682$ ASSIGN: Lumber grade=DISC(0.81818, 1, 0.90909, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(701$); ; ; ; Model statements for module: Decide 225 ; 701$ BRANCH, 1: If,Entity.Type==FAS,756$,Yes: If,Entity.Type==1Com,757$,Yes: If,Entity.Type==2A,758$,Yes: If,Entity.Type==3A,759$,Yes: Else,852$,Yes; ; ; ; Model statements for module: Assign 470 ; 852$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(864$); ; ; ; Model statements for module: Decide 301 ; 864$ BRANCH, 1: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 419 ; 756$ ASSIGN: Bandresaw volume=DISC(0.22222, 7, 0.33333, 8, 0.44444, 9, 0.77777, 10, 0.88888, 11, 1, 12) :NEXT(860$); ; ; ; Model statements for module: Decide 297 ; 860$ BRANCH, 1: If,Bandresaw volume==7,859$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,636$,Yes: If,Bandresaw volume==10,865$,Yes: If,Bandresaw volume==11,636$,Yes: If,Bandresaw volume==12,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 303 ; 865$ BRANCH, 1: With,33.333/100,2465$,Yes: Else,2466$,Yes; 2465$ ASSIGN: Send to edger 33.333% of time I.NumberOut True=Send to edger 33.333% of time I.NumberOut True + 1 :NEXT(636$); 2466$ ASSIGN: Send to edger 33.333% of time I.NumberOut False=Send to edger 33.333% of time I.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 420 ; 757$ ASSIGN: Bandresaw volume=DISC(1, 10):NEXT(861$); ; ; ; Model statements for module: Decide 298 ; 861$ BRANCH, 1: If,Bandresaw volume==10,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 421 ; 758$ ASSIGN: Bandresaw volume=DISC(1, 6):NEXT(862$); ; ; ; Model statements for module: Decide 299 ; 862$ BRANCH, 1: If,Bandresaw volume==6,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 422 ; 759$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(863$); ; ; ; Model statements for module: Decide 300 ; 863$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 365 ; 683$ ASSIGN: Lumber grade=DISC(0.47222, 1, 0.77778, 2, 0.97222, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(702$); ; ; ; Model statements for module: Decide 226 ; 702$ BRANCH, 1: If,Entity.Type==FAS,760$,Yes: If,Entity.Type==1Com,761$,Yes: If,Entity.Type==2A,875$,Yes: If,Entity.Type==3A,762$,Yes: Else,763$,Yes; ; ; ; Model statements for module: Assign 428 ; 763$ ASSIGN: Bandresaw volume=DISC(1, 4):NEXT(870$); ; ; ; Model statements for module: Decide 308 ; 870$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 424 ; 760$ ASSIGN: Bandresaw volume=DISC(0.29, 8, 0.35, 9, 0.64, 10, 0.7, 11, 0.88, 12, 0.94, 13, 1, 14 ):NEXT(866$); ; ; ; Model statements for module: Decide 304 ; 866$ BRANCH, 1: If,Bandresaw volume==8,871$,Yes: If,Bandresaw volume==9,637$,Yes: If,Bandresaw volume==10,872$,Yes: If,Bandresaw volume==11,637$,Yes: If,Bandresaw volume==12,873$,Yes: If,Bandresaw volume==13,637$,Yes: If,Bandresaw volume==14,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 309 ; 871$ BRANCH, 1: With,40/100,2479$,Yes: Else,2480$,Yes; 2479$ ASSIGN: Send to edger 40% of time.NumberOut True=Send to edger 40% of time.NumberOut True + 1:NEXT(636$); 2480$ ASSIGN: Send to edger 40% of time.NumberOut False=Send to edger 40% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Decide 310 ; 872$ BRANCH, 1: With,60/100,2481$,Yes: Else,2482$,Yes; 2481$ ASSIGN: Send to edger 60% of time.NumberOut True=Send to edger 60% of time.NumberOut True + 1:NEXT(636$); 2482$ ASSIGN: Send to edger 60% of time.NumberOut False=Send to edger 60% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Decide 311 ; 873$ BRANCH, 1: With,34/100,2483$,Yes: Else,2484$,Yes; 2483$ ASSIGN: Send to edger 34% of time.NumberOut True=Send to edger 34% of time.NumberOut True + 1:NEXT(636$); 2484$ ASSIGN: Send to edger 34% of time.NumberOut False=Send to edger 34% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 425 ; 761$ ASSIGN: Bandresaw volume=DISC(0.09, 6, 0.27, 8, 0.63, 10, 0.72, 11, 0.81, 12, 0.90, 13, 1, 15):NEXT(867$); ; ; ; Model statements for module: Decide 305 ; 867$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==8,859$,Yes: If,Bandresaw volume==10,874$,Yes: If,Bandresaw volume==11,636$,Yes: If,Bandresaw volume==12,636$,Yes: If,Bandresaw volume==13,636$,Yes: If,Bandresaw volume==15,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 312 ; 874$ BRANCH, 1: With,25/100,2487$,Yes: Else,2488$,Yes; 2487$ ASSIGN: Send to edger 25% of time.NumberOut True=Send to edger 25% of time.NumberOut True + 1:NEXT(636$); 2488$ ASSIGN: Send to edger 25% of time.NumberOut False=Send to edger 25% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 471 ; 875$ ASSIGN: Bandresaw volume=DISC(0.14, 6, 0.28, 7, 0.42, 8, 0.71, 9, 1, 12):NEXT(868$); ; ; ; Model statements for module: Decide 306 ; 868$ BRANCH, 1: If,Bandresaw volume==6,637$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,637$,Yes: If,Bandresaw volume==9,637$,Yes: If,Bandresaw volume==12,859$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 427 ; 762$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(869$); ; ; ; Model statements for module: Decide 307 ; 869$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 366 ; 684$ ASSIGN: Lumber grade=DISC(0.77, 1, 0.9, 2, 0.94, 3, 0.97, 4, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(703$); ; ; ; Model statements for module: Decide 227 ; 703$ BRANCH, 1: If,Entity.Type==FAS,764$,Yes: If,Entity.Type==1Com,765$,Yes: If,Entity.Type==2A,766$,Yes: If,Entity.Type==3A,767$,Yes: Else,768$,Yes; ; ; ; Model statements for module: Assign 433 ; 768$ ASSIGN: Bandresaw volume=DISC(1, 4):NEXT(880$); ; ; ; Model statements for module: Decide 317 ; 880$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 429 ; 764$ ASSIGN: Bandresaw volume= DISC(0.06, 5, 0.09, 6, 0.12, 7, 0.24, 9, 0.40, 10, 0.53, 11, 0.75, 12, 0.94, 13, 1, 14):NEXT(876$); ; ; ; Model statements for module: Decide 313 ; 876$ BRANCH, 1: If,Bandresaw volume==5,881$,Yes: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,637$,Yes: If,Bandresaw volume==9,882$,Yes: If,Bandresaw volume==10,882$,Yes: If,Bandresaw volume==11,881$,Yes: If,Bandresaw volume==12,636$,Yes: If,Bandresaw volume==13,881$,Yes: If,Bandresaw volume==14,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 318 ; 881$ BRANCH, 1: With,50/100,2499$,Yes: Else,2500$,Yes; 2499$ ASSIGN: Send to edger 50% of time IV.NumberOut True=Send to edger 50% of time IV.NumberOut True + 1 :NEXT(636$); 2500$ ASSIGN: Send to edger 50% of time IV.NumberOut False=Send to edger 50% of time IV.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Decide 319 ; 882$ BRANCH, 1: With,25/100,2501$,Yes: Else,2502$,Yes; 2501$ ASSIGN: Send to edger 25% of time I.NumberOut True=Send to edger 25% of time I.NumberOut True + 1 :NEXT(636$); 2502$ ASSIGN: Send to edger 25% of time I.NumberOut False=Send to edger 25% of time I.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 430 ; 765$ ASSIGN: Bandresaw volume=DISC(0.2, 4, 0.4, 10, 0.8, 12, 1, 13):NEXT(877$); ; ; ; Model statements for module: Decide 314 ; 877$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==10,637$,Yes: If,Bandresaw volume==12,881$,Yes: If,Bandresaw volume==13,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 431 ; 766$ ASSIGN: Bandresaw volume=DISC(0.5, 10, 1, 13):NEXT(878$); ; ; ; Model statements for module: Decide 315 ; 878$ BRANCH, 1: If,Bandresaw volume==10,637$,Yes: If,Bandresaw volume==13,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 432 ; 767$ ASSIGN: Bandresaw volume=DISC(1, 9):NEXT(879$); ; ; ; Model statements for module: Decide 316 ; 879$ BRANCH, 1: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 367 ; 685$ ASSIGN: Lumber grade=DISC(0.23529, 1, 0.64705, 2, 0.82352, 3, 0.88234, 4, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(704$); ; ; ; Model statements for module: Decide 229 ; 704$ BRANCH, 1: If,Entity.Type==FAS,769$,Yes: If,Entity.Type==1Com,770$,Yes: If,Entity.Type==2A,771$,Yes: If,Entity.Type==3A,772$,Yes: Else,773$,Yes; ; ; ; Model statements for module: Assign 438 ; 773$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1, 9):NEXT(887$); ; ; ; Model statements for module: Decide 324 ; 887$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 434 ; 769$ ASSIGN: Bandresaw volume=DISC(0.5, 8, 1, 9):NEXT(883$); ; ; ; Model statements for module: Decide 320 ; 883$ BRANCH, 1: If,Bandresaw volume==8,888$,Yes: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 325 ; 888$ BRANCH, 1: With,50/100,2515$,Yes: Else,2516$,Yes; 2515$ ASSIGN: Send to edger 50% of time V.NumberOut True=Send to edger 50% of time V.NumberOut True + 1 :NEXT(636$); 2516$ ASSIGN: Send to edger 50% of time V.NumberOut False=Send to edger 50% of time V.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 435 ; 770$ ASSIGN: Bandresaw volume=DISC(0.14286, 2, 0.28572, 3, 0.42858, 5, 0.57144, 7, 0.7143, 8, 0.8716, 9, 1, 10) :NEXT(884$); ; ; ; Model statements for module: Decide 321 ; 884$ BRANCH, 1: If,Bandresaw volume==2,636$,Yes: If,Bandresaw volume==3,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,636$,Yes: If,Bandresaw volume==10,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 436 ; 771$ ASSIGN: Bandresaw volume=DISC(0.66667, 7, 1, 9):NEXT(885$); ; ; ; Model statements for module: Decide 322 ; 885$ BRANCH, 1: If,Bandresaw volume==7,637$,Yes: If,Bandresaw volume==9,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 437 ; 772$ ASSIGN: Bandresaw volume=DISC(1, 6):NEXT(886$); ; ; ; Model statements for module: Decide 323 ; 886$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 368 ; 686$ ASSIGN: Lumber grade=DISC(0.14286, 1, 0.5, 2, 0.92857, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(705$); ; ; ; Model statements for module: Decide 230 ; 705$ BRANCH, 1: If,Entity.Type==FAS,774$,Yes: If,Entity.Type==1Com,775$,Yes: If,Entity.Type==2A,776$,Yes: If,Entity.Type==3A,777$,Yes: Else,778$,Yes; ; ; ; Model statements for module: Assign 443 ; 778$ ASSIGN: Bandresaw volume=DISC(1, 5):NEXT(893$); ; ; ; Model statements for module: Decide 330 ; 893$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 439 ; 774$ ASSIGN: Bandresaw volume=DISC(0.5, 6, 1, 8):NEXT(889$); ; ; ; Model statements for module: Decide 326 ; 889$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 440 ; 775$ ASSIGN: Bandresaw volume=DISC(0.2, 4, 0.4, 5, 0.6, 7, 0.8, 10, 1, 11):NEXT(890$); ; ; ; Model statements for module: Decide 327 ; 890$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==10,636$,Yes: If,Bandresaw volume==11,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 441 ; 776$ ASSIGN: Bandresaw volume=DISC(0.166667, 4, 0.333333, 6, 0.5, 7, 0.833333, 8, 1, 9):NEXT(891$); ; ; ; Model statements for module: Decide 328 ; 891$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 442 ; 777$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(892$); ; ; ; Model statements for module: Decide 329 ; 892$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 369 ; 687$ ASSIGN: Lumber grade=DISC(0.27273, 1, 0.72728, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(706$); ; ; ; Model statements for module: Decide 231 ; 706$ BRANCH, 1: If,Entity.Type==FAS,779$,Yes: If,Entity.Type==1Com,780$,Yes: If,Entity.Type==2A,781$,Yes: If,Entity.Type==3A,782$,Yes: Else,783$,Yes; ; ; ; Model statements for module: Assign 448 ; 783$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(898$); ; ; ; Model statements for module: Decide 335 ; 898$ BRANCH, 1: If,Bandresaw volume==5,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 444 ; 779$ ASSIGN: Bandresaw volume=DISC(0.5, 8, 1, 9):NEXT(894$); ; ; ; Model statements for module: Decide 331 ; 894$ BRANCH, 1: If,Bandresaw volume==8,899$,Yes: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 336 ; 899$ BRANCH, 1: With,30/100,2541$,Yes: Else,2542$,Yes; 2541$ ASSIGN: Send to edger 30% of time.NumberOut True=Send to edger 30% of time.NumberOut True + 1:NEXT(636$); 2542$ ASSIGN: Send to edger 30% of time.NumberOut False=Send to edger 30% of time.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 445 ; 780$ ASSIGN: Bandresaw volume=DISC(0.1, 4, 0.2, 7, 0.4, 8, 0.6, 9, 1, 10):NEXT(895$); ; ; ; Model statements for module: Decide 332 ; 895$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,900$,Yes: If,Bandresaw volume==10,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 337 ; 900$ BRANCH, 1: With,50/100,2545$,Yes: Else,2546$,Yes; 2545$ ASSIGN: Send to edger 50% of time VI.NumberOut True=Send to edger 50% of time VI.NumberOut True + 1 :NEXT(636$); 2546$ ASSIGN: Send to edger 50% of time VI.NumberOut False=Send to edger 50% of time VI.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 446 ; 781$ ASSIGN: Bandresaw volume=DISC(0.5, 4, 0.66668, 5, 0.83334, 7, 1, 9):NEXT(896$); ; ; ; Model statements for module: Decide 333 ; 896$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==9,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 447 ; 782$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(897$); ; ; ; Model statements for module: Decide 334 ; 897$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 370 ; 688$ ASSIGN: Lumber grade=DISC(0.31250, 1, 0.6875, 2, 0.875, 3, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(707$); ; ; ; Model statements for module: Decide 232 ; 707$ BRANCH, 1: If,Entity.Type==FAS,784$,Yes: If,Entity.Type==1Com,785$,Yes: If,Entity.Type==2A,786$,Yes: If,Entity.Type==3A,787$,Yes: Else,788$,Yes; ; ; ; Model statements for module: Assign 453 ; 788$ ASSIGN: Bandresaw volume=DISC(0.5, 4, 1, 8):NEXT(905$); ; ; ; Model statements for module: Decide 342 ; 905$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==8,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 449 ; 784$ ASSIGN: Bandresaw volume=DISC(0.2, 7, 0.6, 8, 0.8, 9, 1, 10):NEXT(901$); ; ; ; Model statements for module: Decide 338 ; 901$ BRANCH, 1: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,637$,Yes: If,Bandresaw volume==10,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 450 ; 785$ ASSIGN: Bandresaw volume=DISC(0.16667, 3, 0.333333, 8, 0.66667, 9, 1, 11):NEXT(902$); ; ; ; Model statements for module: Decide 339 ; 902$ BRANCH, 1: If,Bandresaw volume==3,636$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,636$,Yes: If,Bandresaw volume==11,906$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 344 ; 906$ BRANCH, 1: With,50/100,2559$,Yes: Else,2560$,Yes; 2559$ ASSIGN: Send to edger 50% of time VII.NumberOut True=Send to edger 50% of time VII.NumberOut True + 1 :NEXT(636$); 2560$ ASSIGN: Send to edger 50% of time VII.NumberOut False=Send to edger 50% of time VII.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 451 ; 786$ ASSIGN: Bandresaw volume=DISC(0.333333, 6, 0.666667, 8, 1, 10):NEXT(903$); ; ; ; Model statements for module: Decide 340 ; 903$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==10,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 452 ; 787$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(904$); ; ; ; Model statements for module: Decide 341 ; 904$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 371 ; 689$ ASSIGN: Lumber grade=DISC(0.4375, 1, 0.875, 2, 1, 3): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(708$); ; ; ; Model statements for module: Decide 233 ; 708$ BRANCH, 1: If,Entity.Type==FAS,789$,Yes: If,Entity.Type==1Com,790$,Yes: If,Entity.Type==2A,791$,Yes: If,Entity.Type==3A,792$,Yes: Else,793$,Yes; ; ; ; Model statements for module: Assign 458 ; 793$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(911$); ; ; ; Model statements for module: Decide 349 ; 911$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 454 ; 789$ ASSIGN: Bandresaw volume= DISC(0.14286, 6, 0.35715, 8, 0.42858, 9, 0.57144, 10, 0.64287, 11, 0.7143, 12, 0.92859, 13, 1, 15) :NEXT(907$); ; ; ; Model statements for module: Decide 345 ; 907$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==8,637$,Yes: If,Bandresaw volume==9,637$,Yes: If,Bandresaw volume==10,637$,Yes: If,Bandresaw volume==11,637$,Yes: If,Bandresaw volume==12,636$,Yes: If,Bandresaw volume==13,912$,Yes: If,Bandresaw volume==15,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 350 ; 912$ BRANCH, 1: With,33.3333/100,2571$,Yes: Else,2572$,Yes; 2571$ ASSIGN: Send to edger 33.3333% of time.NumberOut True=Send to edger 33.3333% of time.NumberOut True + 1 :NEXT(636$); 2572$ ASSIGN: Send to edger 33.3333% of time.NumberOut False=Send to edger 33.3333% of time.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 455 ; 790$ ASSIGN: Bandresaw volume= DISC(0.07143, 6, 0.14286, 7, 0.21429, 9, 0.42858, 10, 0.57144, 11, 0.92858, 12, 1, 13):NEXT(908$); ; ; ; Model statements for module: Decide 346 ; 908$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==9,636$,Yes: If,Bandresaw volume==10,637$,Yes: If,Bandresaw volume==11,636$,Yes: If,Bandresaw volume==12,637$,Yes: If,Bandresaw volume==13,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 456 ; 791$ ASSIGN: Bandresaw volume=DISC(0.25, 6, 0.5, 7, 1, 9):NEXT(909$); ; ; ; Model statements for module: Decide 347 ; 909$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==9,913$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 351 ; 913$ BRANCH, 1: With,50/100,2577$,Yes: Else,2578$,Yes; 2577$ ASSIGN: Send to edger 50% of time VIII.NumberOut True=Send to edger 50% of time VIII.NumberOut True + 1 :NEXT(636$); 2578$ ASSIGN: Send to edger 50% of time VIII.NumberOut False=Send to edger 50% of time VIII.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 457 ; 792$ ASSIGN: Bandresaw volume=DISC(1.0, 6):NEXT(910$); ; ; ; Model statements for module: Decide 348 ; 910$ BRANCH, 1: If,Bandresaw volume==6,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 372 ; 690$ ASSIGN: Lumber grade=DISC(0.29268, 1, 0.60975, 2, 0.87804, 3, 1, 4): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(709$); ; ; ; Model statements for module: Decide 234 ; 709$ BRANCH, 1: If,Entity.Type==FAS,794$,Yes: If,Entity.Type==1Com,795$,Yes: If,Entity.Type==2A,796$,Yes: If,Entity.Type==3A,797$,Yes: Else,798$,Yes; ; ; ; Model statements for module: Assign 463 ; 798$ ASSIGN: Bandresaw volume=DISC(0.5, 5, 1.0, 9):NEXT(918$); ; ; ; Model statements for module: Decide 356 ; 918$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 459 ; 794$ ASSIGN: Bandresaw volume= DISC(0.083333, 8, 0.166667, 9, 0.566667, 10, 0.75, 11, 0.833333, 12, 0.916667, 14, 1, 15) :NEXT(914$); ; ; ; Model statements for module: Decide 352 ; 914$ BRANCH, 1: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==9,637$,Yes: If,Bandresaw volume==10,919$,Yes: If,Bandresaw volume==11,920$,Yes: If,Bandresaw volume==12,637$,Yes: If,Bandresaw volume==14,636$,Yes: If,Bandresaw volume==15,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 357 ; 919$ BRANCH, 1: With,60/100,2587$,Yes: Else,2588$,Yes; 2587$ ASSIGN: Send to edger 60% of time I.NumberOut True=Send to edger 60% of time I.NumberOut True + 1 :NEXT(636$); 2588$ ASSIGN: Send to edger 60% of time I.NumberOut False=Send to edger 60% of time I.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Decide 358 ; 920$ BRANCH, 1: With,50/100,2589$,Yes: Else,2590$,Yes; 2589$ ASSIGN: Send to edger 50% of time IX.NumberOut True=Send to edger 50% of time IX.NumberOut True + 1 :NEXT(636$); 2590$ ASSIGN: Send to edger 50% of time IX.NumberOut False=Send to edger 50% of time IX.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 460 ; 795$ ASSIGN: Bandresaw volume= DISC(0.07692, 4, 0.15384, 7, 0.23076, 8, 0.38461, 10, 0.6923, 11, 0.84615, 12, 1, 13):NEXT(915$); ; ; ; Model statements for module: Decide 353 ; 915$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==10,637$,Yes: If,Bandresaw volume==11,920$,Yes: If,Bandresaw volume==12,920$,Yes: If,Bandresaw volume==13,920$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 461 ; 796$ ASSIGN: Bandresaw volume=DISC(0.266667, 8, 0.55, 12, 0.633333, 13, 0.816667, 14, 1, 16):NEXT(916$); ; ; ; Model statements for module: Decide 354 ; 916$ BRANCH, 1: If,Bandresaw volume==8,636$,Yes: If,Bandresaw volume==12,921$,Yes: If,Bandresaw volume==13,637$,Yes: If,Bandresaw volume==14,637$,Yes: If,Bandresaw volume==16,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 359 ; 921$ BRANCH, 1: With,66.667/100,2595$,Yes: Else,2596$,Yes; 2595$ ASSIGN: Send to edger 66.667% of time I.NumberOut True=Send to edger 66.667% of time I.NumberOut True + 1 :NEXT(636$); 2596$ ASSIGN: Send to edger 66.667% of time I.NumberOut False=Send to edger 66.667% of time I.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 462 ; 797$ ASSIGN: Bandresaw volume=DISC(0.8, 10, 1, 13):NEXT(917$); ; ; ; Model statements for module: Decide 355 ; 917$ BRANCH, 1: If,Bandresaw volume==10,637$,Yes: If,Bandresaw volume==13,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 373 ; 691$ ASSIGN: Lumber grade=DISC(0.36667, 1, 0.93334, 2, 0.96667, 4, 1, 5): Entity.Type=Lumber grades(lumber grade): Entity.Picture=Lumber pictures(lumber grade):NEXT(710$); ; ; ; Model statements for module: Decide 235 ; 710$ BRANCH, 1: If,Entity.Type==FAS,799$,Yes: If,Entity.Type==1Com,800$,Yes: If,Entity.Type==2A,801$,Yes: If,Entity.Type==3A,802$,Yes: Else,803$,Yes; ; ; ; Model statements for module: Assign 468 ; 803$ ASSIGN: Bandresaw volume=DISC(1, 9):NEXT(926$); ; ; ; Model statements for module: Decide 364 ; 926$ BRANCH, 1: If,Bandresaw volume==9,637$,Yes: Else,636$,Yes; ; ; ; Model statements for module: Assign 464 ; 799$ ASSIGN: Bandresaw volume=DISC(0.09091, 8, 0.18182, 9, 0.36364, 10, 0.63637, 11, 0.9091, 12, 1, 14) :NEXT(922$); ; ; ; Model statements for module: Decide 360 ; 922$ BRANCH, 1: If,Bandresaw volume==8,637$,Yes: If,Bandresaw volume==9,636$,Yes: If,Bandresaw volume==10,637$,Yes: If,Bandresaw volume==11,927$,Yes: If,Bandresaw volume==12,927$,Yes: If,Bandresaw volume==14,637$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 365 ; 927$ BRANCH, 1: With,33.333/100,2605$,Yes: Else,2606$,Yes; 2605$ ASSIGN: Send to edger 33.333% of time II.NumberOut True=Send to edger 33.333% of time II.NumberOut True + 1 :NEXT(636$); 2606$ ASSIGN: Send to edger 33.333% of time II.NumberOut False= Send to edger 33.333% of time II.NumberOut False + 1:NEXT(637$); ; ; ; Model statements for module: Assign 465 ; 800$ ASSIGN: Bandresaw volume= DISC(0.05822, 4, 0.11764, 5, 0.17646, 6, 0.29411, 7, 0.35293, 8, 0.58822, 9, 0.70587, 10, 0.76469, 11, 0.88234, 12, 0.94116, 13, 1, 14) :NEXT(923$); ; ; ; Model statements for module: Decide 361 ; 923$ BRANCH, 1: If,Bandresaw volume==4,636$,Yes: If,Bandresaw volume==5,636$,Yes: If,Bandresaw volume==6,636$,Yes: If,Bandresaw volume==7,636$,Yes: If,Bandresaw volume==8,637$,Yes: If,Bandresaw volume==9,928$,Yes: If,Bandresaw volume==10,929$,Yes: If,Bandresaw volume==11,637$,Yes: If,Bandresaw volume==12,636$,Yes: If,Bandresaw volume==13,637$,Yes: If,Bandresaw volume==14,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Decide 366 ; 928$ BRANCH, 1: With,25/100,2609$,Yes: Else,2610$,Yes; 2609$ ASSIGN: Send to edger 25% of time II.NumberOut True=Send to edger 25% of time II.NumberOut True + 1 :NEXT(636$); 2610$ ASSIGN: Send to edger 25% of time II.NumberOut False=Send to edger 25% of time II.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Decide 367 ; 929$ BRANCH, 1: With,50/100,2611$,Yes: Else,2612$,Yes; 2611$ ASSIGN: Send to edger 50% of time X.NumberOut True=Send to edger 50% of time X.NumberOut True + 1 :NEXT(636$); 2612$ ASSIGN: Send to edger 50% of time X.NumberOut False=Send to edger 50% of time X.NumberOut False + 1 :NEXT(637$); ; ; ; Model statements for module: Assign 466 ; 801$ ASSIGN: Bandresaw volume=DISC(0.66668, 7, 1.0, 9):NEXT(924$); ; ; ; Model statements for module: Decide 362 ; 924$ BRANCH, 1: If,Bandresaw volume==16,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Assign 467 ; 802$ ASSIGN: Bandresaw volume=DISC(1, 7):NEXT(925$); ; ; ; Model statements for module: Decide 363 ; 925$ BRANCH, 1: If,Bandresaw volume==7,636$,Yes: Else,637$,Yes; ; ; ; Model statements for module: Create 4 ; 2617$ CREATE, 1,MinutesToBaseTime(30),FAS:MinutesToBaseTime(0.25),4:NEXT(2618$); 2618$ ASSIGN: Create 4.NumberOut=Create 4.NumberOut + 1:NEXT(935$); ; ; ; Model statements for module: Decide 402 ; 935$ BRANCH, 1: If, (NEA(First Merry go round conveyor) + NEC(First Merry go round conveyor) + NEA(Second Merry go round conveyor) + NEC(Second Merry go round conveyor) + NEA(Third Merry go round conveyor) + NEC(Third Merry go round conveyor) )< 1, 2621$,Yes: Else,2622$,Yes; 2621$ ASSIGN: Decide 402.NumberOut True=Decide 402.NumberOut True + 1:NEXT(666$); 2622$ ASSIGN: Decide 402.NumberOut False=Decide 402.NumberOut False + 1:NEXT(936$); ; ; ; Model statements for module: Dispose 28 ; 936$ ASSIGN: Dispose 28.NumberOut=Dispose 28.NumberOut + 1; 2623$ DISPOSE: Yes; ; ; ; Model statements for module: Enter 5 ; 938$ STATION, Gangsaw station.Station; 2624$ DELAY: 0.000000000000000,,VA:NEXT(2630$); 2630$ DELAY: 0.000,,VA:NEXT(949$); ; ; ; Model statements for module: Seize 26 ; 949$ QUEUE, Seize gangsaw operator.Queue; SEIZE, 2,Other: Gangsaw operator,1:NEXT(2636$); 2636$ DELAY: 0.0,,VA:NEXT(939$); ; ; ; Model statements for module: Exit 45 ; 939$ EXIT: Pregangsaw conveyor,1:NEXT(937$); ; ; ; Model statements for module: Process 5 ; 937$ ASSIGN: Gangsaw.NumberIn=Gangsaw.NumberIn + 1: Gangsaw.WIP=Gangsaw.WIP+1; 2666$ STACK, 1:Save:NEXT(2638$); 2638$ DELAY: SecondsToBaseTime(26 + GAMM(2.41, 3.35, stream11)),,VA:NEXT(2647$); 2647$ TALLY: Gangsaw.TotalTimePerEntity,Diff.StartTime,1; 2648$ TALLY: Gangsaw.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 2671$ ASSIGN: Gangsaw.VATime=Gangsaw.VATime + Diff.VATime; 2672$ TALLY: Gangsaw.VATimePerEntity,Diff.VATime,1; 2676$ ASSIGN: Gangsaw.VACost=Gangsaw.VACost + Diff.VACost; 2673$ TALLY: Gangsaw.VACostPerEntity,Diff.VACost,1; 2686$ STACK, 1:Destroy:NEXT(2685$); 2685$ ASSIGN: Gangsaw.NumberOut=Gangsaw.NumberOut + 1: Gangsaw.WIP=Gangsaw.WIP-1:NEXT(942$); ; ; ; Model statements for module: Decide 128 ; 942$ BRANCH, 1: If,NQ(Access trimmer conveyor.Queue) >= UNIF(8,13),2688$,Yes: Else,2689$,Yes; 2688$ ASSIGN: Decide 128.NumberOut True=Decide 128.NumberOut True + 1:NEXT(943$); 2689$ ASSIGN: Decide 128.NumberOut False=Decide 128.NumberOut False + 1:NEXT(944$); ; ; ; Model statements for module: Stop 10 ; 943$ STOP: Postgangsaw conveyor:NEXT(945$); ; ; ; Model statements for module: Hold 34 ; 945$ QUEUE, Hold 34.Queue; SCAN: NQ(Access trimmer conveyor.Queue) <= UNIF(16,21):NEXT(944$); ; ; ; Model statements for module: Start 18 ; 944$ START: Postgangsaw conveyor:NEXT(947$); ; ; ; Model statements for module: Access 62 ; 947$ QUEUE, Access postgangsaw conveyor.Queue; ACCESS: Postgangsaw conveyor,1:NEXT(941$); ; ; ; Model statements for module: Release 24 ; 941$ RELEASE: Gangsaw operator,1:NEXT(940$); ; ; ; Model statements for module: Convey 72 ; 940$ CONVEY: Postgangsaw conveyor,Gangsaw and trimmer conveyor midpoint; ; ; ; Model statements for module: Enter 7 ; 952$ STATION, Edger station.Station; 2690$ DELAY: 0.000000000000000,,VA:NEXT(2696$); 2696$ DELAY: 0.000,,VA:NEXT(954$); ; ; ; Model statements for module: Seize 8 ; 954$ QUEUE, Seize edger.Queue; SEIZE, 2,Other: Edger operator,1:NEXT(2702$); 2702$ DELAY: 0.0,,VA:NEXT(960$); ; ; ; Model statements for module: ReadWrite 47 ; 960$ WRITE, Costing workbook,RECORDSET(EdgerTNOW): TNOW:NEXT(953$); ; ; ; Model statements for module: Exit 17 ; 953$ EXIT: Predger conveyor,1:NEXT(951$); ; ; ; Model statements for module: Process 6 ; 951$ ASSIGN: Edger.NumberIn=Edger.NumberIn + 1: Edger.WIP=Edger.WIP+1; 2732$ STACK, 1:Save:NEXT(2704$); 2704$ DELAY: SecondsToBaseTime(TRIA(5, 6.38, 7.75, stream12)),,VA:NEXT(2713$); 2713$ TALLY: Edger.TotalTimePerEntity,Diff.StartTime,1; 2714$ TALLY: Edger.TotalCostPerEntity, Diff.WaitCost + Diff.VACost + Diff.NVACost + Diff.TranCost + Diff.OtherCost,1; 2737$ ASSIGN: Edger.VATime=Edger.VATime + Diff.VATime; 2738$ TALLY: Edger.VATimePerEntity,Diff.VATime,1; 2742$ ASSIGN: Edger.VACost=Edger.VACost + Diff.VACost; 2739$ TALLY: Edger.VACostPerEntity,Diff.VACost,1; 2752$ STACK, 1:Destroy:NEXT(2751$); 2751$ ASSIGN: Edger.NumberOut=Edger.NumberOut + 1: Edger.WIP=Edger.WIP-1:NEXT(961$); ; ; ; Model statements for module: Assign 604 ; 961$ ASSIGN: Edger volume=Headrig lumber volume + Bandresaw volume:NEXT(956$); ; ; ; Model statements for module: Access 49 ; 956$ QUEUE, Access post edger conveyor.Queue; ACCESS: Post edger conveyor,1:NEXT(959$); ; ; ; Model statements for module: Release 25 ; 959$ RELEASE: Edger operator,1:NEXT(958$); ; ; ; Model statements for module: Convey 61 ; 958$ CONVEY: Post edger conveyor,Post edger conveyor to trimmer conveyor midpoint; ; ; ; Model statements for module: Enter 9 ; 962$ STATION, Trimmer station.Station; 2754$ DELAY: 0.000000000000000,,VA:NEXT(2760$); 2760$ DELAY: 0.000,,VA:NEXT(985$); ; ; ; Model statements for module: Decide 406 ; 985$ BRANCH, 1: If,Reman>=2,986$,Yes: Else,963$,Yes; ; ; ; Model statements for module: Access 37 ; 963$ QUEUE, Access post trimmer conveyor.Queue; ACCESS: Post trimmer conveyor,1:NEXT(968$); ; ; ; Model statements for module: Decide 187 ; 968$ BRANCH, 1: If,Entity.Type==FAS,967$,Yes: If,Entity.Type==1Com,969$,Yes: If,Entity.Type==2A,970$,Yes: If,Entity.Type==3A,971$,Yes: If,Entity.Type==3B,972$,Yes: Else,973$,Yes; ; ; ; Model statements for module: Record 30 ; 973$ COUNT: Cant record,Cant volume:NEXT(966$); ; ; ; Model statements for module: Exit 48 ; 966$ EXIT: Trimmer lug conveyor,1:NEXT(974$); ; ; ; Model statements for module: Record 37 ; 974$ COUNT: Record total lumber volume, Headrig lumber volume + Bandresaw volume + Gangsaw lumber volume + Cant volume:NEXT(975$); ; ; ; Model statements for module: ReadWrite 53 ; 975$ WRITE, Log number data: Log number:NEXT(983$); ; ; ; Model statements for module: ReadWrite 61 ; 983$ WRITE, Log type data: Log type:NEXT(976$); ; ; ; Model statements for module: ReadWrite 54 ; 976$ WRITE, Log volume data: Volume:NEXT(977$); ; ; ; Model statements for module: ReadWrite 55 ; 977$ WRITE, Lumber grade data: Lumber grade:NEXT(978$); ; ; ; Model statements for module: ReadWrite 56 ; 978$ WRITE, Headrig volume data: Headrig lumber volume:NEXT(984$); ; ; ; Model statements for module: ReadWrite 62 ; 984$ WRITE, Bandresaw volume data: Bandresaw volume:NEXT(979$); ; ; ; Model statements for module: ReadWrite 57 ; 979$ WRITE, Gangsaw volume data: Gangsaw lumber volume:NEXT(980$); ; ; ; Model statements for module: ReadWrite 58 ; 980$ WRITE, Edger volume data: Edger volume:NEXT(981$); ; ; ; Model statements for module: ReadWrite 59 ; 981$ WRITE, Cant volume data: Cant volume:NEXT(982$); ; ; ; Model statements for module: ReadWrite 60 ; 982$ WRITE, Current time data: TNOW:NEXT(965$); ; ; ; Model statements for module: Convey 47 ; 965$ CONVEY: Post trimmer conveyor,Beginning of green chain; ; ; ; Model statements for module: Record 25 ; 967$ COUNT: FAS record,Gangsaw lumber volume + Headrig lumber volume + Bandresaw volume:NEXT(966$); ; ; ; Model statements for module: Record 26 ; 969$ COUNT: 1COM record,Gangsaw lumber volume + Headrig lumber volume + Bandresaw volume:NEXT(966$); ; ; ; Model statements for module: Record 27 ; 970$ COUNT: 2A record,Gangsaw lumber volume + Headrig lumber volume + Bandresaw volume:NEXT(966$); ; ; ; Model statements for module: Record 28 ; 971$ COUNT: 3A record,Gangsaw lumber volume + Headrig lumber volume + Bandresaw volume:NEXT(966$); ; ; ; Model statements for module: Record 29 ; 972$ COUNT: 3B record,Gangsaw lumber volume + Headrig lumber volume + Bandresaw volume:NEXT(966$); ; ; ; Model statements for module: Exit 68 ; 986$ EXIT: Trimmer lug conveyor,1:NEXT(987$); ; ; ; Model statements for module: Access 66 ; 987$ QUEUE, Access first reman conveyor.Queue; ACCESS: First reman conveyor,1:NEXT(990$); ; ; ; Model statements for module: Convey 78 ; 990$ CONVEY: First reman conveyor,End of first reman conveyor; ; ; ; Model statements for module: Station 64 ; 989$ STATION, End of first reman conveyor; 2771$ DELAY: 0.0,,VA:NEXT(991$); ; ; ; Model statements for module: Access 67 ; 991$ QUEUE, Access second reman conveyor.Queue; ACCESS: Second reman conveyor,1:NEXT(993$); ; ; ; Model statements for module: Exit 69 ; 993$ EXIT: First reman conveyor,1:NEXT(995$); ; ; ; Model statements for module: Convey 79 ; 995$ CONVEY: Second reman conveyor,End of second reman conveyor; ; ; ; Model statements for module: Station 65 ; 994$ STATION, End of second reman conveyor; 2774$ DELAY: 0.0,,VA:NEXT(996$); ; ; ; Model statements for module: Access 68 ; 996$ QUEUE, Access third reman conveyor.Queue; ACCESS: Third reman conveyor,1:NEXT(1001$); ; ; ; Model statements for module: Hold 57 ; 1001$ QUEUE, Hold until edger queue is open.Queue; SCAN: NQ(Access Edger ladder conveyor.Queue) <= UNIF(4,8) && STATE(Edger operator) <> -4:NEXT(998$); ; ; ; Model statements for module: Exit 70 ; 998$ EXIT: Second reman conveyor,1:NEXT(1000$); ; ; ; Model statements for module: Convey 80 ; 1000$ CONVEY: Third reman conveyor,End of third reman conveyor; ; ; ; Model statements for module: Station 66 ; 999$ STATION, End of third reman conveyor; 2777$ DELAY: 0.0,,VA:NEXT(1003$); ; ; ; Model statements for module: Exit 71 ; 1003$ EXIT: Third reman conveyor,1:NEXT(1005$); ; ; ; Model statements for module: Assign 633 ; 1005$ ASSIGN: Reman=1:NEXT(1004$); ; ; ; Model statements for module: Route 14 ; 1004$ ROUTE: 0.000000000000000,Edger storage area; ; ; ; Model statements for module: Station 42 ; 1006$ STATION, Gangsaw and trimmer conveyor midpoint; 2780$ DELAY: 0.0,,VA:NEXT(1009$); ; ; ; Model statements for module: Exit 37 ; 1009$ EXIT: Postgangsaw conveyor,1:NEXT(1014$); ; ; ; Model statements for module: Decide 98 ; 1014$ BRANCH, 1: If,Log type==1,1011$,Yes: If,Log type==2,1026$,Yes: If,Log type==3,1027$,Yes: If,Log type==4,1028$,Yes: If,Log type==5,1029$,Yes: If,Log type==6,1030$,Yes: If,Log type==7,1031$,Yes: If,Log type==8,1032$,Yes: If,Log type==9,1033$,Yes: If,Log type==10,1034$,Yes: If,Log type==11,1035$,Yes: If,Log type==12,1036$,Yes: If,Log type==13,1037$,Yes: If,Log type==14,1038$,Yes: If,Log type==15,1039$,Yes: If,Log type==16,1040$,Yes: If,Log type==17,1041$,Yes: If,Log type==18,1042$,Yes: If,Log type==19,1043$,Yes: If,Log type==20,1044$,Yes: Else,1012$,Yes; ; ; ; Model statements for module: Dispose 14 ; 1012$ ASSIGN: Dipose of original cant after gangsaw.NumberOut=Dipose of original cant after gangsaw.NumberOut + 1; 2783$ DISPOSE: Yes; ; ; ; Model statements for module: Separate 10 ; 1011$ DUPLICATE, 100 - 50: DISC(1, 3),2786$,50:NEXT(2785$); 2785$ ASSIGN: Turn cant into lumber from Prime 14 diam 8 foot log.NumberOut Orig= Turn cant into lumber from Prime 14 diam 8 foot log.NumberOut Orig + 1:NEXT(1024$); 2786$ ASSIGN: Turn cant into lumber from Prime 14 diam 8 foot log.NumberOut Dup= Turn cant into lumber from Prime 14 diam 8 foot log.NumberOut Dup + 1:NEXT(1013$); ; ; ; Model statements for module: Decide 370 ; 1024$ BRANCH, 1: If,Volume==32,1025$,Yes: If,Volume==40,1025$,Yes: If,Volume==50,1025$,Yes: If,Volume==60,1025$,Yes: If,Volume==98,1025$,Yes: If,Volume==112,1025$,Yes: Else,1018$,Yes; ; ; ; Model statements for module: Assign 94 ; 1018$ ASSIGN: Cant volume=21: Entity.Picture=Cant:NEXT(1015$); ; ; ; Model statements for module: Record 11 ; 1015$ COUNT: Record cant volume,Cant volume:NEXT(1007$); ; ; ; Model statements for module: Access 28 ; 1007$ QUEUE, Access trimmer conveyor.Queue; ACCESS: First trimmer conveyor,1:NEXT(1019$); ; ; ; Model statements for module: Record 18 ; 1019$ COUNT: Gangsaw volume,Gangsaw lumber volume + Cant volume:NEXT(1022$); ; ; ; Model statements for module: ReadWrite 15 ; 1022$ WRITE, Costing workbook,RECORDSET(Ggrade): Lumber grade:NEXT(1021$); ; ; ; Model statements for module: ReadWrite 14 ; 1021$ WRITE, Costing workbook,RECORDSET(Gvolume): Gangsaw lumber volume:NEXT(1023$); ; ; ; Model statements for module: ReadWrite 27 ; 1023$ WRITE, Costing workbook,RECORDSET(Ganglogvol): Log number:NEXT(1020$); ; ; ; Model statements for module: Assign 104 ; 1020$ ASSIGN: Gangsaw attribute=100:NEXT(1010$); ; ; ; Model statements for module: Convey 38 ; 1010$ CONVEY: First trimmer conveyor,End of first trimmer conveyor; ; ; ; Model statements for module: Assign 472 ; 1025$ ASSIGN: Cant volume=14: Entity.Picture=Cant:NEXT(1015$); ; ; ; Model statements for module: Assign 75 ; 1013$ ASSIGN: Lumber grade=DISC(0.33333, 1, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1016$); ; ; ; Model statements for module: Decide 99 ; 1016$ BRANCH, 1: If,Entity.Type==FAS,1017$,Yes: If,Entity.Type==1Com,1083$,Yes: If,Entity.Type==2A,1084$,Yes: If,Entity.Type==3A,1085$,Yes: Else,1086$,Yes; ; ; ; Model statements for module: Assign 500 ; 1086$ ASSIGN: Gangsaw lumber volume=DISC(0.5, 5, 1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 77 ; 1017$ ASSIGN: Gangsaw lumber volume=DISC(0.5, 5 ,1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 497 ; 1083$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 498 ; 1084$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 499 ; 1085$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 15 ; 1026$ DUPLICATE, 100 - 50: DISC(0.333333, 3, 0.666667, 4, 1, 6),2793$,50:NEXT(2792$); 2792$ ASSIGN: Turn cant into lumber from Select 12 diam 8 foot log.NumberOut Orig= Turn cant into lumber from Select 12 diam 8 foot log.NumberOut Orig + 1:NEXT(1024$); 2793$ ASSIGN: Turn cant into lumber from Select 12 diam 8 foot log.NumberOut Dup= Turn cant into lumber from Select 12 diam 8 foot log.NumberOut Dup + 1:NEXT(1045$); ; ; ; Model statements for module: Assign 473 ; 1045$ ASSIGN: Lumber grade=DISC(0.23077, 1, 0.38462, 2, 0.61539, 3, 0.76924, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1064$); ; ; ; Model statements for module: Decide 372 ; 1064$ BRANCH, 1: If,Entity.Type==FAS,1087$,Yes: If,Entity.Type==1Com,1088$,Yes: If,Entity.Type==2A,1089$,Yes: If,Entity.Type==3A,1090$,Yes: Else,1091$,Yes; ; ; ; Model statements for module: Assign 505 ; 1091$ ASSIGN: Gangsaw lumber volume=DISC(0.333333, 6 ,1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 501 ; 1087$ ASSIGN: Gangsaw lumber volume=DISC(0.66667, 4, 1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 502 ; 1088$ ASSIGN: Gangsaw lumber volume=DISC(1, 4 ):NEXT(1007$); ; ; ; Model statements for module: Assign 503 ; 1089$ ASSIGN: Gangsaw lumber volume=DISC(0.66667, 4, 1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 504 ; 1090$ ASSIGN: Gangsaw lumber volume=DISC(1, 7):NEXT(1007$); ; ; ; Model statements for module: Separate 16 ; 1027$ DUPLICATE, 100 - 50: DISC(0.5, 4, 1, 7),2798$,50:NEXT(2797$); 2797$ ASSIGN: Turn cant into lumber from Select 13 diam 8 foot log.NumberOut Orig= Turn cant into lumber from Select 13 diam 8 foot log.NumberOut Orig + 1:NEXT(1024$); 2798$ ASSIGN: Turn cant into lumber from Select 13 diam 8 foot log.NumberOut Dup= Turn cant into lumber from Select 13 diam 8 foot log.NumberOut Dup + 1:NEXT(1046$); ; ; ; Model statements for module: Assign 474 ; 1046$ ASSIGN: Lumber grade=DISC(0.18182, 1, 0.36364, 2, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1065$); ; ; ; Model statements for module: Decide 373 ; 1065$ BRANCH, 1: If,Entity.Type==FAS,1092$,Yes: If,Entity.Type==1Com,1093$,Yes: If,Entity.Type==2A,1094$,Yes: If,Entity.Type==3A,1095$,Yes: Else,1096$,Yes; ; ; ; Model statements for module: Assign 510 ; 1096$ ASSIGN: Gangsaw lumber volume=DISC(0.428571, 4 ,0.85714, 5 ,1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 506 ; 1092$ ASSIGN: Gangsaw lumber volume=DISC(1, 5):NEXT(1007$); ; ; ; Model statements for module: Assign 507 ; 1093$ ASSIGN: Gangsaw lumber volume=DISC(0.5, 3, 1, 5):NEXT(1007$); ; ; ; Model statements for module: Assign 508 ; 1094$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 509 ; 1095$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 17 ; 1028$ DUPLICATE, 100 - 50: DISC(0.333333, 3, 0.666667, 4, 1, 5),2803$,50:NEXT(2802$); 2802$ ASSIGN: Turn cant into lumber from Select 14 diam 8 foot log.NumberOut Orig= Turn cant into lumber from Select 14 diam 8 foot log.NumberOut Orig + 1:NEXT(1024$); 2803$ ASSIGN: Turn cant into lumber from Select 14 diam 8 foot log.NumberOut Dup= Turn cant into lumber from Select 14 diam 8 foot log.NumberOut Dup + 1:NEXT(1047$); ; ; ; Model statements for module: Assign 475 ; 1047$ ASSIGN: Lumber grade=DISC(0.18182, 1, 0.36364, 2, 0.63637, 3, 0.81819, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1066$); ; ; ; Model statements for module: Decide 374 ; 1066$ BRANCH, 1: If,Entity.Type==FAS,1097$,Yes: If,Entity.Type==1Com,1098$,Yes: If,Entity.Type==2A,1099$,Yes: If,Entity.Type==3A,1100$,Yes: Else,1101$,Yes; ; ; ; Model statements for module: Assign 515 ; 1101$ ASSIGN: Gangsaw lumber volume=DISC(1, 5):NEXT(1007$); ; ; ; Model statements for module: Assign 511 ; 1097$ ASSIGN: Gangsaw lumber volume=DISC(1, 5):NEXT(1007$); ; ; ; Model statements for module: Assign 512 ; 1098$ ASSIGN: Gangsaw lumber volume=DISC(1, 5):NEXT(1007$); ; ; ; Model statements for module: Assign 513 ; 1099$ ASSIGN: Gangsaw lumber volume=DISC(1, 5):NEXT(1007$); ; ; ; Model statements for module: Assign 514 ; 1100$ ASSIGN: Gangsaw lumber volume=DISC(1, 5):NEXT(1007$); ; ; ; Model statements for module: Separate 18 ; 1029$ DUPLICATE, 100 - 50: DISC(1, 6),2808$,50:NEXT(2807$); 2807$ ASSIGN: Turn cant into lumber from Select 15 diam 8 foot log.NumberOut Orig= Turn cant into lumber from Select 15 diam 8 foot log.NumberOut Orig + 1:NEXT(1182$); 2808$ ASSIGN: Turn cant into lumber from Select 15 diam 8 foot log.NumberOut Dup= Turn cant into lumber from Select 15 diam 8 foot log.NumberOut Dup + 1:NEXT(1048$); ; ; ; Model statements for module: Dispose 22 ; 1182$ ASSIGN: Dispose 22.NumberOut=Dispose 22.NumberOut + 1; 2809$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 476 ; 1048$ ASSIGN: Lumber grade=DISC(0.5, 2, 0.6667, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1067$); ; ; ; Model statements for module: Decide 375 ; 1067$ BRANCH, 1: If,Entity.Type==FAS,1102$,Yes: If,Entity.Type==1Com,1103$,Yes: If,Entity.Type==2A,1104$,Yes: If,Entity.Type==3A,1105$,Yes: Else,1106$,Yes; ; ; ; Model statements for module: Assign 520 ; 1106$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 516 ; 1102$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 517 ; 1103$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 518 ; 1104$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 519 ; 1105$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 19 ; 1030$ DUPLICATE, 100 - 50: DISC(0.5, 3, 1.0, 4),2814$,50:NEXT(2813$); 2813$ ASSIGN: Turn cant into lumber from Select 18 diam 8 foot log.NumberOut Orig= Turn cant into lumber from Select 18 diam 8 foot log.NumberOut Orig + 1:NEXT(1024$); 2814$ ASSIGN: Turn cant into lumber from Select 18 diam 8 foot log.NumberOut Dup= Turn cant into lumber from Select 18 diam 8 foot log.NumberOut Dup + 1:NEXT(1049$); ; ; ; Model statements for module: Assign 477 ; 1049$ ASSIGN: Lumber grade=DISC(0.14, 2, 0.25, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1068$); ; ; ; Model statements for module: Decide 376 ; 1068$ BRANCH, 1: If,Entity.Type==FAS,1107$,Yes: If,Entity.Type==1Com,1108$,Yes: If,Entity.Type==2A,1109$,Yes: If,Entity.Type==3A,1110$,Yes: Else,1111$,Yes; ; ; ; Model statements for module: Assign 525 ; 1111$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(1007$); ; ; ; Model statements for module: Assign 521 ; 1107$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 522 ; 1108$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(1007$); ; ; ; Model statements for module: Assign 523 ; 1109$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 524 ; 1110$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(1007$); ; ; ; Model statements for module: Separate 20 ; 1031$ DUPLICATE, 100 - 50: DISC(1.0, 5),2819$,50:NEXT(2818$); 2818$ ASSIGN: Turn cant into lumber from Select 19 diam 8 foot log.NumberOut Orig= Turn cant into lumber from Select 19 diam 8 foot log.NumberOut Orig + 1:NEXT(1024$); 2819$ ASSIGN: Turn cant into lumber from Select 19 diam 8 foot log.NumberOut Dup= Turn cant into lumber from Select 19 diam 8 foot log.NumberOut Dup + 1:NEXT(1050$); ; ; ; Model statements for module: Assign 478 ; 1050$ ASSIGN: Lumber grade=DISC(0.2, 2, 0.4, 3, 0.6, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1069$); ; ; ; Model statements for module: Decide 377 ; 1069$ BRANCH, 1: If,Entity.Type==FAS,1112$,Yes: If,Entity.Type==1Com,1113$,Yes: If,Entity.Type==2A,1114$,Yes: If,Entity.Type==3A,1115$,Yes: Else,1116$,Yes; ; ; ; Model statements for module: Assign 530 ; 1116$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(1007$); ; ; ; Model statements for module: Assign 526 ; 1112$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 527 ; 1113$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(1007$); ; ; ; Model statements for module: Assign 528 ; 1114$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(1007$); ; ; ; Model statements for module: Assign 529 ; 1115$ ASSIGN: Gangsaw lumber volume=DISC(1, 4):NEXT(1007$); ; ; ; Model statements for module: Separate 21 ; 1032$ DUPLICATE, 100 - 50: DISC(0.67, 5, 1, 7),2824$,50:NEXT(2823$); 2823$ ASSIGN: Turn cant into lumber from Prime 13 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Prime 13 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2824$ ASSIGN: Turn cant into lumber from Prime 13 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Prime 13 diam 12 foot log.NumberOut Dup + 1:NEXT(1051$); ; ; ; Model statements for module: Assign 479 ; 1051$ ASSIGN: Lumber grade=DISC(0.29, 1, 0.53, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1070$); ; ; ; Model statements for module: Decide 378 ; 1070$ BRANCH, 1: If,Entity.Type==FAS,1117$,Yes: If,Entity.Type==1Com,1118$,Yes: If,Entity.Type==2A,1119$,Yes: If,Entity.Type==3A,1120$,Yes: Else,1121$,Yes; ; ; ; Model statements for module: Assign 535 ; 1121$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 531 ; 1117$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 532 ; 1118$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 533 ; 1119$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 534 ; 1120$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 22 ; 1033$ DUPLICATE, 100 - 50: DISC(0.33, 2, 0.66, 3, 1, 4),2829$,50:NEXT(2828$); 2828$ ASSIGN: Turn cant into lumber from Prime 14 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Prime 14 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2829$ ASSIGN: Turn cant into lumber from Prime 14 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Prime 14 diam 12 foot log.NumberOut Dup + 1:NEXT(1052$); ; ; ; Model statements for module: Assign 480 ; 1052$ ASSIGN: Lumber grade=DISC(0.25, 1, 0.50, 2, 0.66667, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1071$); ; ; ; Model statements for module: Decide 379 ; 1071$ BRANCH, 1: If,Entity.Type==FAS,1122$,Yes: If,Entity.Type==1Com,1123$,Yes: If,Entity.Type==2A,1124$,Yes: If,Entity.Type==3A,1125$,Yes: Else,1126$,Yes; ; ; ; Model statements for module: Assign 540 ; 1126$ ASSIGN: Gangsaw lumber volume=DISC(0.75, 5, 1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 536 ; 1122$ ASSIGN: Gangsaw lumber volume=DISC(0.67, 5, 1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 537 ; 1123$ ASSIGN: Gangsaw lumber volume=DISC(0.67, 5, 1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 538 ; 1124$ ASSIGN: Gangsaw lumber volume=DISC(1, 5):NEXT(1007$); ; ; ; Model statements for module: Assign 539 ; 1125$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 23 ; 1034$ DUPLICATE, 100 - 50: DISC(0.67, 6, 1, 8),2834$,50:NEXT(2833$); 2833$ ASSIGN: Turn cant into lumber from Prime 15 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Prime 15 diam 12 foot log.NumberOut Orig + 1:NEXT(1183$); 2834$ ASSIGN: Turn cant into lumber from Prime 15 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Prime 15 diam 12 foot log.NumberOut Dup + 1:NEXT(1053$); ; ; ; Model statements for module: Dispose 23 ; 1183$ ASSIGN: Dispose 23.NumberOut=Dispose 23.NumberOut + 1; 2835$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 481 ; 1053$ ASSIGN: Lumber grade=DISC(0.2, 1, 0.45, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1072$); ; ; ; Model statements for module: Decide 380 ; 1072$ BRANCH, 1: If,Entity.Type==FAS,1127$,Yes: If,Entity.Type==1Com,1128$,Yes: If,Entity.Type==2A,1129$,Yes: If,Entity.Type==3A,1130$,Yes: Else,1131$,Yes; ; ; ; Model statements for module: Assign 550 ; 1131$ ASSIGN: Gangsaw lumber volume=DISC(0.18182, 4, 0.45455, 6, 0.9091, 7, 1, 8):NEXT(1007$); ; ; ; Model statements for module: Assign 546 ; 1127$ ASSIGN: Gangsaw lumber volume=DISC(0.25, 5, 0.75, 6, 1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 547 ; 1128$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 548 ; 1129$ ASSIGN: Gangsaw lumber volume=DISC(0.2, 4, 0.6, 6, 0.8, 7, 1, 8):NEXT(1007$); ; ; ; Model statements for module: Assign 549 ; 1130$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 24 ; 1035$ DUPLICATE, 100 - 50: DISC(1.0, 4),2840$,50:NEXT(2839$); 2839$ ASSIGN: Turn cant into lumber from Prime 18 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Prime 18 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2840$ ASSIGN: Turn cant into lumber from Prime 18 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Prime 18 diam 12 foot log.NumberOut Dup + 1:NEXT(1054$); ; ; ; Model statements for module: Assign 482 ; 1054$ ASSIGN: Lumber grade=DISC(1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1073$); ; ; ; Model statements for module: Decide 381 ; 1073$ BRANCH, 1: If,Entity.Type==FAS,1132$,Yes: If,Entity.Type==1Com,1133$,Yes: If,Entity.Type==2A,1134$,Yes: If,Entity.Type==3A,1135$,Yes: Else,1136$,Yes; ; ; ; Model statements for module: Assign 555 ; 1136$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 551 ; 1132$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 552 ; 1133$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 553 ; 1134$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 554 ; 1135$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 25 ; 1036$ DUPLICATE, 100 - 50: DISC(0.67, 3, 1, 4),2845$,50:NEXT(2844$); 2844$ ASSIGN: Turn cant into lumber from Prime 19 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Prime 19 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2845$ ASSIGN: Turn cant into lumber from Prime 19 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Prime 19 diam 12 foot log.NumberOut Dup + 1:NEXT(1055$); ; ; ; Model statements for module: Assign 483 ; 1055$ ASSIGN: Lumber grade=DISC(0.4, 1, 0.5, 3, 0.6, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1074$); ; ; ; Model statements for module: Decide 382 ; 1074$ BRANCH, 1: If,Entity.Type==FAS,1137$,Yes: If,Entity.Type==1Com,1138$,Yes: If,Entity.Type==2A,1139$,Yes: If,Entity.Type==3A,1140$,Yes: Else,1141$,Yes; ; ; ; Model statements for module: Assign 560 ; 1141$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 556 ; 1137$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 557 ; 1138$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 558 ; 1139$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 559 ; 1140$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Separate 26 ; 1037$ DUPLICATE, 100 - 50: DISC(0.33, 6, 0.6, 7, 1, 8),2850$,50:NEXT(2849$); 2849$ ASSIGN: Turn cant into lumber from Prime 20 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Prime 20 diam 12 foot log.NumberOut Orig + 1:NEXT(1184$); 2850$ ASSIGN: Turn cant into lumber from Prime 20 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Prime 20 diam 12 foot log.NumberOut Dup + 1:NEXT(1056$); ; ; ; Model statements for module: Dispose 24 ; 1184$ ASSIGN: Dispose 24.NumberOut=Dispose 24.NumberOut + 1; 2851$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 484 ; 1056$ ASSIGN: Lumber grade=DISC(0.05, 1, 0.19, 2, 0.24, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1075$); ; ; ; Model statements for module: Decide 383 ; 1075$ BRANCH, 1: If,Entity.Type==FAS,1142$,Yes: If,Entity.Type==1Com,1143$,Yes: If,Entity.Type==2A,1144$,Yes: If,Entity.Type==3A,1145$,Yes: Else,1146$,Yes; ; ; ; Model statements for module: Assign 565 ; 1146$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 561 ; 1142$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 562 ; 1143$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 563 ; 1144$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 564 ; 1145$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 27 ; 1038$ DUPLICATE, 100 - 50: DISC(0.33333, 3, 0.66666, 4, 1, 7),2856$,50:NEXT(2855$); 2855$ ASSIGN: Turn cant into lumber from Select 12 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Select 12 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2856$ ASSIGN: Turn cant into lumber from Select 12 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Select 12 diam 12 foot log.NumberOut Dup + 1:NEXT(1057$); ; ; ; Model statements for module: Assign 485 ; 1057$ ASSIGN: Lumber grade=DISC(0.21429, 1, 0.28572, 2, 0.57143, 3, 0.64286, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1076$); ; ; ; Model statements for module: Decide 384 ; 1076$ BRANCH, 1: If,Entity.Type==FAS,1147$,Yes: If,Entity.Type==1Com,1148$,Yes: If,Entity.Type==2A,1149$,Yes: If,Entity.Type==3A,1150$,Yes: Else,1151$,Yes; ; ; ; Model statements for module: Assign 570 ; 1151$ ASSIGN: Gangsaw lumber volume=DISC(0.6, 5, 1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 566 ; 1147$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 567 ; 1148$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 568 ; 1149$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 569 ; 1150$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Separate 28 ; 1039$ DUPLICATE, 100 - 50: DISC(0.333333, 4, 0.66668, 4, 1, 5),2861$,50:NEXT(2860$); 2860$ ASSIGN: Turn cant into lumber from Select 13 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Select 13 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2861$ ASSIGN: Turn cant into lumber from Select 13 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Select 13 diam 12 foot log.NumberOut Dup + 1:NEXT(1058$); ; ; ; Model statements for module: Assign 486 ; 1058$ ASSIGN: Lumber grade=DISC(0.26316, 2, 0.47369, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1077$); ; ; ; Model statements for module: Decide 385 ; 1077$ BRANCH, 1: If,Entity.Type==FAS,1152$,Yes: If,Entity.Type==1Com,1153$,Yes: If,Entity.Type==2A,1154$,Yes: If,Entity.Type==3A,1155$,Yes: Else,1156$,Yes; ; ; ; Model statements for module: Assign 575 ; 1156$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 571 ; 1152$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 572 ; 1153$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 573 ; 1154$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 574 ; 1155$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 29 ; 1040$ DUPLICATE, 100 - 50: DISC(0.33334, 3, 0.66668, 4, 1, 5),2866$,50:NEXT(2865$); 2865$ ASSIGN: Turn cant into lumber from Select 14 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Select 14 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2866$ ASSIGN: Turn cant into lumber from Select 14 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Select 14 diam 12 foot log.NumberOut Dup + 1:NEXT(1059$); ; ; ; Model statements for module: Assign 487 ; 1059$ ASSIGN: Lumber grade=DISC(0.25, 1, 0.41667, 2, 0.66667, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1078$); ; ; ; Model statements for module: Decide 386 ; 1078$ BRANCH, 1: If,Entity.Type==FAS,1157$,Yes: If,Entity.Type==1Com,1158$,Yes: If,Entity.Type==2A,1159$,Yes: If,Entity.Type==3A,1160$,Yes: Else,1161$,Yes; ; ; ; Model statements for module: Assign 580 ; 1161$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 576 ; 1157$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 577 ; 1158$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 578 ; 1159$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 579 ; 1160$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 30 ; 1041$ DUPLICATE, 100 - 50: DISC(0.333333, 5, 1, 6),2871$,50:NEXT(2870$); 2870$ ASSIGN: Turn cant into lumber from Select 15 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Select 15 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2871$ ASSIGN: Turn cant into lumber from Select 15 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Select 15 diam 12 foot log.NumberOut Dup + 1:NEXT(1060$); ; ; ; Model statements for module: Assign 488 ; 1060$ ASSIGN: Lumber grade=DISC(0.17647, 3, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1079$); ; ; ; Model statements for module: Decide 387 ; 1079$ BRANCH, 1: If,Entity.Type==FAS,1162$,Yes: If,Entity.Type==1Com,1163$,Yes: If,Entity.Type==2A,1164$,Yes: If,Entity.Type==3A,1165$,Yes: Else,1166$,Yes; ; ; ; Model statements for module: Assign 585 ; 1166$ ASSIGN: Gangsaw lumber volume=DISC(1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 581 ; 1162$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 582 ; 1163$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 583 ; 1164$ ASSIGN: Gangsaw lumber volume=DISC(0.666667, 4, 1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 584 ; 1165$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 31 ; 1042$ DUPLICATE, 100 - 50: DISC(0.66667, 3, 1, 4),2876$,50:NEXT(2875$); 2875$ ASSIGN: Turn cant into lumber from Select 18 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Select 18 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2876$ ASSIGN: Turn cant into lumber from Select 18 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Select 18 diam 12 foot log.NumberOut Dup + 1:NEXT(1061$); ; ; ; Model statements for module: Assign 489 ; 1061$ ASSIGN: Lumber grade=DISC(0.33333, 2, 0.5, 3, 0.58333, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1080$); ; ; ; Model statements for module: Decide 388 ; 1080$ BRANCH, 1: If,Entity.Type==FAS,1167$,Yes: If,Entity.Type==1Com,1168$,Yes: If,Entity.Type==2A,1169$,Yes: If,Entity.Type==3A,1170$,Yes: Else,1171$,Yes; ; ; ; Model statements for module: Assign 590 ; 1171$ ASSIGN: Gangsaw lumber volume=DISC(0.6, 6, 1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 586 ; 1167$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 587 ; 1168$ ASSIGN: Gangsaw lumber volume=DISC(0.5, 6, 1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 588 ; 1169$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 589 ; 1170$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Separate 32 ; 1043$ DUPLICATE, 100 - 50: DISC(0.666667, 5, 1, 7),2881$,50:NEXT(2880$); 2880$ ASSIGN: Turn cant into lumber from Select 19 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Select 19 diam 12 foot log.NumberOut Orig + 1:NEXT(1185$); 2881$ ASSIGN: Turn cant into lumber from Select 19 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Select 19 diam 12 foot log.NumberOut Dup + 1:NEXT(1062$); ; ; ; Model statements for module: Dispose 25 ; 1185$ ASSIGN: Dispose 25.NumberOut=Dispose 25.NumberOut + 1; 2882$ DISPOSE: Yes; ; ; ; Model statements for module: Assign 490 ; 1062$ ASSIGN: Lumber grade=DISC(0.11765, 2, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1081$); ; ; ; Model statements for module: Decide 389 ; 1081$ BRANCH, 1: If,Entity.Type==FAS,1172$,Yes: If,Entity.Type==1Com,1173$,Yes: If,Entity.Type==2A,1174$,Yes: If,Entity.Type==3A,1175$,Yes: Else,1176$,Yes; ; ; ; Model statements for module: Assign 595 ; 1176$ ASSIGN: Gangsaw lumber volume=DISC(0.533333, 6, 1, 7):NEXT(1007$); ; ; ; Model statements for module: Assign 591 ; 1172$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 592 ; 1173$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 593 ; 1174$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 594 ; 1175$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Separate 33 ; 1044$ DUPLICATE, 100 - 50: DISC(0.5, 4, 1, 6),2887$,50:NEXT(2886$); 2886$ ASSIGN: Turn cant into lumber from Select 20 diam 12 foot log.NumberOut Orig= Turn cant into lumber from Select 20 diam 12 foot log.NumberOut Orig + 1:NEXT(1024$); 2887$ ASSIGN: Turn cant into lumber from Select 20 diam 12 foot log.NumberOut Dup= Turn cant into lumber from Select 20 diam 12 foot log.NumberOut Dup + 1:NEXT(1063$); ; ; ; Model statements for module: Assign 491 ; 1063$ ASSIGN: Lumber grade=DISC(0.1, 2, 0.4, 4, 1, 5): Entity.Type=Lumber grades (Lumber grade): Entity.Picture=Lumber pictures (Lumber grade):NEXT(1082$); ; ; ; Model statements for module: Decide 390 ; 1082$ BRANCH, 1: If,Entity.Type==FAS,1177$,Yes: If,Entity.Type==1Com,1178$,Yes: If,Entity.Type==2A,1179$,Yes: If,Entity.Type==3A,1180$,Yes: Else,1181$,Yes; ; ; ; Model statements for module: Assign 600 ; 1181$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 596 ; 1177$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 597 ; 1178$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$); ; ; ; Model statements for module: Assign 598 ; 1179$ ASSIGN: Gangsaw lumber volume=DISC(1.0, 0):NEXT(1007$); ; ; ; Model statements for module: Assign 599 ; 1180$ ASSIGN: Gangsaw lumber volume=DISC(1, 6):NEXT(1007$);