A multi-energy day-ahead scheduling optimization method for steel enterprises considering multi-level indicators

By using the cascade optimization method of Actor-Critic reinforcement learning in steel enterprises, the problem of multi-level indicator conflicts in multi-energy systems is solved, day-ahead scheduling optimization with low energy consumption and low pollution is achieved, and a fast and effective Scenarios to balance total system and subsystem energy usage.

CN114330869BActive Publication Date: 2024-09-13DALIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111614524.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-09-13
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

In the multi-energy system of iron and steel enterprises, due to the unreasonable distribution plan of multiple energy sources, high production energy consumption and high pollution emissions are caused. It is difficult for the existing technology to effectively balance the conflict relationship between multi-level indicators, and it is impossible to quickly and reasonably determine the day-ahead scheduling optimization plan. .

Method used

A cascade optimization method based on Actor-Critic reinforcement learning is used to establish a two-layer optimization model, which is jointly solved by combining the total system and subsystem models to optimize energy input and by-product gas distribution to achieve optimality between the total system and subsystems. trade off.

Benefits of technology

It achieves the maximum reduction of energy consumption and energy dissipation in steel enterprises, provides the best day-ahead scheduling optimization plan, and can adjust the energy investment plan online to meet the needs of steel production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114330869B
    Figure CN114330869B
Patent Text Reader

Abstract

The present invention provides a method for optimizing multi-energy day-ahead scheduling of a steel enterprise considering multi-level indicators, including establishing multi-criteria evaluation indicators, including total system indicators and subsystem indicators; establishing an optimization model for the multi-energy system of a steel enterprise according to the evaluation indicators of the total system and the energy pipeline network situation; establishing an optimization model for the gas subsystem according to the evaluation indicators of the subsystem and its actual situation; defining the total system level as an upper optimization model and the subsystem level as a lower optimization model according to evaluation indicators and optimization models at different levels, and constructing a double-layer optimization model; using a double-layer cascade optimization solution strategy based on Actor-Critic reinforcement learning for solution. The present invention takes into account two-layer optimization models at each step to search for optimization solutions, obtains an energy input configuration scheme in which the subsystem evaluation indicators meet the standards and the total system indicators are optimized, and provides the steel industry with a day-ahead scheduling optimization scheme that takes into account multi-level indicators, thereby helping enterprises to formulate production plans.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-energy scheduling optimization, and in particular to a multi-energy day-ahead scheduling optimization method for a steel enterprise considering multi-level indicators. Background Art

[0002] Iron and steel enterprises involve multiple energy sources such as coal, natural gas, electricity, and by-product gas, and the pipeline network structure is complex. Unreasonable day-ahead scheduling optimization schemes will lead to problems such as high production energy consumption and high pollution emissions. However, there is often a contradiction between the overall optimization of the pipeline network and the local optimization of the energy subsystem. In order to ensure that the production plan is completed on schedule, each energy medium is often in an unbalanced state where supply exceeds demand. In order to reduce the energy loss of the entire system, steel enterprises often try to recycle by-product energy to the maximum extent; however, the allocation and utilization level of the sub-energy system is limited, and the energy redundancy that cannot be stored or utilized can only be dispersed, which increases the energy dispersion of the sub-energy system. The main reason for the above problems is the unreasonable allocation plan of multiple energy sources. Therefore, it is necessary to formulate a day-ahead scheduling optimization scheme that can balance the conflicting relationship between multi-level indicators to reasonably allocate the input of multiple energy media, so as to ensure steel production while minimizing energy consumption and dispersion, so that enterprises can obtain greater profits.

[0003] At present, there have been some studies on the optimization and utilization of energy systems. However, a large number of these studies are aimed at optimizing a single energy system or a single evaluation index. In this case, the system structure and influencing factors are relatively simple. Although there are also some studies that consider multiple objectives at the same time, they are usually solved by converting them into single-objective problems, which inevitably relaxes the consideration of the actual needs of the energy network. However, the optimization of multi-energy systems in steel enterprises involves multiple evaluation indicators that have optimization conflicts and require trade-offs, so it cannot be solved by directly adding multiple optimization objectives. In addition, there are also a small number of multi-index optimization studies on multi-energy systems, but the energy system structure involved is still relatively simple and does not include the complete energy "production-consumption-storage" process, which is not suitable for optimizing the multi-level indicators of multi-energy systems in steel enterprises. In addition to the need to reasonably model the multi-energy flow optimization problem, how to solve it is also a research hotspot. The commonly used solution methods at present mainly include mathematical analytical methods and multi-objective intelligent optimization algorithms. However, mathematical analytical methods represented by linear programming, nonlinear programming and dynamic programming are not suitable for multi-objective optimization problems with non-convex objective functions and complex nonlinear constraints; and conventional multi-objective intelligent optimization algorithms are extremely slow in solving complex system optimization problems with strong variable coupling, and cannot meet the needs of actual field applications. In view of this, there is an urgent need for a method that can balance the conflicting relationships between multi-level indicators and quickly and reasonably determine the day-ahead scheduling optimization plan. Summary of the invention

