Refined product production scheme determination method, device, equipment and medium
By constructing a multi-level fully connected network and optimizing the production plan through constraint equations, the problem of transition materials generated during the switching of multiple polyolefin grades was solved, and the efficient operation of the petroleum refining unit and the maximization of overall benefits were achieved.
Patent Information
- Application Number
- CN202410339154.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2025-09-26
AI Technical Summary
Existing technologies are unable to effectively solve the problem of transition materials during the switching of multiple polyolefin grades, resulting in difficulty in maximizing the benefits of the equipment. In particular, under the demand for large-scale grade switching optimization, the model is difficult to converge and the solution efficiency is low.
By constructing a multi-level fully connected network based on the historical data of production equipment and market demand, and utilizing integer variable and continuous variable constraint equations, the production plan is optimized to achieve switching control of various brands of products, including the balance of input-output, utility consumption and transition materials.
The production operation sequence of the petroleum refining unit was optimized under large-scale grade switching optimization, which improved the overall efficiency, reduced the generation of transition materials, and improved the optimization efficiency of the production plan.
Smart Images

Figure CN120706727A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of petroleum refining, and in particular to a method, device, equipment and medium for determining a production plan for a refining product. Background Art
[0002] Polyolefins have varying performance requirements depending on their intended use. To respond to fluctuating market demands, companies often produce multiple grades of polymer products within the same unit by varying polymerization reactor operating conditions. During these grade switching processes, fluctuations in the unit inevitably lead to the generation of transitional materials (i.e., substandard products). Maximizing the overall benefits of a unit's raw material and energy costs, along with the overall benefits of its products (including transitional materials), is a complex mixed-integer linear programming problem, the solution of which is of great practical significance for the production of multiple polymer grades.
[0003] Currently, the main approaches for optimizing multi-grade polyolefin switching include the typical grade switching empirical method, the mechanism model switching strategy optimization method, and the operations research planning method. The typical grade switching empirical method subjectively schedules product switching for a few specific grades based on accumulated production experience. This method is difficult to adapt to the needs of large-scale grade switching optimization. The mechanism model switching strategy optimization method optimizes operating conditions and parameter trajectories based on the unit reaction mechanism to achieve the optimal grade switching path, reducing operation time and transition materials. This method is suitable for optimizing the switching operations of a few specific grades. However, due to the large scale and high degree of nonlinearity of the model, the increasing number of grades leads to model convergence difficulties, making it difficult to adapt to large-scale grade switching optimization in response to market fluctuations. The operations research planning method uses mathematical methods to construct a mixed integer optimization model based on the grade switching business process. A global optimization solution is used to calculate the theoretically optimal grade switching process. However, this method suffers from the problem that the model scale increases exponentially with the number of grades. This results in a large model scale, difficulty in convergence, and reduced solution efficiency. It is also difficult to adapt to the needs of large-scale grade switching optimization. Summary of the Invention
[0004] In view of the problems existing in the prior art, the present invention provides a method, device, equipment and medium for determining a production plan for refining and chemical products.
[0005] The present invention provides a method for determining a production plan for refining and chemical products, comprising:
[0006] Based on the historical operating statistics of the production equipment for each brand of product, the input-output ratio of the production equipment for each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production transition material during the brand product switching process, and the utility consumption ratio per unit transition material are obtained;
[0007] Based on the input-output ratio of the production of each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production of transition materials during the brand product switching process, and the utility consumption ratio per unit transition material, the input-output material balance equation and the utility consumption equation for the production of each brand of product by the production device, as well as the material balance equation and the utility consumption equation for the production of transition materials during the brand product switching process, are constructed;
[0008] Construct an objective function to maximize overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs;
[0009] According to the design requirements of the production device and the types of brand products, a fully connected network of switching paths for each brand product is constructed; according to the types of brand product demand and the demand quantity of each brand product, integer variable constraint equations and continuous variable constraint equations are constructed based on the fully connected network of switching paths for each brand product;
[0010] Under the current market demand and market price conditions for each brand of product, the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation are solved simultaneously to obtain the optimal production plan and the quantity of each brand of product when the production device switches the production process of each brand of product.
[0011] The present invention also provides a device for determining a production plan for a refining product, comprising:
[0012] a calculation module for obtaining, based on historical operational statistics of each brand of product produced by the production device, the input-output ratio of each brand of product produced by the production device, the utility consumption ratio per unit product, the input-output ratio of transitional materials produced during the brand product switching process, and the utility consumption ratio per unit transitional material;
[0013] A construction module is used to construct an input-output material balance equation and a utility consumption equation for the production of each brand of product by the production device, as well as a material balance equation and a utility consumption equation for the production of transition materials during brand product switching, based on the input-output ratio of the production of each brand of product, the utility consumption ratio per unit of product, the input-output ratio of the production of transition materials during brand product switching, and the utility consumption ratio per unit of transition materials;
[0014] Configuration module for constructing the objective function of maximizing overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs;
[0015] a generation module for constructing a fully connected network of switching paths for each brand of product based on the design requirements of the production device and the types of brand products; and constructing integer variable constraint equations and continuous variable constraint equations based on the fully connected network of switching paths for each brand of product based on the types of brand products required and the required quantities of each brand of product;
[0016] The optimization module is used to simultaneously solve the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation under the current market demand and market price conditions of each brand of products, so as to obtain the optimal production plan and the quantity of each brand of products when the production device switches the production process of each brand of products.
[0017] 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. When the processor executes the program, the method for determining a production plan for refined products as described above is implemented.
[0018] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the production plan of the refining and chemical products as described above.
[0019] The present invention provides a method, device, equipment and medium for determining a production plan for refining and chemical products. By constructing a multi-level brand product switching fully connected network based on the number of brand product types, all paths for brand switching can be planned. Integer variable constraint equations and continuous variable constraint equations are used to construct brand switching control structures at each network level, and product and transition material production and switching control are achieved according to the type and quantity of product brand requirements. This can solve the problem of optimizing the brand product switching sequence in the production and operation of petroleum refining equipment and improve overall efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to 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 any creative work.
[0021] Figure 1 It is a flow chart of a method for determining a production plan for refining and chemical products provided by the present invention;
[0022] Figure 2 It is a structural schematic diagram of the device for determining the production plan of refining products provided by the present invention;
[0023] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0025] The following combination Figure 1-Figure 3 The present invention describes a method, device, equipment and medium for determining a production plan for refining and chemical products.
[0026] Figure 1 A flow chart showing a method for determining a production plan for a refining product provided by the present invention is shown in FIG. Figure 1 , the method comprising:
[0027] 11. Based on the historical operating statistics of the production equipment for each brand of product, obtain the input-output ratio of the production equipment for each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production transition material during the brand product switching process, and the utility consumption ratio per unit transition material;
[0028] 12. Based on the input-output ratio of each brand of product, the utility consumption ratio per unit of product, the input-output ratio of the production of transition materials during the brand product switching process, and the utility consumption ratio per unit of transition materials, construct the input-output material balance equation and utility consumption equation for the production of each brand of product by the production unit, as well as the material balance equation and utility consumption equation for the production of transition materials during the brand product switching process;
[0029] 13. Construct an objective function to maximize overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs;
[0030] 14. Based on the design requirements of the production equipment and the types of brand products, a fully connected network of switching paths for each brand product is constructed. Based on the types of brand product demand and the demand quantity of each brand product, integer variable constraint equations and continuous variable constraint equations are constructed based on the fully connected network of switching paths for each brand product;
[0031] 15. Under the current market demand and market price conditions for each brand of product, the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation are solved simultaneously to obtain the optimal production plan and the quantity of each brand of product when the production equipment switches the production process.
[0032] In this regard, it should be noted that in the present invention, historical operating statistical data of the production device during a preset time period (preferably 6 months or more) of stable operation is collected, including the cumulative input quantity of various types of raw materials during the preset time period of the production device, the cumulative output quantity of various types of products, the cumulative consumption quantity of various types of public works, and the cumulative quantity of transition materials during the brand product switching process.
[0033] Calculate the input-output ratio of each brand of product, and use the quantity of each brand of product as the basis for proportion calculation. The calculation formula is:
[0034] η ji =M j / P i
[0035] Where M j is the cumulative quantity of the jth raw material, P i is the cumulative quantity of brand i products, η ji The ratio of the jth raw material required to produce the i-th brand product;
[0036] Calculate the utility consumption ratio of each brand of product per unit using the following formula:
[0037] ξ ji =C j / P i
[0038] Where C j is the cumulative consumption quantity of the jth type of public works, P i is the cumulative quantity of brand i products, ξ ji The proportion of the jth type of public utility consumed by the production unit for the i-th brand of product;
[0039] Calculate the input-output ratio of switching from one brand to another in the production of transition materials, and use the quantity of transition materials as the basis for the ratio calculation. The calculation formula is:
[0040] ω ik =M j / TP ik
[0041] Where M j TP is the cumulative amount of raw material j in the process of switching from brand i to brand k. ik The cumulative amount of transition material for switching from brand i to brand k, ω ikj The ratio of the jth raw material required to produce unit transition material in the process of switching from the i-th brand product to the k-th brand product;
[0042] The utility consumption ratio for switching from one brand to another in the production of transition materials is calculated using the following formula:
[0043] λ ikj =C j / TP ik
[0044] Where C j TP is the cumulative consumption of the jth type of public works in the process of switching from the i-th brand product to the k-th brand product. ik The cumulative amount of transition material from the i-th brand product to the k-th brand product, λ ikj It is the ratio of the jth utility consumed per unit of transition material in the process of switching from the i-th brand product to the k-th brand product.
[0045] Constructing input-output material balance equations and utility consumption equations for the production of various grades of products by the production device;
[0046]
[0047] p i ·η ji -m j =0
[0048] p i ·ξ ji -c j =0
[0049] Where m j is the quantity of the jth raw material, p i is the number of products of brand i, η ji is the ratio of the jth raw material required to produce the i-th brand product, c j is the consumption quantity of the jth type of public works, ξ ji The proportion of the jth type of public utility consumed by the production unit for the i-th brand of product;
[0050] Construct the material balance equation and utility consumption equation for the production of transition materials during the brand product switching process;
[0051]
[0052] tp ik ·ω ikj -m j =0
[0053] tp ik ·λ ikj -c j =0
[0054] Where m jis the quantity of the jth raw material, tp ik is the amount of transition material from the i-th brand product to the k-th brand product, ω ikj The ratio of the jth raw material required to produce unit transition material in the process of switching from the i-th brand product to the k-th brand product, c j is the consumption of the jth type of utility in the process of switching from the i-th brand product to the k-th brand product, λ ikj It is the ratio of the jth utility consumed per unit of transition material in the process of switching from the i-th brand product to the k-th brand product.
[0055] The revenue of each brand product is calculated based on the quantity and price of all brands of products. The revenue of transition materials is calculated based on the quantity and price of all transition materials. The cost of raw materials is calculated based on the quantity and price of all raw materials. The cost of utilities is calculated based on the quantity and price of all utility consumption. The objective function is to maximize the sum of product revenue and transition material revenue minus the sum of raw material cost and utility cost. The calculation formula is:
[0056] Max(∑p i pr i +∑tp ik tpr ik -∑m j ·co j -∑c j ·co j )
[0057] Where p i is the number of products of brand i, pr i is the price of brand i product, tp ik The quantity of transition material from the i-th brand product to the k-th brand product, tpr ik The price of transition material from brand i to brand k, m j is the quantity of the jth raw material, co j is the price of the jth raw material, c j is the consumption quantity of the jth type of public works, co j is the price of the j-th public utility project.
[0058] In the present invention, for the construction of a fully connected network, the same number of network levels are constructed according to the number of brand product types, and each level contains all brand product virtual structures. Each brand product virtual structure contains an entrance and a first exit, and each brand product virtual structure from the second level to the second-to-last level also contains a second exit; the entrances of all brand product virtual structures of the first level do not need to be connected to the source, and starting from the first level, the first exits of all brand product virtual structures of each level are connected to the entrances of all other brand virtual structures of the next level except the same brand product virtual structure, and the first exits of all brand product virtual structures of the last level do not need to be connected to the destination; the second exits of each brand product virtual structure from the second level to the second-to-last level do not need to be connected to the destination.
[0059] In the present invention, according to the types of brand product requirements and the required quantities of each brand product, integer variable constraint equations and continuous variable constraint equations are constructed based on the fully connected network of the switching paths of each brand product, specifically:
[0060] Construct a three-layer control structure for the brand product switching process. The first layer is the lowest layer, which constructs the integer variable constraint equation.
[0061]
[0062] Where R li The number of virtual structure entries for the same product brand at each level, I li An integer variable for the virtual structure entry of the same product brand at each level;
[0063] The second level control structure is the middle level control structure, which constructs the integer variable constraint equations and the continuous variable constraint equations;
[0064] ∑I li ∈[LO,UP]
[0065] ∑R li ∈[LO,UP]
[0066] Where R li The number of virtual structure entries for the same product brand at each level, I li It is an integer variable for the virtual structure entry of the same product brand at each level, LO is the lower limit of the constraint, and UP is the upper limit of the constraint;
[0067] The third level control structure is the top-level control structure, which constructs the integer variable constraint equations;
[0068] ∑∑I li ∈[LO,UP]
[0069] Where, I liIt is an integer variable for the virtual structure entry of the same product brand at each level, LO is the lower limit of the constraint, and UP is the upper limit of the constraint;
[0070] Construct a two-layer control structure for producing transition materials during the brand product switching process. The first layer of the control structure is the lowest layer, which constructs integer variable constraint equations and continuous variable constraint equations.
[0071]
[0072]
[0073] R lo -R lt ≥0
[0074] Where R lo is the number of virtual structure exports of the same product brand at each level, I li R is the virtual structure export integer variable of the same product brand at each level. lt The number of products that are switched from one brand to another at each level, I lt An integer variable for switching from one brand of product to another brand of product at each level;
[0075] The second level control structure is the top-level control structure, which constructs the integer variable constraint equations;
[0076] ∑I lo +∑I lt ∈[LO,UP]
[0077] Where, I li For each level of the same product brand virtual structure export integer variable, I lt An integer variable for switching from one brand of product to another at each level, LO is the lower limit of the constraint, and UP is the upper limit of the constraint.
[0078] In the present invention, the upper limit of product output is constrained according to the current market demand quantity of each brand of product, and the lower limit of product output is constrained according to the minimum load of the production device;
[0079] Constrain the prices of various grades of products, transition materials, raw materials and public works in the objective function according to the current market prices;
[0080] Based on the upper limit of product output, the lower limit of product output, the price of each brand of products, the price of transition materials, the price of raw materials and the price of public works, the objective function, material balance equation, public works consumption equation, integer equation and continuity equation are solved simultaneously to obtain the optimal production plan of the production device in the production process of switching the production of each brand of products and the quantity of each brand of products.
[0081] The method for determining the production plan of refining products provided by the present invention can plan all paths of brand switching by constructing a multi-level brand product switching fully connected network according to the number and types of brand products, and use integer variable constraint equations and continuous variable constraint equations to construct brand switching control structures at each network level to complete the production and switching control of products and transition materials according to the type and quantity of product brand requirements. It can solve the problem of optimizing the brand product switching sequence in the production and operation of petroleum refining equipment and improve overall efficiency.
[0082] The following describes a device for determining a production plan for a refined product provided by the present invention. The device for determining a production plan for a refined product described below and the method for determining a production plan for a refined product described above can be used in correspondence with each other.
[0083] Figure 2 A schematic diagram of a device for determining a production plan for a refining product provided by the present invention is shown. Figure 2 The device includes a calculation module 21, a construction module 22, a configuration module 23, a generation module 24 and an optimization module 25, wherein:
[0084] a calculation module for obtaining, based on historical operational statistics of each brand of product produced by the production device, the input-output ratio of each brand of product produced by the production device, the utility consumption ratio per unit product, the input-output ratio of transitional materials produced during the brand product switching process, and the utility consumption ratio per unit transitional material;
[0085] A construction module is used to construct an input-output material balance equation and a utility consumption equation for the production of each brand of product by the production device, as well as a material balance equation and a utility consumption equation for the production of transition materials during brand product switching, based on the input-output ratio of the production of each brand of product, the utility consumption ratio per unit of product, the input-output ratio of the production of transition materials during brand product switching, and the utility consumption ratio per unit of transition materials;
[0086] Configuration module for constructing the objective function of maximizing overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs;
[0087] a generation module for constructing a fully connected network of switching paths for each brand of product based on the design requirements of the production device and the types of brand products; and constructing integer variable constraint equations and continuous variable constraint equations based on the fully connected network of switching paths for each brand of product based on the types of brand products required and the required quantities of each brand of product;
[0088] The optimization module is used to simultaneously solve the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation under the current market demand and market price conditions of each brand of products, so as to obtain the optimal production plan and the quantity of each brand of products when the production device switches the production process of each brand of products.
[0089] The device for determining the production plan of refining products provided by the present invention can plan all paths for brand switching by constructing a multi-level brand product switching fully connected network according to the number and types of brand products, and use integer variable constraint equations and continuous variable constraint equations to construct brand switching control structures at each network level, thereby completing product and transition material production and switching control according to the type and quantity of product brand requirements. It can solve the problem of optimizing the brand product switching sequence in the production and operation of petroleum refining equipment and improve overall efficiency.
[0090] Figure 3 An example of a physical structure diagram of an electronic device is shown below. Figure 3 As shown, the electronic device may include: a processor 31, a communications interface 32, a memory 33, and a communication bus 34, wherein the processor 31, the communications interface 32, and the memory 33 communicate with each other via the communication bus 34. The processor 31 may call the logic instructions in the memory 33 to execute the method for determining the production plan of the refining product, which includes:
[0091] Based on the historical operating statistics of the production equipment for each brand of product, the input-output ratio of the production equipment for each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production transition material during the brand product switching process, and the utility consumption ratio per unit transition material are obtained;
[0092] Based on the input-output ratio of each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production of transition materials during the brand product switching process, and the utility consumption ratio per unit transition material, the input-output material balance equation and utility consumption equation for the production of each brand of product by the production unit are constructed, as well as the material balance equation and utility consumption equation for the production of transition materials during the brand product switching process;
[0093] Construct an objective function to maximize overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs;
[0094] Based on the design requirements of the production equipment and the types of brand products, a fully connected network of the switching paths of each brand product is constructed. Based on the types of brand product demand and the demand quantity of each brand product, integer variable constraint equations and continuous variable constraint equations are constructed based on the fully connected network of the switching paths of each brand product.
[0095] Under the current market demand and market price conditions for each brand of product, the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation are solved simultaneously to obtain the optimal production plan and the quantity of each brand of product when the production equipment switches the production process.
[0096] In addition, the logic instructions in the above-mentioned memory 33 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, 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. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0097] In another aspect, the present invention further provides a computer program product, comprising a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the method for determining a production plan for refined products provided by the above methods, the method comprising:
[0098] Based on the historical operating statistics of the production equipment for each brand of product, the input-output ratio of the production equipment for each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production transition material during the brand product switching process, and the utility consumption ratio per unit transition material are obtained;
[0099] Based on the input-output ratio of each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production of transition materials during the brand product switching process, and the utility consumption ratio per unit transition material, the input-output material balance equation and utility consumption equation for the production of each brand of product by the production unit are constructed, as well as the material balance equation and utility consumption equation for the production of transition materials during the brand product switching process;
[0100] Construct an objective function to maximize overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs;
[0101] Based on the design requirements of the production equipment and the types of brand products, a fully connected network of the switching paths of each brand product is constructed. Based on the types of brand product demand and the demand quantity of each brand product, integer variable constraint equations and continuous variable constraint equations are constructed based on the fully connected network of the switching paths of each brand product.
[0102] Under the current market demand and market price conditions for each brand of product, the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation are solved simultaneously to obtain the optimal production plan and the quantity of each brand of product when the production equipment switches the production process.
[0103] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining a production plan for refined products provided by the above methods, the method comprising:
[0104] Based on the historical operating statistics of the production equipment for each brand of product, the input-output ratio of the production equipment for each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production transition material during the brand product switching process, and the utility consumption ratio per unit transition material are obtained;
[0105] Based on the input-output ratio of each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production of transition materials during the brand product switching process, and the utility consumption ratio per unit transition material, the input-output material balance equation and utility consumption equation for the production of each brand of product by the production unit are constructed, as well as the material balance equation and utility consumption equation for the production of transition materials during the brand product switching process;
[0106] Construct an objective function to maximize overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs;
[0107] Based on the design requirements of the production equipment and the types of brand products, a fully connected network of the switching paths of each brand product is constructed. Based on the types of brand product demand and the demand quantity of each brand product, integer variable constraint equations and continuous variable constraint equations are constructed based on the fully connected network of the switching paths of each brand product.
[0108] Under the current market demand and market price conditions for each brand of product, the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation are solved simultaneously to obtain the optimal production plan and the quantity of each brand of product when the production equipment switches the production process.
[0109] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0110] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling 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 certain parts of the embodiments.
[0111] 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 various embodiments of the present invention.
Claims
1. A method for determining a production plan for a refining product, characterized in that: include: Based on historical operational statistics of each brand of product produced by the production device, the input-output ratio of each brand of product produced by the production device, the utility consumption ratio per unit product, the input-output ratio of the production transition material during the brand product switching process, and the utility consumption ratio per unit transition material are obtained; Based on the input-output ratio of the production of each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production of transition materials during the brand product switching process, and the utility consumption ratio per unit transition material, the input-output material balance equation and the utility consumption equation for the production of each brand of product by the production device, as well as the material balance equation and the utility consumption equation for the production of transition materials during the brand product switching process, are constructed; Construct an objective function to maximize overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs; According to the design requirements of the production device and the types of brand products, a fully connected network of switching paths for each brand product is constructed; according to the types of brand product demand and the demand quantity of each brand product, integer variable constraint equations and continuous variable constraint equations are constructed based on the fully connected network of switching paths for each brand product; Under the current market demand and market price conditions for each brand of product, the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation are solved simultaneously to obtain the optimal production plan and the quantity of each brand of product when the production device switches the production process of each brand of product.
2. The method for determining a production plan for refining and chemical products according to claim 1, characterized in that: The historical operation statistical data includes the cumulative input quantity of various types of raw materials, the cumulative output quantity of various types of products, the cumulative consumption quantity of various types of public works, and the cumulative quantity of transition materials during the brand product switching process during the preset time period of the production device. Accordingly, the historical operation statistical data based on the production of each brand of products by the production device, the input-output ratio of the production of each brand of products by the production device, the public works consumption ratio per unit product, the input-output ratio of the production transition materials during the brand product switching process, and the public works consumption ratio per unit transition material are obtained, including: Calculate the input-output ratio of each brand of product, and use the quantity of each brand of product as the basis for proportion calculation. The calculation formula is: or ji =M j / P i Where M j is the cumulative quantity of the jth raw material, P i is the cumulative quantity of brand i products, η ji The ratio of the jth raw material required to produce the i-th brand product; Calculate the utility consumption ratio of each brand of product per unit using the following formula: x ji =C j / P i Where C j is the cumulative consumption quantity of the jth type of public works, P i is the cumulative quantity of brand i products, ξ ji The proportion of the jth type of public utility consumed by the production unit for the i-th brand of product; Calculate the input-output ratio of transition material production during the brand product switching process, and calculate the ratio based on the amount of transition material. The calculation formula is: oh ikj =M j / TP ik Where M j TP is the cumulative amount of raw material j in the process of switching from brand i to brand k. ik The cumulative amount of transition material for switching from brand i to brand k, ω ikj The ratio of the jth raw material required to produce unit transition material in the process of switching from the i-th brand product to the k-th brand product; Calculate the utility consumption ratio of transition materials during the brand product switching process using the following formula: λ ikj =C j / TP ik Where C j TP is the cumulative consumption of the jth type of public works in the process of switching from the i-th brand product to the k-th brand product. ik The cumulative amount of transition material from the i-th brand product to the k-th brand product, λ ikj It is the ratio of the jth utility consumed per unit of transition material in the process of switching from the i-th brand product to the k-th brand product.
3. The method for determining a production plan for refining and chemical products according to claim 2, characterized in that: The input-output ratio of the production of each brand of product, the utility consumption ratio per unit product, the input-output ratio of the production of transition materials during the brand product switching process, and the utility consumption ratio per unit transition material are used to construct the input-output material balance equation and the utility consumption equation for the production of each brand of product by the production device, as well as the material balance equation and the utility consumption equation for the production of transition materials during the brand product switching process, including: Constructing input-output material balance equations and utility consumption equations for the production of various grades of products by the production device; p i ·or ji -m j =0 p i ·x ji -c j =0 Where m j is the quantity of the jth raw material, p i is the number of products of brand i, η ji is the ratio of the jth raw material required to produce the i-th brand product, c j is the consumption quantity of the jth type of public works, ξ ji The proportion of the jth type of public utility consumed by the production unit for the i-th brand of product; Construct the material balance equation and utility consumption equation for the production of transition materials during the brand product switching process; tp ik ·oh ikj -m j =0 tp ik ·λ ikj -c j =0 Where m j is the quantity of the jth raw material, tp ik is the amount of transition material from the i-th brand product to the k-th brand product, ω ikj The ratio of the jth raw material required to produce unit transition material in the process of switching from the i-th brand product to the k-th brand product, c j is the consumption of the jth type of utility in the process of switching from the i-th brand product to the k-th brand product, λ ikj It is the ratio of the jth utility consumed per unit of transition material in the process of switching from the i-th brand product to the k-th brand product.
4. The method for determining a production plan for refining and chemical products according to claim 3, wherein: The objective function of maximizing the overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs is constructed, including: The revenue of each brand product is calculated based on the quantity and price of all brands of products. The revenue of transition materials is calculated based on the quantity and price of all transition materials. The cost of raw materials is calculated based on the quantity and price of all raw materials. The cost of utilities is calculated based on the quantity and price of all utility consumption. The objective function is to maximize the sum of product revenue and transition material revenue minus the sum of raw material cost and utility cost. The calculation formula is: Max(∑p i ·pr i +∑tp ik ·tpr ik -∑m j ·co j -∑c j ·co j , Where p i is the number of products of brand i, pr i is the price of brand i product, tp ik The quantity of transition material from the i-th brand product to the k-th brand product, tpr ik The price of transition material from brand i to brand k, m j is the quantity of the jth raw material, co j is the price of the jth raw material, c j is the consumption quantity of the jth type of public works, co j is the price of the j-th public utility project.
5. The method for determining a production plan for refining and chemical products according to claim 4, characterized in that: The method of constructing a fully connected network of switching paths for each brand of product based on the design requirements of the production device and the types of brand products includes: Construct the same number of network levels according to the number of brand product types. Each level contains the virtual structures of all brand products. Each brand product virtual structure contains an entrance and a first exit. Each brand product virtual structure from the second level to the second-to-last level also contains a second exit. The entrances of all brand product virtual organizations at the first level do not need to be connected to the source. Starting from the first level, the first exits of all brand products at each level are connected to the entrances of all other brand virtual structures at the next level except the virtual structure of the same brand product. The first exits of all brand product virtual structures at the last level do not need to be connected to the destination. The second exits of each brand product virtual structure from the second level to the second-to-last level do not need to be connected to the destination.
6. The method for determining a production plan for refining and chemical products according to claim 5, characterized in that: The method of constructing integer variable constraint equations and continuous variable constraint equations based on the fully connected network of the switching paths of each brand of product according to the types of brand product demand and the demand quantity of each brand of product includes: Construct a three-layer control structure for the brand product switching process. The first layer is the lowest layer, which constructs the integer variable constraint equation. Where R li is the number of virtual structure entries for the same product brand at each level, I li An integer variable representing the virtual structure entry for the same product brand at each level; The second level control structure is the middle level control structure, which constructs the integer variable constraint equations and the continuous variable constraint equations; ∑I li ∈[LO,UP] ∑R li ∈[LO,UP] Where R li is the number of virtual structure entries for the same product brand at each level, I li It is an integer variable for the virtual structure entry of the same product brand at each level, LO is the lower limit of the constraint, and UP is the upper limit of the constraint; The third level control structure is the top-level control structure, which constructs the integer variable constraint equations; ∑∑I li ∈[LO,UP] Where, I li It is an integer variable for the virtual structure entry of the same product brand at each level, LO is the lower limit of the constraint, and UP is the upper limit of the constraint; Construct a two-layer control structure for producing transition materials during the brand product switching process. The first layer of the control structure is the lowest layer, which constructs integer variable constraint equations and continuous variable constraint equations. R lo -R lt ≥0 Where R lo is the number of virtual structure exports of the same product brand at each level, I li R is the virtual structure export integer variable of the same product brand at each level. lt The number of products that are switched from one brand to another at each level, I lt An integer variable for switching from one brand of product to another brand of product at each level; The second level control structure is the top-level control structure, which constructs the integer variable constraint equations; ∑I lo +∑I lt ∈[LO,UP] Where, I li For each level of the same product brand virtual structure export integer variable, I lt An integer variable for switching from one brand of product to another at each level, LO is the lower limit of the constraint, and UP is the upper limit of the constraint.
7. The method for determining a production plan for refining and chemical products according to claim 6, characterized in that: Under the current market demand and market price conditions for each brand of product, the objective function, material balance equation, utility consumption equation, integer variable constraint equation, and continuous variable constraint equation are solved simultaneously to obtain the optimal production plan for the production device in the production process of switching between each brand of product and the quantity of each brand of product, including: Constraining the upper limit of product output according to the current market demand for each brand of product, and constraining the lower limit of product output according to the minimum load of the production equipment; Constrain the prices of various grades of products, transition materials, raw materials and public works in the objective function according to the current market prices; Based on the upper limit of product output, the lower limit of product output, the price of each brand of products, the price of transition materials, the price of raw materials and the price of public works, the objective function, material balance equation, public works consumption equation, integer equation and continuity equation are solved simultaneously to obtain the optimal production plan of the production device in the production process of switching the production of each brand of products and the quantity of each brand of products.
8. A device for determining a production plan for a refining product, characterized in that: include: a calculation module for obtaining, based on historical operational statistics of each brand of product produced by the production device, the input-output ratio of each brand of product produced by the production device, the utility consumption ratio per unit product, the input-output ratio of transitional materials produced during the brand product switching process, and the utility consumption ratio per unit transitional material; A construction module is used to construct an input-output material balance equation and a utility consumption equation for the production of each brand of product by the production device, as well as a material balance equation and a utility consumption equation for the production of transition materials during brand product switching, based on the input-output ratio of the production of each brand of product, the utility consumption ratio per unit of product, the input-output ratio of the production of transition materials during brand product switching, and the utility consumption ratio per unit of transition materials; Configuration module for constructing the objective function of maximizing overall benefits based on raw material costs, brand product revenue, transition material revenue, and utility costs; a generation module for constructing a fully connected network of switching paths for each brand of product based on the design requirements of the production device and the types of brand products; and constructing integer variable constraint equations and continuous variable constraint equations based on the fully connected network of switching paths for each brand of product based on the types of brand products required and the required quantities of each brand of product; The optimization module is used to simultaneously solve the objective function, material balance equation, utility consumption equation, integer variable constraint equation and continuous variable constraint equation under the current market demand and market price conditions of each brand of products, so as to obtain the optimal production plan and the quantity of each brand of products when the production device switches the production process of each brand of products.
9. 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, the method for determining the production plan of refining products 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, characterized in that: When the computer program is executed by a processor, the method for determining a production plan for refining products according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Chemical material scheduling optimization method, device and equipment
CN121457995A