Method, device and equipment for determining optimal blended coal for coking and medium
By calculating the fitness of blended coal and using genetic algorithm and random forest algorithm to optimize the coal blending ratio, the problem of difficult control of coke quality and cost in the coal blending process of coking enterprises has been solved, and the high quality and low cost of coke in the coking process have been achieved. cost production.
Patent Information
- Application Number
- CN202410738096.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
AI Technical Summary
Existing coking enterprises rely on experience to determine the proportion of coal types during the coal blending process, making it difficult for coke quality to meet requirements and making coal blending costs difficult to control.
By obtaining the coke quality indicators and coal blending costs of different blended coals after coking, the fitness of the blended coals is calculated, and the coal blending ratio with the smallest fitness is selected as the optimal blended coal. Genetic algorithms and random forest algorithms are used to optimize the coal blending. ratio to meet the dual requirements of coke quality and cost.
It achieves controllability of coke quality and control of coal blending costs, ensuring that coke meets the dual requirements of quality and economic benefits during the coking process.
Smart Images

Figure CN118735038A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coking, and in particular to a method, device, equipment and medium for determining optimal blended coal for coking. Background Art
[0002] Producing high-quality coke at a lower coal blending cost is the most direct and effective cost-reduction measure for steel companies. Coking coal blending technology is an extremely complex undertaking, and the type of coal selected determines not only the quality of the coke but also the cost of the blending process.
[0003] At present, most coking enterprises in my country still use coke quality as the target to determine the ratio of each type of coal in the coal blending process. The types of coal used for coking generally include gas coal, fat coal, coking coal and lean coal. Many coal blending experts will determine the ratio of each type of coal based on their experience according to the coking characteristics of each type of coal and the quality of the actual coke obtained.
[0004] However, when using empirically determined coal ratios to obtain blended coal for coking, the quality of the coke obtained often differs greatly from expectations and is difficult to meet requirements. Summary of the Invention
[0005] In view of the above problems, the present invention is proposed to provide a method, device, equipment and medium for determining the optimal blending coal for coking to solve the above problems. The blending coal with the best adaptability can be selected according to the quality indicators of coke and the cost of coal blending, and the blending coal with the best adaptability can be used as the optimal blending coal. Using the optimal blending coal for coking can not only obtain coke with controllable quality, but also controllable coal blending cost. This method can ensure that the coke obtained by coking using the optimal blending coal meets the dual requirements of quality and cost.
[0006] In a first aspect, the present invention provides a method for determining the optimal blend coal for coking, the method comprising:
[0007] Obtaining quality indicators of coke obtained after coking different blended coals and the blending cost of the blended coals, wherein the quality indicators include at least one of coke sulfur content, coke ash content, crushing strength, abrasion resistance, and post-reaction strength;
[0008] Determining the adaptability of the blended coal according to the quality index and the coal blending cost;
[0009] The blended coal with the smallest adaptability is taken as the optimal blended coal.
[0010] Optionally, determining the adaptability of the blended coal according to the quality index and the coal blending cost includes:
[0011] Obtaining the penalty coefficient of the quality index and the coal type ratio of each coal type in the blended coal;
[0012] Determining a first penalty value according to the sum of the proportions of all coal types in the blended coal;
[0013] Determining a second penalty value based on the quality indicator, the penalty coefficient, and a preset standard indicator range;
[0014] The sum of the coal blending cost, the first penalty value, and the second penalty value is calculated to obtain the adaptability of the blended coal.
[0015] Optionally, determining the second penalty value according to the quality indicator, the penalty coefficient, and a preset standard indicator range includes:
[0016] If the quality indicator is greater than an upper limit of a preset standard indicator range, calculating a first difference between the quality indicator and the upper limit;
[0017] Calculating the product of the first difference and the penalty coefficient to obtain a third penalty value;
[0018] If the quality index is less than the lower limit of the standard index range, calculating a second difference between the quality index and the lower limit;
[0019] Calculating the product of the second difference and the penalty coefficient to obtain a fourth penalty value;
[0020] The sum of the third penalty value and the fourth penalty value of all quality indicators is calculated to obtain the second penalty value.
[0021] Optionally, before obtaining the quality indicators of coke obtained after coking with different blended coals and the blending cost of the blended coals, the method includes:
[0022] Obtaining the coal type ratio, single coal property index and unit price of each coal type in the blended coal;
[0023] Determining the quality index of the coke obtained after coking the blended coal according to the single coal property index and the coal type ratio;
[0024] The product of the coal type ratio and the corresponding unit price of each coal type is calculated, and the corresponding products of all coal types are added together to obtain the coal blending cost of the blended coal.
[0025] Optionally, determining the quality index of the coke obtained after coking the blended coal according to the single coal property index and the coal type ratio includes:
[0026] Determining the blending property index of the blended coal according to the single coal property index and the coal type ratio;
[0027] The blending property index is input into a preset quality prediction model to obtain the quality index of the coke obtained after coking the blended coal.
[0028] Optionally, the single coal property indicators include single coal dry basis ash content, single coal dry basis sulfur content, single coal dry ash-free basis volatile matter, single coal basis fluidity logarithm and single coal Oya expansion value, as well as single coal coke ...
[0029] Optionally, the quality prediction model is constructed using a random forest algorithm.
[0030] In a second aspect, the present invention provides a device for determining the optimal blend coal for coking, the device comprising:
[0031] A first acquisition module is used to obtain quality indicators of coke obtained after coking different blended coals and the blending cost of the blended coals, wherein the quality indicators include at least one of coke sulfur content, coke ash content, crushing strength, abrasion resistance and post-reaction strength;
[0032] A first determining module is used to determine the adaptability of the blended coal according to the quality index and the coal blending cost;
[0033] The second determining module is used to select the blended coal with the minimum fitness as the optimal blended coal.
[0034] In a third aspect, the present invention provides an electronic device comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method described in the first aspect by executing the computer instructions.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method described in the first aspect.
[0036] The technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0037] Embodiments of the present invention provide a method, device, equipment, and medium for determining the optimal blend coal for coking. The method obtains quality indicators of coke obtained after coking with different blend coals, as well as the blending cost of the blend coal. The quality indicators include at least one of sulfur content, ash content, crushing strength, abrasion resistance, and post-reaction strength, fully considering both the quality indicators and the blending cost of the coke. Based on the quality indicators and the blending cost, the fitness of the blend coal is determined. This fitness is equivalent to the fitness in a genetic algorithm, and its magnitude represents whether the blend coal meets the requirements. The blend coal with the smallest fitness is determined as the optimal blend coal. The smaller the fitness, the more it meets the requirements, thereby enabling the selection of the optimal blend coal. This method selects the blend coal with the best fitness based on the coke quality indicators and the blending cost, ensuring that the coke obtained from coking using the optimal blend coal meets both quality and cost requirements.
[0038] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0040] Figure 1 This is a flow chart of a method for determining the optimal blend coal for coking provided by an embodiment of the present invention;
[0041] Figure 2 This is a structural block diagram of a device for determining the optimal blended coal for coking provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0043] Figure 1 Flowchart of a method for determining the optimal blend coal for coking provided by an embodiment of the present invention, such as Figure 1 As shown, the method includes:
[0044] Step S110: Obtain the quality indexes of coke obtained after coking with different blended coals, and the blending cost of the blended coals.
[0045] The quality index includes at least one of coke sulfur content, coke ash content, crushing strength, abrasion resistance and post-reaction strength.
[0046] In this embodiment, blended coal is prepared by combining coking coals of varying degrees of metamorphism in appropriate proportions, leveraging the complementary properties of each type of coal to achieve superior quality compared to any individual type of coal, thereby producing coke that meets quality requirements. Coking coal generally comes in several categories, including gas coal, fat coal, coking coal, and lean coal. By combining different types of coal in different proportions, different blends can be produced.
[0047] Optionally, before step S110, the method further includes:
[0048] Step S101: Obtain the coal type ratio, single coal property index and unit price of each coal type in the blended coal.
[0049] Optionally, the single coal property indicators include single coal dry basis ash content, single coal dry basis sulfur content, single coal dry ash-free basis volatile matter, single coal basis fluidity logarithm and single coal Oya expansion value, as well as single coal coke ...
[0050] Among them, the dry basis ash content, dry basis sulfur content, dry ash-free volatile matter, logarithm of the fluidity, and Oya expansion value are coal quality indicators for individual coals. The coarse-grained mosaic structure content, fine-grained mosaic structure content, isotropic structure content, fibrous structure content, lamellar structure content, and inert structure content are microstructural indicators for coke produced from individual coals.
[0051] Among them, the coal quality indicators of a single type of coal can also include the bonding index and the maximum thickness of the colloid layer.
[0052] In this embodiment, the coal quality index of each type of coal can be stored in advance so that it can be directly obtained when used. Table 1 is a statistical table of coal quality index and unit price of each type of coal:
[0053] Table 1
[0054]
[0055]
[0056] Among them, Vdaf represents the volatile matter on a dry ash-free basis of a single coal, Ad represents the ash content on a dry basis of a single coal, St,d represents the total sulfur content on a dry basis of a single coal, G represents the bonding index, Y (mm) represents the maximum thickness of the colloid layer, lgMF represents the logarithm of the Kielder fluidity, and b represents the Oya expansion value.
[0057] Table 2 is a statistical table of microstructural indicators of single-type coal coke:
[0058] Table 2
[0059]
[0060] In this embodiment, a genetic algorithm is used to randomly generate blending schemes for different combinations of coal type ratios. Each blending scheme corresponds to a specific type of blended coal. Each blended coal includes multiple coal types. Each type of coking coal has a corresponding coal type ratio. All coal type ratios constitute a coal type ratio combination. Coking coals of all types are blended according to their corresponding coal type ratios to obtain corresponding blended coals. Different combinations of coal type ratios can produce different blended coals. Each type of coal has a standard ratio range. During blending, the ratio of each type of coal cannot exceed the corresponding standard ratio range.
[0061] In this embodiment, the genetic algorithm first generates a certain number of random solutions (the so-called initial generation population), based on which the search begins. Each set of solutions is called an individual (chromosome). In other words, all the coal type ratios in each set of mixed coal are combined into one chromosome. All the coal type ratios corresponding to each set of mixed coal are a set of solutions, and each coal type ratio is considered a gene segment. During the genetic process, each chromosome generates the next generation of chromosomes through operations such as crossover, mutation, and selection. The chromosome's fitness is calculated to determine whether the chromosome is retained, that is, whether it is inherited to the next generation. In this process, we need to first determine the fitness function used to measure the quality of the chromosome and select a good fitness function to calculate the chromosome's fitness.
[0062] It can be understood that the population number of chromosomes is m, each chromosome is y, and the chromosome population is Y = {y1, y2, y3, y4.....ym}; the number of coal types for matching coal is n, and the code of each chromosome is X = {x1, x2, x3, x4.....xn}. After multiple crossover, mutation, and selection of the population, an optimal chromosome will be generated, that is, the optimal coal type ratio combination for matching coal. By using this optimal coal type ratio combination for matching, the optimal matching coal can be obtained.
[0063] For example, if the chromosome population is 50, 50 coal blending schemes with different combinations of coal types are randomly generated. The number of coal types is 7, and each chromosome is encoded as X = {x1, x2, x3, x4, x5, x6, x7} to establish the initial population. The coal types include gas coal, fat coal, 1 / 3 coking coal #1, 1 / 3 coking coal #2, coking coal #1, lean coal, and coking coal #2. The standard blending ratio for gas coal is 3-30%; the standard blending ratio for fat coal is 5-25%; the standard blending ratio for 1 / 3 coking coal #1 is 5-20%; the standard blending ratio for 1 / 3 coking coal #2 is 5-20%; the standard blending ratio for coking coal #1 is 10-30%; the standard blending ratio for coking coal #2 is 10-30%; and the standard blending ratio for lean coal is 5-20%. The iterative design value is set to 300 generations. The 50 randomly generated coal type ratio combinations in the first generation can be recorded as the first generation coal type ratio combinations. The coal type ratios in the first generation coal type ratio combinations are all within the corresponding standard matching range. The example table of the first generation coal type ratio combinations is shown in Table 3.
[0064] Table 3
[0065]
[0066]
[0067] Step S102: Determine the quality index of the coke obtained after coking with the blended coal according to the single coal property index and the coal type ratio.
[0068] In this embodiment, the property index of a single type of coal and the coal type ratio directly affect the property index of the blended coal, and ultimately affect the quality index of the coke.
[0069] Optionally, step S102 includes:
[0070] The first step is to determine the matching property indicators of the blended coal based on the single coal property indicators and coal type ratio.
[0071] Among them, the blending property indicators correspond to the single coal property indicators, including the blending dry basis ash content, blending dry basis sulfur content, blending dry ash-free basis volatile matter, blending base fluidity logarithm and blending Oya expansion value, as well as the coarse-grained mosaic structure content, fine-grained mosaic structure content, isotropic structure content, fibrous structure content, lamellar structure content and inert structure content of blended coal coke.
[0072] In this embodiment, various blending property indices of blended coal can be determined according to the following model:
[0073] Combined with coal dry basis ash model:
[0074]
[0075] Among them, Ad配 It represents the dry basis ash content, Adi represents the dry basis ash content of the i-th coal type, and Pi represents the coal type ratio of the i-th coal type.
[0076] Ash-free volatile matter model for dry mixed coal:
[0077]
[0078] Among them, Vdaf 配 It represents the combined ash-free volatile matter, and Vdafi represents the dry ash-free volatile matter of the i-th coal type.
[0079] Combined with the coal dry basis volatile matter model:
[0080] Vd 配 =Vdaf 配 ×(100-Ad 配 )
[0081] Among them, Vd 配 Indicates the volatile matter on a dry basis of mixed coal.
[0082] Combined with the coal dry basis sulfur model:
[0083]
[0084] Among them, St,d 配 St,di represents the dry basis sulfur content of the i-th coal.
[0085] Coal mobility model:
[0086]
[0087] Among them, lgMF 配 It represents the logarithmic value of the Kiel fluidity of the mixed coal, and lgMFi represents the logarithmic value of the Kiel fluidity of the i-th coal type.
[0088] Coal expansion model:
[0089]
[0090] Among them, b 配 represents the combined Oya expansion value, and bi represents the Oya expansion value of the i-th coal type.
[0091] Coal coke microstructure model:
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098] Among them, X 粗配 、X 细配 、X 纤维配 、X 片状配 、X 惰性配 、X 同性配 where Xcoarse i, Xfine i, Xfiber i, Xflaky i and Xisotropic i represent the coarse-grained mosaic structure content, fine-grained mosaic structure content, isotropic structure content, fibrous structure content, lamellar structure content and inert structure content of coke made from blended coal respectively. Xcoarse i, Xfine i, Xfiber i, Xflaky i and Xisotropic i represent the coarse-grained mosaic structure content, fine-grained mosaic structure content, isotropic structure content, fibrous structure content, lamellar structure content and inert structure content of coke made from single coal respectively.
[0099] According to the above model for determining the various matching property indices of the matching coal, the matching property indices can be obtained based on the data in Table 1, Table 2 and Table 3. Table 4 is a statistical table of the matching property indices:
[0100] Table 4
[0101]
[0102] The second step is to input the blending property index into a preset quality prediction model to obtain the quality index of the coke obtained after coking the blended coal.
[0103] Optionally, the quality prediction model is constructed using a random forest algorithm.
[0104] In this embodiment, random forest refers to a classifier that uses multiple trees to train and predict samples. This algorithm can produce highly accurate classifiers and can handle a large number of input variables. Using this algorithm to predict quality indicators can improve the accuracy of predictions.
[0105] Among them, the quality prediction model includes: crushing strength M 40 Prediction model, wear resistance M 10 Prediction model, reactivity CRI prediction model, post-reaction strength CSR prediction model, coke ash prediction model, coke sulfur prediction model. The model is as follows:
[0106] (1) Crushing strength M 40 The prediction model is:
[0107] M 40 =RFM 40 (X粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 )
[0108] (2) Wear resistance M 10 The prediction model is:
[0109] M10=RFM10(X 粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 )
[0110] (3) The reactive CRI prediction model is:
[0111] CRI=RFCRI(X 粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 )
[0112] (4) The post-reaction strength CSR prediction model is:
[0113] CSR=RFCSR(X 粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 )
[0114] (5) The prediction model for coke ash content is:
[0115] Ad 焦 =RFAd(Ad 配 / k)
[0116] K=(100-Vd 配 ) / (100-Vd 焦 ), Vd 焦 =1
[0117] (6) The prediction model for coke sulfur content is:
[0118] St,d焦 =RFSt,d 焦 (St,d 配 )
[0119] Among them, RF represents the random forest algorithm. From the above model, we can see that X 粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 Input to crushing strength M 40 In the prediction model, the crushing strength M 40 The prediction model can output the crushing strength M of coke 40 ; X 粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 Input to wear resistance M 10 In the prediction model, the wear resistance M 10 The prediction model can output the wear resistance of coke M 10 ; X 粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 Input into the reactivity CRI prediction model, the reactivity CRI model can output the reactivity CRI of coke; 粗配 , X 细配 , X 纤维配 , X 片状配 , X 惰性配 , X 同性配 , lgMF 配 , b 配 Input into the post-reaction strength CSR prediction model, the post-reaction strength CSR prediction model can output the post-reaction strength CSR of coke; 配 / k is input into the coke ash prediction model, and the coke ash prediction model will output the coke ash; St,d 配 Input into the coke sulfur content prediction model, and the coke sulfur content prediction model will output the coke sulfur content.
[0120] For example, based on the data in Table 4, the quality indicators of coke are predicted according to the above-mentioned quality prediction model. Table 5 is a statistical table of the quality indicators:
[0121] Table 5
[0122]
[0123] Step S103: Calculate the product of the coal ratio and the corresponding unit price of each coal type, and add up the corresponding products of all coal types to obtain the coal blending cost of the blended coal.
[0124] In this embodiment, the coal blending cost of the blended coal can be calculated using the following formula:
[0125]
[0126] Among them, C represents the coal blending cost, Ci represents the unit price of the i-th coal type, and Pi represents the coal type ratio of the i-th coal type.
[0127] Step S120: Determine the adaptability of the blended coal according to the quality index and the coal blending cost.
[0128] In this embodiment, an objective function can be constructed based on the coal blending cost. The better the chromosome's fitness, the smaller the objective function value. Therefore, the goal of the genetic algorithm is to quickly obtain the lowest objective function value that meets the constraints. A penalty function is constructed based on the coke quality indicators. Based on the objective function and penalty function, a fitness function is determined, and the fitness of the blended coal is ultimately determined through the fitness function.
[0129] Among them, the objective function is
[0130] Optionally, step S120 includes:
[0131] The first step is to obtain the penalty coefficient of the quality index and the coal type ratio of each coal type in the blended coal.
[0132] In this embodiment, the penalty function for the quality indicator includes a penalty coefficient. The penalty coefficient is also a very important factor. If the penalty coefficient is too large, the search space will become smaller, which is not conducive to finding the optimal solution. If the penalty coefficient is too small, the solution accuracy will be reduced. Therefore, it is necessary to select an appropriate penalty coefficient, and different penalty coefficients are used for different quality indicators.
[0133] Among them, the coal ratio of each type of coal in the blended coal will be recorded in advance and can be directly retrieved when needed.
[0134] The second step is to determine the first penalty value based on the sum of the proportions of all coal types in the blended coal.
[0135] In this embodiment, the coal type ratio is also used as a penalty for fitness. Under normal circumstances, the sum of all coal type ratios in each blended coal is 100. If it is not 100, a penalty value, namely the first penalty value, is generated to reduce fitness.
[0136] Specifically, the first penalty value is calculated using the following formula:
[0137]
[0138] Wherein, P represents the first penalty value, and pi represents the coal type ratio of the i-th coal type.
[0139] Step 3: Determine the second penalty value based on the quality index, penalty coefficient and preset standard index range.
[0140] In this embodiment, a penalty function of quality index is used to reduce the fitness of the chromosome. When some quality indexes of coke exceed the standard index range, a second penalty value is determined based on the absolute value exceeding the range and the penalty coefficient.
[0141] Optionally, the second step includes:
[0142] If the quality index is greater than the upper limit of the preset standard index range, a first difference between the quality index and the upper limit is calculated; and a product of the first difference and the penalty coefficient is calculated to obtain a third penalty value.
[0143] If the quality index is less than the lower limit of the standard index range, a second difference between the quality index and the lower limit is calculated; and a product of the second difference and the penalty coefficient is calculated to obtain a fourth penalty value.
[0144] The sum of the third penalty value and the fourth penalty value of all quality indicators is calculated to obtain the second penalty value.
[0145] In this embodiment, under standard circumstances, the quality indicators are all within the standard indicator range. If the quality indicators are not within the standard indicator range, the second penalty value needs to be determined based on the product of the absolute value exceeding the range and the penalty coefficient.
[0146] For example, Ad 焦 The standard index range is: (0~12.6%); Std 焦 The standard index range is: (0, 0.8%); the standard index range of M40 is: (88.0%, 89.0%); the standard index range of CSR is: (68.0%~72.0%); the standard index range of M10 is: (5.0%-6.0%).
[0147] Specifically, the penalty function is as follows:
[0148] Penalty function of coke ash content: Max(0,Adj-Adjmax)×K1; K1: ash penalty coefficient.
[0149] Penalty function of coke sulfur content: Max(0, St,dj-St,dmax)×K2; K2: sulfur content penalty coefficient.
[0150] Penalty function of post-reaction intensity: CSR[Max(0,CSR-CSRmax)+|Min(0,CSR-CSRmin)|]×K3; K3: CSR penalty coefficient.
[0151] Crushing strength M 40 Penalty function: [Max(0,M40-M40max)+|Min(0,M40-M40min)|]×K4; K4: M40 penalty coefficient.
[0152] Wear resistance M 10 Penalty function: [Max(0,M10-M10max)+|Min(0,M10-M10min)|]×K5; K5: M10 penalty coefficient.
[0153] For example, K1=50, K2=100, K3=50, K4=100, and K5=100.
[0154] The values calculated by all penalty functions are added together to obtain the second penalty value K.
[0155] The third step is to calculate the sum of the coal blending cost, the first penalty value and the second penalty value to obtain the fitness of the blended coal.
[0156] In this embodiment, the fitness function is: Fitness=C+P+K.
[0157] Step S130: The blended coal with the smallest fitness is selected as the optimal blended coal.
[0158] In this embodiment, the smaller the fitness value, the better the fitness of the blended coal. After obtaining the fitness function, the fitness of each blended coal is calculated, and the blended coal with the smallest fitness can be directly selected as the optimal blended coal. Alternatively, the reciprocal of the fitness value can be taken, and then each coal type ratio combination is probabilistically screened based on the reciprocal. The larger the reciprocal, the better the fitness, and the more likely the coal type ratio combination with the better fitness will be retained.
[0159] Next, in order to obtain a new generation population with better overall fitness than the previous generation population, in order to seek a better coal type ratio combination and obtain a better matching coal, we can first randomly generate the first generation population within the standard ratio range, that is, the coal type ratio combination, and then select the first generation coal type ratio combination with better fitness from all the first generation coal type ratio combinations according to the fitness of each coal type ratio combination in the first generation coal type ratio combination, and then cross and mutate the first generation coal type ratio combination with better fitness to select a better coal type ratio combination, thereby obtaining a better matching coal.
[0160] Specifically, the crossover of chromosomes: traverse the population of that generation in order, and each time take the two adjacent chromosome individuals as the father and mother of the crossover operation. Based on the random number and the exchange probability factor p-cross (Pc = 0.5), it is determined whether to perform the crossover operation. If the crossover operation is performed, two new chromosome individuals are created, and all the codes of the father and mother of the crossover operation are randomly assigned to the corresponding positions of the new chromosome individuals. That is, the gene code on each bit of the new chromosome individual comes from the corresponding position of the father or mother, and the corresponding positions of the two chromosome individuals are complementary to ensure that the genes of the father and mother are not lost. After traversing all the chromosome individuals of the population, the crossover operation of that generation of the population is completed.
[0161] Chromosome mutation: The population of this generation is sequentially traversed. For each chromosome individual, a random number and a mutation probability factor, p-mutation (Pm = 0.9), are randomly generated. A decision is then made as to whether to perform the mutation operation. If the mutation operation is performed, a new coal type ratio combination is randomly generated for each chromosome individual within the standard ratio range of a single coal type. Once all chromosome individuals in the population have been traversed, the mutation operation for this generation is complete.
[0162] After crossover and mutation operations are performed on individuals in the first generation population, a new generation of coal blending scheme is formed, and a series of operations such as fitness screening, crossover and mutation are performed to form a new generation of coal blending scheme. The preset design value is iterated to reach the preset maximum genetic generation number, and the optimal solution, that is, the optimal coal type ratio combination, is obtained, and then the algorithm is exited.
[0163] For example, Table 6 is a summary table of the fitness of the initial population calculated using the fitness function:
[0164] Table 6
[0165] Combination number Fitness 1 1157.5 ... ... 50 1697.5
[0166] Table 7 is a statistical table of the optimal coal ratio combination:
[0167] Table 7
[0168] Coal Type gas coal 1 / 3 coking coal 1# 1 / 3 coking coal 2# fat coal Coking coal 1# Coking coal 2# lean coal Ratio 10 12 15 8 20 20 15
[0169] Table 8 is a statistical table of coke quality and coal blending cost corresponding to the optimal coal ratio combination:
[0170] Table 8
[0171] Ad / % St,d / % M40 / % M10 / % CRI / % CSR / % Coal blending cost 11.85 0.65 88.8 5.95 22.90 68.12 1118.50
[0172] The optimal blended coal obtained according to the optimal coal ratio combination is coked in the coke oven. The obtained coke is of excellent quality and the coal blending cost is low, which brings good economic benefits to the enterprise.
[0173] Based on the same inventive concept, an embodiment of the present invention further provides a device for determining the optimal blend coal for coking. Figure 2 This is a structural block diagram of a device for determining the optimal blend coal for coking provided by an embodiment of the present invention. Figure 2 As shown, the apparatus 200 includes a first acquisition module 201 , a first determination module 202 and a second determination module 203 .
[0174] The first acquisition module 201 is used to obtain the quality indicators of coke obtained after coking different blended coals and the blending cost of the blended coals, wherein the quality indicators include at least one of coke sulfur content, coke ash content, crushing strength, abrasion resistance and post-reaction strength;
[0175] The first determination module 202 is used to determine the adaptability of the blended coal according to the quality index and the coal blending cost;
[0176] The second determination module 203 is configured to determine the blended coal with the minimum fitness as the optimal blended coal.
[0177] Optionally, the first determining module 202 includes:
[0178] An acquisition unit is used to obtain the penalty coefficient of the quality index and the coal type ratio of each coal type in the blended coal;
[0179] A first determining unit is used to determine a first penalty value according to the sum of the proportions of all coal types in the blended coal;
[0180] A second determining unit, configured to determine a second penalty value according to the quality indicator, the penalty coefficient, and a preset standard indicator range;
[0181] The calculation unit is used to calculate the sum of the coal blending cost, the first penalty value and the second penalty value to obtain the fitness of the blended coal.
[0182] Optionally, the second determining unit is further configured to:
[0183] If the quality index is greater than the upper limit of the preset standard index range, calculating a first difference between the quality index and the upper limit;
[0184] Calculate the product of the first difference and the penalty coefficient to obtain a third penalty value;
[0185] If the quality index is less than the lower limit of the standard index range, calculating a second difference between the quality index and the lower limit;
[0186] Calculate the product of the second difference and the penalty coefficient to obtain a fourth penalty value;
[0187] The sum of the third penalty value and the fourth penalty value of all quality indicators is calculated to obtain the second penalty value.
[0188] Optionally, the apparatus 200 further includes:
[0189] The second acquisition module is used to obtain the coal type ratio, single coal property index and unit price of each coal type in the blended coal;
[0190] The third determination module is used to determine the quality index of the coke obtained after coking the blended coal according to the single coal property index and the coal type ratio;
[0191] The calculation module is used to calculate the product of the coal ratio and the corresponding unit price of each coal type, and add up the corresponding products of all coal types to obtain the coal blending cost of the blended coal.
[0192] Optionally, the third determining module is further configured to:
[0193] Determine the properties of blended coal based on the properties of individual coals and the proportion of coal types;
[0194] The blending property index is input into a preset quality prediction model to obtain the quality index of the coke obtained after coking the blended coal.
[0195] Optionally, the single coal property indicators include single coal dry basis ash content, single coal dry basis sulfur content, single coal dry ash-free basis volatile matter, single coal basis fluidity logarithm and single coal Oya expansion value, as well as single coal coke ...
[0196] Optionally, the quality prediction model is constructed using a random forest algorithm.
[0197] It can be understood that the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0198] An embodiment of the present invention further provides an electronic device, which may include a processor and a memory, wherein the processor and the memory may be communicatively connected to each other via a bus or other means.
[0199] The processor may be a central processing unit (CPU) or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0200] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include removable or non-removable (or fixed) media. Where appropriate, the memory may be internal or external to the electronic device. In certain embodiments, the memory may be a non-volatile solid-state memory.
[0201] In one embodiment, the memory may be a read-only memory (ROM). In one embodiment, the ROM may be a mask-programmable ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.
[0202] The processor reads and executes computer program instructions stored in the memory to implement any one of the methods for determining the optimal blended coal for coking in the above embodiments.
[0203] In one example, the electronic device may further include a communication interface and a bus. The processor, memory, and communication interface are connected via the bus and communicate with each other. The communication interface is primarily used to enable communication between the various modules, devices, units, and / or devices in the embodiments of this application. Where appropriate, the bus may include one or more buses.
[0204] In addition, in conjunction with the method for determining the optimal blend coal for coking in the above-mentioned embodiments, embodiments of the present invention may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when executed by a processor, the computer program instructions implement any of the methods for determining the optimal blend coal for coking in the above-mentioned embodiments.
[0205] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages:
[0206] Embodiments of the present invention provide a method, device, equipment, and medium for determining the optimal blend coal for coking. The method obtains quality indicators of coke obtained after coking with different blend coals, as well as the blending cost of the blend coal. The quality indicators include at least one of sulfur content, ash content, crushing strength, abrasion resistance, and post-reaction strength, fully considering both the quality indicators and the blending cost of the coke. Based on the quality indicators and the blending cost, the fitness of the blend coal is determined. This fitness is equivalent to the fitness in a genetic algorithm, and its magnitude represents whether the blend coal meets the requirements. The blend coal with the smallest fitness is determined as the optimal blend coal. The smaller the fitness, the more it meets the requirements, thereby enabling the selection of the optimal blend coal. This method selects the blend coal with the best fitness based on the coke quality indicators and the blending cost, ensuring that the coke obtained from coking using the optimal blend coal meets both quality and cost requirements.
[0207] In the description provided herein, numerous specific details are described. However, it is understood that embodiments of the present invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.
[0208] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Accordingly, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of the invention.
[0209] It should be noted that the above embodiments illustrate rather than limit the invention, and that a person skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between brackets should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
Claims
1. A method for determining the optimal blended coal for coking, characterized in that: The method comprises: Obtaining quality indicators of coke obtained after coking with different blended coals, and the blending cost of the blended coal, wherein the quality indicators include at least one of coke sulfur content, coke ash content, crushing strength, abrasion resistance and post-reaction strength; Determining the adaptability of the blended coal according to the quality index and the coal blending cost; The blended coal with the smallest fitness is taken as the optimal blended coal.
2. The method for determining the optimal blended coal for coking according to claim 1, characterized in that: Determining the adaptability of the blended coal according to the quality index and the coal blending cost includes: Obtaining the penalty coefficient of the quality index and the coal type ratio of each coal type in the blended coal; Determine a first penalty value according to the sum of the proportions of all coal types in the blended coal; Determining a second penalty value according to the quality indicator, the penalty coefficient and a preset standard indicator range; The sum of the coal blending cost, the first penalty value and the second penalty value is calculated to obtain the fitness of the blended coal.
3. The method for determining the optimal blended coal for coking according to claim 2, characterized in that: The determining of the second penalty value according to the quality indicator, the penalty coefficient and a preset standard indicator range includes: If the quality indicator is greater than an upper limit value of a preset standard indicator range, calculating a first difference between the quality indicator and the upper limit value; Calculate the product of the first difference and the penalty coefficient to obtain a third penalty value; If the quality index is less than the lower limit of the standard index range, calculating a second difference between the quality index and the lower limit; Calculate the product of the second difference and the penalty coefficient to obtain a fourth penalty value; The sum of the third penalty value and the fourth penalty value of all quality indicators is calculated to obtain the second penalty value.
4. The method for determining the optimal blended coal for coking according to claim 1, characterized in that: Before obtaining the quality index of coke obtained after coking with different blended coals and the blending cost of the blended coals, the method includes: Obtaining the coal type ratio, single coal property index and unit price of each coal type in the blended coal; Determining the quality index of the coke obtained after coking the blended coal according to the single coal property index and the coal type ratio; The product of the coal ratio and the corresponding unit price of each coal type is calculated, and the corresponding products of all coal types are added together to obtain the coal blending cost of the blended coal.
5. The method for determining the optimal blended coal for coking according to claim 4, characterized in that: The method of determining the quality index of the coke obtained after coking the blended coal according to the single coal property index and the coal type ratio includes: Determining the blending property index of the blended coal according to the single coal property index and the coal type ratio; The blending property index is input into a preset quality prediction model to obtain the quality index of the coke obtained after coking the blended coal.
6. The method for determining the optimal blended coal for coking according to claim 4, characterized in that: The single coal property indicators include single coal dry basis ash content, single coal dry basis sulfur content, single coal dry ash-free basis volatile matter, single coal basis fluidity logarithm and single coal Oya expansion value, as well as single coal coke ...
7. The method for determining the optimal blended coal for coking according to claim 1, characterized in that: The quality prediction model is constructed using a random forest algorithm.
8. A device for determining the optimal blended coal for coking, characterized in that: The device comprises: The first acquisition module is used to obtain the quality index of coke obtained after coking with different blended coals, and the blending cost of the blended coal, wherein the quality index includes at least one of coke sulfur content, coke ash content, crushing strength, abrasion resistance and post-reaction strength; A first determination module, used to determine the adaptability of the blended coal according to the quality index and the coal blending cost; The second determination module is used to select the blended coal with the smallest fitness as the optimal blended coal.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 7.