[0004] In view of the defects existing in the prior art, the purpose of the present invention is to provide a multi-energy day-ahead scheduling optimization method for steel enterprises considering multi-level indicators. For the hierarchical optimization problem with conflicting and coupled variables in indicators at all levels, a two-level optimization model is established based on the actual configuration of the energy network, which considers the multi-energy input of the total system energy consumption and the by-product gas distribution of the subsystem emissions. In order to effectively solve the proposed two-level model, a cascade optimization method based on Actor-Critic reinforcement learning is adopted to jointly solve and optimize the total system model and the subsystem model to obtain the final day-ahead scheduling optimization solution, and achieve the optimal trade-off between the total system and subsystem criteria.

[0005] In order to achieve the above object, the specific technical solution adopted by the present invention is as follows:

[0006] A method for optimizing multi-energy day-ahead scheduling of a steel enterprise considering multi-level indicators specifically comprises the following steps:

[0007] Step 1, establish multi-level indicators: establish multi-level indicators consisting of overall system indicators and subsystem indicators, and perform data preprocessing on the data of each indicator;

[0008] Step 2, double-layer evaluation optimization modeling: The double-layer optimization model includes an upper optimization model at the overall system level and a lower optimization model at the subsystem level. The establishment process of the upper optimization model includes determining the overall system evaluation index for the multi-energy system of the steel enterprise, establishing an optimization model based on the overall system evaluation index and the multi-energy system pipeline constraints, and obtaining the upper optimization model with the minimum overall system evaluation index as the objective function; the establishment process of the lower optimization model includes determining the subsystem evaluation index for the gas subsystem, taking the subsystem evaluation index as the optimization constraint, and taking the minimum total energy consumption of the generator set as the objective function to obtain the lower optimization model;

[0009] Step 3, cascade solution of the two-layer optimization model: The two-layer cascade optimization solution strategy based on Actor-Critic reinforcement learning is used to solve the two-layer optimization model.

[0010] Preferably, the overall system evaluation index is a comprehensive energy consumption index per ton of steel for the multi-energy system of a steel enterprise, and its calculation formula is:

[0011] Calculate the comprehensive energy consumption per ton of steel, where ECS represents the comprehensive energy consumption per ton of steel, U stl Indicates steel output, that is, the tons of steel produced; E csum It represents the total amount of energy consumed by the enterprise itself;

[0012] The total amount of energy consumed by the enterprise is based on E csum =E pch -Espl Calculate; where E pch and E spl They represent the amount of energy purchased and the amount of energy surplus, which refers to the amount of energy remaining in the steel production process that can be exported or stored.

[0013] Preferably, the multi-energy system pipeline network constraints are as follows:

[0014] The steel output and the consumption of each energy medium satisfy the mapping relationship;

[0015] The amount of by-product gas recovered and the amount of purchased energy satisfy a nonlinear coupling relationship;

[0016] Steel production must meet planned production requirements and not exceed the upper limit;

[0017] The consumption of by-product gas is less than the amount of gas recovered;

[0018] The consumption of each energy medium meets the set value range.

[0019] Preferably, the subsystem evaluation index is a emission index for the gas subsystem, and its calculation formula is as follows:

[0020]

[0021] Where b represents the emission rate, G (b) , G (t) and G (c) They respectively represent the amount of gas released, recovered and consumed.

[0022] Preferably, the lower optimization model for the coal gas subsystem is an optimization of by-product gas emissions, specifically:

[0023] By adjusting the by-product gas consumption of the generator set, the excess by-product gas can be absorbed;

[0024] The power generation units convert the energy into electricity by consuming coal and by-product gas.

[0025] Preferably, taking the subsystem evaluation index as the optimization constraint condition specifically refers to:

[0026] The amount of electricity generated by a generator set is determined by the amount of energy consumed by the set;

[0027] The by-product gas consumed by the generator set should meet the relevant constraints of the emission rate;

[0028] The consumption of various energy media of the generator set is kept within the set range.

[0029] Preferably, the two-layer cascade optimization solution strategy based on Actor-Critic reinforcement learning is used to solve the two-layer optimization model, specifically referring to:

[0030] The overall system model and subsystem model are divided into two layers of reinforcement learning models: upper layer and lower layer;

[0031] According to the upper-layer optimization model, define the state, action and reward of the upper-layer reinforcement learning model;

[0032] Defining states, actions, and rewards of the underlying reinforcement learning model according to the underlying optimization model;

[0033] The cascade solution strategy is used for solving the problem.

[0034] Preferably, the state, action and reward of the upper layer reinforcement learning model are specifically:

[0035] Status: steel output and input of various energy media, where the various energy media are purchased electricity, coal for power generation, coal for coking, purchased natural gas, blast furnace gas consumption, coke oven gas consumption and converter gas consumption;

[0036] Action: Adjustment of input amount of various energy media;

[0037] Reward: The objective function of the upper optimization model, i.e., the comprehensive energy consumption per ton of steel.

[0038] Preferably, the state, action and reward of the lower layer reinforcement learning model are specifically:

[0039] Status: consumption of by-product gas in each generating unit and its original emission;

[0040] Action: Adjustment of consumption of three by-product gases by different generator sets;

[0041] Reward: The objective function of the upper-level optimization model.

[0042] Preferably, the cascade solution strategy based on Actor-Critic reinforcement learning is specifically:

[0043] The upper-level reinforcement learning model generates energy input schemes for multi-energy systems;

[0044] According to the original emission amount of by-product gas, the lower layer reinforcement learning model generates a new distribution plan for by-product gas;

[0045] According to the changes in the consumption of multiple energy media, a new energy input scheme is obtained and used as the next state of the multi-energy system;

[0046] Complete one-step search of the cascade loop model.

[0047] The beneficial effects of the present invention are as follows: the present invention establishes a multi-energy flow input optimization model that takes into account the overall energy consumption index of the system and an allocation optimization model of the local subsystem emission index according to the energy network situation; then, a cascaded loop optimization strategy based on the Actor-Critic reinforcement learning structure is proposed, and each step of the loop learning optimizes the total system model and the subsystem model layer by layer, thereby jointly solving the two-layer optimization problem; finally, a low-energy consumption energy input configuration scheme that meets the subsystem emission index is obtained, providing the steel industry with the optimal day-ahead scheduling optimization scheme, thereby helping enterprises to formulate production plans. In addition, the present method can also evaluate relevant standards online, and timely adjust and optimize the energy input plan for future production of steel enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 A schematic diagram of a multi-energy day-ahead scheduling optimization method considering multi-level indicators provided by an embodiment of the present invention;

[0050] Figure 2 A schematic diagram of a cascade optimization strategy based on reinforcement learning provided by an embodiment of the present invention;

[0051] Figure 3 A structural diagram of a multi-energy system of a steel enterprise provided by an embodiment of the present invention;

[0052] Figure 4 An optimization convergence diagram of the day-ahead scheduling optimization solution provided by an embodiment of the present invention;

[0053] Figure 5 A statistical box plot of 50 optimization results provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.

[0055] The following is a further explanation using the multi-energy system of a typical domestic steel enterprise as an example. Figure 3The multi-energy system of the steel industry shown in the figure mainly includes three links: generation, consumption, and storage. In the energy generation link, energy that can be directly used for production, such as electricity and heat, is generated from two different sources - external inputs purchased from the market, including coal, electricity, natural gas, oxygen, etc., and internal by-product energy recovered during the production process, including blast furnace gas, coke oven gas, converter gas, etc. In the consumption link, in daily production, a certain amount of steelmaking processes such as casting, hot rolling / cold rolling consume multiple energy media. The energy storage link refers to some buffer equipment that serves as a temporary supply to maintain steel production when an energy gap occurs. In this case, the day-ahead scheduling optimization scheme plays a vital role, mainly for the following two reasons: first, different day-ahead scheduling optimization schemes will lead to different energy demands in the energy conversion process, thereby affecting the overall energy consumption and energy efficiency level of the enterprise; second, it will also have a considerable impact on the production and consumption balance of by-product gas, thereby affecting the emission level of the by-product gas subsystem. By-product gas is the secondary energy with the largest output in the steel production process, and it accounts for one-third of the total energy consumption of steel production, while the capacity of energy storage devices is limited. Therefore, it is also necessary to consider the emissions of this energy subsystem to prevent energy waste and environmental pollution.

[0056] On the one hand, in order to minimize by-product gas emissions, enterprises need to convert the recovered by-product gas into electrical energy and use it directly in steel production. According to the law of conservation of energy, there will be energy loss in the conversion process, which will affect the energy consumption of the overall multi-energy system. By-product gas is produced and recyclable during the steel production process. Therefore, the more it is produced, the lower the total system energy consumption is likely to be. And more occurrence will also lead to an increase in possible by-product gas emissions. Therefore, the optimization of subsystem emissions often conflicts with the optimization of the total system energy consumption of the entire multi-energy system. Therefore, it is necessary to find a compromise between conflicting standards at different levels. This embodiment, in response to this problem, conducts research and application of optimization methods for multi-energy systems of steel enterprises considering multi-level indicators.

[0057] like Figure 1-Figure 5 As shown, the present invention proposes a multi-energy day-ahead scheduling optimization method considering multi-level indicators, and the specific implementation steps are as follows:

[0058] Step 1: Establish multi-level indicators: Establish multi-level indicators consisting of overall system indicators and subsystem indicators, and perform data preprocessing on the data of each indicator;

[0059] The real data required for training are obtained from a database on site of a steel enterprise, with a collection frequency of 1 point / minute; the real data required for training include: daily planned steel production, purchased incoming line active power, coal consumption for power generation, coal consumption for coking, purchased natural gas flow, blast furnace gas, coke oven gas, and converter gas consumption flow, blast furnace gas, coke oven gas, and converter gas generation flow, coal, blast furnace gas, coke oven gas, and converter gas consumption flow of each generator set, and the power generation power of each generator set; considering the statistical granularity of comprehensive energy consumption per ton of steel, the energy utilization plan is optimized with "day" as the unit; the daily energy consumption is converted into standard coal by using the standard coal conversion coefficient; statistics show that the value range of comprehensive energy consumption per ton of steel is [536, 814] kGCE / t, with an average of 637 kGCE / t, which basically covers all possible operating conditions in actual production.

[0060] Step 2, double-layer evaluation optimization modeling: The double-layer optimization model includes an upper optimization model at the overall system level and a lower optimization model at the subsystem level. The establishment process of the upper optimization model includes determining the overall system evaluation index for the multi-energy system of the steel enterprise, establishing an optimization model based on the overall system evaluation index and the multi-energy system pipeline constraints, and obtaining the upper optimization model with the minimum overall system evaluation index as the objective function; the establishment process of the lower optimization model includes determining the subsystem evaluation index for the gas subsystem, taking the subsystem evaluation index as the optimization constraint, and taking the minimum total energy consumption of the generator set as the objective function to obtain the lower optimization model;

[0061] First, consider the overall system indicators and their optimization model. The modeling description is as follows:

[0062] The evaluation index for the multi-energy system of steel enterprises is determined as the comprehensive energy consumption index per ton of steel:

[0063]

[0064] Among them, ECS represents the comprehensive energy consumption per ton of steel, U stl Indicates steel output, that is, the tons of steel produced; E csum Represents the total amount of energy consumed by the enterprise. The specific calculation method is as follows:

[0065] E csum =E pch -E spl

[0066] Among them, E pch and E spl Indicates the amount of energy purchased and the amount of energy surplus, which refers to the amount of energy remaining in the steel production process that can be exported or stored. The specific calculation method is as follows:

[0067]

[0068]

[0069] in, and e ng -c represents the consumption of purchased electricity, coal for power generation, coal for coking and natural gas; e bfg-r , e cog-r and e ldg-r Respectively represent the recovery of blast furnace gas, coke oven gas and converter gas generated in steel production, e bfg-c , e cog-c and e ldg-c They represent the consumption of blast furnace gas, coke oven gas and converter gas respectively; E oth and E byp They represent other purchased energy media and by-product energy respectively; the units of the above energy media are determined by actual data, and are unified into standard coal through the coefficient γ. Different subscripts represent the standard coal conversion coefficients of different energy media. The unit after conversion into standard coal is kgce.

[0070] The upper-level optimization model is established based on the upper-level evaluation indicators and the multi-energy system network constraints:

[0071] Steel production and the consumption of various energy media satisfy a certain mapping relationship

[0072]

[0073] Here, h1 is a function determined by data fitting techniques.

[0074] The amount of by-product gas recovered and the amount of purchased energy satisfy a certain nonlinear coupling relationship

[0075]

[0076] Among them, h2 is also determined by data fitting technology.

[0077] Steel production must meet the planned production requirements and should not exceed the planned production by too much.

[0078] U stl-plan ≤U stl ≤(1+β)U stl-plan

[0079] Among them, U stl-plan is the planned output, and β is the percentage of excess output exceeding the production plan.

[0080] The consumption of by-product gas must be less than the amount of gas recovered

[0081] e bfg-c ≤e bfg-r e cog-c ≤ecog-r e ldg-c ≤e ldg-r

[0082] Considering the security of a single network, the consumption of each energy medium must be kept within a certain range.

[0083]

[0084]

[0085]

[0086] Wherein, L and U represent the minimum and maximum values ​​of the variables, respectively, and different subscripts refer to different energy media in accordance with the provisions of this patent.

[0087] According to the above constraints, a set of constraints can be established, and the following optimization model can be established with the minimum comprehensive energy consumption per ton of steel as the objective function:

[0088]

[0089] Then, considering the subsystem indicators and their optimization models, the modeling description is as follows:

[0090] The evaluation index for the gas subsystem is determined to be the emission rate index:

[0091]

[0092] Where b represents the emission rate, G (b) , G (r) and G (c) They respectively represent the amount of gas released, recovered and consumed.

[0093] The lower optimization model for the coal gas subsystem is to optimize the by-product gas emissions. The steel enterprises adjust the by-product gas consumption of the generator set to absorb the excess by-product coal gas. The energy conversion of the generator set generates electricity by consuming a certain amount of coal and by-product coal gas. It should be noted that the energy consumption is in the numerator of the formula for calculating the comprehensive energy consumption per ton of steel. Changing the coal gas consumption of the generator set will also change the total energy consumption, and the comprehensive energy consumption value per ton of steel will also change. Therefore, according to the limit of the coal gas emission rate in the steel industry, the emission rate is used as the optimization constraint, and the energy consumption of the generator set is used as the objective function.

[0094] In addition, the lower-level optimization model must meet the following constraints:

[0095] The amount of electricity generated by a generator set is determined by the amount of energy consumed by the set.

[0096]

[0097] in, They represent the consumption of coal, blast furnace gas, coke oven gas and converter gas of the i-th generator set respectively; represents the power generation of the i-th generator set; h3 represents the nonlinear coupling relationship obtained by data fitting technology;

[0098] In order to limit the emission rate of by-product gas within the enterprise's prescribed boundaries, after the excess by-product gas is distributed to the generator set, the emission of by-product gas should be within the upper limit of the emission rate specified by the enterprise.

[0099]

[0100]

[0101]

[0102] Among them, B bfg , B cog and B ldg G are the upper limits of emission rates of blast furnace gas, coke oven gas and converter gas specified by the enterprise respectively; bfg(s) , G cog(s) and G ldg(s) They represent the surplus of blast furnace gas, coke oven gas and converter gas before optimization respectively; G bfg(r) , G cog(r) and G ldg(r) Refers to the recovery amount of 3 types of gas;

[0103] Conversion available

[0104]

[0105]

[0106]

[0107] At the same time, the total amount of each by-product gas allocated to the generator set should be less than the surplus by-product gas amount.

[0108]

[0109]

[0110]

[0111] It can be concluded that the by-product gas consumed by the generator set should be constrained as follows:

[0112]

[0113]

[0114]

[0115] The consumption of various energy media of the generator set is kept within a certain range to ensure production safety.

[0116]

[0117]

[0118] Wherein, L and U represent the minimum and maximum values ​​of the variable, respectively, and different subscripts refer to different energy media in accordance with the provisions of this patent.

[0119] According to the above constraints, a set of constraints can be established, and the following optimization model can be established with the minimum total energy consumption of the generator set as the objective function:

[0120]

[0121] Where n is the number of generator sets; E gs(i) is the energy consumption of the i-th generator set.

[0122] Step 3, cascade solution of the two-layer optimization model: The two-layer cascade optimization solution strategy based on Actor-Critic reinforcement learning is used to solve the two-layer optimization model.

[0123] For the established two-layer optimization model, conventional methods have the following two problems: First, although the optimized input of the upper energy medium can significantly reduce the energy consumption index of the total system, the energy consumed by the subsequent by-product gas distribution will reversely increase the energy consumption of the total system. Moreover, even if we repeatedly solve this multi-set two-layer model, it is difficult to converge; second, when the problem contains nonlinear constraints, traditional optimization methods, including mathematical analysis methods and heuristic optimization algorithms, are prone to fall into local optimality. In addition, the layer-by-layer solution method required by traditional optimization methods also greatly increases the calculation time, which is not conducive to practical application. Reinforcement learning is a goal-oriented learning mechanism that usually learns through interaction with the environment. It shows good adaptability to the problems targeted by the present invention. It can not only handle constraints by limiting each action to a satisfactory space, but also alleviate the problem of falling into local optimality through exploration mechanism, and improve the optimal accessibility of the total system. Therefore, the present invention constructs a cascade optimization solution strategy to jointly solve the two-layer optimization model, and adopts a reinforcement learning method to search for the optimization solution by taking into account the two-layer optimization model at each step. In this way, an energy input configuration plan can be obtained in which the subsystem evaluation indicators meet the standards and the overall system indicators are optimized, so as to meet the actual application requirements of the engineering project.

[0124] The reinforcement learning algorithm can be defined as a five-tuple Markov decision process:<S,A,P,R,γ> ; S and A represent the state space and action space, respectively. P and R represent the state transition distribution and reward function, which represent the probability and reward when executing action a∈A from s∈S to s′∈S, and can be expressed as P(s′|s,a)∈[0,1] and r(s′|s,a)∈R. γ∈[0,1] represents the reward decay factor.

[0125] According to the continuity characteristics of the state space and action space in the two-layer reinforcement learning, the Actor-Critic algorithm of function approximation is used to construct the value function and parameterized strategy; the value function and parameterized strategy utilize value function approximation and strategy search methods, involving two independent learning structures: Actor and Critic.

[0126] The Critic structure uses a linear TD(λ) algorithm to approximate the state value function, thereby approximating the state value of each time position t:

[0127]

[0128] in, is the state value function, φ(s t ) is state s t The eigenvector under t is the parameter vector that is continuously updated during the learning process.

[0129] The Actor structure uses a normal (Gaussian) strategy to randomly obtain actions, where the mean and standard deviation are approximated using parameterized representations:

[0130]

[0131]

[0132] Among them, μ i (s,θ μ,i ) and σ i (s,θ σ,i ) represent the mean and standard deviation of the i-th dimension action in state s, θ μ,i and θ σ,i is a parameter vector, representing the parameters of the policy function; according to formula a i =μ i (s,θ μ,i )+ρ i σ i (s,θ μ,i ) calculates the i-th dimension action under the state s; where ρ i ~N(0,1),ρ i σ i (s,θμ,i ) is Gaussian interference, which can control the exploration ability.

[0133] The following are the computational steps for cascading solutions to the two-layer optimization model using the Actor-Critic reinforcement learning algorithm:

[0134] Step 301: Input parameters: number of iterations E, maximum number of training times T, state feature dimension n, step size parameter Attenuation factor γ 1 , γ 2 ∈[0, 1], Critic network structure and Actor network structure;

[0135] Step 302: Randomly initialize all strategy parameters and value function parameters

[0136] Step 303: for each learning of the day-ahead dispatch optimization scheme: initializing the multi-energy system state s;

[0137] Step 304: Each step of learning is divided into two layers:

[0138] a): Get the upper reinforcement learning state s from the state s 1 ; Execute action a 1 , get the next state s of the upper reinforcement learning 1′ and the reward r for the action 1 ; Calculate the TD error and update the parameters of the upper reinforcement learning structure:

[0139]

[0140]

[0141]

[0142]

[0143]

[0144] The state s 1′ Assign state s 1 ;

[0145] b): According to the state s 1 Calculate the lower reinforcement learning state s 2 ; Execute action a 2 , get the next state s of the lower layer reinforcement learning 2′ and the reward r for the action 2 ; Calculate the TD error and update the parameters of the underlying reinforcement learning structure:

[0146]

[0147]

[0148]

[0149]

[0150]

[0151] The state s 2′ Assign state s 2 , according to s 1 and 2 Generate a new state s;

[0152] Step 305: Whether the comprehensive energy consumption per ton of steel has reached stability or whether the maximum number of training times has been reached, if yes, continue, otherwise return to step 304;

[0153] Step 306: Whether the number of iteration rounds has been reached, if yes, continue, if not, return to step 303;

[0154] Step 307: Output: Actor network parameters θ 1 ,θ 2 and Critic network parameter ω 1 ,ω 2 .

[0155] The parameters in the model are set as shown in Table 1, and the method of the present invention (AC-CT) is compared with the following five methods: a) a penalty function two-step method based on particle swarm optimization (PF-PSO-TS), b) an augmented Lagrangian two-step method (AL-TS), c) a policy gradient two-step method (PG-TS), d) an actor-critic two-step method (AC-TS), and e) an actor-critic multi-step method (AC-MS).

[0156] Table 1 Parameter settings

[0157]

