Natural gas resource allocation model construction method, allocation method and allocation system

By constructing a natural gas resource allocation model and transforming the problem of manager rank into a global problem, using the fuzzy membership function to solve the problem of hierarchical relationships in the existing configuration methods, achieving more efficient and accurate natural gas resource allocation.

CN119622979APending Publication Date: 2025-03-14PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311176155.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing natural gas resource allocation method ignores the hierarchical relationship in the configuration system, resulting in insufficient accuracy and reliability of the configuration data, making it difficult to obtain the optimal configuration solution.

Method used

By constructing a natural gas resource configuration model, setting different ranks of the first manager and the second manager, transforming their problems into global one-order problems, using the fuzzy membership function to solve, and finally obtaining the optimal configuration solution.

Benefits of technology

The efficiency and accuracy of natural gas resource allocation have been improved, and the resulting resource optimization allocation plan has significantly improved the final end utilization efficiency of natural gas and avoided resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119622979A_ABST
    Figure CN119622979A_ABST
Patent Text Reader

Abstract

The invention relates to a construction method, a configuration method and a configuration system of a natural gas resource configuration model, and the construction method of the natural gas resource configuration model comprises the steps: obtaining different types of self-produced gas or outsourced gas, and obtaining a target gas source for carrying out gas distribution for a gas consumption department by a first manager and a second manager; according to a target gas source for carrying out gas quantity distribution for a gas consumption department, constructing a first target function for gas quantity distribution for a first manager, and constructing a first constraint condition for the first target function; according to a target gas source for carrying out gas quantity distribution for a gas consumption department, constructing a second target function for gas quantity distribution for a second manager, and constructing a second constraint condition for the second target function; and constructing a natural gas resource allocation model according to the first target function, the first constraint condition corresponding to the first target function, the second target function and the second constraint condition corresponding to the second target function. By adopting the resource allocation model, more reliable and accurate natural gas resource allocation reference data can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to natural gas resource transportation and configuration equipment, in particular to a natural gas resource configuration model construction method, and also to a natural gas resource configuration method and configuration system. Background Art

[0002] Natural gas supply security is an important part of national energy security. my country's overall natural gas supply and demand is in a tight state, and the country's dependence on foreign natural gas has long remained at around 45%. The allocation of natural gas resources involves people's livelihood security and the interests of related enterprises. Optimizing the allocation of natural gas resources to improve allocation efficiency and accuracy is of great significance to the subsequent utilization efficiency of natural gas resources.

[0003] The optimal allocation of natural gas resources is a multi-objective, multi-stakeholder decision-making problem. For a long time, computing equipment has been mainly used to run multi-objective models to solve this problem. Although it can obtain the optimal allocation plan under comprehensive conditions, it ignores the hierarchical relationship in the allocation system, and the accuracy and reliability of the configuration data presented need to be further improved. Summary of the invention

[0004] The purpose of the present invention is, on the one hand, to provide a method for constructing a natural gas resource allocation model. By constructing the resource allocation model, different levels of the first manager and the second manager can be set to obtain more reliable and accurate natural gas resource allocation reference data. On the other hand, the present invention also provides a natural gas resource allocation method. By combining the resource allocation model to perform the configuration method, the problem of the level of the first manager and the level of the second manager can be converted into a global level problem, and the final optimal configuration plan can be obtained after solving it. On the other hand, the present invention also provides a natural gas resource allocation system. Using this system, you only need to input the corresponding variables of each layer in the model, and after conversion, you can output more reliable and accurate resource configuration data.

[0005] In a first aspect, the present invention provides a method for constructing a natural gas resource allocation model, comprising:

[0006] Obtain different types of self-produced gas or purchased gas, and obtain the target gas source for the first manager and the second manager to allocate gas volume to the gas-using departments;

[0007] According to the target gas source for allocating gas volume to the gas-using department, a first objective function for gas volume allocation is constructed for the first manager, and a first constraint condition is constructed for the first objective function;

[0008] According to the target gas source for allocating gas volume to the gas-using department, a second objective function for gas volume allocation is constructed for the second manager, and a second constraint condition is constructed for the second objective function;

[0009] The first objective function, the first constraint condition corresponding to the first objective function, the second objective function and the second constraint condition corresponding to the second objective function are used to construct the natural gas resource allocation model;

