Natural gas energy metering method based on artificial intelligence, Internet of Things system and equipment

Through the natural gas energy measurement method based on artificial intelligence, the use of the Internet of Things system to calculate the calorific value evaluation value of natural gas is solved, and the accuracy of natural gas energy measurement and trade fairness are improved.

CN119028487AInactive Publication Date: 2024-11-26SOUTHWEST JIAOTONG UNIV

Patent Information

Application Number
CN202411153012.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional natural gas measurement methods are not stable due to the instability of natural gas temperament, resulting in inconsistent energy released by natural gas of the same volume or mass, which cannot accurately reflect the actual value of natural gas and affect the fairness of trade.

Method used

Using natural gas energy measurement method based on artificial intelligence, natural gas data is obtained through the Internet of Things system, its first theoretical heat value and actual measured heat value are determined, the calorific value evaluation value is calculated, and whether it is within the preset range is determined, and then the accurate calculation is carried out. Natural gas energy value.

Benefits of technology

It improves the accuracy of natural gas energy measurement, ensures fairness of natural gas trade and the protection of the interests of both parties.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119028487A_ABST
    Figure CN119028487A_ABST
Patent Text Reader

Abstract

The invention discloses a natural gas energy metering method based on artificial intelligence, an Internet of Things system and equipment, and relates to the technical field of energy metering, and the method comprises the steps: obtaining natural gas data at a preset moment from an energy metering data sensing layer based on an energy metering data transmission layer, determining a first theoretical heat value of the natural gas according to the natural gas data; collecting a natural gas sample at the preset moment based on the energy measurement data sensing layer; obtaining an actual measured calorific value of the natural gas sample based on calorific value analysis equipment; and determining a heat value evaluation value according to the natural gas data, the first theoretical heat value and the actually measured heat value, and judging whether the heat value evaluation value is within a preset range, if so, obtaining the natural gas usage amount of a target point location, and determining a natural gas energy value according to the actually measured heat value and the natural gas usage amount. The method has the effect of improving the accuracy of natural gas energy metering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of energy metering, and in particular to a natural gas energy metering method, an Internet of Things system, and equipment based on artificial intelligence. Background Art

[0002] Natural gas is a general term for a mixture of gases with hydrocarbons as the main component existing in underground rock reservoirs. The main components of natural gas are alkanes, of which methane accounts for the vast majority, with small amounts of ethane, propane and butane. In addition, there are generally hydrogen sulfide, carbon dioxide, nitrogen, water vapor, a small amount of carbon monoxide and trace amounts of rare gases. Natural gas resources are highly efficient and clean, and have been widely used in various aspects such as industrial fuel, process production, and urban household gas.

[0003] As a commodity, natural gas requires fair and accurate value measurement in the trade process. Traditional natural gas measurement methods mainly use volume or mass measurement, but due to the unstable gas quality, the energy released by the same volume or mass of natural gas is often inconsistent. Therefore, traditional natural gas measurement methods are not conducive to the public measurement of natural gas to a certain extent. Natural gas energy measurement technology not only takes into account the volume or mass of natural gas, but also its calorific value. It can more accurately reflect the actual value of natural gas, help ensure the fairness of trade, and protect the interests of both buyers and sellers.

[0004] Therefore, the present application provides a natural gas energy metering method, Internet of Things system and equipment based on artificial intelligence to improve the accuracy of natural gas energy metering. Summary of the invention

[0005] In order to improve the accuracy of natural gas energy metering, the present application provides a natural gas energy metering method, an Internet of Things system and a device based on artificial intelligence.

[0006] In the first aspect, the present application provides a natural gas energy metering method based on artificial intelligence, which adopts the following technical solutions:

[0007] A natural gas energy metering method based on artificial intelligence is used in an Internet of Things system, wherein the Internet of Things system includes an energy metering data application layer, an energy metering data transmission layer, and an energy metering data perception layer. The method is executed by the energy metering data application layer, including:

[0008] Based on the energy metering data transmission layer, the energy metering data sensing layer obtains the natural gas data at a preset time, and determines the first theoretical calorific value of the natural gas according to the natural gas data; the natural gas data includes but is not limited to the temperature, pressure, components and the corresponding content of each component of the natural gas;

[0009] Collecting the natural gas sample at the preset time based on the energy metering data perception layer;

[0010] Obtaining an actual measured calorific value of the natural gas sample based on a calorific value analysis device;

[0011] A calorific value evaluation value is determined based on the natural gas data, the first theoretical calorific value and the actually measured calorific value, and it is determined whether the calorific value evaluation value is within a preset range. If so, the natural gas usage at the target point is obtained, and the natural gas energy value is determined based on the actually measured calorific value and the natural gas usage.

[0012] By adopting the above technical scheme, firstly, the natural gas data at the preset time is obtained from the energy metering data perception layer based on the energy metering data transmission layer, and the first theoretical calorific value of the natural gas is determined according to the natural gas data. Then, the natural gas sample at the preset time is collected based on the energy metering data perception layer, and the actual measured calorific value of the natural gas sample is obtained based on the calorific value analysis equipment. Finally, the calorific value evaluation value is determined according to the natural gas data, the first theoretical calorific value and the actual measured calorific value, and it is judged whether the calorific value evaluation value is within the preset range. If the calorific value evaluation value is within the preset range, the natural gas usage at the target point is obtained, and the natural gas energy value is determined according to the actual measured calorific value and the natural gas usage. In the above method, the above calorific value evaluation value is obtained by the natural gas data, the first theoretical calorific value and the actual measured calorific value. The accuracy of the actual measured calorific value can be determined by the calorific value evaluation value, that is, when the calorific value evaluation value is within the preset range, it means that the actual measured calorific value is relatively accurate, and the natural gas energy value calculated by the above actual measured calorific value is more accurate, thereby improving the accuracy of natural gas energy metering.

[0013] Optionally, the step of determining the first theoretical calorific value of natural gas according to the natural gas data includes:

[0014] Preprocessing the natural gas data to obtain preprocessed data;

[0015] Acquire historical data, and divide the historical natural gas data according to a preset ratio to form a training set, a validation set, and a test set; the historical data includes historical natural gas data and corresponding historical calorific value data;

[0016] Training a pre-established energy metering model according to the training set to obtain a trained energy metering model;

[0017] Optimizing the trained energy metering model according to the validation set to obtain an optimized energy metering model;

[0018] Testing the optimized energy metering model according to the test set to obtain a tested energy metering model;

[0019] The preprocessing data is input into the tested energy metering model to obtain a first theoretical calorific value of the natural gas.

[0020] By adopting the above technical scheme, in order to obtain the first theoretical calorific value of natural gas, the natural gas data is preprocessed to obtain preprocessed data, and then historical natural gas data is obtained, and the historical natural gas data is divided according to a preset ratio to form a training set, a verification set and a test set, and then a pre-established energy metering model is trained according to the training set to obtain a trained energy metering model, and then the trained energy metering model is optimized according to the verification set to obtain an optimized energy metering model, and then the optimized energy metering model is tested according to the test set to obtain a tested energy metering model, and then the preprocessed data is input into the tested energy metering model, so as to obtain the first theoretical calorific value of natural gas.

[0021] Optionally, the step of determining a calorific value assessment value according to the natural gas data, the first theoretical calorific value and the actually measured calorific value includes:

[0022] Performing text data extraction on the natural gas data to obtain corresponding component text data and content text data;

[0023] Calculating the carbon-hydrogen ratio corresponding to each component according to the component text data, and calculating the second theoretical calorific value of the natural gas according to the content text data and the carbon-hydrogen ratio corresponding to each component;

[0024] Calculating a first difference value according to the first theoretical calorific value and the actually measured calorific value, and calculating a second difference value according to the second theoretical calorific value and the actually measured calorific value;

[0025] A heating value estimate is determined based on the first difference and the second difference.

[0026] By adopting the above technical solution, in order to determine the calorific value evaluation value, text data is first extracted from the natural gas data to obtain the corresponding component text data and content text data, and then the carbon and hydrogen element ratios corresponding to each component are calculated based on the component text data, and the second theoretical calorific value of the natural gas is calculated based on the content text data and the carbon and hydrogen element ratios corresponding to each component, and then the first difference is calculated based on the first theoretical calorific value and the actual measured calorific value, and the second difference is calculated based on the second theoretical calorific value and the actual measured calorific value, and then the calorific value evaluation value is determined based on the first difference and the second difference.

[0027] Optionally, the step of determining a calorific value assessment value according to the first difference and the second difference includes:

[0028] Matching the first difference in a first preset table to obtain a first weight corresponding to the first difference; the first preset table includes a mapping relationship between different value ranges and weights;

[0029] Matching the second difference in the first preset table to obtain a second weight corresponding to the second difference;

[0030] A heating value evaluation value is calculated according to the first difference, the second difference, the first weight, and the second weight.

[0031] By adopting the above technical solution, the first difference is first matched in the first preset table to obtain the first weight corresponding to the first difference, and the first preset table includes a mapping relationship between different numerical ranges and weights. Then, the second difference is matched in the first preset table to obtain the second weight corresponding to the second difference, and then the thermal value evaluation value is calculated based on the first difference, the second difference, the first weight and the second weight.

[0032] Optionally, after the step of determining a calorific value evaluation value according to the natural gas data, the first theoretical calorific value and the actually measured calorific value, and judging whether the calorific value evaluation value is within a preset range, and if so, obtaining the natural gas usage at the target point, and determining the natural gas energy value according to the actually measured calorific value and the natural gas usage, the step further includes:

[0033] Obtaining a target area of ​​the target point, and determining a corresponding regional charging standard according to the target area and a second preset table; the second preset table includes a mapping relationship between each area and the charging standard corresponding to each area;

[0034] The payment amount of the target point is determined according to the natural gas energy value and the billing standard.

[0035] By adopting the above technical solution, in order to determine the payment amount of the target point, the target area of ​​the target point is first obtained, and the corresponding regional billing standard is determined according to the target area and the second preset table. The second preset table includes a mapping relationship between each area and the billing standard corresponding to each area, and then the payment amount of the target point is determined according to the natural gas energy value and the billing standard.

[0036] Optionally, the method further includes:

[0037] Obtaining the historical daily usage of the natural gas by each user in each area, and determining the historical daily consumption of each area based on the historical daily usage;

[0038] Generate a regional consumption table according to the historical daily consumption of each region; the regional consumption table includes a mapping relationship between each region and the corresponding historical daily consumption;

[0039] The natural gas supply is carried out to each area according to the regional consumption table.

[0040] By adopting the above technical solution, in order to reasonably supply natural gas, the historical daily usage of natural gas by each user in each area is first obtained, and the historical daily consumption of each area is determined based on the historical daily usage. Then, a regional consumption table is generated based on the historical daily consumption of each area. The regional consumption table includes a mapping relationship between each area and the corresponding historical daily consumption. Finally, natural gas is supplied to each area based on the regional consumption table.

[0041] Optionally, the step of supplying natural gas to each region according to the regional consumption table includes:

[0042] Determine the total daily consumption forecast according to the regional consumption table; the total daily consumption forecast is the sum of the historical daily consumption of each region;

[0043] Obtain the available supply of the natural gas, and determine whether the total daily consumption forecast is greater than the available supply. If so, obtain the supply priority of each area, and determine the priority supply area according to the supply priority, the total daily consumption forecast, the regional consumption table and the available supply;

[0044] Natural gas is supplied to the priority supply area according to the available supply amount.

[0045] By adopting the above technical scheme, in order to supply natural gas to certain areas according to actual conditions, the total daily consumption forecast is first determined according to the regional consumption table, and the total daily consumption forecast is the sum of the historical daily consumption of each area. Then, the available natural gas supply is obtained, and it is determined whether the total daily consumption forecast is greater than the available supply. If the total daily consumption forecast is greater than the available supply, the supply priority of each area is obtained, and the priority supply area is determined according to the supply priority, the total daily consumption forecast, the regional consumption table and the available supply. Finally, natural gas is supplied to the priority supply area according to the available supply.

[0046] In the second aspect, the present application also provides an Internet of Things system, which adopts the following technical solution:

[0047] The Internet of Things system includes an energy metering data application layer, an energy metering data transmission layer and an energy metering data perception layer, wherein the energy metering data application layer is configured with:

[0048] A first theoretical calorific value generation module, configured to obtain natural gas data at a preset time from the energy metering data perception layer based on the energy metering data transmission layer, and determine a first theoretical calorific value of the natural gas according to the natural gas data; the natural gas data includes the temperature, pressure, components and the corresponding contents of the components of the natural gas;

[0049] The energy metering data perception layer is configured with:

[0050] A natural gas sample collection module, used to collect natural gas samples at the preset time based on the energy metering data perception layer;

[0051] The energy metering data application layer is also configured with:

[0052] An actual measured calorific value generation module, used for obtaining the actual measured calorific value of the natural gas sample based on a calorific value analysis device;

[0053] A natural gas energy value generation module is used to determine a calorific value evaluation value based on the natural gas data, the first theoretical calorific value and the actually measured calorific value, and to determine whether the calorific value evaluation value is within a preset range. If so, the natural gas usage at the target point is obtained, and the natural gas energy value is determined based on the actually measured calorific value and the natural gas usage.

[0054] Optionally, the energy metering data application layer is further configured with:

[0055] A text data extraction module, used to extract text data from the natural gas data to obtain corresponding component text data and content text data;

[0056] A second theoretical calorific value generating module, used for calculating the carbon-hydrogen element ratio corresponding to each component according to the component text data, and calculating the second theoretical calorific value of the natural gas according to the content text data and the carbon-hydrogen element ratio corresponding to each component;

[0057] a second difference calculation module, configured to calculate a first difference according to the first theoretical calorific value and the actually measured calorific value, and to calculate a second difference according to the second theoretical calorific value and the actually measured calorific value;

[0058] A calorific value evaluation value generating module is used to determine a calorific value evaluation value according to the first difference and the second difference.

[0059] In a third aspect, the present application also provides a computer device, which adopts the following technical solution:

[0060] A computer device comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described in the first aspect when executing the computer program.

[0061] In summary, the present application includes at least the following beneficial technical effects: first, based on the energy metering data transmission layer, natural gas data at a preset time is obtained from the energy metering data perception layer, and the first theoretical calorific value of the natural gas is determined according to the natural gas data; then, based on the energy metering data perception layer, a natural gas sample at a preset time is collected, and based on the calorific value analysis device, the actual measured calorific value of the natural gas sample is obtained; finally, a calorific value evaluation value is determined according to the natural gas data, the first theoretical calorific value and the actual measured calorific value, and it is judged whether the calorific value evaluation value is within a preset range; if the calorific value evaluation value is within the preset range, the natural gas usage at the target point is obtained, and the natural gas energy value is determined according to the actual measured calorific value and the natural gas usage; in the above method, the above calorific value evaluation value is obtained by the natural gas data, the first theoretical calorific value and the actual measured calorific value, and the accuracy of the actual measured calorific value can be determined through the calorific value evaluation value, that is, when the calorific value evaluation value is within the preset range, it means that the actual measured calorific value is relatively accurate, and the natural gas energy value calculated by the above actual measured calorific value is more accurate, thereby improving the accuracy of natural gas energy metering. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present application.

[0063] Figure 2 It is a schematic diagram of the structure of the system of the embodiment of the present application.

[0064] Figure 3 It is a schematic diagram of the overall structure of the application scenario of the system of the embodiment of the present application.

[0065] Figure 4 It is a specific structural diagram of the application scenario of the system of the embodiment of the present application.

[0066] Figure 5 It is a structural block diagram of the computer device of the present application. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-5 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0068] The embodiment of the present application discloses a natural gas energy metering method based on artificial intelligence.

[0069] Reference Figure 1 , a natural gas energy metering method based on artificial intelligence is used in an Internet of Things system, the Internet of Things system includes an energy metering data application layer, an energy metering data transmission layer and an energy metering data perception layer, and the method is executed by the energy metering data application layer, including:

[0070] Step S11, based on the energy metering data transmission layer, the natural gas data at a preset time is acquired from the energy metering data perception layer, and the first theoretical calorific value of the natural gas is determined according to the natural gas data.

[0071] The natural gas data includes but is not limited to the temperature, pressure, components and the corresponding content of each component of the natural gas.

[0072] Step S12, collecting natural gas samples at preset times based on the energy metering data perception layer.

[0073] It can be understood that, in step S12, the time of collecting the natural gas sample is consistent with the preset time.

[0074] Step S13, obtaining the actual measured calorific value of the natural gas sample based on the calorific value analysis equipment.

[0075] Step S14, determine the calorific value evaluation value according to the natural gas data, the first theoretical calorific value and the actual measured calorific value, and judge whether the calorific value evaluation value is within the preset range. If so, obtain the natural gas usage of the target point, and determine the natural gas energy value according to the actual measured calorific value and the natural gas usage.

[0076] Specifically, the calorific value evaluation value is determined based on the natural gas data, the first theoretical calorific value and the actual measured calorific value, and it is determined whether the calorific value evaluation value is within the preset range. If the calorific value evaluation value is within the preset range, the natural gas usage at the target point is obtained, and the natural gas energy value is determined based on the actual measured calorific value and the natural gas usage. If the calorific value evaluation value is not within the preset range, execution is restarted from step S11.

[0077] It can be understood that when the calorific value evaluation value is within the preset range, it means that the accuracy of the actual measured calorific value is higher; in step S14, the calculation formula of the natural gas energy value is E=q*H, where q represents the actual measured calorific value, H represents the natural gas usage, and E represents the natural gas energy value.

[0078] In the above embodiment, the natural gas data at a preset time is first obtained from the energy metering data perception layer based on the energy metering data transmission layer, and the first theoretical calorific value of the natural gas is determined according to the natural gas data. Then, the natural gas sample at the preset time is collected based on the energy metering data perception layer, and the actual measured calorific value of the natural gas sample is obtained based on the calorific value analysis equipment. Finally, the calorific value evaluation value is determined according to the natural gas data, the first theoretical calorific value and the actual measured calorific value, and it is judged whether the calorific value evaluation value is within the preset range. If the calorific value evaluation value is within the preset range, the natural gas usage at the target point is obtained, and the natural gas energy value is determined according to the actual measured calorific value and the natural gas usage. In the above method, the above calorific value evaluation value is obtained by the natural gas data, the first theoretical calorific value and the actual measured calorific value. The accuracy of the actual measured calorific value can be determined by the calorific value evaluation value, that is, when the calorific value evaluation value is within the preset range, it means that the actual measured calorific value is relatively accurate, and the natural gas energy value calculated by the above actual measured calorific value is more accurate, thereby improving the accuracy of natural gas energy metering.

[0079] As a further implementation of the metering method, the step of determining the first theoretical calorific value of natural gas according to natural gas data includes:

[0080] Step S21, preprocessing the natural gas data to obtain preprocessed data.

[0081] Step S22, obtaining historical natural gas data, and dividing the historical natural gas data according to a preset ratio to form a training set, a validation set, and a test set.

[0082] The historical data includes historical natural gas data and historical calorific value data corresponding to the historical natural gas data.

[0083] It can be understood that the preset ratio is a pre-set ratio, and the preset ratio is the ratio for dividing the historical natural gas data into a training set, a validation set and a test set; the historical calorific value data can be the actual measured calorific value in history, or it can be the calorific value data corresponding to the historical natural gas data obtained by other means.

[0084] Step S23, training the pre-established energy metering model according to the training set to obtain a trained energy metering model.

[0085] It should be noted that, in this embodiment, the pre-established energy metering model is a machine learning model based on artificial intelligence.

[0086] Step S24, optimizing the trained energy metering model according to the verification set to obtain an optimized energy metering model.

[0087] Step S25, testing the optimized energy metering model according to the test set to obtain a tested energy metering model.

[0088] Step S26: input the preprocessed data into a tested energy metering model to obtain a first theoretical calorific value of the natural gas.

[0089] In the above embodiment, in order to obtain the first theoretical calorific value of natural gas, the natural gas data is preprocessed to obtain preprocessed data, and then historical natural gas data is obtained, and the historical natural gas data is divided according to a preset ratio to form a training set, a validation set and a test set, and then the pre-established energy metering model is trained according to the training set to obtain a trained energy metering model, and then the trained energy metering model is optimized according to the validation set to obtain an optimized energy metering model, and then the optimized energy metering model is tested according to the test set to obtain a tested energy metering model, and then the preprocessed data is input into the tested energy metering model, so as to obtain the first theoretical calorific value of natural gas.

[0090] As a further implementation of the metering method, the step of determining the calorific value evaluation value according to the natural gas data, the first theoretical calorific value and the actually measured calorific value includes:

[0091] Step S31, extracting text data from natural gas data to obtain corresponding component text data and content text data.

[0092] Step S32, calculating the carbon-hydrogen ratio corresponding to each component according to the component text data, and calculating the second theoretical calorific value of the natural gas according to the content text data and the carbon-hydrogen ratio corresponding to each component.

[0093] It should be noted that the calculation method of the carbon-hydrogen ratio is: by analyzing the chemical formula of each component molecule, the number of carbon (C) and hydrogen (H) atoms can be extracted, for example: methane (CH): 1 C and 4 H; ethane (CH6): 2 C and 6 H, and so on, the C / H ratio of each component is calculated, and then the calorific value of the component is determined. Then, the second theoretical calorific value of natural gas is calculated using the content and corresponding calorific value of each component. The second theoretical calorific value Q can usually be calculated using the following formula:

[0094] Q=∑(H i *N i )

[0095] Among them, H i Indicates the calorific value of the component, N i Indicates the content of this component.

[0096] Step S33, calculating a first difference value according to the first theoretical calorific value and the actually measured calorific value, and calculating a second difference value according to the second theoretical calorific value and the actually measured calorific value.

[0097] Step S34, determining a calorific value evaluation value according to the first difference and the second difference.

[0098] In the above embodiment, in order to determine the calorific value evaluation value, text data is first extracted from the natural gas data to obtain the corresponding component text data and content text data, and then the carbon and hydrogen element ratios corresponding to each component are calculated based on the component text data, and the second theoretical calorific value of the natural gas is calculated based on the content text data and the carbon and hydrogen element ratios corresponding to each component, and then the first difference is calculated based on the first theoretical calorific value and the actual measured calorific value, and the second difference is calculated based on the second theoretical calorific value and the actual measured calorific value, and then the calorific value evaluation value is determined based on the first difference and the second difference.

[0099] As a further implementation of the metering method, the step of determining the calorific value assessment value according to the first difference and the second difference includes:

[0100] Step S41, matching the first difference in a first preset table to obtain a first weight corresponding to the first difference.

[0101] The first preset table includes mapping relationships between different value ranges and weights.

[0102] Step S42, matching the second difference in the first preset table to obtain a second weight corresponding to the second difference.

[0103] Step S43, calculating the calorific value evaluation value according to the first difference, the second difference, the first weight and the second weight.

[0104] In the above embodiment, the first difference is first matched in the first preset table to obtain the first weight corresponding to the first difference, and the first preset table includes a mapping relationship between different numerical ranges and weights. Then, the second difference is matched in the first preset table to obtain the second weight corresponding to the second difference, and then the thermal value evaluation value is calculated based on the first difference, the second difference, the first weight and the second weight.

[0105] As a further implementation of the metering method, after determining the calorific value evaluation value according to the natural gas data, the first theoretical calorific value and the actually measured calorific value, and judging whether the calorific value evaluation value is within a preset range, if so, obtaining the natural gas usage at the target point, and determining the natural gas energy value according to the actually measured calorific value and the natural gas usage, it also includes:

[0106] Step S51, obtaining a target area of ​​a target point, and determining a corresponding regional charging standard according to the target area and a second preset table.

[0107] The second preset table includes a mapping relationship between each area and the charging standards corresponding to each area.

[0108] Step S52, determining the payment amount of the target point according to the natural gas energy value and the billing standard.

[0109] In the above embodiment, in order to determine the payment amount of the target point, the target area of ​​the target point is first obtained, and the corresponding regional billing standard is determined based on the target area and the second preset table. The second preset table includes a mapping relationship between each area and the billing standard corresponding to each area, and then the payment amount of the target point is determined based on the natural gas energy value and the billing standard.

[0110] As a further implementation of the measurement method, the measurement method further includes:

[0111] Step S61, obtaining the historical daily usage of natural gas by each user in each area, and determining the historical daily consumption of each area based on the historical daily usage.

[0112] Step S62, generating a regional consumption table according to the historical daily consumption of each region; the regional consumption table includes a mapping relationship between each region and the corresponding historical daily consumption.

[0113] Step S63, supplying natural gas to each area according to the regional consumption table.

[0114] In the above embodiment, in order to reasonably supply natural gas, the historical daily usage of natural gas by each user in each area is first obtained, and the historical daily consumption of each area is determined based on the historical daily usage. Then, a regional consumption table is generated based on the historical daily consumption of each area. The regional consumption table includes a mapping relationship between each area and the corresponding historical daily consumption. Finally, natural gas is supplied to each area according to the regional consumption table.

[0115] As a further implementation of the metering method, the step of supplying natural gas to each region according to the regional consumption table includes:

[0116] Step S71, determining the total daily consumption forecast according to the regional consumption table.

[0117] Among them, the total daily consumption forecast is the sum of the historical daily consumption of each region.

[0118] Step S72, obtain the available supply of natural gas, and determine whether the total daily consumption forecast is greater than the available supply. If so, obtain the supply priority of each area, and determine the priority supply area based on the supply priority, total daily consumption forecast, regional consumption table and available supply.

[0119] Step S73, supplying natural gas to priority supply areas according to the available supply amount.

[0120] In the above embodiment, in order to supply natural gas to certain areas according to actual conditions, the total daily consumption forecast is first determined according to the regional consumption table, and the total daily consumption forecast is the sum of the historical daily consumption of each area. Then, the available natural gas supply is obtained, and it is determined whether the total daily consumption forecast is greater than the available supply. If the total daily consumption forecast is greater than the available supply, the supply priority of each area is obtained, and the priority supply area is determined based on the supply priority, the total daily consumption forecast, the regional consumption table and the available supply. Finally, natural gas is supplied to the priority supply area based on the available supply.

[0121] The embodiment of the present application also discloses an artificial intelligence-based natural gas energy metering Internet of Things system.

[0122] refer to Figure 2 The Internet of Things system includes an energy metering data application layer, an energy metering data transmission layer and an energy metering data perception layer. The energy metering data application layer is configured with:

[0123] A first theoretical calorific value generation module is used to obtain natural gas data at a preset time from the energy metering data perception layer based on the energy metering data transmission layer, and determine the first theoretical calorific value of the natural gas according to the natural gas data; the natural gas data includes the temperature, pressure, components and corresponding contents of the components of the natural gas;

[0124] The energy metering data perception layer is configured with:

[0125] A natural gas sample collection module, used to collect natural gas samples at preset times based on the energy metering data perception layer;

[0126] The energy metering data application layer is also configured with:

[0127] An actual measured calorific value generation module, used for obtaining an actual measured calorific value of a natural gas sample based on a calorific value analysis device;

[0128] The natural gas energy value generation module is used to determine the calorific value evaluation value based on the natural gas data, the first theoretical calorific value and the actual measured calorific value, and to judge whether the calorific value evaluation value is within a preset range. If so, the natural gas usage at the target point is obtained, and the natural gas energy value is determined based on the actual measured calorific value and the natural gas usage.

[0129] The energy metering data application layer is also configured with:

[0130] A text data extraction module, used to extract text data from the natural gas data to obtain corresponding component text data and content text data;

[0131] A second theoretical calorific value generating module, used for calculating the carbon-hydrogen element ratio corresponding to each component according to the component text data, and calculating the second theoretical calorific value of the natural gas according to the content text data and the carbon-hydrogen element ratio corresponding to each component;

[0132] a second difference calculation module, configured to calculate a first difference according to the first theoretical calorific value and the actually measured calorific value, and to calculate a second difference according to the second theoretical calorific value and the actually measured calorific value;