[0158] Since the LDG of the enterprise involved in this embodiment is not allowed to be discharged, the emission rate is set to 0% in the following experiments. This configuration does not affect the performance of the model, because the types and characteristics of the objective functions and constraints of the upper and lower models have not changed. The upper limits of the COG and BFG emission rates are both set to 5%. Table 2 is the optimization result of the day-ahead scheduling optimization scheme for a randomly selected day. Figure 2 is a curve diagram of the change of the energy consumption per ton of steel of the AC-CT method of the present invention during the learning process. Figure 3 is a box plot of the comprehensive energy consumption per ton of steel obtained from 50 optimization results under the same production plan conditions. It can be seen that the median values ​​of the comprehensive energy consumption per ton of steel obtained by the AC-CT method provided in this embodiment are lower than those of the other five methods; at the same time, the optimization results obtained by this method also have good stability.

[0159] It can be clearly seen from the results in Table 2 that among the first four methods, the comprehensive energy consumption per ton of steel obtained by the PF-PSO-TS method is reduced to a certain extent. However, due to the randomness of the initialization and search process of the particle swarm algorithm, the results are unstable and easy to fall into local optimality. The AL-TS method iterates the Lagrange multiplier during the optimization process, and the comprehensive energy consumption per ton of steel is relatively high, reaching nearly 20 times. Such efficiency is obviously not suitable for practical applications. Comparing the two reinforcement learning methods PG-TS and AC-TS, the latter is far superior to the former in terms of optimal results and convergence speed, because the critical mechanism can effectively guide participants to update strategy parameters. Although the comprehensive energy consumption per ton of steel obtained by the AC-MS method is lower than that of the two-step method, the multi-step optimization time is much longer. The comprehensive energy consumption per ton of steel obtained by the AC-CT method provided in this embodiment is optimized while reducing the computational cost. At the same time, the by-product gas emissions are also reduced to less than 5%, and the effect is satisfactory. In summary, the designed AC-CT method can effectively optimize the overall system and subsystem evaluation criteria.

[0160] Table 2 Comparison of optimization results of different methods

[0161]

[0162] Beneficial effects of this embodiment: The multi-energy system optimization method of a steel enterprise considering multi-level indicators in this embodiment considers different levels of indicators such as total system energy consumption and subsystem gas emissions from the perspective of the entire multi-energy system and the by-product gas subsystem, and provides an optimized day-ahead scheduling optimization plan, which overcomes the problem that traditional optimization methods are prone to fall into local optimality and insufficient optimization of indicators at different levels, simplifies the process of manually formulating day-ahead scheduling optimization plans, and avoids the inefficient operation mode of trial and error. The proposed cascade loop solution strategy takes into account two-layer optimization models to search for optimization solutions at each step, avoiding the problem of excessive optimization of indicators at one layer and greatly sacrificing indicators at another layer. In addition, by using the reinforcement learning mechanism, not only can constraints be handled by limiting each action to a satisfactory space, but also the problem of falling into local optimality is alleviated through the exploration mechanism, and the optimal accessibility of the total system is improved. In this way, an energy input configuration plan with subsystem evaluation indicators meeting the standards and total system indicators being optimized can be obtained to meet the requirements of actual engineering applications. This embodiment uses real industrial energy data, firstly establishes multiple evaluation indicators from the two levels of the total system and subsystem; then establishes corresponding optimization models according to the evaluation indicators of the two levels; in order to perform joint solution, the total system level is defined as the upper optimization model, and the subsystem level is defined as the lower optimization model according to the evaluation indicators and optimization models of different levels, and a two-layer optimization model is constructed, and a two-layer cascade optimization solution strategy based on Actor-Critic reinforcement learning is used for solution. This method can balance the conflicting relationship between multiple criteria and quickly and reasonably determine the day-ahead scheduling optimization plan; the results obtained can not only make the subsystem evaluation indicators meet the standards as much as possible, but also optimize the total system indicators, and the calculation efficiency meets the actual application requirements, and can also be promoted and applied in the evaluation and optimization of the total system and other more subsystems of steel enterprises.