[0010] The first manager is used to represent the gas management department, and the second manager is used to represent the gas supply enterprise.

[0011] In a possible implementation, constructing a first constraint condition for the first objective function includes:

[0012] Receiving the minimum supply quantity data assigned to the location of the first manager, and establishing a gas usage structure constraint according to the minimum supply quantity data;

[0013] receiving natural gas production data of the location of the first manager, and establishing a total gas consumption constraint based on the natural gas production data;

[0014] Receive the maximum external gas volume ratio assigned to the location of the first manager, and establish an external gas volume constraint according to the maximum external gas volume ratio;

[0015] The gas consumption structure constraint, the total gas consumption constraint and the external gas transmission constraint are taken as the first constraint condition.

[0016] In a possible implementation, constructing a second constraint condition for the second objective function includes:

[0017] receiving the upper limit condition and the lower limit condition of the gas-using department where the second manager is located, and constructing the gas demand constraint corresponding to the gas-using department according to the upper limit condition and the lower limit condition;

[0018] A variable non-negative constraint corresponding to the gas volume allocation is constructed for the second manager, and the variable non-negative constraint and the gas demand constraint are used together as the second constraint condition.

[0019] In a possible implementation, receiving an input first manager weight coefficient;

[0020] Receiving input of a second manager weight coefficient;

[0021] After completing the weight coefficient configuration, the natural gas resource configuration model is constructed.

[0022] In a possible implementation, when there is a relationship between the gas-using department and the target gas source, the input gas volume corresponding to the target gas source is input to establish a first objective function;

[0023] When there is no relationship between the gas-consuming department and the target gas source, the input gas volume corresponding to the gas source is not input, and the first objective function is established.

[0024] In a second aspect, the present invention provides a natural gas resource configuration method for configuring different natural gas volumes to a first manager, the natural gas resource configuration method comprising:

[0025] Receiving a first variable input to a natural gas resource configuration model constructed by the natural gas resource configuration model construction method as described in the first aspect;

[0026] Based on the first variable, the ideal solution results of the first objective function and the second objective function are obtained to obtain the value of the first objective function. And the second objective function value

[0027] According to the first objective function value And the second objective function value Receive the second variable input into the natural gas resource allocation model to obtain the first objective function value boundary and the second objective function value boundary

[0028] The fuzzy membership function is established in the first objective function as follows:

[0029] The fuzzy membership function is established in the second objective function as follows:

[0030] The global optimal fuzzy membership function is constructed as: λ=min{α,β};

[0031] Get maxλ; where α and β are the fuzzy membership of the first objective function and the second objective function respectively; λ is the global fuzzy membership; F U represents the optimal solution of the first objective function, f L represents the optimal solution of the second objective function;

[0032] According to the global fuzzy membership λ, the natural gas input volume is configured for multiple different gas-consuming departments to obtain the simulated reference data of the configured natural gas volume.

[0033] In a possible implementation, the gas-using sector is any one of residential city gas, non-residential city gas, chemical industry gas, fertilizer industry gas, CNG, LNG, natural gas power generation gas, manufacturing industry gas and external gas.

[0034] In a third aspect, the present invention provides a natural gas resource allocation system, comprising:

[0035] A first data receiving and processing module is used to receive a first variable input into a natural gas resource configuration model constructed by the natural gas resource configuration model construction method as described in the first aspect, and solve the first objective function and the second objective function based on the first variable to obtain the first objective function value. And the second objective function value

[0036] The second data receiving and processing module is used to receive and process the data according to the first objective function value. And the second objective function value Receive the second variable input into the natural gas resource allocation model to obtain the first objective function value boundary and the second objective function value boundary

[0037] The third data receiving and processing module is used to receive and process the data according to the first objective function value. The second objective function value The first objective function value boundary and the second objective function value boundary The global fuzzy membership λ is obtained, and the natural gas input volume is configured for multiple different gas-consuming departments according to the global fuzzy membership λ, so as to obtain the simulation reference data of the configured natural gas volume.

[0038] In a possible implementation manner, the third data receiving and processing module is connected to a natural gas volume configurator terminal, and is used to send the natural gas volume configuration reference information to the natural gas volume configurator terminal.

