bug似乎解决了
This commit is contained in:
parent
135b762a29
commit
ef93f0cc6a
|
|
@ -1,113 +1,113 @@
|
|||
区域名,工厂名,是否新工厂,产线ID,生产型号,开始月份,结束月份,磨合系数,系数最小值,系数最大值
|
||||
西北东部,艾郎玉门,是,艾郎玉门1,GWBD-A2,1,12,2.573832299130555,0.5,3
|
||||
西北东部,艾郎玉门,是,艾郎玉门2,GWBD-A2,1,12,0.7551349273834977,0.5,3
|
||||
华北,艾郎张北,是,艾郎张北1,GWBD-A2,1,12,2.115080130961469,0.5,3
|
||||
华北,艾郎张北,是,艾郎张北2,GWBD-A2,1,12,0.6797069684688172,0.5,3
|
||||
华北,艾郎张北,是,艾郎张北1,GWBD-A2,1,12,1.971717933612422,0.5,3
|
||||
华北,艾郎张北,是,艾郎张北2,GWBD-A2,1,12,0.8051413216125487,0.5,3
|
||||
西北西部,时代巴里坤,是,时代巴里坤1,GWBD-A2,2,12,1.8810616541608631,0.5,3
|
||||
西北西部,时代巴里坤,是,时代巴里坤2,GWBD-A2,2,12,2.987097262834335,0.5,3
|
||||
西北西部,时代巴里坤,是,时代巴里坤3,GW99A,1,4,2.488871403042081,0.5,3
|
||||
西北西部,时代巴里坤,是,时代巴里坤4,GW99A,1,9,2.953943233688721,0.5,3
|
||||
华南,时代百色,是,时代百色1,GWBD-A3,2,12,1.6690292523195245,0.5,3
|
||||
华南,时代百色,是,时代百色2,GWBD-A3,2,12,2.4659503577446857,0.5,3
|
||||
华南,时代百色,是,时代百色1,GWBD-A3,2,12,1.38115900500877,0.5,3
|
||||
华南,时代百色,是,时代百色2,GWBD-A3,2,12,1.7564126285507882,0.5,3
|
||||
华东南北部,时代射阳,是,时代射阳1,GW130,6,12,2.2076058205327764,0.5,3
|
||||
华东南北部,时代射阳,是,时代射阳2,GW130,8,12,1.430132739097293,0.5,3
|
||||
东北,时代松原,是,时代松原1,GWBD-A3,4,12,1.0363142371846124,0.5,3
|
||||
东北,时代松原,是,时代松原2,GWBD-A3,4,12,2.1701304430049246,0.5,3
|
||||
华东南南部,时代株洲,是,时代株洲1,GW99A,2,12,1.081678858112704,0.5,3
|
||||
华东南南部,时代株洲,是,时代株洲2,GW99A,2,12,1.0913646502654977,0.5,3
|
||||
华东南北部,双瑞大丰,是,双瑞大丰1,GW110.5,2,11,0.7663884592433219,0.5,3
|
||||
华东南北部,双瑞大丰,是,双瑞大丰2,GW110.5,2,11,0.5106326560706359,0.5,3
|
||||
华东南北部,双瑞大丰,否,双瑞大丰3,GW93,1,1,1.3145870292666928,0.5,3
|
||||
华东南北部,双瑞东营,是,双瑞东营1,GWBD-A2,6,12,2.543085429687747,0.5,3
|
||||
华东南北部,双瑞东营,是,双瑞东营2,GWBD-A2,6,12,2.79268044357321,0.5,3
|
||||
东北,时代松原,是,时代松原1,GWBD-A3,4,12,0.9701824821376388,0.5,3
|
||||
东北,时代松原,是,时代松原2,GWBD-A3,4,12,2.250853306508111,0.5,3
|
||||
华东南南部,时代株洲,是,时代株洲1,GW99A,2,12,1.13482415148335,0.5,3
|
||||
华东南南部,时代株洲,是,时代株洲2,GW99A,2,12,1.0700778723615223,0.5,3
|
||||
华东南北部,双瑞大丰,是,双瑞大丰1,GW110.5,2,11,0.8361058431116445,0.5,3
|
||||
华东南北部,双瑞大丰,是,双瑞大丰2,GW110.5,2,11,0.534512432868055,0.5,3
|
||||
华东南北部,双瑞大丰,否,双瑞大丰3,GW93,1,1,1.3642413879973811,0.5,3
|
||||
华东南北部,双瑞东营,是,双瑞东营1,GWBD-A2,6,12,2.5269421316570377,0.5,3
|
||||
华东南北部,双瑞东营,是,双瑞东营2,GWBD-A2,6,12,2.9796032694496644,0.5,3
|
||||
华东南北部,双瑞东营,是,双瑞东营3,GWBD-A2,7,12,2.927074556394514,0.5,3
|
||||
华东南北部,双瑞东营,是,双瑞东营4,GWBD-A2,7,12,2.892880738588988,0.5,3
|
||||
华东南北部,天顺濮阳,否,天顺濮阳1,GW99A,8,12,1.0527500393509173,0.5,3
|
||||
华东南北部,天顺濮阳,否,天顺濮阳2,GW99A,8,12,1.069042487726414,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋1,GW93,2,2,2.32043479739694,0.5,3
|
||||
华东南北部,天顺沙洋,是,天顺沙洋2,GW93,5,5,0.6973591106929395,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋3,GW93,11,11,1.1607811390472684,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋4,GW99,10,11,2.9663458837234176,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋5,GW99A,5,12,0.913690176263654,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋6,GW99A,5,12,0.8787050723740802,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋1,GW93,2,2,1.3720834011963627,0.5,3
|
||||
华东南北部,天顺沙洋,是,天顺沙洋2,GW93,5,5,0.5379092080164839,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋3,GW93,11,11,1.3701605177484857,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋4,GW99,10,11,2.298480528620178,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋5,GW99A,5,12,0.9966696827988556,0.5,3
|
||||
华东南北部,天顺沙洋,否,天顺沙洋6,GW99A,5,12,0.9619635899652964,0.5,3
|
||||
东北,中材白城,否,中材白城1,GWBD-A3,8,8,2.1402649111425927,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁1,GW110.5,1,11,1.5459138854823482,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁2,GW110.5,1,11,0.5729502079816026,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁3,GW110.5,1,11,1.5694540282848988,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁4,GW83.4,1,11,1.382119991468305,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁5,GW93,6,8,0.8827086544315473,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁6,GW99A,1,7,2.830733081902044,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁7,GW99A,1,7,2.0523054358827126,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁8,SI90.2,1,12,1.6546434532678769,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁9,SI90.2,1,12,2.736515935954447,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁10,SI90.2,1,12,1.056360739447041,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁11,SI90.2,1,12,2.938099080422176,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁12,SI90.2,2,12,0.7522973434359188,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁13,SI90.2,2,12,1.455419784069309,0.5,3
|
||||
西北西部,中材哈密,否,中材哈密1,GWBD-A3,7,11,1.0178664652883072,0.5,3
|
||||
西北西部,中材哈密,否,中材哈密2,GWBD-A3,7,11,2.6355971342265194,0.5,3
|
||||
华北,中材邯郸,否,中材邯郸1,GW99A,1,12,1.1728678581197811,0.5,3
|
||||
华北,中材邯郸,否,中材邯郸2,GW99A,1,12,1.0447043893191337,0.5,3
|
||||
华北,中材邯郸,是,中材邯郸3,GWBD-A2,2,12,1.443120583655738,0.5,3
|
||||
华北,中材邯郸,是,中材邯郸4,GWBD-A2,3,12,1.9378786142508244,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉1,GW99,1,12,1.126932621978494,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉2,GW99,1,12,1.144783324686626,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉3,GWBD-A2,1,12,0.8063768405900967,0.5,3
|
||||
西北东部,中材酒泉,是,中材酒泉4,GWBD-A2,1,12,0.990324308056816,0.5,3
|
||||
西北东部,中材酒泉,是,中材酒泉5,GWBD-A2,2,12,2.265886526545412,0.5,3
|
||||
西北东部,中材酒泉,是,中材酒泉6,GWBD-A2,3,12,1.839298288914216,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉7,SI90.2,1,1,1.2621204611288224,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉8,SI90.2,1,4,0.8199844980580712,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉9,SI90.2,3,4,2.762280541648126,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉10,SI90.2,9,9,0.593157493625113,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉11,SI90.2,4,12,1.1027785967994126,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉12,SI90.2,4,12,0.6872334261934359,0.5,3
|
||||
华东南北部,中材连云港,否,中材连云港1,GW93,1,4,0.947630481798518,0.5,3
|
||||
华东南北部,中材连云港,否,中材连云港2,GW93,1,12,1.3688662392144466,0.5,3
|
||||
华东南北部,中材连云港,否,中材连云港3,GW93,1,12,2.797094312017575,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡1,GW83.4,1,3,2.0773221443454304,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡2,GW93,1,10,1.3802802554963542,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁1,GW110.5,1,11,1.6031405504929763,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁2,GW110.5,1,11,0.5646600461626163,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁3,GW110.5,1,11,1.6672270003848664,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁4,GW83.4,1,11,1.549776859783529,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁5,GW93,6,8,0.8745156430459377,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁6,GW99A,1,7,2.7501959816379147,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁7,GW99A,1,7,2.0721602479087164,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁8,SI90.2,1,12,1.50710224238512,0.5,3
|
||||
华东南北部,中材阜宁,否,中材阜宁9,SI90.2,1,12,2.688211192296921,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁10,SI90.2,1,12,1.017127235175235,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁11,SI90.2,1,12,2.974900929518548,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁12,SI90.2,2,12,0.7430092027799517,0.5,3
|
||||
华东南北部,中材阜宁,是,中材阜宁13,SI90.2,2,12,1.4772384096691145,0.5,3
|
||||
西北西部,中材哈密,否,中材哈密1,GWBD-A3,7,11,1.0502360576197414,0.5,3
|
||||
西北西部,中材哈密,否,中材哈密2,GWBD-A3,7,11,2.623306818629211,0.5,3
|
||||
华北,中材邯郸,否,中材邯郸1,GW99A,1,12,2.017526353356751,0.5,3
|
||||
华北,中材邯郸,否,中材邯郸2,GW99A,1,12,0.9029409784714668,0.5,3
|
||||
华北,中材邯郸,是,中材邯郸3,GWBD-A2,2,12,1.924839579689231,0.5,3
|
||||
华北,中材邯郸,是,中材邯郸4,GWBD-A2,3,12,0.8867321306404162,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉1,GW99,1,12,2.1389985519620773,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉2,GW99,1,12,0.600602437949271,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉3,GWBD-A2,1,12,0.9843622477656804,0.5,3
|
||||
西北东部,中材酒泉,是,中材酒泉4,GWBD-A2,1,12,2.170262457297703,0.5,3
|
||||
西北东部,中材酒泉,是,中材酒泉5,GWBD-A2,2,12,0.5165381714923847,0.5,3
|
||||
西北东部,中材酒泉,是,中材酒泉6,GWBD-A2,3,12,1.3870220900565062,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉7,SI90.2,1,1,1.829770507966492,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉8,SI90.2,1,4,1.5987211139595596,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉9,SI90.2,3,4,1.1151153078620657,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉10,SI90.2,9,9,0.7965606566644158,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉11,SI90.2,4,12,0.7042947197165752,0.5,3
|
||||
西北东部,中材酒泉,否,中材酒泉12,SI90.2,4,12,2.420992562079836,0.5,3
|
||||
华东南北部,中材连云港,否,中材连云港1,GW93,1,4,0.7920218614975038,0.5,3
|
||||
华东南北部,中材连云港,否,中材连云港2,GW93,1,12,2.871504147259321,0.5,3
|
||||
华东南北部,中材连云港,否,中材连云港3,GW93,1,12,1.5793985016826468,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡1,GW83.4,1,3,2.9012924774346915,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡2,GW93,1,10,1.3585084323295251,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡3,GW93,1,10,1.4002226284151378,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡4,GWBD-A3,1,12,0.7708097434812091,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡4,GWBD-A3,1,12,0.7673962150160507,0.5,3
|
||||
华东南南部,中材萍乡,否,中材萍乡5,GWBD-A3,1,12,2.592994930030489,0.5,3
|
||||
东北,中材锡林,否,中材锡林1,GW99,1,12,1.149507908747532,0.5,3
|
||||
东北,中材锡林,否,中材锡林2,GW99,1,12,2.559150953717717,0.5,3
|
||||
东北,中材锡林,是,中材锡林3,GWBD-A2,1,12,0.7655680581592179,0.5,3
|
||||
东北,中材锡林,是,中材锡林4,GWBD-A2,1,12,1.2703315998965434,0.5,3
|
||||
东北,中材锡林,是,中材锡林5,GWBD-A2,2,12,0.8143637605841937,0.5,3
|
||||
东北,中材锡林,否,中材锡林6,SI90.2,1,1,2.306341573772662,0.5,3
|
||||
东北,中材锡林,否,中材锡林7,SI90.2,1,1,1.78433681769329,0.5,3
|
||||
东北,中材兴安盟,否,中材兴安盟1,GW93,1,9,1.102017941748625,0.5,3
|
||||
东北,中材兴安盟,否,中材兴安盟2,GW93,1,9,1.1319603805540963,0.5,3
|
||||
华南,中材阳江,是,中材阳江1,GW130,1,12,1.1786952000344315,0.5,3
|
||||
华南,中材阳江,是,中材阳江2,GW130,11,12,2.401570055570436,0.5,3
|
||||
华南,中材阳江,否,中材阳江3,SI122,1,12,2.9892600685463484,0.5,3
|
||||
华南,中材阳江,否,中材阳江4,SI122,1,12,2.736186842293012,0.5,3
|
||||
西北西部,中材伊吾,否,中材伊吾1,GWBD-A2,1,12,1.3930072691073077,0.5,3
|
||||
西北西部,中材伊吾,否,中材伊吾2,GWBD-A2,1,12,1.977477183020509,0.5,3
|
||||
西北西部,中材伊吾,是,中材伊吾3,GWBD-A3,7,9,0.5529804495458042,0.5,3
|
||||
东北,中材锡林,否,中材锡林1,GW99,1,12,0.5689361030133527,0.5,3
|
||||
东北,中材锡林,否,中材锡林2,GW99,1,12,1.5068788151469634,0.5,3
|
||||
东北,中材锡林,是,中材锡林3,GWBD-A2,1,12,2.088529167538939,0.5,3
|
||||
东北,中材锡林,是,中材锡林4,GWBD-A2,1,12,2.6817918725004186,0.5,3
|
||||
东北,中材锡林,是,中材锡林5,GWBD-A2,2,12,0.7394324307806619,0.5,3
|
||||
东北,中材锡林,否,中材锡林6,SI90.2,1,1,2.2898791086588983,0.5,3
|
||||
东北,中材锡林,否,中材锡林7,SI90.2,1,1,1.9699957874130272,0.5,3
|
||||
东北,中材兴安盟,否,中材兴安盟1,GW93,1,9,1.089509659807368,0.5,3
|
||||
东北,中材兴安盟,否,中材兴安盟2,GW93,1,9,1.0722635528502509,0.5,3
|
||||
华南,中材阳江,是,中材阳江1,GW130,1,12,1.0895832088655806,0.5,3
|
||||
华南,中材阳江,是,中材阳江2,GW130,11,12,2.324851276786074,0.5,3
|
||||
华南,中材阳江,否,中材阳江3,SI122,1,12,3.0,0.5,3
|
||||
华南,中材阳江,否,中材阳江4,SI122,1,12,2.705668455506234,0.5,3
|
||||
西北西部,中材伊吾,否,中材伊吾1,GWBD-A2,1,12,1.6424489123554389,0.5,3
|
||||
西北西部,中材伊吾,否,中材伊吾2,GWBD-A2,1,12,1.9258342940586268,0.5,3
|
||||
西北西部,中材伊吾,是,中材伊吾3,GWBD-A3,7,9,0.5,0.5,3
|
||||
华南,中材玉溪,否,中材玉溪1,GW93,3,3,1.959546411962172,0.5,3
|
||||
西北西部,重通昌吉,否,重通昌吉1,GW99,11,11,0.5,0.5,3
|
||||
西北西部,重通昌吉,是,重通昌吉2,GW99A,1,10,2.051928553788,0.5,3
|
||||
西北西部,重通昌吉,否,重通昌吉3,GWBD-A2,1,12,2.6658563724837165,0.5,3
|
||||
西北西部,重通昌吉,否,重通昌吉4,GWBD-A2,1,12,0.5338053591905982,0.5,3
|
||||
西北西部,重通昌吉,是,重通昌吉5,GWBD-A2,1,12,1.6278097723685112,0.5,3
|
||||
东北,重通大安,是,重通大安1,GWBD-A2,1,12,1.581903910413776,0.5,3
|
||||
东北,重通大安,是,重通大安2,GWBD-A2,2,12,1.3105714103279738,0.5,3
|
||||
华东南北部,重通如东,否,重通如东1,GW110.5,6,10,2.662169226944904,0.5,3
|
||||
华东南北部,重通如东,否,重通如东2,GW110.5,6,10,2.82368855931312,0.5,3
|
||||
华东南北部,重通如东,否,重通如东3,GW76,1,6,1.8825731353509496,0.5,3
|
||||
华东南北部,重通如东,否,重通如东4,GW76,11,12,0.9278020901772052,0.5,3
|
||||
华东南北部,重通如东,否,重通如东5,GW76,11,12,1.0234023740731988,0.5,3
|
||||
华东南北部,重通如东,否,重通如东6,GW81,1,12,1.0689261905119656,0.5,3
|
||||
华东南北部,重通如东,否,重通如东7,GW81,1,12,1.0733442879188466,0.5,3
|
||||
华东南北部,重通如东,否,重通如东8,GW81,1,12,1.0894565180344418,0.5,3
|
||||
华东南北部,重通如东,是,重通如东9,GW86,10,12,0.9369533470121776,0.5,3
|
||||
华东南北部,重通如东,是,重通如东10,GWBD-D,4,10,1.16385774999936,0.5,3
|
||||
华东南北部,重通如东,是,重通如东11,GW83.3,7,9,1.0150864337534389,0.5,3
|
||||
西北东部,重通武威,否,重通武威1,GW83.4,1,1,1.0249345530326432,0.5,3
|
||||
西北东部,重通武威,否,重通武威2,GW99A,1,1,1.4390978913290176,0.5,3
|
||||
西北东部,重通武威,否,重通武威3,GWBD-A2,1,12,2.2770043222733705,0.5,3
|
||||
西北东部,重通武威,否,重通武威4,GWBD-A2,1,12,0.7021776323779197,0.5,3
|
||||
西北东部,重通武威,是,重通武威5,GWBD-A3,2,12,0.9008060819850424,0.5,3
|
||||
西北东部,重通武威,是,重通武威6,GWBD-A3,2,12,2.1363106837251777,0.5,3
|
||||
西北西部,重通昌吉,否,重通昌吉1,GW99,11,11,0.5137295154883814,0.5,3
|
||||
西北西部,重通昌吉,是,重通昌吉2,GW99A,1,10,2.0240780065067567,0.5,3
|
||||
西北西部,重通昌吉,否,重通昌吉3,GWBD-A2,1,12,2.530604055488294,0.5,3
|
||||
西北西部,重通昌吉,否,重通昌吉4,GWBD-A2,1,12,0.5518299303294562,0.5,3
|
||||
西北西部,重通昌吉,是,重通昌吉5,GWBD-A2,1,12,1.60146564988957,0.5,3
|
||||
东北,重通大安,是,重通大安1,GWBD-A2,1,12,2.877097767978231,0.5,3
|
||||
东北,重通大安,是,重通大安2,GWBD-A2,2,12,0.8911904673986611,0.5,3
|
||||
华东南北部,重通如东,否,重通如东1,GW110.5,6,10,2.731655162429861,0.5,3
|
||||
华东南北部,重通如东,否,重通如东2,GW110.5,6,10,1.4470306416764118,0.5,3
|
||||
华东南北部,重通如东,否,重通如东3,GW76,1,6,2.2960863149515367,0.5,3
|
||||
华东南北部,重通如东,否,重通如东4,GW76,11,12,0.6336055550795889,0.5,3
|
||||
华东南北部,重通如东,否,重通如东5,GW76,11,12,2.395583728143185,0.5,3
|
||||
华东南北部,重通如东,否,重通如东6,GW81,1,12,0.5429393913329642,0.5,3
|
||||
华东南北部,重通如东,否,重通如东7,GW81,1,12,2.919761674142773,0.5,3
|
||||
华东南北部,重通如东,否,重通如东8,GW81,1,12,1.0268672203451916,0.5,3
|
||||
华东南北部,重通如东,是,重通如东9,GW86,10,12,2.322663559244879,0.5,3
|
||||
华东南北部,重通如东,是,重通如东10,GWBD-D,4,10,2.26551772623552,0.5,3
|
||||
华东南北部,重通如东,是,重通如东11,GW83.3,7,9,2.264466293967388,0.5,3
|
||||
西北东部,重通武威,否,重通武威1,GW83.4,1,1,0.7102982395066122,0.5,3
|
||||
西北东部,重通武威,否,重通武威2,GW99A,1,1,1.958593871546132,0.5,3
|
||||
西北东部,重通武威,否,重通武威3,GWBD-A2,1,12,2.0393031807890796,0.5,3
|
||||
西北东部,重通武威,否,重通武威4,GWBD-A2,1,12,0.6242701170763495,0.5,3
|
||||
西北东部,重通武威,是,重通武威5,GWBD-A3,2,12,0.770375260103721,0.5,3
|
||||
西北东部,重通武威,是,重通武威6,GWBD-A3,2,12,0.8045841090870262,0.5,3
|
||||
|
|
|
|||
|
|
|
@ -1,28 +1,28 @@
|
|||
工厂中文名,工厂英文名,工厂平均磨合系数,最小误差
|
||||
艾郎玉门,AilangYumen,1.6644836132570262,0.4109048664614467
|
||||
艾郎张北,AilangZhangbei,1.397393549715143,0.3875473927222936
|
||||
时代巴里坤,ShidaiBalikun,2.5777433884315,0.1084387587668106
|
||||
时代百色,ShidaiBaise,2.067489805032105,0.3822434351539541
|
||||
时代射阳,ShidaiSheyang,1.818869279815035,0.3907170103360906
|
||||
时代松原,ShidaiSongyuan,1.6032223400947685,0.3826740983753151
|
||||
时代株洲,ShidaiZhuzhou,1.0865217541891008,0.381593662574357
|
||||
双瑞大丰,ShuangruiDafeng,0.8638693815268835,0.3331325041383269
|
||||
双瑞东营,ShuangruiDongying,2.788930292061115,0.09394600514362228
|
||||
天顺濮阳,TianshunPuyang,1.0608962635386656,0.342536423517118
|
||||
天顺沙洋,TianshunShayang,1.48955269658305,0.3452121483167365
|
||||
中材白城,ZhongcaiBaicheng,2.1402649111425927,0.34455662553732
|
||||
中材阜宁,ZhongcaiFuning,1.6484247401561711,0.2904939733696281
|
||||
中材哈密,ZhongcaiHami,1.8267317997574133,0.2724502886592768
|
||||
中材邯郸,ZhongcaiHandan,1.3996428613363694,0.282263520694731
|
||||
中材酒泉,ZhongcaiJiuquan,1.28342974401872,0.2568142301144558
|
||||
中材连云港,ZhongcaiLianyungang,1.7045303443435131,0.2307662040664297
|
||||
中材萍乡,ZhongcaiPingxiang,1.644325940353724,0.2829493917509724
|
||||
中材锡林,ZhongcaiXilin,1.5213715246530224,0.2281958103288435
|
||||
中材兴安盟,ZhongcaiXinganmeng,1.116989161151361,0.2285419508619
|
||||
中材阳江,ZhongcaiYangjiang,2.3264280416110568,0.1893196457297771
|
||||
中材伊吾,ZhongcaiYiwu,1.307821633891207,0.2163127405194821
|
||||
中材玉溪,ZhongcaiYuxi,1.959546411962172,0.1522826086927401
|
||||
重通昌吉,ChongtongChangji,1.4758800115661652,0.1486544907789079
|
||||
重通大安,ChongtongDaan,1.4462376603708749,0.1364186176846021
|
||||
重通如东,ChongtongRudong,1.424296355735419,0.1440551201664654
|
||||
重通武威,ChongtongWuwei,1.413388527453862,0.1406968232829397
|
||||
工厂中文名,工厂英文名,工厂平均磨合系数,最小误差
|
||||
艾郎玉门,AilangYumen,1.6644836132570262,0.0546875
|
||||
艾郎张北,AilangZhangbei,1.3884296276124857,0.0458015267175572
|
||||
时代巴里坤,ShidaiBalikun,2.5777433884315,0.1935483870967742
|
||||
时代百色,ShidaiBaise,1.568785816779779,0.1511627906976744
|
||||
时代射阳,ShidaiSheyang,1.8188692798150348,0.0769230769230769
|
||||
时代松原,ShidaiSongyuan,1.6105178943228748,0.131578947368421
|
||||
时代株洲,ShidaiZhuzhou,1.1024510119224362,0.0789473684210526
|
||||
双瑞大丰,ShuangruiDafeng,0.9116198879923602,0.0493827160493827
|
||||
双瑞东营,ShuangruiDongying,2.831625174022551,0.2826086956521739
|
||||
天顺濮阳,TianshunPuyang,1.0608962635386656,0.0363636363636363
|
||||
天顺沙洋,TianshunShayang,1.2562111547242771,0.0176991150442477
|
||||
中材白城,ZhongcaiBaicheng,2.1402649111425927,0.0
|
||||
中材阜宁,ZhongcaiFuning,1.6530204262493422,0.0265848670756646
|
||||
中材哈密,ZhongcaiHami,1.836771438124476,0.0256410256410256
|
||||
中材邯郸,ZhongcaiHandan,1.4330097605394665,0.0252525252525252
|
||||
中材酒泉,ZhongcaiJiuquan,1.3552700687310473,0.0168855534709193
|
||||
中材连云港,ZhongcaiLianyungang,1.747641503479824,0.0769230769230769
|
||||
中材萍乡,ZhongcaiPingxiang,1.804082936645179,0.0601851851851851
|
||||
中材锡林,ZhongcaiXilin,1.6922061835788944,0.0315457413249211
|
||||
中材兴安盟,ZhongcaiXinganmeng,1.0808866063288094,0.0747663551401869
|
||||
中材阳江,ZhongcaiYangjiang,2.280025735289472,0.0338983050847457
|
||||
中材伊吾,ZhongcaiYiwu,1.356094402138022,0.0849056603773584
|
||||
中材玉溪,ZhongcaiYuxi,1.959546411962172,0.0
|
||||
重通昌吉,ChongtongChangji,1.4443414315404917,0.036734693877551
|
||||
重通大安,ChongtongDaan,1.884144117688446,0.0824742268041237
|
||||
重通如东,ChongtongRudong,1.895107024322664,0.0294117647058823
|
||||
重通武威,ChongtongWuwei,1.1512374630181534,0.0165016501650165
|
||||
|
|
|
|||
|
|
|
@ -103,7 +103,7 @@ def update_production_line_csv(csv_path: Path, factory_name_cn: str, line_ids: L
|
|||
_release_lock(lock_path, fd)
|
||||
|
||||
|
||||
def evaluate(factory_code: str, line_ids: List[str], genes: List[float]) -> float:
|
||||
def evaluate(factory_code: str, factory_name_cn: str, line_ids: List[str], genes: List[float]) -> float:
|
||||
factory_factors = {}
|
||||
model = SimulationModel(
|
||||
factory_factors=factory_factors,
|
||||
|
|
@ -115,6 +115,13 @@ def evaluate(factory_code: str, line_ids: List[str], genes: List[float]) -> floa
|
|||
model.line_factor[lid] = float(val)
|
||||
while model.running:
|
||||
model.step()
|
||||
# Prefer per-factory error ratio; fall back to aggregate model.error if missing.
|
||||
if model.factory_error_df is not None and not model.factory_error_df.empty:
|
||||
matched = model.factory_error_df[
|
||||
model.factory_error_df["name"].astype(str).str.strip() == str(factory_name_cn).strip()
|
||||
]
|
||||
if not matched.empty and "error_ratio" in matched.columns:
|
||||
return float(matched.iloc[0]["error_ratio"])
|
||||
return model.error
|
||||
|
||||
|
||||
|
|
@ -235,7 +242,11 @@ def main():
|
|||
line_ids = [lid for lid, _, _, _ in seed_lines]
|
||||
seed_vals = [seed for _, seed, _, _ in seed_lines]
|
||||
bounds = [(mn, mx) for _, _, mn, mx in seed_lines]
|
||||
prev_best_error = float(factory_row["最小误差"]) if pd.notna(factory_row["最小误差"]) else float("inf")
|
||||
prev_best_error = (
|
||||
float(factory_row[factory_cols["最小误差"]])
|
||||
if pd.notna(factory_row[factory_cols["最小误差"]])
|
||||
else float("inf")
|
||||
)
|
||||
|
||||
print(f"[START] 校准工厂 {args.factory} / {factory_name_cn} (产线数={len(line_ids)}, baseline_error={prev_best_error:.6f})")
|
||||
|
||||
|
|
@ -248,7 +259,7 @@ def main():
|
|||
scored = []
|
||||
for indiv in population:
|
||||
indiv = apply_bounds(indiv, bounds)
|
||||
score = evaluate(args.factory, line_ids, indiv)
|
||||
score = evaluate(args.factory, factory_name_cn, line_ids, indiv)
|
||||
# print(f"[{args.factory}] Gen {gen+1} try factors={indiv} -> error={score:.6f}")
|
||||
scored.append((score, indiv))
|
||||
if score < best_score:
|
||||
|
|
|
|||
|
|
@ -848,6 +848,8 @@ class SimulationModel(Model):
|
|||
)
|
||||
|
||||
def _finalize_factory_errors(self, write_files: bool):
|
||||
# Always reset cached factory error table so callers don't see stale data.
|
||||
self.factory_error_df = None
|
||||
if not self.production_log:
|
||||
self.error = float("inf")
|
||||
return
|
||||
|
|
@ -889,17 +891,31 @@ class SimulationModel(Model):
|
|||
use_max=self.use_error_max,
|
||||
)
|
||||
cum_ratio_by_factory = stats["factory_cum_ratio"]
|
||||
metric_fn = (lambda pct: pct.abs().max()) if self.use_error_max else (lambda pct: pct.abs().mean())
|
||||
factory_metric = {fname: float(metric_fn(pct)) for fname, pct in cum_ratio_by_factory.items()}
|
||||
|
||||
# Aggregate factory-level errors (mean across factories of max/mean per-month absolute ratio)
|
||||
factory_errors = []
|
||||
for ratio_series in cum_ratio_by_factory.values():
|
||||
metric_val = ratio_series.abs().max() if self.use_error_max else ratio_series.abs().mean()
|
||||
factory_errors.append(float(metric_val))
|
||||
factory_errors = list(factory_metric.values())
|
||||
if not factory_errors:
|
||||
self.error = float("inf")
|
||||
else:
|
||||
# Aggregate across factories: max when use_error_max=True, otherwise mean.
|
||||
self.error = max(factory_errors) if self.use_error_max else sum(factory_errors) / len(factory_errors)
|
||||
|
||||
# Expose per-factory error (unitless ratio) even when files are not written (used by GA).
|
||||
factory_df = pd.DataFrame(
|
||||
{
|
||||
"name": list(factory_metric.keys()),
|
||||
"error_ratio": list(factory_metric.values()),
|
||||
}
|
||||
)
|
||||
if not factory_df.empty:
|
||||
factory_df = factory_df.sort_values(by="error_ratio")
|
||||
factory_df["error_pct"] = factory_df["error_ratio"] * 100
|
||||
else:
|
||||
factory_df["error_pct"] = []
|
||||
self.factory_error_df = factory_df.reset_index(drop=True)
|
||||
|
||||
if not write_files:
|
||||
return
|
||||
|
||||
|
|
@ -910,12 +926,12 @@ class SimulationModel(Model):
|
|||
factory_pivot.to_csv(factory_report_path, index=False, encoding="utf-8-sig")
|
||||
|
||||
# Error summary based on cumulative deviation ratio (unitless, consistent with GA)
|
||||
err_rows = []
|
||||
metric_col = "最大累计偏差" if self.use_error_max else "平均累计偏差"
|
||||
for fname, ratio_series in cum_ratio_by_factory.items():
|
||||
metric_val = ratio_series.abs().max() if self.use_error_max else ratio_series.abs().mean()
|
||||
err_rows.append({"工厂名称": fname, metric_col: float(metric_val)})
|
||||
error_df = pd.DataFrame(err_rows) if err_rows else pd.DataFrame(columns=["工厂名称", metric_col])
|
||||
error_df = (
|
||||
pd.DataFrame([{ "工厂名称": name, metric_col: val} for name, val in factory_metric.items()])
|
||||
if factory_metric
|
||||
else pd.DataFrame(columns=["工厂名称", metric_col])
|
||||
)
|
||||
error_path = os.path.join(output_dir, f"factory_error_{timestamp}.csv")
|
||||
error_df.to_csv(error_path, index=False, encoding="utf-8-sig")
|
||||
|
||||
|
|
@ -938,22 +954,11 @@ class SimulationModel(Model):
|
|||
plt.savefig(month_plot_path)
|
||||
plt.close()
|
||||
|
||||
factory_df = pd.DataFrame(
|
||||
{
|
||||
"name": list(cum_ratio_by_factory.keys()),
|
||||
"error_ratio": [
|
||||
(pct.abs().max() if self.use_error_max else pct.abs().mean()) for pct in cum_ratio_by_factory.values()
|
||||
],
|
||||
}
|
||||
)
|
||||
factory_df = factory_df.sort_values(by="error_ratio")
|
||||
factory_df["error_pct"] = factory_df["error_ratio"] * 100
|
||||
self.factory_error_df = factory_df.reset_index(drop=True)
|
||||
plt.figure(figsize=(12, 6))
|
||||
ax = factory_df["error_pct"].reset_index(drop=True).plot(kind="bar")
|
||||
metric_label = "最大" if self.use_error_max else "平均"
|
||||
plt.ylabel(f"{metric_label}????[%]")
|
||||
plt.title(f"????{metric_label}?????????")
|
||||
plt.ylabel(f"{metric_label}误差[%]")
|
||||
plt.title(f"工厂{metric_label}累计偏差分布")
|
||||
plt.tight_layout()
|
||||
for idx, row in factory_df.reset_index(drop=True).iterrows():
|
||||
val = row["error_pct"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue