Gas-to-methanol energy scheduling method and system considering model uncertainty

Through the two-stage optimization model and Bayesian estimation analysis of model parameter uncertainty, the problem of model parameter uncertainty in gas-methanol energy coupling system is solved, and the optimization scheduling with the lowest system cost is achieved, and the reliability of the scheduling scheme is improved. .

CN119090205APending Publication Date: 2024-12-06SHANDONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411130652.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the gas-to-methanol energy coupling system, the existing technology fails to effectively consider the uncertainty of model parameters, which leads to the scheduling plan that may not be feasible in actual implementation, affecting the system's production safety and economic benefits.

Method used

Using a two-stage optimization model, the mechanism model is constructed by obtaining operation data, the uncertainty of model parameters is analyzed using Bayesian estimation and proxy models, and the uncertainty range of model parameters under reliable thresholds is determined, and power-steam is carried out on this basis. - Optimal scheduling of gas coupling system.

Benefits of technology

The minimum system cost scheduling results under the uncertainty of model parameters are realized, the reliability of the scheduling scheme is improved, and the disadvantages that the uncertain range of model parameters is difficult to obtain quickly and accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090205A_ABST
    Figure CN119090205A_ABST
Patent Text Reader

Abstract

The invention discloses a gas-to-methanol energy scheduling method and system considering model uncertainty. The method comprises the following steps: constructing mechanism models of different production sections; obtaining an uncertain range of model parameters under a set reliable threshold value based on the model group and a Bayesian estimation method; under the condition of an uncertain range of model parameters, a two-stage optimization model is established by taking the lowest total operation cost of the gas-to-methanol energy coupling system as an optimization target, in the first stage, the lowest total start-stop cost of equipment is taken as an optimization target, and a start variable, a stop variable and a state variable of the equipment are taken as optimization variables; and in the second stage, the lowest total production cost is taken as an optimization target, the model parameters, the electricity consumption, the steam yield, the steam consumption and the gas diffusion amount are taken as optimization variables, and in the second stage, an energy scheduling scheme is obtained under the condition that the start-stop state of the equipment is determined in the first stage, so that optimal scheduling of the power-steam-gas coupling system is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of coupled energy system optimization scheduling, and in particular to a coal gas to methanol energy scheduling method and system taking model uncertainty into consideration. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Energy coupling systems usually contain two or more energy media, such as electricity, heat, gas, cold and other energy media that are coupled with each other. Through overall scheduling optimization, various energy media can be fully utilized. For example, the production process of coal chemical enterprises involves multiple energy media such as gas, steam, and electricity, which constitute a mutually coupled energy system network. Coal chemical enterprises use energy coupling systems to optimize the scheduling of various energy media in production, improve comprehensive energy utilization efficiency, and reduce production costs.

[0004] In the comprehensive energy optimization scheduling scheme, due to the complexity of industrial processes, the established industrial process models often have uncertainties, which may come from data errors, model inherent errors, errors caused by the model simplification process, and fluctuations in the model's own parameters. If the uncertainty of the model is not considered, the coupled energy system is optimized and scheduled under certain conditions. When the obtained scheduling scheme is executed in the actual production environment, the scheduling scheme is likely to become infeasible. Therefore, in the optimization scheduling of coupled energy systems, considering model uncertainty can effectively offset the impact of uncertain factors and improve the reliability of the scheduling scheme.

[0005] Uncertain parameters refer to parameters in the model that are not fixed to a unique value. They are usually uncertain quantities that can be described by probability distribution or interval distribution. There are two main methods for uncertainty analysis of model parameters: one is based on frequency theory, such as point estimation, and the other is based on Bayesian theory, such as the Markov chain Monte Carlo method.

[0006] At present, for the coal gas to methanol energy coupling system, the widely used uncertainty optimization methods are mainly stochastic optimization and robust optimization. The uncertain factors mostly consider the uncertainty of source and load, and there is less research on model uncertainty analysis. The estimation of model parameters mostly gives a rough range based on the mechanism principle, or uses a piece of data to estimate the uncertainty range of model parameters. Therefore, the uncertainty range error obtained is large, which will affect the system's safe production and economic benefits when the scheduling results are actually executed. Summary of the invention

[0007] In order to solve the above problems, the present invention proposes a gas-to-methanol energy scheduling method and system considering model uncertainty, analyzes the uncertainty of model parameters, and realizes the optimal scheduling of the power-steam-gas coupling system through a two-stage optimization model under the condition of considering the uncertainty of model parameters.

[0008] In order to achieve the above object, the present invention adopts the following technical solution:

[0009] In a first aspect, the present invention provides a method for energy scheduling of coal gas to methanol considering model uncertainty, comprising:

[0010] Obtain the operating data of the coal gas to methanol energy coupling system and build the mechanism model of different production sections;

[0011] A model group is formed by using multiple groups of proxy models that are used to approximate the real mechanism model. The model parameters in the model group are sorted and then divided into intervals. The probability distribution of the model parameters in each interval is obtained by Bayesian estimation, so as to obtain the uncertainty range of the model parameters under the set reliable threshold.

[0012] Under the uncertainty range of model parameters, a two-stage optimization model is established with the lowest total operating cost of the coal gas-to-methanol energy coupling system as the optimization goal.

[0013] Among them, the first stage takes the lowest total start-up and shutdown cost of the equipment as the optimization goal, and the equipment start-up variables, stop variables and state variables as the optimization variables. The second stage takes the lowest total production cost as the optimization goal, and takes model parameters, power consumption, steam production, steam consumption and gas release as the optimization variables. The second stage obtains the energy scheduling plan when the start-up and shutdown status of the equipment is determined in the first stage.

[0014] As an optional implementation method, the process of constructing mechanism models for different production sections includes: constructing simulation models for different production sections, setting mechanism model parameters according to the mechanism knowledge of the principle of conservation of energy, the principle of conservation of mass and the principle of chemical reaction, identifying unknown parameters in the mechanism model through a genetic algorithm based on the simulation data of the simulation model, establishing input-output relationships for different production sections, connecting the simulation models of different production sections to form a simulation model of a coal gas-to-methanol energy coupling system, and connecting the input-output relationships of different production sections to form a mechanism model of a coal gas-to-methanol energy coupling system.

[0015] As an optional implementation, the process of obtaining the uncertainty range of the model parameters includes:

[0016] Using the simulation data, we obtain the estimation results of M groups of model parameters. We divide all samples of each model parameter in the model parameter set into E intervals from small to large, and obtain E nintervals, count the number of samples falling in each interval, regard the frequency of samples falling in each interval as a random variable, and use Bayesian estimation to obtain the probability distribution of samples in each interval;

