Fuel gas component optimization method and device in fuel gas system and electronic equipment
By constructing the target benefit function and calorific value balance constraints, the fuel gas components in the fuel gas system of the refining and chemical enterprise are optimized, and the problem of inefficiency in the fuel gas system of the refining and chemical enterprise is solved, and the smooth operation and economic operation of the refining and chemical device are achieved. Maximize benefits.
Patent Information
- Application Number
- CN202310723569.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2024-12-17
AI Technical Summary
The current fuel gas system of refining and chemical companies fails to effectively consider the impact of changes in the device raw materials and working conditions on the fuel gas components, resulting in inefficient efficiency in the refining process.
By constructing the target benefit function and calorific value balance constraints, the component types and component content of fuel gas are optimized to ensure that the benefits and fuel gas balance of the refining device are maximized under preset operating conditions.
The fuel gas balance demand and refining benefits of the refining device during the smooth operation of the refining device are achieved, and the fuel gas balance accuracy and overall economic benefits are improved.
Smart Images

Figure CN119151172A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of refining technology, and in particular to a method, device and electronic equipment for optimizing fuel gas components in a fuel gas system. Background Art
[0002] The fuel gas system is one of the largest and most complex public engineering systems in a refining and chemical enterprise, involving almost all production units and public engineering power units. The balance of fuel gas also directly affects the production operation, safety, environmental protection and economic benefits of the enterprise.
[0003] However, the fuel gas balance in the fuel gas system of current refineries fails to take into account the impact of changes in plant raw materials and operating conditions on the composition and quantity of fuel gas components, which will lead to low efficiency of refineries in the refining process.
[0004] Therefore, finding a fuel gas composition optimization method that can both meet the fuel gas balance requirements of the refining unit during stable operation and maximize the refining efficiency of the refining unit has become a current research hotspot. Summary of the invention
[0005] The present invention provides a method, device and electronic equipment for optimizing fuel gas components in a fuel gas system, which can achieve both meeting the fuel gas balance demand of a refining device during stable operation and maximizing the refining efficiency of the refining device.
[0006] The present invention provides a method for optimizing fuel gas components in a fuel gas system, wherein the fuel gas system is used to provide fuel gas for a refinery, and the method comprises: obtaining, under preset working conditions, the number of device products generated by the refinery when the fuel gas system provides power for the refinery based on the fuel gas, wherein the number of products corresponds to the component type and component content of the fuel gas; obtaining device variable costs generated by the refinery in the process of generating the device products, and the raw material cost of generating the device products; constructing a target benefit function based on the number of products, the device variable costs and the raw material cost; constructing a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating the device products, and the component type and component content of the fuel gas; and determining the target component type and target component content of the fuel gas under the preset working conditions based on the target benefit function and the calorific value balance constraint condition, so as to maximize the value of the target benefit function.
[0007] According to a method for optimizing fuel gas components in a fuel gas system provided by the present invention, the number of products is determined in the following manner: first historical operating data of the refining device is obtained, and based on the first historical operating data, a first relationship formula is constructed between the volume of the fuel gas, the type of component of the fuel gas, the component content of the fuel gas, and the raw material component of the raw material of the device product, wherein the first historical operating data includes the volume of the fuel gas consumed by the refining device under different operating conditions during the historical operation, the type of component of the consumed fuel gas, the component content of the consumed fuel gas, and the raw material component of the raw material of the corresponding device product generated; second historical operating data of the refining device is obtained, and based on the second historical operating data, a second relationship formula is constructed between the raw material component of the raw material of the device product and the number of products of the device product, wherein the second historical operating data includes the raw material component of the raw material of the device product generated by the refining device under different operating conditions during the historical operation and the number of products of the device product; based on the first relationship formula and the second relationship formula, the number of products under the preset operating conditions is determined.
[0008] According to a method for optimizing fuel gas components in a fuel gas system provided by the present invention, the variable cost of the device is determined in the following manner: determining a variable consumption price, and a variable consumption quantity, wherein the variable consumption quantity at least includes the volume of the fuel gas, wherein the volume of the fuel gas is determined using the first relationship formula; determining the variable cost of the device based on the variable consumption price and the variable consumption quantity.
[0009] According to a method for optimizing fuel gas components in a fuel gas system provided by the present invention, a target benefit function is constructed based on the product quantity, the device variable cost and the raw material cost, which specifically includes: obtaining the product price of the device product, and determining the product revenue of the device product based on the product price and the product quantity; determining the total cost based on the sum of the device variable cost and the raw material cost; and constructing the target benefit function based on the difference between the product revenue and the total cost.
[0010] According to a method for optimizing fuel gas components in a fuel gas system provided by the present invention, the calorific value balance constraint condition of the target benefit function is constructed based on the target calorific value required by the refining device in the process of generating the device product, as well as the component type and component content of the fuel gas. Specifically, the method includes: based on the first relationship formula, respectively determining the volume, component type, and component content of the fuel gas under the preset operating conditions; obtaining the component calorific value of each component type; constructing the calorific value function of the fuel gas system based on the component calorific value, the component content, and the volume; and constructing the calorific value balance constraint condition of the target benefit function based on the balance relationship between the calorific value function of the fuel gas system and the target calorific value.
[0011] According to a method for optimizing fuel gas components in a fuel gas system provided by the present invention, when the data volume of the first historical operating data is less than a data volume threshold, the first historical operating data of a target data volume is obtained based on the first historical operating data and a kinetic model simulation, and the first historical operating data of the target data volume is used as the final first historical operating data, wherein the target data volume is greater than or equal to the data volume threshold.
[0012] According to a method for optimizing fuel gas components in a fuel gas system provided by the present invention, when the data volume of the second historical operating data is less than a data volume threshold, the second historical operating data of a target data volume is obtained based on the second historical operating data and a kinetic model simulation, and the second historical operating data of the target data volume is used as the final second historical operating data, wherein the target data volume is greater than or equal to the data volume threshold.
[0013] The present invention also provides a fuel gas component optimization device in a fuel gas system, wherein the fuel gas system is used to provide fuel gas for a refinery, and the device comprises: a product quantity acquisition module, which is used to acquire, under a preset working condition, the product quantity of the device product generated by the refinery when the fuel gas system provides power to the refinery based on the fuel gas, wherein the product quantity corresponds to the component type and component content of the fuel gas; an expense cost acquisition module, which is used to acquire the device variable cost generated by the refinery in the process of generating the device product, and the raw material cost of generating the device product; a benefit function construction module, which is used to construct a target benefit function based on the product quantity, the device variable cost and the raw material cost; a constraint condition construction module, which is used to construct a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating the device product, and the component type and component content of the fuel gas; a processing module, which is used to determine the target component type and target component content of the fuel gas under the preset working condition based on the target benefit function and the calorific value balance constraint condition, so as to maximize the value of the target benefit function.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for optimizing fuel gas components in a fuel gas system as described in any one of the above is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for optimizing fuel gas components in a fuel gas system as described in any one of the above is implemented.
[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for optimizing fuel gas components in a fuel gas system as described in any one of the above is implemented.
[0017] The present invention provides a method, device and electronic equipment for optimizing fuel gas components in a fuel gas system, wherein the fuel gas system is used to provide fuel gas for a refinery, and the method includes: obtaining the number of device products generated by the refinery under preset working conditions, the device variable costs formed by the refinery in the process of generating device products, and the raw material costs of generating device products, and then constructing a target benefit function based on the number of products, the device variable costs and the raw material costs, and constructing a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating device products, and the component types and component contents of the fuel gas; and then determining the target component types and target component contents of the fuel gas under the preset working conditions based on the target benefit function and the calorific value balance constraint condition, so as to maximize the value of the target benefit function. Providing power to the refinery based on the obtained target component types and target component contents of the fuel gas not only meets the fuel gas balance requirements of the refinery during stable operation, but also meets the maximization of the refining benefits of the refinery. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are 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.
[0019] Figure 1 It is a schematic flow chart of a method for optimizing fuel gas components in a fuel gas system provided by the present invention;
[0020] Figure 2 It is a schematic diagram of a process for determining the quantity of products provided by the present invention;
[0021] Figure 3 It is a flow chart of constructing the calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refining device in the process of generating the device product, and the component types and component contents of the fuel gas provided by the present invention;
[0022] Figure 4 It is a structural schematic diagram of a fuel gas component optimization device in a fuel gas system provided by the present invention;
[0023] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] The method for optimizing fuel gas components in a fuel gas system provided by the present invention solves the dynamic balance of fuel gas calorific value by effectively predicting the volume (output or consumption) and component types of fuel gas under different raw materials and operating conditions in the refining device, as well as the fuel gas demand and calorific value of the heating furnace. By coupling and optimizing the fuel cost and the raw material products of the device, it not only meets the fuel balance requirements for the stable operation of the refining device, but also achieves the goals of optimizing the raw materials of the device and maximizing the benefits of the entire plant.
[0026] Figure 1 It is a schematic flow chart of the method for optimizing fuel gas components in the fuel gas system provided by the present invention.
[0027] The following will be combined Figure 1 The process of the fuel gas composition optimization method in the fuel gas system is explained.
[0028] In an exemplary embodiment of the present invention, Figure 1 It can be seen that the method for optimizing the fuel gas composition in the fuel gas system may include steps 110 to 150, and each step will be introduced below.
[0029] In step 110, under a preset working condition, the product quantity of the plant product generated by the refinery when the fuel gas system provides power to the refinery based on the fuel gas is obtained.
[0030] Among them, there is a corresponding relationship between the quantity of products and the component types and component contents of the fuel gas.
[0031] In one example, the preset operating conditions can be determined according to user needs. During the application process, the user can determine the target component type and target component content of the fuel gas under the preset operating conditions to maximize the value of the target benefit function, thereby satisfying both the fuel gas balance requirements of the refinery during stable operation and the fuel gas that maximizes the refining efficiency of the refinery.
[0032] In another embodiment, the product quantity of the device product generated by the refining device under the preset working conditions can be obtained. In the application process, the type of device product may include one or more types. When the type of device product is one, the product quantity corresponding to the device product can be obtained. When the type of device product is multiple, the product quantity of various device products can be obtained. This lays the foundation for accurately determining the product revenue.
[0033] In step 120, the equipment variable costs generated by the refining equipment in the process of generating equipment products and the raw material costs for generating equipment products are obtained.
[0034] In step 130, a target benefit function is constructed based on product quantity, equipment variable cost and raw material cost.
[0035] In one embodiment, the device variable costs generated by the refining device in the process of generating the device product and the raw material costs of the device product can also be obtained. Among them, the raw material cost can be understood as the cost of the raw materials for generating the device product. Further, the product revenue of the device product is determined based on the product quantity and product price, and the target benefit function is constructed based on the product revenue, the device variable costs and the raw material cost. Among them, the target benefit function is about the benefits formed in the process of producing the device product. In the actual application process, the pursuit of maximizing benefits is the user's goal. The present invention can also meet the maximization of the refining benefits of the refining device on the premise of meeting the fuel gas balance requirements of the refining device during the stable operation.
[0036] In step 140, based on the target calorific value required by the refinery in the process of generating the product of the refinery, and the component types and component contents of the fuel gas, the calorific value balance constraint condition of the target benefit function is constructed.
[0037] In step 150, based on the target benefit function and the calorific value balance constraint, the target component type and target component content of the fuel gas under the preset operating conditions are determined to maximize the value of the target benefit function.
[0038] In one embodiment, the target calorific value required by the refining device in the process of generating the device product can also be determined, for example, it can be expressed as HV. Furthermore, the calorific value balance constraint of the target benefit function can also be constructed in combination with the component types and component contents of the fuel gas. Among them, the calorific value balance constraint of the target benefit function refers to the calorific value of the fuel gas required for the stable production of the fuel gas consumption device, and the calorific value balance condition that meets the calorific value demand of the device (corresponding to the target calorific value) through the fuel gas component blending. In one example, the calorific value balance constraint can be expressed as formula (1):
[0039]
[0040] Where HV represents the target calorific value, also known as the calorific value required by the refining unit; m(c j ) represents the number of components (corresponding to the content of components) of the i-th fuel gas component; hv(c j ) represents the calorific value of the component type of the i-th fuel gas.
[0041] In another embodiment, the constraints of the objective benefit function may also include device material balance constraints, device physical property balance constraints, device load constraints and device defense constraints. Among them, the device material balance constraint means that the total amount of device feed is equal to the total amount of device products; the device physical property balance constraint means that the total content of device feed physical properties is equal to the total content of device products physical properties; the device load constraint means that the device load must be between the upper and lower limits of the design load; the device defense constraint means that the device feed index must meet the design feed index requirements.
[0042] In another embodiment, the target component type and target component content of the fuel gas under the preset working conditions can be determined based on the target benefit function and the calorific value balance constraint condition to maximize the value of the target benefit function. In this embodiment, the target component type and target component content of the fuel gas obtained are used to provide power for the refinery, which not only meets the fuel gas balance demand of the refinery during stable operation, but also meets the maximization of the refining efficiency of the refinery.
[0043] The present invention provides a method for optimizing fuel gas components in a fuel gas system, wherein the fuel gas system is used to provide fuel gas for a refinery, and the method comprises: obtaining the number of device products generated by the refinery under preset working conditions, the device variable costs formed by the refinery in the process of generating device products, and the raw material costs of generating device products, and then constructing a target benefit function based on the number of products, the device variable costs, and the raw material costs, and constructing a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating device products, and the component types and component contents of the fuel gas; and then determining the target component types and target component contents of the fuel gas under the preset working conditions based on the target benefit function and the calorific value balance constraint condition, so as to maximize the value of the target benefit function. Providing power to the refinery based on the obtained target component types and target component contents of the fuel gas not only meets the fuel gas balance requirements of the refinery during stable operation, but also meets the maximization of the refining benefits of the refinery.
[0044] Figure 2 It is a schematic diagram of a process for determining the quantity of products provided by the present invention.
[0045] The following will be combined Figure 2 Describe the process of determining product quantity.
[0046] In an exemplary embodiment of the present invention, Figure 2 It can be seen that determining the product quantity may include steps 210 to 230, and each step will be introduced below.
[0047] In step 210, first historical operation data of the refinery is obtained, and a first relationship formula between the volume of fuel gas, the type of fuel gas components, the component content of the fuel gas and the raw material components of the raw materials of the device products is constructed based on the first historical operation data.
[0048] Among them, the first historical operation data includes the volume of fuel gas consumed by the refining unit under different operating conditions during the historical operation process, the component types of the consumed fuel gas, the component content of the consumed fuel gas, and the raw material components of the raw materials of the corresponding device products generated.
[0049] In one embodiment, the volume of fuel gas consumed by the refinery under different operating conditions during the historical operation, the types of components of the consumed fuel gas, the content of the components of the consumed fuel gas, and the raw material components of the raw materials of the corresponding device products generated can be obtained. The corresponding device products can be understood as the device products generated under the operating conditions based on the aforementioned volume of fuel gas consumed, the types of components of the consumed fuel gas, the content of the components of the consumed fuel gas, and the raw material components of the raw materials.
[0050] Furthermore, a first relationship formula between the volume of fuel gas, the type of fuel gas components, the component content of fuel gas and the raw material components of the raw materials of the device product can be constructed based on the first historical operation data. The first relationship formula can be linear, nonlinear or piecewise linear.
[0051] In another exemplary embodiment of the present invention, when the data volume of the first historical operation data is less than a data volume threshold, the first historical operation data of a target data volume is obtained based on the first historical operation data and a dynamic model simulation, and the first historical operation data of the target data volume is used as the final first historical operation data, wherein the target data volume is greater than or equal to the data volume threshold.
[0052] It should be noted that if the production and operation historical data of the fuel gas production device or the production and operation historical data of the fuel gas consumption device cannot meet the requirements of the fitting relationship formula, a device dynamics model is established based on the first historical operation data with a smaller data volume, and the data is supplemented through dynamics model simulation calculation to obtain the first historical operation data of the target data volume.
[0053] In step 220, second historical operation data of the refinery is obtained, and a second relationship formula between the raw material components of the raw materials of the device products and the product quantity of the device products is constructed based on the second historical operation data.
[0054] The second historical operation data includes the raw material components of the raw materials of the device products generated by the refining device under different operating conditions during the historical operation process and the product quantity of the device products.
[0055] In one embodiment, the raw material components of the raw materials of the device products generated by the refinery under different working conditions during the historical operation and the product quantity of the device products can be obtained. Then, based on the obtained raw material components of the raw materials of the device products generated by the refinery under different working conditions during the historical operation and the product quantity of the device products, a second relationship formula between the raw material components of the raw materials of the device products and the product quantity of the device products is constructed. The second relationship formula can be linear, nonlinear or piecewise linear.
[0056] In another exemplary embodiment of the present invention, when the data volume of the second historical operation data is less than a data volume threshold, the second historical operation data of the target data volume is obtained based on the second historical operation data and the dynamic model simulation, and the second historical operation data of the target data volume is used as the final second historical operation data, wherein the target data volume is greater than or equal to the data volume threshold.
[0057] It should be noted that if the production and operation historical data of the fuel gas production device or the production and operation historical data of the fuel gas consumption device cannot meet the requirements of the fitting relationship formula, a device dynamics model is established based on the second historical operation data with less data volume, and the data is supplemented by kinetic model simulation calculation to obtain the second historical operation data of the target data volume.
[0058] In step 230, based on the first relationship formula and the second relationship formula, the quantity of products under the preset working conditions is determined.
[0059] In one embodiment, the first relational working condition and the second relational formula can be combined to determine the product quantity under the preset working condition. The product quantity can be represented by the component type and component content of the fuel gas. The product quantity can be represented by the component type and component content of the fuel gas, which lays a foundation for determining the target component type and target component content of the fuel gas under the preset working condition to maximize the value of the target benefit function.
[0060] It should be noted that, based on the first relationship formula and the second relationship formula, the component types and component contents of the fuel gas can be associated with the parameters in the target benefit function (such as product quantity, equipment variable costs, etc.), and then the target benefit can be maximized based on the reasonable adjustment of the component types and component contents of the fuel gas (corresponding to the target component types and target component contents).
[0061] In yet another exemplary embodiment of the present invention, the equipment change cost may be determined in the following manner:
[0062] Determining a variable consumption price and a variable consumption quantity, wherein the variable consumption quantity at least includes a volume of fuel gas, wherein the volume of fuel gas is determined using a first relationship formula;
[0063] Based on the variable consumption price and the variable consumption quantity, the equipment variable cost is determined.
[0064] It should be noted that since the volume of fuel gas is determined by the first relationship formula, that is, the volume of fuel gas can also be expressed by the component types and component contents of the fuel gas, thereby laying a foundation for determining the target component types and target component contents of the fuel gas under preset operating conditions to maximize the value of the target benefit function.
[0065] In one embodiment, the equipment change cost can be expressed as U cost Indicates that, among them, the equipment variable cost U cost It can be determined using formula (2):
[0066]
[0067] Among them, U cost Indicates the cost of device change; cost(u i ) represents the i-th variable consumption price; m(u i ) represents the consumption quantity of the i-th change.
[0068] In another exemplary embodiment of the present invention, the raw material cost can also be calculated based on the raw material quantity and the raw material price of the device, wherein the raw material cost can be expressed as C cost , raw material cost C cost It can be expressed by formula (3):
[0069]
[0070] Among them, C cost Indicates the cost of raw materials; cost(c i ) represents the price of the i-th raw material; m(c i ) represents the quantity of the i-th raw material.
[0071] In another exemplary embodiment of the present invention, based on the product quantity, equipment variable cost and raw material cost, constructing the target benefit function can be achieved in the following manner:
[0072] Obtaining a product price of the device product, and determining a product revenue of the device product based on the product price and the product quantity;
[0073] Determine the total cost based on the sum of equipment variable costs and raw material costs;
[0074] Construct the target benefit function based on the difference between product revenue and total cost.
[0075] In one embodiment, the product revenue of the device product can be calculated based on the product quantity and product price of the device product, and is expressed by formula (4):
[0076]
[0077] Among them, P revenue Indicates the product revenue of the device product; price(p i ) represents the product price of the i-th device product; m(p i ) represents the product quantity of the i-th device product.
[0078] In one embodiment, the objective benefit function MAX is as follows: profit It can be expressed by formula (5):
[0079] MAX profit =P revenue -C cost -U cost (5)
[0080] In this embodiment, the target component type and target component content of the fuel gas under the preset working conditions are determined to maximize the value of the target benefit function (Formula (5)). By providing power to the refinery based on the obtained target component type and target component content of the fuel gas, the fuel gas balance demand of the refinery during stable operation is met, and the refining benefit of the refinery is maximized.
[0081] Figure 3 The present invention provides a flow chart for constructing the calorific value balance constraint conditions of the target benefit function based on the target calorific value required by the refining device in the process of generating the device product, as well as the component types and component contents of the fuel gas.
[0082] In another exemplary embodiment of the present invention, Figure 3 It can be seen that based on the target calorific value required by the refining device in the process of generating the device product, as well as the component types and component contents of the fuel gas, the calorific value balance constraint conditions for constructing the target benefit function can include steps 310 to 340, and each step will be introduced below.
[0083] In step 310, based on the first relationship formula, the volume, component type, and component content of the fuel gas under the preset working condition are determined respectively;
[0084] In step 320, the component calorific value of each component type is obtained;
[0085] In step 330, a calorific value function of the fuel gas system is constructed based on the calorific value of the component, the content of the component and the volume;
[0086] In step 340, based on the balance relationship between the calorific value function of the fuel gas system and the target calorific value, a calorific value balance constraint condition of the target benefit function is constructed.
[0087] In one embodiment, the volume, component type, and component content of the fuel gas under a preset operating condition can be determined by a first relationship formula, wherein the volume, component type, and component content of the fuel gas can be represented by an expression.
[0088] Furthermore, the component calorific value of each component type of the fuel gas is obtained. Since the volume and component content of the fuel gas have been obtained, the sub-volume of different component types of the fuel gas can be obtained. Based on the component calorific value of each component type and the sub-volume of different component types of the fuel gas, the calorific value function of the fuel gas system can be constructed.
[0089] The volume of fuel gas may be the fuel consumption of a fuel gas consuming device, or may be the fuel gas output of external purchases and all fuel gas producing devices. In this embodiment, the specific source of the volume of fuel gas is not limited.
[0090] In another embodiment, the calorific value balance constraint condition of the target benefit function can be constructed based on the balance relationship between the calorific value function of the fuel gas system and the target calorific value. The calorific value balance constraint condition can be expressed by the above formula (1).
[0091] In this embodiment, by limiting the calorific value balance constraint condition for the target benefit function, it can be ensured that the target component type and target component content of the obtained fuel gas are used to provide power for the refinery, thereby satisfying both the fuel gas balance demand of the refinery during stable operation and the maximization of the refining efficiency of the refinery.
[0092] Taking a refinery with a processing capacity of 800,000 tons / month as the optimization object, the fuel gas component optimization method in the fuel gas system provided by the present invention is used to optimize the fuel gas balance distribution. The comparative example adopts the existing fuel gas balance distribution method of the enterprise, and the comparison results are shown in Table 1. It can be seen that the fuel gas component optimization method in the fuel gas system provided by the present invention saves 0.0282 million tons of fuel gas and improves the benefit by 11.54885 million yuan compared with the conventional fuel gas balance distribution method.
[0093] Table 1 Comparison of fuel gas output and consumption between the embodiment and the comparative example
[0094]
[0095]
[0096] According to the above description, the effects of the present invention are as follows:
[0097] (1) Improve the accuracy of fuel gas balance and the stability of the fuel gas pipeline network. The present invention is based on the balance of fuel gas calorific value, fully considers the fuel gas output, component composition and component calorific value under different raw materials and operating conditions of all fuel gas production devices, and establishes the relationship formula between the raw materials of the device and the fuel gas output and the fuel gas component composition under the same operating conditions (corresponding to the first relationship formula and the second relationship formula), and uses this as a basis to accurately calculate the total amount of fuel, component composition and total calorific value of the fuel gas pipeline network when the raw materials and operating conditions of each device change dynamically. Further, according to the calorific value of the fuel required for stable production under different raw materials and operating conditions of all fuel gas consuming devices, under the condition of meeting the calorific value demand of the device (corresponding to the calorific value balance constraint), the dynamic balance of calorific value when the raw materials and operating conditions of the device change is achieved by optimizing the fuel consumption and fuel component composition of each device.
[0098] (2) Improve overall benefits and optimize device operation. The present invention fully considers various factors such as device raw material cost, product value, variable cost and fuel gas calorific value balance (corresponding to the target benefit function), constructs an optimization target function for the purpose of maximizing overall benefits, and solves the target function. On the basis of satisfying the fuel gas calorific value balance of the device, it can optimize the device feed composition, operating conditions and processing load under current market conditions, thereby improving overall economic benefits.
[0099] The present invention provides a method for optimizing fuel gas components in a fuel gas system, wherein the fuel gas system is used to provide fuel gas for a refinery, and the method comprises: obtaining the number of device products generated by the refinery under preset working conditions, the device variable costs formed by the refinery in the process of generating device products, and the raw material costs of generating device products, and then constructing a target benefit function based on the number of products, the device variable costs, and the raw material costs, and constructing a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating device products, and the component types and component contents of the fuel gas; and then determining the target component types and target component contents of the fuel gas under the preset working conditions based on the target benefit function and the calorific value balance constraint condition, so as to maximize the value of the target benefit function. Providing power to the refinery based on the obtained target component types and target component contents of the fuel gas not only meets the fuel gas balance requirements of the refinery during stable operation, but also meets the maximization of the refining benefits of the refinery.
[0100] Based on the same concept, the present invention also provides a fuel gas component optimization device in a fuel gas system.
[0101] The fuel gas component optimization device in the fuel gas system provided by the present invention is described below. The fuel gas component optimization device in the fuel gas system described below and the fuel gas component optimization method in the fuel gas system described above can be referenced to each other.
[0102] Figure 4It is a structural schematic diagram of a fuel gas component optimization device in a fuel gas system provided by the present invention.
[0103] In an exemplary embodiment of the present invention, the fuel gas system can be used to provide fuel gas for a refinery. Figure 4 It can be seen that the fuel gas component optimization device in the fuel gas system can include a product quantity acquisition module 410 to a processing module 450, and each module will be introduced below.
[0104] The product quantity acquisition module 410 may be configured to acquire the product quantity of the device product generated by the refining device when the fuel gas system provides power to the refining device based on the fuel gas under a preset working condition, wherein the product quantity corresponds to the component type and component content of the fuel gas;
[0105] The cost acquisition module 420 may be configured to acquire the device variable costs generated by the refining device in the process of generating the device product, and the raw material costs of generating the device product;
[0106] The benefit function building module 430 may be configured to build a target benefit function based on product quantity, equipment variable cost, and raw material cost;
[0107] The constraint condition building module 440 may be configured to build a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating the device product, and the component type and component content of the fuel gas;
[0108] The processing module 450 may be configured to determine the target component type and target component content of the fuel gas under preset operating conditions based on the target benefit function and the calorific value balance constraint condition, so as to maximize the value of the target benefit function.
[0109] In an exemplary embodiment of the present invention, the product quantity acquisition module 410 may determine the product quantity in the following manner:
[0110] Acquire first historical operation data of the refinery, and construct a first relationship formula between the volume of fuel gas, the type of component of fuel gas, the component content of fuel gas, and the raw material component of the raw material of the device product based on the first historical operation data, wherein the first historical operation data includes the volume of fuel gas consumed by the refinery under different operating conditions during the historical operation process, the type of component of fuel gas consumed, the component content of fuel gas consumed, and the raw material component of the raw material of the corresponding device product generated;
[0111] Acquire second historical operation data of the refinery, and construct a second relationship formula between the raw material components of the raw materials of the device products and the product quantity of the device products based on the second historical operation data, wherein the second historical operation data includes the raw material components of the raw materials of the device products and the product quantity of the device products generated by the refinery under different operating conditions during the historical operation process;
[0112] Based on the first relationship formula and the second relationship formula, the quantity of products under the preset working conditions is determined.
[0113] In an exemplary embodiment of the present invention, the benefit function building module 430 may determine the equipment change cost in the following manner:
[0114] Determining a variable consumption price and a variable consumption quantity, wherein the variable consumption quantity at least includes a volume of fuel gas, wherein the volume of fuel gas is determined using a first relationship formula;
[0115] Based on the variable consumption price and the variable consumption quantity, the equipment variable cost is determined.
[0116] In an exemplary embodiment of the present invention, the benefit function building module 430 can construct a target benefit function based on product quantity, device variable cost and raw material cost in the following manner:
[0117] Obtaining a product price of the device product, and determining a product revenue of the device product based on the product price and the product quantity;
[0118] Determine the total cost based on the sum of equipment variable costs and raw material costs;
[0119] Construct the target benefit function based on the difference between product revenue and total cost.
[0120] In an exemplary embodiment of the present invention, the constraint condition construction module 440 can be implemented in the following manner to construct the calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating the device product, and the component type and component content of the fuel gas:
[0121] Based on the first relationship formula, the volume, component type, and component content of the fuel gas under the preset working conditions are determined respectively;
[0122] Obtain the calorific value of each component type;
[0123] Construct the calorific value function of the fuel gas system based on the calorific value, content and volume of the components;
[0124] Based on the balance relationship between the calorific value function of the fuel gas system and the target calorific value, the calorific value balance constraint condition of the target benefit function is constructed.
[0125] In an exemplary embodiment of the present invention, the module 410 for obtaining product quantity may also be configured to:
[0126] When the data volume of the first historical operation data is less than the data volume threshold, the first historical operation data of the target data volume is obtained based on the first historical operation data and the dynamic model simulation, and the first historical operation data of the target data volume is used as the final first historical operation data, wherein the target data volume is greater than or equal to the data volume threshold.
[0127] In an exemplary embodiment of the present invention, the module 410 for obtaining product quantity may also be configured to:
[0128] When the data volume of the second historical operation data is less than the data volume threshold, the second historical operation data of the target data volume is obtained based on the second historical operation data and the dynamic model simulation, and the second historical operation data of the target data volume is used as the final second historical operation data, wherein the target data volume is greater than or equal to the data volume threshold.
[0129] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call the logic instructions in the memory 530 to execute a fuel gas component optimization method in a fuel gas system, wherein the fuel gas system is used to provide fuel gas for a refinery, and the method includes: under preset operating conditions, obtaining the product quantity of the device product generated by the refinery when the fuel gas system provides power for the refinery based on the fuel gas, wherein the product quantity corresponds to the component type and component content of the fuel gas; obtaining the device variable cost generated by the refinery in the process of generating the device product, and the raw material cost of generating the device product; constructing a target benefit function based on the product quantity, the device variable cost and the raw material cost; constructing a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating the device product, and the component type and component content of the fuel gas; based on the target benefit function and the calorific value balance constraint condition, determining the target component type and target component content of the fuel gas under the preset operating conditions to maximize the value of the target benefit function.
[0130] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0131] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the fuel gas component optimization method in the fuel gas system provided by the above methods, wherein the fuel gas system is used to provide fuel gas for a refinery, and the method includes: under a preset operating condition, obtaining the product quantity of the device product generated by the refinery when the fuel gas system provides power to the refinery based on the fuel gas, wherein the product quantity corresponds to the component type and component content of the fuel gas; obtaining the device variable cost generated by the refinery in the process of generating the device product, and the raw material cost of generating the device product; constructing a target benefit function based on the product quantity, the device variable cost and the raw material cost; constructing a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating the device product, and the component type and component content of the fuel gas; and determining the target component type and target component content of the fuel gas under the preset operating condition based on the target benefit function and the calorific value balance constraint condition to maximize the value of the target benefit function.
[0132] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the method for optimizing fuel gas components in a fuel gas system provided by the above methods, wherein the fuel gas system is used to provide fuel gas for a refinery, and the method comprises: under preset operating conditions, obtaining the number of products of the device products generated by the refinery when the fuel gas system provides power to the refinery based on the fuel gas, wherein the number of products corresponds to the component type and component content of the fuel gas; obtaining the device variable cost generated by the refinery in the process of generating the device product, and the raw material cost of generating the device product; constructing a target benefit function based on the number of products, the device variable cost and the raw material cost; constructing a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refinery in the process of generating the device product, and the component type and component content of the fuel gas; and determining the target component type and target component content of the fuel gas under the preset operating conditions based on the target benefit function and the calorific value balance constraint condition to maximize the value of the target benefit function.
[0133] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0135] It is further understood that, although the operations are described in a specific order in the accompanying drawings in the embodiments of the present invention, it should not be understood as requiring the operations to be performed in the specific order or serial order shown, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for optimizing fuel gas components in a fuel gas system, It is characterized in that The fuel gas system is used to provide fuel gas for a refinery, and the method comprises: Under preset working conditions, obtaining the product quantity of the device product generated by the refining device when the fuel gas system provides power to the refining device based on the fuel gas, wherein the product quantity has a corresponding relationship with the component type and component content of the fuel gas; Obtaining the device variable costs generated by the refining device in the process of generating the device product, and the raw material costs for generating the device product; Constructing a target benefit function based on the product quantity, the device variable cost and the raw material cost; Based on the target calorific value required by the refining device in the process of generating the device product, as well as the component types and component contents of the fuel gas, construct the calorific value balance constraint condition of the target benefit function; Based on the target benefit function and the calorific value balance constraint, the target component type and target component content of the fuel gas under the preset operating conditions are determined to maximize the value of the target benefit function.
2. The method for optimizing fuel gas composition in a fuel gas system according to claim 1, It is characterized in that The quantity of the products mentioned is determined in the following manner: Acquire first historical operation data of the refinery, and construct a first relationship formula between the volume of the fuel gas, the component type of the fuel gas, the component content of the fuel gas, and the raw material component of the raw material of the device product based on the first historical operation data, wherein the first historical operation data includes the volume of the fuel gas consumed by the refinery under different operating conditions during the historical operation, the component type of the consumed fuel gas, the component content of the consumed fuel gas, and the raw material component of the raw material of the corresponding device product generated; Acquire second historical operation data of the refining device, and construct a second relationship formula between the raw material components of the raw materials of the device product and the product quantity of the device product based on the second historical operation data, wherein the second historical operation data includes the raw material components of the raw materials of the device product generated by the refining device under different operating conditions during the historical operation process and the product quantity of the device product; Based on the first relationship formula and the second relationship formula, the quantity of the product under the preset working condition is determined.
3. The method for optimizing fuel gas composition in a fuel gas system according to claim 2, It is characterized in that The equipment change costs are determined in the following manner: Determining a variable consumption price and a variable consumption quantity, wherein the variable consumption quantity at least includes a volume of the fuel gas, wherein the volume of the fuel gas is determined using the first relationship formula; The device variable fee is determined based on the variable consumption price and the variable consumption quantity.
4. The method for optimizing fuel gas composition in a fuel gas system according to claim 1, It is characterized in that The objective benefit function is constructed based on the product quantity, the device variable cost and the raw material cost, specifically including: Acquire a product price of the device product, and determine a product revenue of the device product based on the product price and the product quantity; Determining the total cost based on the sum of the equipment variable cost and the raw material cost; The objective benefit function is constructed based on the difference between the product revenue and the total cost.
5. The method for optimizing fuel gas composition in a fuel gas system according to claim 2, It is characterized in that The heat value balance constraint condition of the target benefit function is constructed based on the target heat value required by the refining device in the process of generating the device product, as well as the component type and component content of the fuel gas, and specifically includes: Based on the first relationship formula, respectively determining the volume, the component type, and the component content of the fuel gas under the preset working condition; Obtaining the component calorific value of each of the component types; constructing a calorific value function of the fuel gas system based on the calorific value of the component, the content of the component and the volume; Based on the balance relationship between the calorific value function of the fuel gas system and the target calorific value, a calorific value balance constraint condition of the target benefit function is constructed.
6. The method for optimizing fuel gas composition in a fuel gas system according to claim 2, It is characterized in that When the data volume of the first historical operation data is less than the data volume threshold, the first historical operation data of the target data volume is obtained based on the first historical operation data and the dynamic model simulation, and the first historical operation data of the target data volume is used as the final first historical operation data, wherein the target data volume is greater than or equal to the data volume threshold.
7. The method for optimizing fuel gas composition in a fuel gas system according to claim 2, It is characterized in that When the data volume of the second historical operation data is less than the data volume threshold, the second historical operation data of the target data volume is obtained based on the second historical operation data and the dynamic model simulation, and the second historical operation data of the target data volume is used as the final second historical operation data, wherein the target data volume is greater than or equal to the data volume threshold.
8. A fuel gas component optimization device in a fuel gas system, It is characterized in that The fuel gas system is used to provide fuel gas for the refining device, and the device includes: A product quantity acquisition module is used to acquire, under preset working conditions, the product quantity of the device product generated by the refining device when the fuel gas system provides power to the refining device based on the fuel gas, wherein the product quantity corresponds to the component type and component content of the fuel gas; An expense cost acquisition module is used to acquire the device variable costs generated by the refining device in the process of generating the device product, and the raw material cost of generating the device product; A benefit function construction module is used to construct a target benefit function based on the product quantity, the device variable cost and the raw material cost; A constraint condition construction module is used to construct a calorific value balance constraint condition of the target benefit function based on the target calorific value required by the refining device in the process of generating the device product, and the component type and component content of the fuel gas; A processing module is used to determine the target component type and target component content of the fuel gas under the preset working condition based on the target benefit function and the calorific value balance constraint condition, so as to maximize the value of the target benefit function.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method for optimizing fuel gas composition in a fuel gas system according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for optimizing fuel gas composition in a fuel gas system according to any one of claims 1 to 7 is implemented.
11. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method for optimizing fuel gas composition in a fuel gas system according to any one of claims 1 to 7 is implemented.