[0133] A calorific value evaluation value generating module is used to determine a calorific value evaluation value according to the first difference and the second difference.

[0134] The overall framework of the application scenarios of the Internet of Things system provided by the Internet of Things system of this application is as follows Figure 3 As shown, it may include an energy metering data application layer, an energy metering data transmission layer, and an energy metering data perception layer that interact in sequence, forming a basic three-layer architecture of the energy metering Internet of Things. Figure 4 The energy metering data application layer is configured with a first theoretical calorific value generation module, a natural gas sample collection module, an actual measured calorific value generation module, and a natural gas energy value generation module; the data storage module is used to obtain and store system operation data, and the first theoretical calorific value generation module, the actual measured calorific value generation module, and the natural gas energy value generation module can interact with the data storage module; the energy metering data transmission layer includes a device management module and a data transmission management module, and the device management module can interact with the data transmission management module; the energy metering data perception layer includes calorific value analysis equipment, flow sensors, pressure sensors, temperature sensors, and natural gas sample collection modules. Through the above three-layer Internet of Things system, a complete closed-loop information operation logic is established to ensure the orderly operation of perception information and control information, and realize intelligent management of energy metering.

[0135] Specifically, in the Internet of Things system of this embodiment, the energy metering data application layer is configured as follows: based on the energy metering data transmission layer, obtaining the natural gas data at a preset time from the energy metering data perception layer, and determining the first theoretical calorific value of the natural gas according to the natural gas data; the natural gas data includes the temperature, pressure, components and the corresponding content of each component of the natural gas; based on the energy metering data perception layer, collecting the natural gas sample at the preset time; based on the calorific value analysis equipment, obtaining the actual measured calorific value of the natural gas sample; determining the calorific value evaluation value according to the natural gas data, the first theoretical calorific value and the actual measured calorific value, and judging whether the calorific value evaluation value is within a preset range, if so, obtaining the natural gas usage at the target point, and determining the natural gas energy value according to the actual measured calorific value and the natural gas usage.

[0136] The Internet of Things system of the present invention can implement any one of the natural gas energy metering methods based on artificial intelligence, and the specific working process of the Internet of Things system of the present invention can refer to the corresponding process in the above-mentioned natural gas energy metering method based on artificial intelligence.

[0137] The embodiment of the present application also discloses a computer device.

[0138] refer to Figure 5 A computer device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, any one of the above-mentioned artificial intelligence-based natural gas energy metering methods is implemented.

[0139] Among them, computer-readable storage media can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus or device; the program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0140] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A natural gas energy metering method based on artificial intelligence, characterized in that: Used in an Internet of Things system, the Internet of Things system includes an energy metering data application layer, an energy metering data transmission layer and an energy metering data perception layer, and the method is performed by the energy metering data application layer, including: Based on the energy metering data transmission layer, the energy metering data sensing layer obtains the natural gas data at a preset time, and determines the first theoretical calorific value of the natural gas according to the natural gas data; the natural gas data includes but is not limited to the temperature, pressure, components and the corresponding content of each component of the natural gas; Collecting the natural gas sample at the preset time based on the energy metering data perception layer; Obtaining an actual measured calorific value of the natural gas sample based on a calorific value analysis device; A calorific value evaluation value is determined based on the natural gas data, the first theoretical calorific value and the actually measured calorific value, and it is determined whether the calorific value evaluation value is within a preset range. If so, the natural gas usage at the target point is obtained, and the natural gas energy value is determined based on the actually measured calorific value and the natural gas usage.

2. The natural gas energy metering method based on artificial intelligence according to claim 1 is characterized in that: The step of determining the first theoretical calorific value of natural gas according to the natural gas data comprises: Preprocessing the natural gas data to obtain preprocessed data; Acquire historical data, and divide the historical natural gas data according to a preset ratio to form a training set, a validation set, and a test set; the historical data includes historical natural gas data and corresponding historical calorific value data; Training a pre-established energy metering model according to the training set to obtain a trained energy metering model; Optimizing the trained energy metering model according to the validation set to obtain an optimized energy metering model; Testing the optimized energy metering model according to the test set to obtain a tested energy metering model; The preprocessing data is input into the tested energy metering model to obtain a first theoretical calorific value of the natural gas.

3. The natural gas energy metering method based on artificial intelligence according to claim 1 is characterized in that: The step of determining the calorific value evaluation value according to the natural gas data, the first theoretical calorific value and the actually measured calorific value comprises: Performing text data extraction on the natural gas data to obtain corresponding component text data and content text data; Calculating the carbon-hydrogen ratio corresponding to each component according to the component text data, and calculating the second theoretical calorific value of the natural gas according to the content text data and the carbon-hydrogen ratio corresponding to each component; Calculating a first difference value according to the first theoretical calorific value and the actually measured calorific value, and calculating a second difference value according to the second theoretical calorific value and the actually measured calorific value; A heating value estimate is determined based on the first difference and the second difference.