[0039] The natural gas resource allocation method created by the present invention incorporates multiple parties that will participate in the natural gas resource allocation, as well as the above-mentioned first manager, second manager and resource allocator. In the natural gas resource allocation, the conditional design of hierarchical order solves the technical problem that the current natural gas resource allocation lacks a hierarchical relationship, resulting in poor reliability of the configured data. By using this natural gas resource allocation model, the efficiency and accuracy of the natural gas resource allocation are also improved. The obtained resource optimization configuration solution significantly improves the utilization efficiency of natural gas at the final end. The above-mentioned configuration model can be adjusted in real time and conveniently according to the input variables, avoiding the waste of natural gas resources caused by data delays and untimely data when the allocator is performing the configuration work, and effectively improving the efficiency of natural gas resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 It is a flow chart for explaining the method for constructing a natural gas resource configuration model in Example 1.

[0042] Figure 2 It is a schematic diagram for explaining the allocation using the natural gas resource configuration model in Example 1.

[0043] Figure 3 It is used to illustrate the data configuration diagram generated after simulating the configuration of natural gas resources in a certain place using the natural gas resource configuration method of Example 2.

[0044] Figure 4 A schematic diagram of a layout of a natural gas resource allocation system for illustrating Example 3.

[0045] Figure 5 It is a schematic diagram of another arrangement of a natural gas resource allocation system for illustrating Example 3.

[0046] Figure 6 It is a schematic diagram of another arrangement of a natural gas resource allocation system for illustrating Example 3.

[0047] Figure 7 FIG. 1 is a schematic diagram for explaining an electronic device used in the embodiment.

[0048] Figure numerals: 301 - first data receiving processing module, 302 - second data receiving processing module, 303 - third data receiving processing module, 401 - processor, 402 - memory, 403 - communication interface, 404 - through bus. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0050] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.

[0051] It should be understood that the "system", "device" and / or "unit" used in the present invention is a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

[0052] As shown in the present invention and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular, but also include the plural. In general, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements.

[0053] Flowcharts are used in the present invention to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, the various steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0054] In the natural gas resource optimization allocation system, the gas consumption of any gas-demanding department will affect the gas demand of other departments while generating benefits; on the other hand, when combined with the hierarchical issues in the system, that is, considering the order of multiple participating entities in carrying out natural gas resource allocation, this configuration relationship will become more complicated. Therefore, it is necessary to adopt this natural gas resource allocation method to deal with the complexity and hierarchical issues in the natural gas resource allocation system, so as to improve the allocation efficiency and avoid resource waste caused by incorrect configuration. The following uses multiple embodiments to illustrate this solution.

[0055] Example 1

[0056] Reference Figure 1, a method for constructing a natural gas resource allocation model, comprising: obtaining different types of self-produced gas or purchased gas, and obtaining a target gas source for a first manager and a second manager to allocate gas volume to a gas-using department. According to the target gas source for allocating gas volume to the gas-using department, a first objective function for gas volume allocation is constructed for the first manager, and a first constraint condition is constructed for the first objective function. According to the target gas source for allocating gas volume to the gas-using department, a second objective function for gas volume allocation is constructed for the second manager, and a second constraint condition is constructed for the second objective function. The first objective function, the first constraint condition corresponding to the first objective function, the second objective function, and the second constraint condition corresponding to the second objective function are used to construct the natural gas resource allocation model. Among them, the first manager is used to represent the gas management department, and the second manager is used to represent the gas supply enterprise.

[0057] Specifically, during operation, the following operations may be performed in a computer system such as the electronic device described below to implement the above-mentioned natural gas resource allocation model construction method.

[0058] S101. Obtain different types of self-produced gas or purchased gas, and obtain target gas sources for the first manager and the second manager to allocate gas volume to gas-using departments.

[0059] S102: construct a first objective function for gas allocation for a first manager based on the target gas source for gas allocation for the gas-using department, and construct a first constraint condition for the first objective function. The first manager may be a government management department in the region, and the first manager is responsible for overall gas scheduling in the region.

[0060] The optimal target value set by the first manager of the natural gas resource optimization allocation system is used as the objective function, and its formula is:

[0061]