[0017] The Bayesian estimate Compared with the width of the 1-α confidence interval, when the reliable estimation index λ in each interval s When the set stability threshold λ0 is exceeded, the probability distribution is considered stable; when the reliable estimation index λ of each interval is s If the sum exceeds the set reliable threshold λ1, the probability distribution is considered reliable, otherwise the probability distribution is unreliable. The number of model groups continues to increase until the probability distribution is reliable. Then, the generation of proxy models is stopped to obtain the reliable probability distribution and confidence interval of the model parameters. The confidence interval of the set threshold is taken as the uncertainty range of the model parameters.

[0018] As an optional implementation, the optimization objective of the two-stage optimization model is:

[0019]

[0020] In the formula, C GT,GC is the total start-up and shutdown cost of coal-fired units and steam turbine units, C total is the total production cost, u kb is the uncertain parameter of the synthesis stage model, u cb is the uncertain parameter of the empty division model, u tb is the uncertain parameter of the desulfurization section model, U kb , U cb , U tb They represent the uncertainty ranges of model parameters of the synthesis section model, the air separation section model, and the desulfurization section model respectively;

[0021] The constraints include: the gas output must not be less than the demand, the steam output must not be less than the consumption, the blower power equality constraint, the blower power inequality constraint, the recycled gas distribution constraint, the gas distribution constraint, the synthesis section two-in-one steam turbine energy consumption constraint, and the air separation section air separation steam turbine energy consumption constraint.

[0022] As an optional implementation method, in the first stage, the start-up and shutdown costs of coal-fired units and steam turbine units include:

[0023]

[0024] Among them, p GT,i 、p GC,i are the start-up and shutdown cost coefficients of the i-th steam turbine and boiler unit, are the total cost of starting and stopping the steam turbine, The start and stop state variables of the i-th boiler unit, They represent the start and stop state variables of the i-th steam turbine, are the total cost of starting and stopping the boiler unit respectively.

[0025] As an optional implementation method, in the second stage, the total production cost is: In the formula, C st is the steam release cost, C g is the gas release cost, C ele For electricity costs;

[0026] The steam release cost is:

[0027]

[0028] S pro.t =S qlj.t +S gl.t ;

[0029] S de.t =S kf.t +S sy.t +S tl.t +S xb.t ;

[0030] Among them, S pro.t is the total amount of medium-pressure steam generated during period t, S de.t is the total amount of medium-pressure steam consumed in period t; S qlj.t , S gl.t are the steam production of the waste heat power generation turbine and boiler in period t; S kf.t , S sy.t , S tl.t , S xb.t are the steam consumption of the air separation section, synthesis section, desulfurization section, and benzene washing section during the period t; is the steam penalty coefficient;

[0031] The cost of gas venting is:

[0032] in, is the gas emission penalty coefficient, G jh.t , G hl.t , G gl.t , G jc.t , G qg.t They are the desulfurized coke oven gas, return furnace gas, boiler gas, methanol gas and gas tank gas in time period t.

[0033] The cost of electricity is:

[0034] in, is the unit price of electricity, Eys is the power consumption of the coke oven gas compressor during period t, E fh is the power consumption of other loads in period t, E yr It is the power supply of the waste heat power generation steam turbine during the period t.

[0035] In a second aspect, the present invention provides a gas-to-methanol energy scheduling system considering model uncertainty, comprising:

[0036] A model building module is configured to obtain the operation data of the coal gas to methanol energy coupling system and build a mechanism model of different production sections;

[0037] The uncertainty range determination module is configured to form a model group with multiple groups of proxy models for approximating the real mechanism model, sort the model parameters in the model group and divide them into intervals, and obtain the probability distribution of the model parameters in each interval through Bayesian estimation, so as to obtain the uncertainty range of the model parameters under the set reliable threshold;

[0038] The optimization module is configured to establish a two-stage optimization model with the lowest total operating cost of the coal gas-to-methanol energy coupling system as the optimization target under the uncertainty range of the model parameters;

[0039] Among them, the first stage takes the lowest total start-up and shutdown cost of the equipment as the optimization goal, and the equipment start-up variables, stop variables and state variables as the optimization variables. The second stage takes the lowest total production cost as the optimization goal, and takes model parameters, power consumption, steam production, steam consumption and gas release as the optimization variables. The second stage obtains the energy scheduling plan when the start-up and shutdown status of the equipment is determined in the first stage.

[0040] In a third aspect, the present invention provides an electronic device comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in the first aspect is performed.

[0041] In a fourth aspect, the present invention provides a computer-readable storage medium for storing computer instructions, wherein when the computer instructions are executed by a processor, the method described in the first aspect is performed.

[0042] In a fifth aspect, the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method described in the first aspect.

[0043] Compared with the prior art, the present invention has the following beneficial effects:

[0044] The present invention proposes a gas-to-methanol energy scheduling method and system taking into account model uncertainty, adopts a model parameter uncertainty analysis method based on model groups and Bayesian estimation, establishes multiple groups of proxy models to approximate the real model, and uses Bayesian estimation to obtain reliable probability distribution and confidence intervals of model parameters, thereby obtaining the uncertainty range of model parameters under different reliable thresholds, thereby overcoming the disadvantage that the uncertainty range of model parameters of the gas-to-methanol energy coupling system is difficult to obtain quickly and accurately.

[0045] The present invention proposes a gas-to-methanol energy scheduling method and system that considers model uncertainty. Under the uncertainty range of model parameters, the total operating cost of the gas-to-methanol energy coupling system is minimized as the optimization goal, and a two-stage optimization model is established. The scheduling result with the lowest system cost in the worst case can be obtained under a certain probability, and the scheduling scheme has high reliability when it is actually executed.

[0046] The present invention proposes a gas-to-methanol energy scheduling method and system taking into account model uncertainty, analyzes and models the gas-to-methanol energy coupling system, forms an optimal scheduling model for the electricity-steam-gas coupling system, analyzes the uncertainty of the model parameters, and realizes the optimal scheduling of the electricity-steam-gas coupling system under the condition of considering the uncertainty of the model parameters.

[0047] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0049] Figure 1 A flow chart of a method for energy scheduling of coal gas to methanol taking into account model uncertainty provided in Example 1 of the present invention;

[0050] Figure 2 A set of input and output data of the air separation model provided in Example 1 of the present invention;

[0051] Figure 3(a) to Figure 3(b) A schematic diagram of the uncertainty range of air separation model parameters provided in Example 1 of the present invention;

[0052] Figure 4(a) to Figure 4(b) A schematic diagram of uncertainty range of synthesis model parameters provided in Example 1 of the present invention;