4. The natural gas energy metering method based on artificial intelligence according to claim 3 is characterized in that: The step of determining the calorific value evaluation value according to the first difference and the second difference comprises: Matching the first difference in a first preset table to obtain a first weight corresponding to the first difference; the first preset table includes a mapping relationship between different value ranges and weights; Matching the second difference in the first preset table to obtain a second weight corresponding to the second difference; A heating value evaluation value is calculated according to the first difference, the second difference, the first weight, and the second weight.

5. The natural gas energy metering method based on artificial intelligence according to claim 1 is characterized in that: After the step of determining a calorific value evaluation value according to the natural gas data, the first theoretical calorific value and the actually measured calorific value, and judging whether the calorific value evaluation value is within a preset range, and if so, obtaining the natural gas usage at the target point, and determining the natural gas energy value according to the actually measured calorific value and the natural gas usage, the method further includes: Obtaining a target area of ​​the target point, and determining a corresponding regional charging standard according to the target area and a second preset table; the second preset table includes a mapping relationship between each area and the charging standard corresponding to each area; The payment amount of the target point is determined according to the natural gas energy value and the billing standard.

6. The natural gas energy metering method based on artificial intelligence according to claim 1 is characterized in that: The method further comprises: Obtaining the historical daily usage of the natural gas by each user in each area, and determining the historical daily consumption of each area based on the historical daily usage; Generate a regional consumption table according to the historical daily consumption of each region; the regional consumption table includes a mapping relationship between each region and the corresponding historical daily consumption; The natural gas supply is carried out to each area according to the regional consumption table.

7. The natural gas energy metering method based on artificial intelligence according to claim 6 is characterized in that: The step of supplying natural gas to each region according to the regional consumption table comprises: Determine the total daily consumption forecast according to the regional consumption table; the total daily consumption forecast is the sum of the historical daily consumption of each region; Obtain the available supply of the natural gas, and determine whether the total daily consumption forecast is greater than the available supply. If so, obtain the supply priority of each area, and determine the priority supply area according to the supply priority, the total daily consumption forecast, the regional consumption table and the available supply; Natural gas is supplied to the priority supply area according to the available supply amount.

8. Internet of Things system, characterized in that, It includes an energy metering data application layer, an energy metering data transmission layer and an energy metering data perception layer, wherein the energy metering data application layer is configured with: A first theoretical calorific value generation module, configured to obtain natural gas data at a preset time from the energy metering data perception layer based on the energy metering data transmission layer, and determine a first theoretical calorific value of the natural gas according to the natural gas data; the natural gas data includes the temperature, pressure, components and the corresponding contents of the components of the natural gas; The energy metering data perception layer is configured with: A natural gas sample collection module, used to collect natural gas samples at the preset time based on the energy metering data perception layer; The energy metering data application layer is also configured with: An actual measured calorific value generation module, used for obtaining the actual measured calorific value of the natural gas sample based on a calorific value analysis device; A natural gas energy value generation module is used to determine a calorific value evaluation value based on the natural gas data, the first theoretical calorific value and the actually measured calorific value, and to determine whether the calorific value evaluation value is within a preset range. If so, the natural gas usage at the target point is obtained, and the natural gas energy value is determined based on the actually measured calorific value and the natural gas usage.

9. The Internet of Things system according to claim 8, characterized in that: The energy metering data application layer is also configured with: A text data extraction module, used to extract text data from the natural gas data to obtain corresponding component text data and content text data; A second theoretical calorific value generating module, used for calculating the carbon-hydrogen element ratio corresponding to each component according to the component text data, and calculating the second theoretical calorific value of the natural gas according to the content text data and the carbon-hydrogen element ratio corresponding to each component; a second difference calculation module, configured to calculate a first difference according to the first theoretical calorific value and the actually measured calorific value, and to calculate a second difference according to the second theoretical calorific value and the actually measured calorific value; A calorific value evaluation value generating module is used to determine a calorific value evaluation value according to the first difference and the second difference.

10. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

Citation Information

Patent Citations

  • Energy metering method, device, equipment and system and storage medium

    CN112381534A

  • Coal quality consistency evaluation method, device and equipment and readable storage medium

    CN112734211A

  • Natural gas energy metering method and system

    CN114399337A

  • Data processing method and device, computer equipment and storage medium

    CN117575481A

  • Method and apparatus for determining hot event

    US20190171724A1

Cited By

  • Intelligent gas flow regulation control Internet of Things system, method and device and medium

    CN120760063A

  • A smart gas flow control internet of things system, method, device and medium

    CN120760063B