[0062] In the formula, S SBenefit is the first objective function value set by the first manager. s is the target gas source, s=1 is the fixed gas volume outputted by the second manager to the first manager in the self-produced gas, 2 is the gas volume of the second manager in the self-produced gas other than the fixed gas volume outputted to the first manager, 3 is the unconventional gas volume outputted by the second manager to the first manager in the self-produced gas, and 4 is the input gas other than the gas volume outputted by the second manager to the first manager. u is the first manager. In this embodiment, u can be exemplified by actual scenarios, such as u=1 is the first manager for urban residential gas, u=2 is urban non-residential gas, u=3 is gas for the chemical industry, u=4 is gas for the fertilizer industry, u=5 is CNG, u=6 is LNG, u=7 is natural gas power generation, u=8 is gas for manufacturing industry, and u=9 is external gas. It is a custom coefficient for gas supply. In this embodiment, natural gas 1 / m 3 . is the amount of gas allocated to the first manager by the gas source, m 3 . r s,u is the relationship coefficient between the gas source and the first manager, which takes the value of 0 or 1, where 0 means there is no allocation relationship between the gas source and the department, and 1 means there is an allocation relationship between the gas source and the department.

[0063] The first constraint condition includes three aspects: gas consumption structure constraint, total gas consumption constraint and external gas transmission constraint.

[0064] (1) Constraints on gas consumption structure. For example, in order to ensure the supply of gas for people’s livelihood, the model can set the gas consumption of urban residents to not be less than a certain proportion of gas consumption.

[0065]

[0066] In the formula, The minimum proportion of urban residents' gas consumption to the total gas volume is 40% in the model in this embodiment.

[0067] For example, the model requires that industrial users' gas consumption reach a certain proportion.

[0068]

[0069] Wherein, ω is the minimum proportion of the total gas consumption of industrial users, which is 40% in the model of this embodiment.

[0070] (2) Constraints on total gas consumption. The supply capacity of each gas source is constrained by natural gas production capacity.

[0071]

[0072] In the formula, s is the supply capacity of the gas source, m 3 .

[0073] (3) Constraints on external gas transmission volume.

[0074]

[0075] Wherein, τ is the maximum proportion of the external gas volume to the total gas consumption, and is taken as 15% in the model in this embodiment.

[0076] S103: Based on the target gas source for allocating gas volume to the gas-using departments, a second objective function for gas volume allocation is constructed for the second manager, and a second constraint condition is constructed for the second objective function. The second manager may be a gas supply enterprise, and the second manager integrates different gas sources and allocates them to different gas-using departments.

[0077]

[0078] In the formula, E EBenefit The optimal coefficient for configuring gas volume required by gas processing units. It is a customizable coefficient for gas processing units according to needs.

[0079] The second constraint condition mainly includes the upper limit constraint of the gas volume received by the first manager and the gas volume required by the first manager.

[0080] (1) The upper limit of the gas volume received by the first manager. The amount of gas used by different first managers It shall not exceed the natural gas receiving capacity limit of the first manager.

[0081]

[0082] In the formula, is the upper limit of the natural gas receiving capacity of the first manager, m 3 . is the amount of natural gas used by the first manager, m 3 .

[0083] (2) Gas demand constraint of the first manager. The gas consumption of the first manager is not fixed, so it is necessary to determine the maximum and minimum demand of the first manager, and the model introduces the gas demand coefficient to reflect this.

[0084]

[0085] In the formula, is the gas demand of the first manager, m 3 . They are the minimum and maximum gas demand coefficients respectively, and in the model of this embodiment they can be taken as 0.8 and 1 respectively.

[0086] (3) Non-negative constraints on variables. This model requires that the variables are not less than zero.

[0087]

[0088] S104, constructing the natural gas resource allocation model based on the first objective function, the first constraint condition corresponding to the first objective function, the second objective function, and the second constraint condition corresponding to the second objective function.

[0089] By adopting the method for constructing the natural gas resource allocation model, the natural gas resource allocation model constructed is divided into an upper layer, i.e., the first manager's level, and a lower layer, i.e., the second manager's level. The upper and lower layers have their own objective functions and constraints. The level of the first manager in the upper layer is superior to that of the second manager in the lower layer. The configuration scheme of the second manager in the lower layer is established on the basis of the configuration scheme of the first manager in the upper layer, i.e., it is constructed based on the second manager's own conditions and fed back to the first manager in the upper layer. In this way, the configuration data of the global optimal first manager can be finally generated according to the setting conditions of the first manager. The natural gas resource allocation model of the present invention can adopt a fuzzy satisfaction algorithm to solve the model.