[0053] Figure 5(a) to Figure 5(b) A schematic diagram of uncertainty range of purification model parameters provided in Example 1 of the present invention;

[0054] Figure 6 A schematic diagram of steam distribution results when the uncertainty range is large provided in Example 1 of the present invention;

[0055] Figure 7 A schematic diagram of steam distribution results when the uncertainty range is relatively small provided in Example 1 of the present invention;

[0056] Figure 8 A schematic diagram of gas distribution results when the uncertainty range is large provided in Example 1 of the present invention;

[0057] Fig. 9 A schematic diagram of gas distribution results when the uncertainty range is relatively small provided in Example 1 of the present invention;

[0058] Fig.10 Schematic diagram of the human-computer interaction interface for optimizing the scheduling of the coal gas-to-methanol energy system provided in Example 1 of the present invention Figure 1 ;

[0059] Fig.11 Schematic diagram of the human-computer interaction interface for optimizing the scheduling of the coal gas-to-methanol energy system provided in Example 1 of the present invention Figure 2 . DETAILED DESCRIPTION

[0060] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0061] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0062] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "comprise" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0063] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0064] Example 1

[0065] This embodiment provides a method for scheduling coal gas-to-methanol energy taking into account model uncertainty, including:

[0066] Obtain the operating data of the coal gas to methanol energy coupling system and build the mechanism model of different production sections;

[0067] A model group is formed by using multiple groups of proxy models that are used to approximate the real mechanism model. The model parameters in the model group are sorted and then divided into intervals. The probability distribution of the model parameters in each interval is obtained by Bayesian estimation, so as to obtain the uncertainty range of the model parameters under the set reliable threshold.

[0068] Under the uncertainty range of model parameters, a two-stage optimization model is established with the lowest total operating cost of the coal gas-to-methanol energy coupling system as the optimization goal.

[0069] Among them, the first stage takes the lowest total start-up and shutdown cost of the equipment as the optimization goal, and the equipment start-up variables, stop variables and state variables as the optimization variables. The second stage takes the lowest total production cost as the optimization goal, and takes model parameters, power consumption, steam production, steam consumption and gas release as the optimization variables. The second stage obtains the energy scheduling plan when the start-up and shutdown status of the equipment is determined in the first stage.

[0070] Specifically, for ease of understanding, the solution described in this embodiment is described in detail below with reference to the accompanying drawings.

[0071] like Figure 1 As shown in FIG. 1 , a method for energy scheduling of coal gas to methanol considering model uncertainty specifically includes the following steps:

[0072] S1: Construct the simulation model and mechanism model of the coal gas to methanol energy coupling system.

[0073] Among them, Aspen HYSYS software is used to build a simulation model of the coal gas to methanol energy coupling system, the composition of the coal gas to methanol energy coupling system and the coupling relationship of the energy medium are analyzed, and the mechanism model parameters are set based on the mechanism knowledge such as mass conservation, energy conservation and chemical reaction principles, so that the mechanism model can reflect the state of the actual production system; then, the gray box modeling method is adopted, according to the simulation data of the simulation model, the unknown parameters in the mechanism model are identified through the genetic algorithm, and the mechanism model of the coal gas to methanol energy coupling system is constructed.

[0074] Specifically:

[0075] (1) Analyze the industrial production process of the coal gas to methanol energy coupling system, divide different production sections and energy media, analyze the production processes of different production sections and the coupling relationship of different energy media, use Aspen HYSYS software to build simulation models of different production sections, such as boilers, waste heat power generation steam turbines, air separation steam turbines, two-in-one steam turbines and purification section models, etc. According to the principles of energy conservation, material conservation, chemical reaction principles and other mechanisms and physical laws, analyze the production mechanisms of different production sections, and establish mechanism models of different production sections (such as the mechanism models of boilers, waste heat power generation steam turbines, air separation steam turbines, two-in-one steam turbines and purification section models).

[0076] (2) A large number of simulation experiments are carried out using the simulation model to generate a large amount of simulation data. Based on the simulation data, a genetic algorithm is used to identify the unknown parameters in the mechanism model and obtain the input-output relationship of different production sections.

[0077] (3) The simulation models of different production sections are connected together to form a simulation model of the coal gas to methanol energy coupling system, and the input and output relationships of different production sections are connected together to form a mechanism model of the coal gas to methanol energy coupling system.

[0078] The implementation process of step S1 is described in detail below.

[0079] (1) The waste heat power generation system is an important part of the power-steam-gas coupling system and a key coupling device for steam and power energy. The thermal part of the waste heat power generation system mainly includes: dry quenching furnace, waste heat boiler, and inert gas circulation pipeline.

[0080] (1-1) According to the principle of energy conservation, the relationship between the power generation of the high-pressure cylinder of the steam turbine and the high-pressure steam flow rate entering is:

[0081] W HP =η HP S0(h in1 -h out1 ) = η HP C P1 S0(T in1 -T out1 )(1)

[0082] Where W HP is the power generation of the high pressure cylinder, h in1 is the enthalpy at the high pressure cylinder inlet, h out1 is the enthalpy value at the high pressure cylinder outlet, C p1 is the specific heat capacity of high-pressure steam, η HP is the efficiency of the high-pressure cylinder of the steam turbine, S0 is the inlet high-pressure steam flow rate, T in1 is the inlet temperature of high pressure steam, T out1is the outlet temperature of high pressure steam.

[0083] Assuming that the steam turbine is an adiabatic isentropic process, the relationship between the temperature and pressure of the high-pressure cylinder gas can be obtained from the ideal gas pressure-temperature relationship:

[0084]

[0085] Where k1 is the expansion factor, P out1 is the high pressure steam outlet pressure, P in1 is the high pressure steam inlet pressure.

[0086] Substituting equation (2) into equation (1) yields the relationship between the power generation of the high-pressure cylinder and the inlet temperature and gas pressure of the high-pressure steam:

[0087]

[0088] (1-2) The mechanism of the intermediate pressure cylinder is similar to that of the high pressure cylinder. The relationship between the power generation of the intermediate pressure cylinder and the intermediate pressure steam inlet and the intermediate pressure exhaust volume is:

[0089]

[0090] Where W IP is the power generation power of the medium pressure cylinder, P out2 is the steam outlet pressure of the intermediate pressure cylinder, P in2 is the steam inlet pressure of the intermediate pressure cylinder, η IP is the efficiency of the medium pressure cylinder, S q is the air extraction volume, C P2 is the specific heat capacity of steam in the intermediate pressure cylinder, and k2 is the expansion factor.

[0091] (1-3) Adding equation (1) and equation (4), we finally get the mechanism relationship between the total power generation power of the waste heat power generation system and the high-pressure steam and medium-pressure steam:

[0092]

[0093] Where W s is the total power generation; η in the mechanism model HP , η IP , C p1 , C p2 , k1, k2 are the parameters to be identified.

[0094] (2) The compressor type used in the conversion stage is a reciprocating compressor. The compressor compresses the coke oven gas to equal the amount of methanol gas. The mechanism relationship between the amount of methanol gas obtained and the power consumed by the compressor is shown in formula (6);

[0095]

[0096] Where W c Power consumed by the coke oven gas compressor; m c It is a variable index, determined by the physical properties of the gas; Z c is the compression factor, which is determined by the physical properties of the gas; G jc is the methanol gas flow rate; Rg c is the gas constant, which is determined by the physical properties of the gas; T c is the inlet temperature of the coke oven gas compressor; c is the compression ratio; η c is the gas compressor efficiency; m c , Rg c is the parameter to be identified.

[0097] (3) In the power-steam-gas coupling system, medium-pressure steam is mainly produced by fuel boilers and waste heat power generation turbines. Fuel boilers are coupling equipment that produce medium-pressure steam by burning coal gas. When medium-pressure steam is in short supply, the coal gas input is increased to increase steam production; when there is too much steam, the boiler coal gas input is reduced to reduce steam production and reduce energy waste. Different boilers have different efficiencies, and a formula is usually used to fit the consumption characteristic equation between boiler efficiency and evaporation.

[0098] Assuming that the current gas boiler air flow and water supply are sufficient, the relationship between fuel flow and steam volume is:

[0099] η b =C1(S g ) 2 +C2S g +C3(7)

[0100] G3=S g Δh s / (Bη b )(8)

[0101] Where, G3 is boiler gas; η b is the boiler heat transfer efficiency; S g The boiler produces medium-pressure steam; Δh s is the enthalpy difference between steam and boiler water; B is the calorific value of gas; C1, C2, C3 are parameters to be identified.

[0102] (4) The main equipment in the air separation system involving energy media such as electricity, steam, and gas is the air separation steam turbine. The function of the air separation steam turbine is to consume medium-pressure steam to drive the compressor to rotate, thereby pressurizing and compressing the air. In order to allocate appropriate medium-pressure steam to the air separation steam turbine during the optimal scheduling of the coupled system, it is necessary to establish a mechanism relationship between the amount of methanol gas and the amount of medium-pressure steam consumed by the air separation steam turbine.

[0103] The ratio of oxygen production in the air separation process to the oxygen content in the air is close. About 21% of the air is oxygen, so:

[0104]

[0105] In the formula, F cair is the air flow entering the air compressor, F o It is the amount of oxygen produced in the air separation process.

[0106] The compression process is powered by medium-pressure steam. The first stage is the air compressor, the second stage is the medium-pressure part of the booster, and the third stage is the high-pressure part of the booster.

[0107] The energy consumption of oxygen produced by air compressor is:

[0108]

[0109] Where W air is the power consumption of the air compressor, p kin is the air compressor air inlet pressure, p kout is the outlet pressure of the air compressor, k1 is the compressed gas constant, T a is the air intake temperature of the air compressor, M air is the molar mass of air, η T is the isentropic efficiency of the compressor, η M is the mechanical efficiency of the compressor, ρ k is the air density, F cair is the compressed air flow rate.

[0110] The steam required for the steam turbine is:

[0111]

[0112] In the formula, S kf is the steam flow rate consumed in the air separation section, η k is the efficiency of the steam turbine in the air separation section, C pk is the specific heat capacity of steam, W air is the power consumption of the air compressor, p ink is the input steam pressure, p outk is the output steam pressure, k3 is the turbine adiabatic index, T ink is the turbine inlet temperature; M water is the molar mass of water.

[0113] According to equations (10) and (11), the relationship between oxygen flow rate and steam flow rate is:

[0114]

[0115] (5) The main equipment in the gas system involving energy media such as electricity, steam, and gas is the two-in-one steam turbine. The function of the two-in-one steam turbine is to consume medium-pressure steam to drive the compressor to rotate, thereby pressurizing and compressing the synthesis gas. In order to allocate an appropriate amount of medium-pressure steam to the two-in-one steam turbine during the optimal scheduling of the coupled system, it is necessary to establish a mechanism relationship between the amount of methanol gas and the amount of medium-pressure steam consumed by the two-in-one steam turbine.

[0116] The two-in-one compressor of the synthesis section is the main unit that consumes medium-pressure steam in the methanol plant. The mechanism modeling of the synthesis compression section is carried out below, so that the steam demand of the synthesis section can be calculated according to the current methanol gas flow rate, thereby guiding the optimal scheduling of the energy medium.

[0117] The two-in-one compression section uses a centrifugal compressor and a three-stage compression method. The active power of each section of the compressor is:

[0118]

[0119] Where W i is the compressor power of the i-th section; m i is the polynomial index of the i-th segment; Z i is the compression factor; Rg i is the gas constant; T i is the compressor inlet temperature; i is the compression ratio; G2 is the gas flow rate of the methanol production line; β i is the ratio of the gas compressed by the i-th compressor to the methanol gas. The first and second compressors compress fresh gas from the conversion section, which is 1.7 times the methanol gas. The third compressor compresses fresh gas as well as recycled gas from the synthesis section. The sum of the recycled gas and fresh gas is 10 times the coke oven gas of the methanol production line.

[0120] Total power of compressor W p for:

[0121]

[0122] Where η is the compressor efficiency.

[0123] The turbine output power is:

[0124]

[0125] In the formula, S ey is the steam loss in the synthesis section, η2 is the turbine efficiency, η is the compressor efficiency, C P4 is the specific heat capacity of steam in the synthesis section, P in4 is the input steam pressure, P out4 is the output steam pressure, Tin4 is the turbine inlet temperature, k4 is the turbine adiabatic index, M water is the molar mass of water.

[0126] It is known that the turbine output power is equal to the sum of the total power consumed by the compressor and the power loss:

[0127] W p =W st +W loss (16)

[0128] Among them, W st Total power consumed by the compressor, W loss Power loss value.

[0129] From the above, it can be concluded that the mechanism relationship between the coke oven gas flow rate in the methanol section and the medium-pressure steam consumption in the synthesis section is:

[0130]

[0131] Among them, n1 is a constant term.

[0132] (6) The main function of the coal gas desulfurization system is to remove sulfur from coke oven gas. During the production process, the molten sulfur kettle requires a large amount of heat energy, which is provided by the medium-pressure steam network. In order to allocate an appropriate amount of medium-pressure steam to the desulfurization process during the scheduling process, a model of coke oven gas and the required medium-pressure steam in the desulfurization section is established.