[0163] With the above-mentioned ideal embodiments of the present invention as inspiration, through the above-mentioned description, those skilled in the art can make various changes and modifications without departing from the technical concept of the present invention. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A multi-energy day-ahead scheduling optimization method for steel enterprises considering multi-level indicators. It is characterized in that The specific steps include: Step 1, establish multi-level indicators: establish multi-level indicators consisting of overall system indicators and subsystem indicators, and perform data preprocessing on the data of each indicator; Step 2, double-layer evaluation optimization modeling: The double-layer optimization model includes an upper optimization model at the overall system level and a lower optimization model at the subsystem level. The establishment process of the upper optimization model includes determining the overall system evaluation index for the multi-energy system of the steel enterprise, establishing an optimization model based on the overall system evaluation index and the multi-energy system pipeline constraints, and obtaining the upper optimization model with the minimum overall system evaluation index as the objective function; the establishment process of the lower optimization model includes determining the subsystem evaluation index for the gas subsystem, taking the subsystem evaluation index as the optimization constraint, and taking the minimum total energy consumption of the generator set as the objective function to obtain the lower optimization model; Step 3, cascade solution of the two-layer optimization model: adopt a two-layer cascade optimization solution strategy based on Actor-Critic reinforcement learning to solve the two-layer optimization model; The overall system evaluation index is the comprehensive energy consumption per ton of steel for the multi-energy system of steel enterprises, and its calculation formula is: Calculate the comprehensive energy consumption per ton of steel, where ECS represents the comprehensive energy consumption per ton of steel. It represents steel production, that is, the tons of steel produced; It represents the total amount of energy consumed by the enterprise itself; The total amount of self-consumption energy of the enterprise is based on Calculate; where and They represent the amount of energy purchased and the amount of energy surplus, which refers to the amount of energy remaining in the steel production process that can be exported or stored; The constraints of the multi-energy system pipeline network are as follows: The steel output and the consumption of each energy medium satisfy the mapping relationship; The amount of by-product gas recovered and the amount of purchased energy satisfy a nonlinear coupling relationship; Steel production must meet planned production requirements and not exceed the upper limit; The consumption of by-product gas is less than the amount of gas recovered; The consumption of each energy medium meets the set value range; The subsystem evaluation index is a release index for the gas subsystem, and its calculation formula is as follows: ; Where b represents the diffusion rate, and Respectively represent the amount of gas released, recovered and consumed; Using subsystem evaluation indicators as optimization constraints specifically refers to: The amount of electricity generated by a generator set is determined by the amount of energy consumed by the set; The by-product gas consumed by the generator set should meet the relevant constraints of the emission rate; The consumption of various energy media of the generator set is kept within the set range.

2. A method for optimizing multi-energy day-ahead scheduling of a steel enterprise considering multi-level indicators according to claim 1, It is characterized in that The lower optimization model for the coal gas subsystem is to optimize the by-product gas emissions, specifically: By adjusting the by-product gas consumption of the generator set, the excess by-product gas can be absorbed; The power generation units convert the energy into electricity by consuming coal and by-product gas.

3. The method for optimizing multi-energy day-ahead scheduling of a steel enterprise considering multi-level indicators according to claim 1, It is characterized in that The two-layer cascade optimization solution strategy based on Actor-Critic reinforcement learning is used to solve the two-layer optimization model. Specifically, it means: The overall system model and subsystem model are divided into two layers of reinforcement learning models: upper layer and lower layer; According to the upper-layer optimization model, define the state, action and reward of the upper-layer reinforcement learning model; Defining states, actions, and rewards of the underlying reinforcement learning model according to the underlying optimization model; The cascade solution strategy is used for solving the problem.

4. The method for optimizing multi-energy day-ahead scheduling of a steel enterprise considering multi-level indicators according to claim 3, It is characterized in that The states, actions and rewards of the upper reinforcement learning model are specifically: Status: steel output and input of various energy media, where the various energy media are purchased electricity, coal for power generation, coal for coking, purchased natural gas, blast furnace gas consumption, coke oven gas consumption and converter gas consumption; Action: Adjustment of input amount of various energy media; Reward: The objective function of the upper optimization model, i.e., the comprehensive energy consumption per ton of steel.

5. The method for optimizing multi-energy day-ahead scheduling of a steel enterprise considering multi-level indicators according to claim 3, It is characterized in that The states, actions and rewards of the lower layer reinforcement learning model are specifically: Status: consumption of by-product gas in each generating unit and its original emission; Action: Adjustment of consumption of three by-product gases by different generator sets; Reward: The objective function of the upper-level optimization model.

6. The method for optimizing multi-energy day-ahead scheduling of a steel enterprise considering multi-level indicators according to claim 3, It is characterized in that The cascade solution strategy based on Actor-Critic reinforcement learning is specifically: The upper-level reinforcement learning model generates energy input schemes for multi-energy systems; According to the original emission amount of by-product gas, the lower layer reinforcement learning model generates a new distribution plan for by-product gas; According to the changes in the consumption of multiple energy media, a new energy input scheme is obtained and used as the next state of the multi-energy system; Complete one-step search of the cascade loop model.