[0090] like Figure 2 As shown, this implementation provides a schematic diagram of allocation using a natural gas resource allocation model, which shows a resource allocation plan when the comprehensive benefits are maximized.

[0091] In the above solution, the natural gas resource configuration model can be constructed after receiving the input weight coefficient of the first manager and receiving the input weight coefficient of the second manager.

[0092] Example 2

[0093] Through the above-mentioned natural gas resource allocation model, it can be seen that the model can be expressed as:

[0094]

[0095]

[0096] In the formula, F(x,y) and f(x,y) are the first manager's objective function and the second manager's objective function respectively. x and y are the input variables of the first manager's objective function and the second manager's objective function respectively. G(xy) and g(xy) are the constraints of the first manager's objective function and the second manager's objective function respectively.

[0097] Therefore, this embodiment 2 adopts a natural gas resource configuration method. In response to the gas use request issued by the gas user department, i.e., the first manager, the configurer performs configuration simulation based on the acquired gas use data to configure different natural gas volumes to the first manager, such as Figure 3 As shown, the natural gas resource allocation method includes:

[0098] S201. Receive a first variable input to a natural gas resource configuration model constructed by the natural gas resource configuration model construction method as described in Example 1.

[0099] S202: Based on the first variable, solve the first objective function and the second objective function to obtain the ideal solution results, and obtain the first objective function value. And the second objective function value

[0100] S203, according to the first objective function value And the second objective function value Receive the second variable input into the natural gas resource allocation model to obtain the first objective function value boundary and the second objective function value boundary

[0101] S204: In order to meet the requirements of the first and second managers at the same time, the first and second managers need to communicate and give feedback to each other, and substitute the optimal solution of the second objective function into the first objective function to obtain F. U , construct a fuzzy membership function to measure the satisfaction of the first objective function, and establish the fuzzy membership function of the first objective function as follows: when α=1,when α=0,when

[0102] S205, substitute the optimal solution of the first objective function solved separately into the second objective function solution to obtain f L , construct a fuzzy membership function to measure the satisfaction of the second objective function, and establish the fuzzy membership function of the second objective function as follows: when β=1,when β=0,when

[0103] S206. In order to measure the degree of simultaneous achievement of the first goal and the second goal, a global optimal fuzzy membership function is constructed as: λ=min{α,β}.

[0104] S207, obtain maxλ. If the first target decision maker is satisfied with the value of λ, then F U 、f L is the optimal solution, that is, the optimal solution for allocating natural gas volume; otherwise, the first target decision maker should repeatedly change the natural gas volume allocated to different gas-using departments until the λ value that satisfies the first target decision maker is obtained. At this time, the natural gas input volume allocated to multiple different gas-using departments is the reference data for natural gas volume configuration simulation.

[0105] By combining the above resource allocation model with this configuration method, the problem of the first manager's level and the second manager's level can be transformed into a global level one problem, and the final optimal configuration solution can be obtained after solving it. Using this natural gas resource allocation method, more accurate and reliable configuration data can be obtained, providing more reliable information support for improving natural gas utilization and avoiding unnecessary resource waste.

[0106] Take the example of a natural gas company as the second manager in a certain place.

[0107] Table 1: Resource allocation scheme for a certain place obtained by using this resource allocation method (unit: billion cubic meters)

[0108]

[0109] Example 3

[0110] A natural gas resource allocation system, comprising:

[0111] The first data receiving and processing module 301 is used to receive the first variable input to the natural gas resource configuration model constructed by the natural gas resource configuration model construction method as described in Example 1, and solve the first objective function and the second objective function based on the first variable to obtain the first objective function value. And the second objective function value

[0112] The second data receiving and processing module 302 is used to receive and process the data according to the first objective function value. And the second objective function value Receive the second variable input into the natural gas resource allocation model to obtain the first objective function value boundary and the second objective function value boundary

[0113] The third data receiving and processing module 303 is used to receive and process the data according to the first objective function value. The second objective function value The first objective function value boundary and the second objective function value boundary The fuzzy membership functions of the first and second objective functions are respectively established to solve the fuzzy membership α and β, and then the global fuzzy membership function is constructed. The natural gas input volume allocated to multiple different gas-consuming departments is determined by obtaining the maximized global fuzzy membership λ, that is, the simulated reference data for the allocated natural gas volume is obtained.