[0133] The equipment that consumes medium-pressure steam in the desulfurization section is mainly the sulfur melting kettle. The mechanism analysis of this equipment is carried out to clarify the relationship between the coke oven gas flow rate and the medium-pressure steam consumed by the desulfurization tower. The sulfur melting kettle is equivalent to a heat exchanger. The medium-pressure steam enters from the bottom and is discharged from the top. The sulfur element enters from the top of the sulfur melting kettle and gradually deposits to the bottom for heating. During the heating process, the sulfur melting kettle is considered to be adiabatic and does not exchange energy with the outside.

[0134] According to the principle of conservation of energy and the principles of thermodynamics:

[0135] Q s =Q z (18)

[0136] Q s =m s C ps (t sout -t sin )(19)

[0137] Q z =S tl C pz (t zout -t zin )(20)

[0138] In the formula, Q s is the heat absorbed by sulfur, Q z is the heat loss of medium pressure steam, t sout ,t sin is the temperature of sulfur at the outlet and inlet of the sulfur melting kettle, S tl is the amount of steam required for desulfurization, C pz , C ps are the constant pressure specific heat capacities of sulfur and medium pressure steam, respectively, t zout ,t zin is the outlet and inlet temperature of medium pressure steam at the sulfur melting kettle, m s is the mass of elemental sulfur.

[0139] Substituting equation (19) and equation (20) into equation (18), we get:

[0140]

[0141] Since all the sulfur elements in sulfur come from raw coal gas, the masses of the two are proportional, so the relationship between the steam required for desulfurization and raw coal gas is:

[0142]

[0143] In the formula, G0 is the amount of raw gas, η is the proportional coefficient. By referring to the process guidance manual, the desulfurization section mechanism model C ps , C pz , n0 and η are the parameters to be identified.

[0144] (7) Genetic algorithm is used to identify the parameters to be identified in the above mechanism models. Genetic algorithm requires five basic steps: encoding, generating initial population, constructing fitness function, evolution and termination judgment, among which evolution includes three operations: selection, crossover and mutation.

[0145] S2: Based on the model group and Bayesian estimation method, the uncertainty of model parameters is analyzed to obtain the uncertainty range of model parameters (such as air separation model, two-in-one steam turbine model, purification section model, etc.) under different reliable thresholds.

[0146] Specifically: Through multiple modeling, multiple groups of proxy models are established, the real model is approximated based on the proxy model, and a model group is formed to reflect the changes and fluctuations of the model parameters; the Bayesian estimation is used to obtain the number of proxy models in the model group when the model parameters are considered to be reliable estimates, and then the generation of proxy models is stopped to obtain the reliable probability distribution and confidence interval of the model parameters, and the uncertainty range of the model parameters under different reliable thresholds is obtained through statistical analysis of the samples.

[0147] Among them, different parameters in the model group are sorted from small to large and divided into multiple intervals. The number of samples falling in each interval is counted, and the frequency of samples falling in each interval is regarded as a random variable. The probability distribution of samples in each interval is obtained by Bayesian estimation, and the reliable probability distribution of model parameters is obtained according to the set reliable threshold.

[0148] The implementation process of step S2 is described in detail below.

[0149] The surrogate model is an approximation of the real model. Establishing a surrogate model can save a lot of experimental waste, time-consuming model simulation, different sampling data, estimation errors of surrogate model coefficients, and random errors of experiments will lead to a certain deviation between the surrogate model and the real model, that is, the uncertainty of the surrogate model. After the simulation model parameters fluctuate, the established model will deviate from the actual model, but the model is an approximation of the real model and is a surrogate model. Approximate the real model by establishing multiple groups of surrogate models. Statistic the parameters of the surrogate model group to obtain the probability distribution of the model parameters. Approximate the real model by establishing a large number of surrogate models to form a model group to reflect the fluctuation of the model parameters. Use Bayesian estimation to obtain the number of surrogate models in the model group when the model parameters are considered to be reliable estimates. Then stop generating surrogate models to obtain the probability distribution of the model parameters.

[0150] In order to obtain the uncertainty range of the final model parameters, the mechanism models of the desulfurization unit, conversion unit, and synthesis unit are analyzed, and multiple parameters in the mechanism model are integrated and simplified. Finally, the model expressions of the synthesis unit, air separation unit, and desulfurization unit are displayed as follows:

[0151] S ey =K a G jc +K b (twenty three)

[0152] S kf =C a G jc +C b (twenty four)

[0153] S tl =L a G jc +L b (25)

[0154] In the formula, S ey is the amount of steam required for the synthesis stage, K a , K b is the parameter represented by the fusion of the synthesis unit parameters, G jc is the gas volume of methanol production line; S kf is the steam quantity required by the air separation unit, Ca , C b is the parameter represented by the fusion of the synthesis unit parameters; S tl is the steam quantity required by the air separation unit, L a , L b It is the parameter represented by the fusion of desulfurization unit parameters.

[0155] Using the simulation data obtained by Aspen, the M group model parameter estimation results were obtained Where n is the number of unknown parameters of the model. n All samples of are equally divided into E intervals from small to large, and E n intervals; there are M in the model parameter set s The samples fall into the sth interval, and the frequency of falling into each interval is As follows:

[0156]

[0157] f s Considered as a continuous random variable, p(f s ) represents its probability, and its prior distribution is taken as uniform distribution:

[0158]

[0159] The number of random variables M s The probability random variable f corresponding to this interval s The relationship between the binomial distribution is as follows:

[0160]

[0161] M s With f s The joint distribution of is:

[0162] p(M s ,f s )=p(M s |f s )·p(f s ) (29)

[0163] f s The posterior distribution of is:

[0164]

[0165] Using square loss as the loss function of Bayesian estimation, f s Bayesian estimation of is the posterior expectation:

[0166]

[0167] At this time, you can get The 1-α confidence interval for :

[0168]

[0169] Among them, α is a small positive number, for example, α = 0.1, and the reliable estimation index is taken as λ s , as shown below:

[0170]

[0171] The Bayesian estimate and 1-α confidence interval The width is compared, when each divided interval is within λ s When the set stability threshold λ0 is exceeded, the default value is 1, and the probability distribution is considered stable; when the reliable estimation index λ of each interval is s If the sum exceeds the set reliable threshold λ1, the parameter probability distribution is considered reliable. If the condition is not met, it means that the probability distribution is unreliable and it is necessary to continue to increase the number of model groups and re-estimate the corresponding parameters. Using Bayesian estimation, the model parameters can be finally obtained The probability density function of is taken, and the 95% confidence interval is taken as the uncertainty range of the model parameters.

[0172] After obtaining the uncertainty range of the model parameters, because the synthesis unit, air separation unit, and desulfurization unit models are linear models after analysis, the proportional term is taken as the mean of the probability distribution of the corresponding model parameters, the constant term is the uncertain parameter, and the parameter uncertainty range is the required probability distribution. This model is used as the subsequent optimization scheduling model and uncertain variable.

[0173] Using the synthetic process model to generate a large amount of data, a proxy model is established with a data length of one hour. The input and output data are as follows: Figure 2 As shown, α is 0.05, and the reliable threshold is set to a smaller value, set to 2.9, dividing the parameter interval into 13 parts. a , K b When all of them are greater than the set threshold, stop adding model groups. At this time, the number of model groups is 150. Fit the frequency distribution of 13 intervals with normal distribution and obtain the parameter K a Follows normal distribution K a ~N(1.84, 0.2), the results are shown in Figure 3(a), which obeys the normal distribution K b ~N(25·14,1.7), the results are shown in Figure 3(b).

[0174] For the empty division section, in the same way, when the reliable threshold is set to a smaller value, it is set to 2.9 based on experience, and the parameter interval is divided into 13 parts. When all parameters are greater than the set threshold, stop adding model groups. At this time, the number of model groups is 144. The frequency distribution of the 13 intervals is fitted with a normal distribution, and the parameters follow the normal distribution C a ~N(1.25, 0.13), the results are shown in Figure 4(a), which obeys the normal distribution C b ~N(23.3, 1.6), the result is shown in Figure 4(b).

[0175] For the purification section, a data length of one hour was selected to establish a group of proxy models. When the reliable threshold was set to a smaller value, 2.9 was set based on experience, and the parameter interval was divided into 13 parts. When all parameters were greater than the set threshold, the model group was stopped from being added. At this time, the number of model groups was 161. The frequency distribution of the 13 intervals was fitted with a normal distribution, and the parameters obeyed the normal distribution T. a ~N(0.31, 0.07), the results are shown in Figure 5(a), which follows the normal distribution T b ~N(4.3.0.73), the results are shown in Figure 5(b).

[0176] S3: Considering the start-up and shutdown costs of waste heat power generation steam turbines and boilers in the gas-to-methanol energy coupling system, under the uncertainty of model parameters, taking the minimum total operating cost as the optimization goal, and taking the mechanism model constraints, energy consumption constraints, and safe production conditions constraints as constraints, a two-stage robust optimization model of the gas-to-methanol energy coupling system with model parameter uncertainty is established. The scheduling plan for gas and steam when the optimization target of the gas-to-methanol energy coupling system is minimized under the worst scenario is obtained. Finally, the scheduling cost is brought into the simulation model for inspection and verification.

[0177] The implementation process of step S3 is described in detail below.

[0178] The model parameters of the synthesis section, air separation section and desulfurization section are uncertain. Considering the uncertainty of the model parameters, the power-steam-gas coupling system is optimized. Taking the minimum total operating cost of the power-steam-gas coupling system as the optimization goal, a two-stage robust optimization method is used to optimize the coupling system. The optimization objective function is shown in formula (34);

[0179]

[0180] In the formula, C GT,GC represents the total start-up and shutdown cost of the coal-fired units and steam turbine units in the coupled system, C total represents the total production cost of the coupled system, u kbrepresents the uncertain parameters of the synthesis stage model, u cb represents the uncertain parameters of the space division model, u tb represents the uncertain parameters of the desulfurization section model, U kb , U cb , U tb They respectively represent the uncertainty ranges of the synthesis section model, air separation section model, and desulfurization section model.

[0181] In the first stage, the total startup and shutdown costs of coal-fired units and steam turbine units are:

[0182]

[0183] in, represents the start-up and shutdown cost of coal-fired units, represents the start-up and shutdown cost of the steam turbine unit, C GT,GC Represents the total start-up and shutdown cost of coal-fired units and steam turbine units in the coupled system.

[0184] The start-up and shutdown costs of coal-fired units and steam turbine units are:

[0185]

[0186] Among them, p GT,i 、p GC,i are the start-up and shutdown cost coefficients of the i-th steam turbine and boiler, are the total cost of starting and stopping the steam turbine, The start and stop state variables of the i-th boiler unit, They represent the start and stop state variables of the i-th steam turbine, are the total cost of starting and stopping the boiler respectively.

[0187] In the second stage, the total production cost is:

[0188]

[0189] In the formula, C st is the steam release cost, C g is the gas release cost, C ele For electricity costs.

[0190] The steam release cost is:

[0191]

[0192] In the formula, S pro.t represents the total amount of medium-pressure steam generated during period t, S de.t represents the total amount of medium-pressure steam consumed during period t, is the steam penalty coefficient, which serves as a constraint on the steam release cost.

[0193] The steam output and consumption constraints are shown in equations (42) and (43):

[0194] S pro.t =S qlj.t +S gl.t (42)

[0195] S de.t =S kf.t +S sy.t +S tl.t +S xb.t (43)

[0196] Among them, S qlj.t , S gl.t They represent the steam production of the waste heat power generation turbine and the fuel boiler in the period t respectively; S kf.t , S sy.t , S tl.t , S xb.t They respectively represent the amount of steam consumed by the air separation unit, synthesis unit, desulfurization unit and benzene washing during time period t.

[0197] The cost of gas venting is:

[0198]

[0199] in, is the gas emission penalty coefficient, G jh.t , G hl.t , G gl.t , G jc.t , G qg.t They are the desulfurized coke oven gas, return furnace gas, boiler gas, methanol gas and gas tank gas in time period t.

[0200] The cost of electricity is:

[0201]

[0202] in, is the unit price of electricity, E ys represents the power consumption of the coke oven gas compressor during the period t, E fh Indicates the power consumption of other loads during period t, E yr It indicates the power supply of the waste heat power generation steam turbine during the period t.

[0203] In this embodiment, the constraints of other devices are:

[0204] (1) According to the law of material conservation, the gas output should not be less than the demand, and the constraint is:

[0205] G jh.t -G hl.t -Ggl.t -G jc.t -G qg.t ≥0(46)

[0206] (2) To ensure safe methanol production, steam production should not be less than consumption, subject to the following constraints:

[0207] (S qlj.t +S gl.t )-(S kf.t +S sy.t +S tl.t +S xb.t )≥0(47)

[0208] (3) The equation constraints for the blowers of the main electrical equipment in the methanol production process are:

[0209] W jc.t =k1G jc.t (48)

[0210] Among them, W jc.t The electricity consumed for methanol production.

[0211] (4) The operating constraints of each equipment in the production system, including the constraints on the distribution of recycled coal gas, are:

[0212] G minjh.t ≤G hl.t ≤G maxjh.t (49)

[0213] (5) Due to the limitation of boiler equipment, the boiler gas distribution is constrained as follows:

[0214]

[0215] (6) Blower power W fj The inequality constraints are:

[0216] σ fjmin ≤W fj ≤σ fjmax (51)

[0217] (7) Energy consumption of two-in-one steam turbine in synthesis section S sy.t The constraints are:

[0218]

[0219] (8) Energy consumption of air separation steam turbine in air separation section S kf.t The constraints are:

[0220]

[0221] In this embodiment, the variables in the first stage are the start variables, stop variables and state variables of the steam turbine and boiler units; the variables in the second stage are the uncertain variables and the power load, gas storage capacity, gas volume allocated to each unit and steam consumption. The first stage determines the start and stop states of the steam turbine and boiler units. In the second stage, the simulation output of a certain set of model parameters has the worst fitting effect with the actual output under the conditions determined in the first stage, and the optimal scheduling results of the model parameters are obtained to minimize the cost of the system under the worst conditions. The optimization results of the second stage are used as the determined quantities of the problems in the first stage, and the results after the iteration of the first stage are obtained.

[0222] In this embodiment, by collecting real-time operating data of the gas-to-methanol energy coupling system and transmitting the operating data to the human-computer interaction unit through OPC communication technology, the human-computer interaction unit combines the real-time operating data of the gas-to-methanol energy coupling system with the two-stage optimization model, so as to facilitate the operator to observe the operating status of the gas-to-methanol energy coupling system.

[0223] Table 1 shows the data of 6 consecutive hours of purified gas and steam production by steam turbine. The scheduling schemes are compared when the uncertainty range of model parameters is small and when the uncertainty range is large.

[0224] Table 1 Input gas volume and high pressure steam volume

[0225]

[0226] Figure 6 The optimal dispatching results of steam are shown when the uncertainty range of the model is large. Figure 7 The optimal dispatching results of steam when the uncertainty range of the model is small are shown. By comparison, it can be found that when the uncertainty range of the model parameters increases, the steam consumption of the synthesis unit, air separation unit and desulfurization unit increases at the same time, among which the synthesis unit, i.e. the two-in-one steam turbine, increases the most, the air separation unit, i.e. the air separation steam turbine, consumes a large amount of steam, and the desulfurization section increases the least. The reason for the analysis is: because the uncertainty range of the two-in-one steam turbine model parameters increases the most, so in the worst case, the steam consumption increases the most, followed by the air separation unit, and the desulfurization unit model parameter uncertainty range is the smallest, and the steam consumption increases the least.

[0227] Figure 8 The results of optimal gas dispatching when the uncertainty range of the model is large are shown. Fig. 9The results of the optimal scheduling of coal gas when the uncertainty range of the model is small are shown. By comparison, it can be found that when the uncertainty range of the model parameters increases, the allocation of boiler coal gas increases, the allocation of methanol coal gas decreases, and the amount of recycled coal gas remains basically unchanged. The reason for the analysis is that when the uncertainty range of the parameters increases, the amount of steam consumed by the steam load model of the synthesis unit, air separation unit and desulfurization unit will increase under the worst case scenario. Therefore, it is necessary to increase the coal gas allocated to the boiler in order to generate more steam for use in the worst case scenario. At the same time, some methanol coal gas is reduced to reduce the workload of subsequent sections and reduce steam consumption.

[0228] Figure 10-11 Schematic diagram of the human-computer interaction interface for optimizing the scheduling of the coal gas to methanol energy system; Fig.10 In the figure, the six figures on the left are from left to right and from top to bottom are Figure 3(a), Figure 3(b), Figure 4(a), Figure 4(b), Figure 5(a), and Figure 5(b). The two figures on the left are from top to bottom. Figure 6 and Figure 8 Figure shown. Fig.11 The two pictures above are from left to right: Figure 6 and Figure 8 The following six figures are shown in the figures from left to right and from top to bottom: Figure 3(a), Figure 3(b), Figure 4(a), Figure 4(b), Figure 5(a), and Figure 5(b).

[0229] Example 2

[0230] This embodiment provides a gas-to-methanol energy scheduling system considering model uncertainty, including:

[0231] A model building module is configured to obtain the operation data of the coal gas to methanol energy coupling system and build a mechanism model of different production sections;

[0232] The uncertainty range determination module is configured to form a model group with multiple groups of proxy models for approximating the real mechanism model, sort the model parameters in the model group and divide them into intervals, and obtain the probability distribution of the model parameters in each interval through Bayesian estimation, so as to obtain the uncertainty range of the model parameters under the set reliable threshold;

[0233] The optimization module is configured to establish a two-stage optimization model with the lowest total operating cost of the coal gas-to-methanol energy coupling system as the optimization target under the uncertainty range of the model parameters;

[0234] Among them, the first stage takes the lowest total start-up and shutdown cost of the equipment as the optimization goal, and the equipment start-up variables, stop variables and state variables as the optimization variables. The second stage takes the lowest total production cost as the optimization goal, and takes model parameters, power consumption, steam production, steam consumption and gas release as the optimization variables. The second stage obtains the energy scheduling plan when the start-up and shutdown status of the equipment is determined in the first stage.

[0235] It should be noted that the above modules correspond to the steps described in Example 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.

[0236] In further embodiments, there is also provided:

[0237] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in Embodiment 1 is performed. For the sake of brevity, it will not be described in detail here.

[0238] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0239] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0240] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in Example 1 is completed.

[0241] The method in Example 1 can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.

[0242] A computer program product includes a computer program, and when the computer program is executed by a processor, the method described in embodiment 1 is implemented.

[0243] The present invention also provides at least one computer program product tangibly stored on a non-transitory computer-readable storage medium. The computer program product includes computer executable instructions, such as instructions included in a program module, which are executed in a device on a real or virtual processor of the target to perform the process / method as described above. Typically, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or implement specific abstract data types. In various embodiments, the functions of program modules can be combined or divided between program modules as needed. Machine executable instructions for program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.

[0244] The computer program code for implementing the method of the present invention can be written in one or more programming languages. These computer program codes can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the computer or other programmable data processing device, causes the function / operation specified in the flow chart and / or block diagram to be implemented. The program code can be executed completely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer or completely on a remote computer or server.

[0245] In the context of the present invention, computer program codes or related data may be carried by any appropriate carrier to enable a device, apparatus or processor to perform the various processes and operations described above. Examples of carriers include signals, computer readable media, etc. Examples of signals may include electrical, optical, radio, acoustic or other forms of propagation signals, such as carrier waves, infrared signals, etc.