[0114] like Figure 4 , 56, the above-mentioned first data receiving and processing module 301, second data receiving and processing module 302 and third data receiving and processing module 303 can be integrated into one computer, and finally the obtained result is output; or the three data receiving and processing modules can be located in two or three computers respectively to perform data processing respectively, and finally one of the computers outputs the result.

[0115] For easier understanding, the following scenario is used for explanation:

[0116] The first data receiving and processing module 301 may be a computer device disposed at the first administrator end, and after completing data collection and processing, sends the processing result thereof to the second data receiving and processing module 302 .

[0117] The second data receiving and processing module 302 can be the same computer device or another computer device at the first administrator end mentioned above. After receiving the first data receiving and processing module 301, a second variable input is performed on the computer device to obtain a perfect first objective function value boundary and a second objective function value boundary.

[0118] The natural gas resource configuration system obtains natural gas volume configuration reference information of multiple different first managers according to the output global maximum fuzzy membership. The third data receiving and processing module 303 is connected to a natural gas volume configurator terminal, which is used to send the natural gas volume configuration reference information to the natural gas volume configurator terminal. The configurator terminal here can be a computer or mobile terminal where the third data receiving and processing module 303 is located.

[0119] By adopting the natural gas resource allocation system, combined with the above-mentioned natural gas resource allocation model and natural gas resource allocation method, it is only necessary to input the above-mentioned variables twice when using it, and the natural gas configuration data can be output by configuring the program that executes the natural gas resource allocation method.

[0120] To realize the above resource configuration model or to realize the above resource configuration method, combined with Figure 7 An electronic device may be used, including a processor and a memory, wherein the memory is used to store processor executable instructions. The processor is configured to execute the natural gas resource allocation model construction method of the first aspect and its improved solution.

[0121] The processor 401 is used to support the electronic device to execute the method operation steps in the above embodiment. The memory 402 is used to support the electronic device to store the computer program for executing the method in the above embodiment. The memory 402 and the processor 401 are coupled

[0122] Specifically, the processor 401 may include a central processing unit (CPU), or an application special integrated circuit (ASIC), or may be configured to implement one or more integrated circuits for implementing the model building method.

[0123] The memory 402 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 402 may be inside or outside the data processing device. In a specific embodiment, the memory 402 is a non-volatile solid-state memory. In a specific embodiment, the memory 402 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these. The processor 401 implements the above-mentioned model building method by reading and executing the computer program instructions stored in the memory 402.

[0124] In a further embodiment of the electronic device, the electronic device may further include a communication interface 403 and a bus 404. The processor 401, the memory 402, and the communication interface 403 are connected via the bus 404 and communicate with each other.

[0125] The communication interface 403 is mainly used to implement the communication between each module, device, unit and / or equipment required for the model building method. The bus 404 includes hardware, software or both, and couples the components of the electronic device to each other. For example and not limitation, the bus may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-end bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a microchannel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 404 may include one or more buses. Although the present invention describes and illustrates a specific bus, the present invention contemplates any suitable bus or interconnect.

[0126] A computer storage medium containing a computer program for executing the model building method as in Example 1 is configured on an electronic device or an electronic apparatus as in the above-mentioned embodiment, and the program for executing the model building method in the computer storage medium is called, so that the program is applied to a database in the electronic device or the electronic apparatus, and data is stored in the database in real time during the execution of the program.

[0127] Through the description of the above embodiments, it can be understood that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the steps of a protection method for an operating system described in each example of the embodiment disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or electronic device software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0128] The functions implemented by the above electronic devices can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of functional components or devices and equipment in the embodiments of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0129] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the electronic device or computer storage medium is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0130] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for constructing a natural gas resource allocation model, characterized in that: include: Obtain different types of self-produced gas or purchased gas, and obtain the target gas source for the first manager and the second manager to allocate gas volume to the gas-using departments; According to the target gas source for allocating gas volume to the gas-using department, a first objective function for gas volume allocation is constructed for the first manager, and a first constraint condition is constructed for the first objective function; According to the target gas source for allocating gas volume to the gas-using department, a second objective function for gas volume allocation is constructed for the second manager, and a second constraint condition is constructed for the second objective function; The first objective function, the first constraint condition corresponding to the first objective function, the second objective function and the second constraint condition corresponding to the second objective function are used to construct the natural gas resource allocation model; The first manager is used to represent the gas management department, and the second manager is used to represent the gas supply enterprise.