[0246] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0247] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for energy scheduling of coal gas to methanol considering model uncertainty, characterized in that: include: Obtain the operating data of the coal gas to methanol energy coupling system and build the mechanism model of different production sections; A model group is formed by using multiple groups of proxy models that are used to approximate the real mechanism model. The model parameters in the model group are sorted and then divided into intervals. The probability distribution of the model parameters in each interval is obtained by Bayesian estimation, so as to obtain the uncertainty range of the model parameters under the set reliable threshold. Under the uncertainty range of model parameters, a two-stage optimization model is established with the lowest total operating cost of the coal gas-to-methanol energy coupling system as the optimization goal. Among them, the first stage takes the lowest total start-up and shutdown cost of the equipment as the optimization goal, and the equipment start-up variables, stop variables and state variables as the optimization variables. The second stage takes the lowest total production cost as the optimization goal, and takes model parameters, power consumption, steam production, steam consumption and gas release as the optimization variables. The second stage obtains the energy scheduling plan when the start-up and shutdown status of the equipment is determined in the first stage.

2. A method for scheduling coal gas-to-methanol energy considering model uncertainty as claimed in claim 1, characterized in that: The process of constructing mechanism models for different production sections includes: constructing simulation models for different production sections, setting parameters of the mechanism model according to the mechanism knowledge of the energy conservation principle, mass conservation principle and chemical reaction principle, identifying unknown parameters in the mechanism model through genetic algorithm according to the simulation data of the simulation model, establishing input-output relationships of different production sections, connecting the simulation models of different production sections to form a simulation model of a coal gas-to-methanol energy coupling system, and connecting the input-output relationships of different production sections to form a mechanism model of a coal gas-to-methanol energy coupling system.

3. A method for scheduling coal gas-to-methanol energy considering model uncertainty as claimed in claim 1, characterized in that: The process of obtaining uncertainty ranges for model parameters includes: Using the simulation data, we obtain the estimation results of M groups of model parameters. We divide all samples of each model parameter in the model parameter set into E intervals from small to large, and obtain E n intervals, count the number of samples falling in each interval, regard the frequency of samples falling in each interval as a random variable, and use Bayesian estimation to obtain the probability distribution of samples in each interval; The Bayesian estimate Compared with the width of the 1-α confidence interval, when the reliable estimation index λ in each interval s When the set stability threshold λ0 is exceeded, the probability distribution is considered stable; when the reliable estimation index λ of each interval is s If the sum exceeds the set reliable threshold λ1, the probability distribution is considered reliable, otherwise the probability distribution is unreliable. The number of model groups continues to increase until the probability distribution is reliable. Then, the generation of proxy models is stopped to obtain the reliable probability distribution and confidence interval of the model parameters. The confidence interval of the set threshold is taken as the uncertainty range of the model parameters.

4. A method for scheduling coal gas-to-methanol energy considering model uncertainty as claimed in claim 1, characterized in that: The optimization objective of the two-stage optimization model is: In the formula, C GT,GC is the total start-up and shutdown cost of coal-fired units and steam turbine units, C total is the total production cost, u kb is the uncertain parameter of the synthesis stage model, u cb is the uncertain parameter of the empty division model, u tb is the uncertain parameter of the desulfurization section model, U kb , U cb , U tb They represent the uncertainty ranges of model parameters of the synthesis section model, the air separation section model, and the desulfurization section model respectively; The constraints include: the gas output must not be less than the demand, the steam output must not be less than the consumption, the blower power equality constraint, the blower power inequality constraint, the recycled gas distribution constraint, the gas distribution constraint, the synthesis section two-in-one steam turbine energy consumption constraint, and the air separation section air separation steam turbine energy consumption constraint.

5. A method for scheduling coal gas-to-methanol energy considering model uncertainty as claimed in claim 4, characterized in that: In the first stage, the startup and shutdown costs of coal-fired units and steam turbine units include: Among them, p GT,i 、p GC,i are the start-up and shutdown cost coefficients of the i-th steam turbine and boiler unit, are the total cost of starting and stopping the steam turbine, The start and stop state variables of the i-th boiler unit, They represent the start and stop state variables of the i-th steam turbine, are the total cost of starting and stopping the boiler unit respectively.

6. A method for scheduling coal gas-to-methanol energy considering model uncertainty as claimed in claim 4, characterized in that: In the second stage, the total production cost is: In the formula, C st is the steam release cost, C g is the gas release cost, C ele For electricity costs; The steam release cost is: S pro.t =S qlj.t +S gl.t ; S de.t =S kf.t +S sy.t +S tl.t +S xb.t ; Among them, S pro.t is the total amount of medium-pressure steam generated during period t, S de.t is the total amount of medium-pressure steam consumed in period t; S qlj.t , S gl.t are the steam production of the waste heat power generation turbine and boiler in period t; S kf.t , S sy.t , S tl.t , S xb.t are the steam consumption of the air separation section, synthesis section, desulfurization section, and benzene washing section during the period t; is the steam penalty coefficient; The cost of gas venting is: in, is the gas emission penalty coefficient, G jh.t , G hl.t , G gl.t , G jc.t , G qg.t They are the desulfurized coke oven gas, return furnace gas, boiler gas, methanol gas and gas tank gas in time period t. The cost of electricity is: in, is the unit price of electricity, E ys is the power consumption of the coke oven gas compressor during period t, E fh is the power consumption of other loads in period t, E yr It is the power supply of the waste heat power generation steam turbine during the period t.

7. A gas-to-methanol energy scheduling system considering model uncertainty, characterized in that: include: A model building module is configured to obtain the operation data of the coal gas to methanol energy coupling system and build a mechanism model of different production sections; The uncertainty range determination module is configured to form a model group with multiple groups of proxy models for approximating the real mechanism model, sort the model parameters in the model group and divide them into intervals, and obtain the probability distribution of the model parameters in each interval through Bayesian estimation, so as to obtain the uncertainty range of the model parameters under the set reliable threshold; The optimization module is configured to establish a two-stage optimization model with the lowest total operating cost of the coal gas-to-methanol energy coupling system as the optimization target under the uncertainty range of the model parameters; Among them, the first stage takes the lowest total start-up and shutdown cost of the equipment as the optimization goal, and the equipment start-up variables, stop variables and state variables as the optimization variables. The second stage takes the lowest total production cost as the optimization goal, and takes model parameters, power consumption, steam production, steam consumption and gas release as the optimization variables. The second stage obtains the energy scheduling plan when the start-up and shutdown status of the equipment is determined in the first stage.

8. An electronic device, characterized in that: The method comprises a memory and a processor and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method according to any one of claims 1 to 6 is completed.

9. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the method described in any one of claims 1 to 6.

10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.