2. A method for constructing a natural gas resource allocation model according to claim 1, characterized in that: Construct the first constraint for the first objective function, including: Receiving the minimum supply quantity data assigned to the location of the first manager, and establishing a gas usage structure constraint according to the minimum supply quantity data; receiving natural gas production data of the location of the first manager, and establishing a total gas consumption constraint based on the natural gas production data; Receive the maximum external gas volume ratio assigned to the location of the first manager, and establish an external gas volume constraint according to the maximum external gas volume ratio; The gas consumption structure constraint, the total gas consumption constraint and the external gas transmission constraint are taken as the first constraint condition.

3. A method for constructing a natural gas resource allocation model according to claim 1, characterized in that: Construct the second constraint for the second objective function, including: receiving the upper limit condition and the lower limit condition of the gas-using department where the second manager is located, and constructing the gas demand constraint corresponding to the gas-using department according to the upper limit condition and the lower limit condition; A variable non-negative constraint corresponding to the gas volume allocation is constructed for the second manager, and the variable non-negative constraint and the gas demand constraint are used together as the second constraint condition.

4. A method for constructing a natural gas resource allocation model according to claim 1, characterized in that: Receiving input of a first manager weight coefficient; Receiving input of a second manager weight coefficient; After completing the weight coefficient configuration, the natural gas resource configuration model is constructed.

5. A method for constructing a natural gas resource allocation model according to claim 1, characterized in that: When there is a relationship between the gas-using department and the target gas source, the input gas volume corresponding to the target gas source is input to establish the first objective function; When there is no relationship between the gas-consuming department and the target gas source, the input gas volume corresponding to the gas source is not input, and the first objective function is established.

6. A natural gas resource allocation method, characterized in that: For allocating different natural gas volumes to the first manager, the natural gas resource allocation method includes: Receiving a first variable input to a natural gas resource configuration model constructed by the natural gas resource configuration model construction method according to any one of claims 1 to 5; Based on the first variable, the ideal solution results of the first objective function and the second objective function are obtained to obtain the value of the first objective function. And the second objective function value According to the first objective function value And the second objective function value Receive the second variable input into the natural gas resource allocation model to obtain the first objective function value boundary and the second objective function value boundary The fuzzy membership function is established in the first objective function as follows: The fuzzy membership function is established in the second objective function as follows: The global optimal fuzzy membership function is constructed as: λ=min{α,β}; Get maxλ; where α and β are the fuzzy membership of the first objective function and the second objective function respectively; λ is the global fuzzy membership; F U represents the optimal solution of the first objective function, f L represents the optimal solution of the second objective function; According to the global fuzzy membership λ, the natural gas input volume is configured for multiple different gas-consuming departments to obtain the simulated reference data of the configured natural gas volume.

7. A natural gas resource allocation method according to claim 1, characterized in that: The gas-using sector is any one of residential city gas, non-residential city gas, chemical industry gas, fertilizer industry gas, CNG, LNG, natural gas power generation gas, manufacturing industry gas and external gas.

8. A natural gas resource allocation system, characterized in that: include: A first data receiving and processing module is configured to receive a first variable input to a natural gas resource configuration model constructed by the natural gas resource configuration model construction method according to any one of claims 1 to 5, and based on the first variable, solve the first objective function and the second objective function to obtain an ideal solution result, and obtain a first objective function value And the second objective function value The second data receiving and processing module is used to receive and process the data according to the first objective function value. And the second objective function value Receive the second variable input into the natural gas resource allocation model to obtain the first objective function value boundary and the second objective function value boundary The third data receiving and processing module is used to receive and process the data according to the first objective function value. The second objective function value The first objective function value boundary and the second objective function value boundary The global fuzzy membership λ is obtained, and the natural gas input volume is configured for multiple different gas-consuming departments according to the global fuzzy membership λ, so as to obtain the simulation reference data of the configured natural gas volume.

9. The natural gas resource allocation system according to claim 6, characterized in that: The third data receiving and processing module is connected to the natural gas volume configurer terminal and is used to send the natural gas volume configuration reference information to the natural gas volume configurer terminal.