CN112308587B - Natural gas peak valley month sales quantity determining method, device and storage medium - Google Patents

Natural gas peak valley month sales quantity determining method, device and storage medium Download PDF

Info

Publication number
CN112308587B
CN112308587B CN201910703697.1A CN201910703697A CN112308587B CN 112308587 B CN112308587 B CN 112308587B CN 201910703697 A CN201910703697 A CN 201910703697A CN 112308587 B CN112308587 B CN 112308587B
Authority
CN
China
Prior art keywords
natural gas
sales
year
month
daily average
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910703697.1A
Other languages
Chinese (zh)
Other versions
CN112308587A (en
Inventor
徐婧源
胡剑
罗敏
胡梅
刘颖
邓磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Petrochina Co Ltd
Original Assignee
Petrochina Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Petrochina Co Ltd filed Critical Petrochina Co Ltd
Priority to CN201910703697.1A priority Critical patent/CN112308587B/en
Publication of CN112308587A publication Critical patent/CN112308587A/en
Application granted granted Critical
Publication of CN112308587B publication Critical patent/CN112308587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0202Market predictions or forecasting for commercial activities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method for determining sales of natural gas in peak valley months, and belongs to the technical field of oil gas storage and transportation. The method comprises the following steps: acquiring daily sales of natural gas in each historical year of a plurality of historical years and planned sales of natural gas of a predicted year of a target area; according to the daily sales of the natural gas in each historical year, determining the daily average sales of the natural gas in each historical year by using a gas peak Gu Yue and the daily average sales of the natural gas; according to the planned sales amount of the natural gas in the predicted year, determining the daily average sales amount of the natural gas in the predicted year; determining the natural gas peak Gu Yue daily average sales of the predicted year according to the natural gas daily average sales, the natural gas daily average sales and the predicted natural gas daily average sales of the peak Gu Yue in each historical year; and determining planning information of pipeline construction according to the predicted annual natural gas peak Gu Yue daily average sales. According to the method and the device, the natural gas peak valley month sales of the target area in the predicted year can be accurately and rapidly determined.

Description

Natural gas peak valley month sales quantity determining method, device and storage medium
Technical Field
The application relates to the technical field of oil and gas storage and transportation, in particular to a method and a device for determining sales of natural gas in peak valley months and a storage medium.
Background
The excessive change of the air consumption of the users can cause the insufficient influence of the fluctuation of the running air quantity of the existing scale pipe network, so that the supply requirement of the air consumption market cannot be met, the safe running of the pipe network is seriously influenced, and a series of social, safety and environmental problems are brought. Therefore, the method accurately analyzes the high peak value and the low valley value of the gas consumption of the natural gas market users, controls the stable operation of the natural gas transmission pipeline and the gas distribution pipeline, meets the gas consumption requirements of the users in different periods, and has important significance in reasonably planning pipeline facility construction.
However, no research on the aspect of high peak value and low valley value of gas consumption of users in the natural gas market exists at present, so that a method for determining the peak-valley-month sales amount of natural gas is needed to accurately determine the peak-valley-month sales amount of natural gas, and data support is provided for reasonably planning pipeline facility construction.
Disclosure of Invention
The embodiment of the application provides a method and a device for determining the sales of natural gas in peak, valley and month, which can solve the problem that the sales of natural gas in peak, valley and month cannot be accurately determined in the related technology. The technical scheme is as follows:
In a first aspect, a method for determining sales of natural gas in peak valley months is provided, the method comprising:
acquiring daily sales of natural gas in each of a plurality of historical years in a target area, and acquiring planned sales of natural gas in a predicted year;
according to the daily sales of the natural gas in each historical year, determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year;
determining the daily average sales of the natural gas of the predicted year according to the planned sales of the natural gas of the predicted year;
determining the average daily sales of the natural gas peak Gu Yue of the predicted year according to the average daily sales of the natural gas in the peak month of the gas consumption in each historical year, the average daily sales of the natural gas in the valley month of the gas consumption in each historical year, the average daily sales of the natural gas in each historical year and the average daily sales of the natural gas in the predicted year;
and determining planning information of the construction of the natural gas pipeline facilities of the predicted year according to the Gu Yue daily average sales of the natural gas peak of the predicted year.
Optionally, the determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year according to the daily sales of the natural gas in each historical year includes:
determining the natural gas month sales of each month in a target year according to the natural gas daily sales in the target year, wherein the target year is any one of the plurality of historical years;
determining the ratio of the maximum sales amount in the natural gas month sales amount of the months of the target year to the total number of days of the months corresponding to the maximum sales amount as the natural gas daily average sales amount of the gas peak month of the target year;
determining the ratio of the minimum sales amount in the natural gas month sales amount of the months of the target year to the total number of days of the months corresponding to the minimum sales amount as the natural gas daily average sales amount of the gas use valley month of the target year;
determining the sum of the daily sales of the natural gas in the target year, and taking the ratio of the determined sum to the total days in the target year as the daily average sales of the natural gas in the target year.
Optionally, the determining the average sales of the natural gas peak Gu Yue of the predicted year according to the average sales of the natural gas in the peak month of the gas consumption in each historical year, the average sales of the natural gas in the valley month of the gas consumption in each historical year, the average sales of the natural gas in each historical year and the average sales of the natural gas in the predicted year includes:
determining a plurality of first natural gas sales in the predicted year according to the natural gas daily average sales in the peak gas consumption month in each historical year, the natural gas daily average sales in each historical year and the natural gas daily average sales in the predicted year;
determining a plurality of second natural gas sales in the predicted year according to the natural gas daily average sales in the valley month of the gas consumption in each historical year, the natural gas daily average sales in each historical year and the natural gas daily average sales in the predicted year;
and determining the Gu Yue daily average sales of the natural gas peak of the predicted year according to the first natural gas sales amount and the second natural gas sales amount.
Optionally, the determining the plurality of first natural gas sales in the predicted year according to the natural gas daily average sales in the peak gas consumption month in each historical year, the natural gas daily average sales in each historical year, and the natural gas daily average sales in the predicted year includes:
Determining the ratio of the daily average sales of the natural gas in the peak month of the gas consumption in each historical year to the daily average sales of the natural gas in the corresponding year to obtain a plurality of first ratios;
a product between each of the plurality of first ratios and the daily sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as the plurality of first sales of natural gas for the predicted year.
Optionally, the determining the plurality of second natural gas sales in the predicted year according to the natural gas daily average sales in the valley month of the gas consumption in each historical year, the natural gas daily average sales in each historical year, and the natural gas daily average sales in the predicted year includes:
determining a ratio between the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in the corresponding year to obtain a plurality of second ratios;
a product between each of the plurality of second ratios and the daily sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as a plurality of second sales of natural gas for the predicted year.
Optionally, the determining the average daily sales of the natural gas peak Gu Yue of the predicted year according to the first plurality of natural gas sales and the second plurality of natural gas sales comprises:
Obtaining a maximum value of the plurality of first natural gas sales;
rounding up the obtained maximum value to obtain the daily average sales volume of the peak month of the annual gas consumption prediction;
acquiring a minimum value of the plurality of second natural gas sales volumes;
and rounding the obtained minimum value downwards to obtain the daily average sales volume of the predicted annual gas consumption valley month.
In a second aspect, there is provided a natural gas peak valley month sales volume determining apparatus, the apparatus comprising:
the acquisition module is used for acquiring the daily sales of the natural gas in each historical year of the target area in a plurality of historical years and acquiring the planned sales of the natural gas in the predicted year;
the first determining module is used for determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year according to the daily sales of the natural gas in each historical year;
the second determining module is used for determining the daily average sales of the natural gas in the predicted year according to the planned sales of the natural gas in the predicted year;
the third determining module is used for determining the natural gas peak Gu Yue daily average sales of the predicted year according to the natural gas daily average sales of the peak gas consumption month in each historical year, the natural gas daily average sales of the valley gas consumption month in each historical year and the natural gas daily average sales in each historical year;
And the fourth determining module is used for determining planning information of the construction of the natural gas pipeline facilities in the predicted year according to the Gu Yue daily average sales of the natural gas peak in the predicted year.
Optionally, the first determining module includes:
a first determining submodule, configured to determine a natural gas month sales amount of each month in a target year according to a natural gas daily sales amount in the target year, where the target year is any one of the plurality of historical years;
a second determining submodule, configured to determine a ratio between a maximum sales amount of the natural gas month sales amounts of the months of the target year and a total number of days of the months corresponding to the maximum sales amount as a natural gas daily average sales amount of the peak gas consumption month of the target year;
a third determining submodule, configured to determine a ratio between a minimum sales amount of the natural gas month sales amounts of the months of the target year and a total number of days of the months corresponding to the minimum sales amount as a natural gas daily average sales amount of the gas use low valley month of the target year;
and a fourth determining submodule, configured to determine a sum of daily sales of natural gas in the target year, and take a ratio between the determined sum and a total number of days in the target year as daily average sales of natural gas in the target year.
Optionally, the third determining module includes:
a fifth determining submodule, configured to determine a plurality of first natural gas sales in the predicted year according to a natural gas daily average sales in a peak month of gas consumption in each historical year, a natural gas daily average sales in each historical year, and a natural gas daily average sales in the predicted year;
a sixth determining submodule, configured to determine a plurality of second natural gas sales in the predicted year according to a natural gas daily average sales in the valley month of the gas in each historical year, a natural gas daily average sales in each historical year, and the natural gas daily average sales in the predicted year;
a seventh determination sub-module for determining a natural gas peak Gu Yue daily average sales for the predicted year based on the plurality of first natural gas sales and the plurality of second natural gas sales.
Optionally, the fifth determining submodule is configured to:
determining the ratio of the daily average sales of the natural gas in the peak month of the gas consumption in each historical year to the daily average sales of the natural gas in the corresponding year to obtain a plurality of first ratios;
a product between each of the plurality of first ratios and the daily sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as the plurality of first sales of natural gas for the predicted year.
Optionally, the sixth determining submodule is configured to:
determining a ratio between the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in the corresponding year to obtain a plurality of second ratios;
a product between each of the plurality of second ratios and the daily sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as a plurality of second sales of natural gas for the predicted year.
Optionally, the seventh determining submodule is configured to:
obtaining a maximum value of the plurality of first natural gas sales;
rounding up the obtained maximum value to obtain the daily average sales volume of the peak month of the annual gas consumption prediction;
acquiring a minimum value of the plurality of second natural gas sales volumes;
and rounding the obtained minimum value downwards to obtain the daily average sales volume of the predicted annual gas consumption valley month.
In a third aspect, there is provided a natural gas peak valley month sales volume determining apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the natural gas peak valley month sales determining methods described in the first aspect above.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon instructions which, when executed by a processor, implement the steps of any of the natural gas peak valley month sales quantity determining methods of the first aspect described above.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects: the method includes obtaining daily sales of natural gas in each of a plurality of historical years for a target area, and obtaining planned sales of natural gas for a predicted year. Then, according to the daily sales of the natural gas in each historical year, determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year; according to the planned sales amount of the natural gas in the predicted year, determining the daily average sales amount of the natural gas in the predicted year; and determining the natural gas peak Gu Yue daily average sales of the predicted year according to the natural gas daily average sales of the peak month of the gas consumption in each historical year, the natural gas daily average sales of the valley month of the gas consumption in each historical year, the natural gas daily average sales of each historical year and the natural gas daily average sales of the predicted year. And finally, determining planning information of the construction of the natural gas pipeline facilities of the predicted year according to the Gu Yue daily average sales of the natural gas peak of the predicted year. According to the method and the device for determining the daily average sales of the natural gas in the peak month and the valley month of the target area in the forecast year, the daily average sales of the natural gas in the peak month and the valley month of the target area in the forecast year can be accurately and rapidly determined, and therefore data support can be provided for reasonable planning of pipeline facility construction.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for determining sales of natural gas in peak valley months according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for determining daily average sales of natural gas for peak and valley gas usage for each historical year and daily average sales of natural gas for each historical year provided in an embodiment of the present application;
FIG. 3 is a flow chart of a method for determining a predicted annual natural gas peak Gu Yue daily average sales provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a natural gas peak valley month sales determining device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another natural gas peak valley month sales determining device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for determining sales of natural gas in peak valley months according to an embodiment of the present application. Referring to fig. 1, the method includes:
step 101: the method includes obtaining daily sales of natural gas in each of a plurality of historical years for a target area, and obtaining planned sales of natural gas for a predicted year.
It should be noted that the target region may be any region to be studied.
In addition, the historical year may be the year before the predicted year, and may be the complete year within the already past year. For example, currently 5 months in 2019, the historical year may be 2018, 2017, etc. The predicted year may be any one of the years in the future. To improve the accuracy of the determined peak valley month sales volume of natural gas, the daily sales volume of natural gas for each of at least three historical years for the target area may be obtained, and the at least three historical years may be the three historical years closest to the predicted year. For example, the predicted year is 2020, and is currently 5 months in 2019, then the plurality of historical years may be 2018, 2017, 2016, etc.
Assuming that the plurality of historic years is 2018, 2017, 2016, the daily sales of natural gas in each of the plurality of historic years for the target area are obtained, and in effect, the daily sales of natural gas in 2018, the daily sales of natural gas in 2017, and the daily sales of natural gas in 2016 are obtained.
Wherein the daily sales of natural gas per historical year may be the actual supply of gas provided by the target area supply unit. Of course, in order to improve the accuracy and referenceability of the determined daily sales of the peak Gu Yue of the predicted year, the daily sales of the natural gas in the acquired historical years may also be obtained after screening the actual supply amount in each of the plurality of historical years provided by the target area supply unit. Because the supply relationship between the natural gas sales market and the gas demand changes when the target area development planning policy changes, after the daily sales of natural gas in each of the plurality of historical years provided by the gas supply unit are obtained, the daily sales of natural gas in the plurality of historical years can be filtered in combination with the development planning policy of each historical year. For example, when the plurality of historical years are 2018, 2017, 2016, 2015 and 2014, and the development planning policies of 2014 and 2015 are the same, and the development planning policies of 2016 are adjusted from the beginning of 2015, the development planning policies of 2016, 2017 and 2018 are the same, three historical years 2018, 2017 and 2016, which are the latest from the predicted year (2020), can be selected from 2018, 2017, 2016, 2015 and 2014, and the development planning policies are the same, and the sales of natural gas and months in 2018, 2017 and 2016 are taken as the sales of natural gas and months in the plurality of historical years in the acquired target area.
Step 102: and determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year according to the daily sales of the natural gas in each historical year.
The peak gas consumption month in a certain history year is the month with the largest gas consumption in the history year, and the daily average sales of natural gas in the peak gas consumption month in a certain history year is the average daily sales of natural gas in the peak gas consumption month in the history year. Similarly, the valley month of gas consumption in a certain historical year is the month of the lowest gas consumption in the historical year, and the daily average sales of natural gas in the valley month of gas consumption in a certain historical year is the daily average sales of natural gas in the valley month of gas consumption in the historical year.
The present step will be described below taking as an example a target year of a plurality of history years, wherein the target year may be any one of the plurality of history years. Illustratively, referring to FIG. 2, this step may be implemented by steps 1021-1024 as follows:
Step 1021: and determining the natural gas month sales of each month in the target year according to the natural gas daily sales in the target year.
The daily sales of natural gas in the target year is the daily sales of natural gas in the target year. For any month in the target year, the daily natural gas sales in the month can be obtained, and the daily natural gas sales in the month can be accumulated to obtain the natural gas month sales in the month.
For example, for 1 month of the target year, the daily sales of natural gas for 31 days in 1 month may be accumulated to obtain the daily sales of natural gas for 1 month in the target year. Similarly, the daily sales of natural gas in 2 months, 3 months, … …, 11 months and 12 months in the target year can be respectively accumulated to obtain the daily sales of natural gas in 2 months, 3 months, … …, 11 months and 12 months in the target year.
Further, after determining the natural gas month sales amount for each month in the target year through step 1021, the historical year, month, and natural gas month sales amount may be stored correspondingly for later use.
Step 1022: and determining the ratio of the maximum sales amount in the natural gas month sales amount of a plurality of months of the target year to the total number of days of the months corresponding to the maximum sales amount as the natural gas daily average sales amount of the gas consumption peak month of the target year.
Illustratively, the natural gas month sales of the plurality of months within the target year obtained in step 1021 may be ranked in order from large to small, the first natural gas month sales may be determined as the largest month sales among the natural gas month sales of the plurality of months, or the last natural gas month sales may be determined as the largest month sales among the natural gas month sales of the plurality of months.
After determining the maximum month sales amount of the natural gas month sales amounts of the plurality of months of the target year, the month corresponding to the target year and the maximum month sales amount can be searched from the stored corresponding relation of the historical year, month and natural gas month sales amount according to the target year and the maximum month sales amount, and the searched month is determined as the month corresponding to the maximum month sales amount of the natural gas month sales amount of the target year. The month corresponding to the maximum month sales is the peak month of gas consumption in the target year.
After determining the month of the target year, the maximum month sales amount and the month corresponding to the maximum month sales amount, the ratio of the maximum month sales amount to the total number of days included in the gas consumption peak month may be determined, so as to obtain the natural gas daily average sales amount of the gas consumption peak month of the target year. For example, the maximum sales amount of the natural gas month sales amount of the plurality of months of the target year (2018) is 5200 square, and the corresponding month of the maximum sales amount is 3 months, that is, the peak gas use month is 3 months. The ratio of the maximum sales (161200 square) to the total number of days (31 days) of 3 months was calculated to be 5200 square, and it was found that the daily average sales of natural gas in the peak gas consumption month of the target year was 5200 square.
Step 1023: and determining the ratio of the minimum sales amount in the natural gas month sales amount of the months of the target year to the total number of days of the months corresponding to the minimum sales amount as the natural gas daily average sales amount of the gas use valley month of the target year.
Illustratively, the natural gas month sales of the plurality of months within the target year obtained in step 1021 may be ranked in order from large to small, the last natural gas month sales being determined as the smallest month sales among the natural gas month sales of the plurality of months, or the first natural gas month sales being determined as the smallest month sales among the natural gas month sales of the plurality of months.
After determining the minimum month sales amount of the natural gas month sales amounts of the plurality of months of the target year, the month corresponding to the target year and the minimum month sales amount can be searched from the stored corresponding relation of the historical year, month and natural gas month sales amount according to the target year and the minimum month sales amount, and the searched month is determined as the month corresponding to the minimum month sales amount of the natural gas month sales amounts of the target year. The month corresponding to the minimum month sales is the low valley month of the gas consumption in the target year.
After determining the month of the target year, the minimum month sales amount and the month corresponding to the minimum month sales amount, the ratio of the minimum month sales amount to the total number of days included in the gas use low valley month may be determined, so as to obtain the natural gas daily average sales amount of the gas use low valley month of the target year. For example, the minimum sales amount of the natural gas month sales amount of the plurality of months of the target year (2018) is 4800 square, and the month corresponding to the minimum sales amount is 9 months, that is, 9 months of the off-gas valley month. The ratio of the minimum sales (144000 square) to the total number of days (30 days) of 9 months was calculated to be 4800, and it was found that the average daily sales of natural gas for the low-valley month of the gas consumption of the target year was 4800 square.
Step 1024: the sum of the daily sales of the natural gas in the target year is determined, and the ratio of the determined sum to the total number of days in the target year is taken as the daily average sales of the natural gas in the target year.
Note that, the natural gas sales amount per day in 365 days of the target year acquired in the above step 201 may be accumulated, so as to obtain the natural gas annual sales amount of the target year. Thereafter, a ratio between the annual sales of natural gas for the target year and the total number of days in the target year is determined, thereby obtaining the daily average sales of natural gas in the target year.
The above steps are described by taking a target year among the plurality of history years as an example. For each of the plurality of history years, the target year may be processed according to the processing method described above, so as to obtain the daily average sales of natural gas in the peak month of the gas consumption in each of the plurality of history years, the daily average sales of natural gas in the valley month of the gas consumption in each of the plurality of history years, and the daily average sales of natural gas in each of the history years.
Step 103: and determining the daily average sales of the natural gas in the predicted year according to the planned sales of the natural gas in the predicted year.
Based on the design year working days in the 'design year working days should be calculated according to 350 days' in the GB50251-2015 'gas pipeline engineering design Specification', the step can be to calculate the ratio between the planned sales amount of the natural gas in the predicted year and 350, and the obtained ratio is determined as the daily average sales amount of the natural gas in the predicted year.
Step 104: and determining the natural gas peak Gu Yue daily average sales of the predicted year according to the natural gas daily average sales of the peak month of the gas consumption in each historical year, the natural gas daily average sales of the valley month of the gas consumption in each historical year, the natural gas daily average sales of each historical year and the natural gas daily average sales of the predicted year.
The predicted annual natural gas peak Gu Yue daily average sales refer to the predicted annual gas peak daily average sales and the predicted annual gas peak to peak and peak to valley daily average sales.
In one possible implementation, the step may select a maximum natural gas daily average sales amount of the natural gas daily average sales amounts in the peak gas consumption months and a minimum natural gas daily average sales amount of the natural gas daily average sales amounts in the valley gas consumption months in the plurality of historical years; determining a ratio between the maximum natural gas daily average sales of the peak gas consumption month and the natural gas daily average sales in the corresponding year as a third ratio, and determining a ratio between the minimum natural gas daily average sales of the valley gas consumption month and the natural gas daily average sales in the corresponding year as a fourth ratio; the product between the third ratio and the predicted annual natural gas daily average sales is determined as a first product, the first product is taken as the predicted annual gas peak-to-month daily average sales, the product between the fourth ratio and the predicted annual natural gas daily average sales is determined as a second product, and the second product is taken as the predicted annual gas valley-to-month daily average sales.
In another possible embodiment, referring to fig. 3, this step may be implemented by the following steps 1041-1043:
step 1041: and determining a plurality of first natural gas sales in the predicted year according to the natural gas daily average sales in the peak gas consumption month in each historical year, the natural gas daily average sales in each historical year and the natural gas daily average sales in the predicted year.
Since the annual development planning policies of the target area may be different, the natural gas sales market may also vary with the policy, and thus the daily sales of natural gas in the same month of the plurality of historical years may be different, and thus the peak gas usage month may be different in the plurality of historical years, the daily average sales of natural gas in each of the determined peak gas usage months may be different in each of the plurality of historical years, and the daily average sales of natural gas in each of the historical years. Based on this, for any one of the plurality of history years, the one first natural gas sales in the predicted year can be determined based on the natural gas daily average sales in the peak month of the gas consumption in the history year, the natural gas daily average sales in the history year, and the natural gas daily average sales in the predicted year, so that the plurality of first natural gas sales can be determined for the plurality of history years correspondingly.
For example, a ratio between a daily average sales of natural gas in a peak gas usage month and a daily average sales of natural gas in a corresponding year may be determined for each historical year, resulting in a plurality of first ratios; a product between each of the plurality of first ratios and the daily average sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as the plurality of first sales of natural gas for the predicted year.
For example, the predicted year is 2020, and the plurality of historical years is 2018, 2017, and 2016, then in this step, a ratio between a daily average sales of natural gas in a peak month of gas usage in 2018 and a daily average sales of natural gas in 2018 may be determined, resulting in a 1 st first ratio; determining the ratio of the daily average sales of the natural gas in the peak month of the gas consumption in 2017 to the daily average sales of the natural gas in 2017 to obtain a first ratio of the 2 nd; and determining the ratio of the daily average sales of the natural gas in the peak month of the gas consumption in the year 2016 to the daily average sales of the natural gas in the year 2016, and obtaining the first ratio of the 3 rd. Then, the product between the 1 st first ratio and the average daily sales of the natural gas in 2020 can be determined, and the determined product is taken as the 1 st first natural gas sales in 2020; determining the product of the 2 nd first ratio and the daily average sales of the natural gas in 2020, and taking the determined product as the 2 nd first natural gas sales in 2020; the product between the 3 rd first ratio and the average sales of natural gas in year 2020 is determined, and the determined product is taken as the 3 rd first sales of natural gas in year 2020.
Step 1042: and determining a plurality of second natural gas sales in the predicted year according to the natural gas daily average sales in the valley month of the gas consumption in each historical year, the natural gas daily average sales in each historical year and the natural gas daily average sales in the predicted year.
From the description in step 1041, the daily sales of natural gas in the same month of the plurality of historical years may be different, and thus, it may be known that the daily sales of natural gas in the valley month of the gas in the plurality of historical years may be different, and the determined daily sales of natural gas in the valley month of the gas in each of the plurality of historical years may be different. Based on this, for any one of the plurality of history years, the one second natural gas sales in the predicted year can be determined based on the natural gas daily average sales in the valley month of the gas consumption in the history year, the natural gas daily average sales in the history year, and the natural gas daily average sales in the predicted year, so that the plurality of second natural gas sales can be determined for the plurality of history years correspondingly.
For example, a ratio between the daily average sales of natural gas for the valley month of the gas usage and the daily average sales of natural gas for the corresponding year may be determined for each historical year, resulting in a plurality of second ratios; a product between each of the plurality of second ratios and the daily average sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as the plurality of second sales of natural gas for the predicted year.
For example, the predicted year is 2020, and the plurality of historical years is 2018, 2017, and 2016, then in this step, a ratio between the daily average sales of natural gas in the low valley month of gas usage in 2018 and the daily average sales of natural gas in 2018 may be determined, resulting in the 1 st second ratio; determining a ratio of the daily average sales of the natural gas in the valley month of the gas consumption in 2017 to the daily average sales of the natural gas in 2017 to obtain a second ratio of 2 nd; and determining the ratio of the daily average sales of the natural gas in the valley month of the gas consumption in the year 2016 to the daily average sales of the natural gas in the year 2016, and obtaining a 3 rd second ratio. Then, the product between the 1 st second ratio and the average daily sales of the natural gas in 2020 can be determined, and the determined product is taken as the 1 st second sales of the natural gas in 2020; determining the product of the second ratio of the 2 nd and the daily average sales of the natural gas in the year 2020, and taking the determined product as the second sales of the natural gas of the 2 nd in the year 2020; the product between the 3 rd second ratio and the average sales of natural gas in year 2020 is determined, and the determined product is taken as the 3 rd second sales of natural gas in year 2020.
Step 1043: a predicted annual natural gas peak Gu Yue daily average sales is determined based on the first plurality of natural gas sales and the second plurality of natural gas sales.
It should be noted that, the natural gas sales in each of the plurality of historical years may be different, so the first natural gas sales may be different, and the second natural gas sales may be different. Therefore, in this step, the first natural gas sales amounts and the second natural gas sales amounts may be respectively ranked, and the maximum value of the first natural gas sales amounts and the minimum value of the second natural gas sales amounts may be determined according to the ranking result.
After determining the maximum value of the plurality of first natural gas sales and the minimum value of the plurality of second natural gas sales, in one embodiment, the determined maximum value may be directly determined as the average daily sales of the peak month of the predicted annual gas use, and the determined minimum value may be determined as the average daily sales of the valley month of the predicted annual gas use.
In another embodiment, the determined maximum value and minimum value may be processed separately, the maximum value after the processing may be determined as the daily average sales of the peak month of annual gas, and the minimum value after the processing may be determined as the daily average sales of the valley month of annual gas.
Illustratively, the determined maximum value may be rounded up to obtain a daily average sales volume of the peak month of the annual gas consumption prediction; and rounding the determined minimum value downwards to obtain the daily average sales of the valley month of the annual consumption prediction.
The upward rounding may at least include the following three ways: in the first way, when the determined maximum value is a decimal place, the decimal place of the maximum value is removed, and then one digit is advanced upward in units of 1. For example, when the maximum value is 4812.4 square, the average daily sales of the estimated annual peak month obtained by rounding up the maximum value is 4813 square. In the second way, when the determined maximum value is an integer, the maximum value is advanced upward by one bit in units of 10. For example, when the maximum value is 4812 square, the average daily sales of the estimated annual peak month obtained by rounding up the maximum value is 4820 square. In a third way, when the determined maximum value is a fraction, the fraction of the maximum value is removed and then one more digit is taken as a unit of 10. For example, when the maximum value is 4812.4 square, the average daily sales of the estimated annual peak month after rounding up the maximum value is 4820 square. Of course, the above three ways of rounding up are exemplary, and the embodiments of the present application are not limited thereto in particular.
The downward rounding may at least include the following three ways: in the first way, when the determined minimum value is a decimal, the decimal place of the minimum value is discarded. For example, when the minimum value is 3412.4 square, the daily average sales of the estimated annual gas valley month obtained by rounding down the minimum value is 3412 square. In the second way, when the determined minimum value is an integer, the minimum value is backed by one bit in units of 10. For example, when the minimum value is 3412 square, the average daily sales of the estimated annual gas low valley month obtained by rounding down the minimum value is 3410 square. In a third way, when the determined minimum value is a decimal, the decimal of the minimum value is removed and then backed by one bit in units of 10. For example, when the minimum value is 3412.4 square per day, the average daily sales of the estimated annual gas valley month obtained by rounding down the minimum value is 3410 square per day. Of course, the above three ways of rounding down are exemplary, and the embodiments of the present application are not limited thereto in particular.
It should be noted that, according to the plurality of first natural gas sales and the plurality of second natural gas sales, the average daily sales of the natural gas peak Gu Yue in the predicted year is determined, so that the influence on the accuracy of determining the average daily sales of the natural gas peak Gu Yue in the predicted year due to the insufficient air supply or other reasons in the air supply can be avoided. In addition, the maximum value determined is rounded upwards, an upwards floating space can be reserved for the daily average sales of the peak month of the predicted annual gas consumption, the minimum value determined is rounded downwards, a downwards floating space can be reserved for the daily average sales of the valley month of the predicted annual gas consumption, so that the influence of some uncertain factors on the determined daily average sales of the peak Gu Yue of the natural gas of the predicted annual gas can be eliminated conveniently, and the accuracy of the determined daily average sales of the peak Gu Yue of the natural gas of the predicted annual gas can be improved.
Step 105: and determining planning information of the construction of the natural gas pipeline facilities of the predicted year according to the Gu Yue daily average sales of the natural gas peak of the predicted year.
The planning information for the construction of the pipeline facility includes pipeline specification information.
Illustratively, after the average daily sales of the natural gas peak Gu Yue of the predicted year is determined, the natural gas bearing capacity of the original pipeline in the target area can be obtained, then, the difference between the natural gas bearing capacity of the original pipeline and the determined average daily sales of the natural gas peak Gu Yue of the predicted year is determined, the difference is processed through a hydraulic algorithm, so that the inner diameter of the pipeline to be built is determined, and then, pipeline specification information conforming to the inner diameter of the pipeline is selected according to the determined inner diameter of the pipeline. For example, specification information such as the outer diameter and the wall thickness of the pipe with the inner diameter of the pipe having various specifications is acquired. The inner diameter of the pipeline to be constructed is determined by the hydraulic algorithm, and reference is made to the related art, which is not described herein.
It is worth to say that, according to the estimated annual natural gas pipeline facility construction planning information of the estimated annual natural gas peak Gu Yue average sales volume determination, the technician can be convenient to carry out reasonable evaluation on the bearing capacity of the original natural gas pipeline of the target area according to the estimated annual natural gas pipeline facility construction planning information, and when the original pipeline of the target area is determined to not meet the requirements, the natural gas pipeline can be expanded according to the estimated annual natural gas pipeline facility construction planning information.
In an embodiment of the present application, a daily sales of natural gas for a target area in each of a plurality of historical years is obtained, and a planned sales of natural gas for a predicted year is obtained. Then, according to the daily sales of the natural gas in each historical year, determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year; according to the planned sales amount of the natural gas in the predicted year, determining the daily average sales amount of the natural gas in the predicted year; and determining the natural gas peak Gu Yue daily average sales of the predicted year according to the natural gas daily average sales of the peak month of the gas consumption in each historical year, the natural gas daily average sales of the valley month of the gas consumption in each historical year, the natural gas daily average sales of each historical year and the natural gas daily average sales of the predicted year. And finally, determining planning information of the construction of the natural gas pipeline facilities of the predicted year according to the Gu Yue daily average sales of the natural gas peak of the predicted year. According to the method and the device for determining the daily average sales of the natural gas in the peak month and the valley month of the target area in the forecast year, the daily average sales of the natural gas in the peak month and the valley month of the target area in the forecast year can be accurately and rapidly determined, and therefore data support can be provided for reasonable planning of pipeline facility construction.
Fig. 4 is a schematic structural diagram of a natural gas peak valley month sales determining device according to an embodiment of the present application. Referring to fig. 4, the apparatus includes: an acquisition module 401, a first determination module 402, a second determination module 403, and a third determination module 404.
An obtaining module 401, configured to obtain a daily sales amount of natural gas in each of a plurality of historical years in a target area, and obtain a planned sales amount of natural gas in a predicted year;
a first determining module 402, configured to determine, according to the daily sales of natural gas in each historical year, a daily average sales of natural gas in a peak month of gas consumption in each historical year, a daily average sales of natural gas in a valley month of gas consumption in each historical year, and a daily average sales of natural gas in each historical year;
a second determining module 403, configured to determine a daily average sales amount of the natural gas in the predicted year according to the planned sales amount of the natural gas in the predicted year;
a third determining module 404, configured to determine a predicted annual natural gas peak Gu Yue daily average sales according to the natural gas daily average sales of the peak month of gas consumption in each historical year, the natural gas daily average sales of the valley month of gas consumption in each historical year, the natural gas daily average sales in each historical year, and the predicted annual natural gas daily average sales;
And the fourth determining module 405 is configured to determine planning information of the construction of the annual natural gas pipeline facility according to the daily average sales of the annual natural gas peak Gu Yue.
Optionally, the first determining module 402 includes:
the first determining submodule is used for determining the natural gas month sales amount of each month in the target year according to the natural gas daily sales amount in the target year, wherein the target year is any one of the plurality of historical years;
a second determining submodule, configured to determine a ratio between a maximum sales amount of the natural gas month sales amounts of the months of the target year and a total number of days of the months corresponding to the maximum sales amount as a natural gas daily average sales amount of the peak gas consumption month of the target year;
a third determining submodule, configured to determine a ratio between a minimum sales amount and a total number of days of a month corresponding to the minimum sales amount among the sales amounts of the natural gas months of the multiple months of the target year as a daily average sales amount of the natural gas in the low valley month of the gas consumption of the target year;
and a fourth determining submodule, configured to determine a sum of daily sales of natural gas in the target year, and take a ratio between the determined sum and a total number of days in the target year as daily average sales of natural gas in the target year.
Optionally, the third determining module 404 includes:
a fifth determining submodule, configured to determine a plurality of first natural gas sales in a predicted year according to a natural gas daily average sales in a peak month of gas consumption in each historical year, a natural gas daily average sales in each historical year, and a natural gas daily average sales in the predicted year;
a sixth determining submodule, configured to determine a plurality of second natural gas sales in a predicted year according to a natural gas daily average sales in a valley month of gas consumption in each historical year, a natural gas daily average sales in each historical year, and a natural gas daily average sales in the predicted year;
a seventh determination sub-module for determining a predicted annual natural gas peak Gu Yue daily average sales based on the plurality of first natural gas sales and the plurality of second natural gas sales.
Optionally, the fifth determining submodule is configured to:
determining the ratio of the daily average sales of the natural gas in the peak month of the gas consumption in each historical year to the daily average sales of the natural gas in the corresponding year to obtain a plurality of first ratios;
a product between each of the plurality of first ratios and the daily average sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as the plurality of first sales of natural gas for the predicted year.
Optionally, the sixth determining submodule is configured to:
determining a ratio between the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in the corresponding year to obtain a plurality of second ratios;
a product between each of the plurality of second ratios and the daily average sales of natural gas for the predicted year is determined, and the determined plurality of products is taken as the plurality of second sales of natural gas for the predicted year.
Optionally, the seventh determining submodule is configured to:
obtaining a maximum value of the first plurality of natural gas sales;
the obtained maximum value is rounded upwards, and the daily average sales of the annual gas peak month is predicted;
acquiring a minimum value of the plurality of second natural gas sales volumes;
and rounding the obtained minimum value downwards to obtain the daily average sales of the valley month of the annual consumption prediction.
In an embodiment of the present application, a daily sales of natural gas for a target area in each of a plurality of historical years is obtained, and a planned sales of natural gas for a predicted year is obtained. Then, according to the daily sales of the natural gas in each historical year, determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year; according to the planned sales amount of the natural gas in the predicted year, determining the daily average sales amount of the natural gas in the predicted year; and determining the natural gas peak Gu Yue daily average sales of the predicted year according to the natural gas daily average sales of the peak month of the gas consumption in each historical year, the natural gas daily average sales of the valley month of the gas consumption in each historical year, the natural gas daily average sales of each historical year and the natural gas daily average sales of the predicted year. And finally, determining planning information of the construction of the natural gas pipeline facilities of the predicted year according to the Gu Yue daily average sales of the natural gas peak of the predicted year. According to the method and the device for determining the daily average sales of the natural gas in the peak month and the valley month of the target area in the forecast year, the daily average sales of the natural gas in the peak month and the valley month of the target area in the forecast year can be accurately and rapidly determined, and therefore data support can be provided for reasonable planning of pipeline facility construction.
It should be noted that: the natural gas peak valley month sales amount determining device provided in the above embodiment only uses the division of the above functional modules to illustrate when determining the natural gas peak valley month sales amount, in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for determining the sales amount of the peak, valley and month of the natural gas provided in the above embodiment belongs to the same concept as the embodiment of the method for determining the sales amount of the peak, valley and month of the natural gas, and detailed implementation processes of the device are shown in the method embodiment, and are not repeated here.
Fig. 5 is a schematic structural diagram of a natural gas peak valley month sales determination according to an embodiment of the present application. Referring to fig. 5, the apparatus may be a terminal 500, and the terminal 500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. The terminal 500 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 500 includes: a processor 501 and a memory 502.
Processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 501 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 501 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the natural gas peak valley month sales determination method provided by the method embodiments in the present application.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502, and peripheral interface 503 may be connected by buses or signal lines. The individual peripheral devices may be connected to the peripheral device interface 503 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, touch display 505, camera 506, audio circuitry 507, positioning component 508, and power supply 509.
Peripheral interface 503 may be used to connect at least one Input/Output (I/O) related peripheral to processor 501 and memory 502. In some embodiments, processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 501, memory 502, and peripheral interface 503 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 504 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 504 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 504 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 504 may also include NFC (Near Field Communication ) related circuitry, which is not limited in this application.
The display 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 505 is a touch display, the display 505 also has the ability to collect touch signals at or above the surface of the display 505. The touch signal may be input as a control signal to the processor 501 for processing. At this time, the display 505 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 505 may be one, providing a front panel of the terminal 500; in other embodiments, the display 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in still other embodiments, the display 505 may be a flexible display disposed on a curved surface or a folded surface of the terminal 500. Even more, the display 505 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 505 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 506 is used to capture images or video. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuitry 507 may also include a headphone jack.
The location component 508 is used to locate the current geographic location of the terminal 500 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 508 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, the Granati system of Russia, or the Galileo system of the European Union.
A power supply 509 is used to power the various components in the terminal 500. The power supply 509 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 509 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 500 further includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: an acceleration sensor 511, a gyro sensor 512, a pressure sensor 513, a fingerprint sensor 514, an optical sensor 515, and a proximity sensor 516.
The acceleration sensor 511 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 501 may control the touch display 505 to display a user interface in a landscape view or a portrait view according to a gravitational acceleration signal acquired by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 500, and the gyro sensor 512 may collect a 3D motion of the user to the terminal 500 in cooperation with the acceleration sensor 511. The processor 501 may implement the following functions based on the data collected by the gyro sensor 512: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 513 may be disposed at a side frame of the terminal 500 and/or at a lower layer of the touch display 505. When the pressure sensor 513 is disposed at a side frame of the terminal 500, a grip signal of the user to the terminal 500 may be detected, and the processor 501 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the touch display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 505. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 514 is used for collecting the fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 501 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 514 may be provided on the front, back or side of the terminal 500. When a physical key or a vendor Logo is provided on the terminal 500, the fingerprint sensor 514 may be integrated with the physical key or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the touch screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 505 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 505 is turned down. In another embodiment, the processor 501 may also dynamically adjust the shooting parameters of the camera assembly 506 based on the ambient light intensity collected by the optical sensor 515.
A proximity sensor 516, also referred to as a distance sensor, is typically provided on the front panel of the terminal 500. The proximity sensor 516 serves to collect a distance between the user and the front surface of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 gradually decreases, the processor 501 controls the touch display 505 to switch from the bright screen state to the off screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 gradually increases, the processor 501 controls the touch display 505 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 5 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.

Claims (14)

1. A method for determining peak valley month sales of natural gas, the method comprising:
acquiring daily sales of natural gas in each of a plurality of historical years in a target area, and acquiring planned sales of natural gas in a predicted year;
according to the daily sales of the natural gas in each historical year, determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year;
determining the daily average sales of the natural gas of the predicted year according to the planned sales of the natural gas of the predicted year;
Determining the ratio of the daily average sales of the natural gas in the peak month of the gas consumption in each historical year to the daily average sales of the natural gas in the corresponding year to obtain a plurality of first ratios;
determining a product between each of the plurality of first ratios and the daily average sales of natural gas for the predicted year, and taking the determined plurality of products as the plurality of first sales of natural gas for the predicted year;
determining a ratio between the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in the corresponding year to obtain a plurality of second ratios;
determining a product between each of the plurality of second ratios and the daily average sales of natural gas for the predicted year, and taking the determined plurality of products as the plurality of second sales of natural gas for the predicted year;
obtaining a maximum value of the plurality of first natural gas sales;
determining the daily average sales of the peak month of the annual gas consumption prediction according to the obtained maximum value;
acquiring a minimum value of the plurality of second natural gas sales volumes;
determining the daily average sales of the valley months of the annual energy consumption prediction according to the obtained minimum value;
And determining planning information of the construction of the natural gas pipeline facilities of the predicted year according to the Gu Yue daily average sales of the natural gas peak of the predicted year.
2. The method of claim 1, wherein determining the daily average sales of natural gas for peak gas usage in each historical year, the daily average sales of natural gas for valley gas usage in each historical year, and the daily average sales of natural gas in each historical year based on the daily sales of natural gas in each historical year comprises:
determining the natural gas month sales of each month in a target year according to the natural gas daily sales in the target year, wherein the target year is any one of the plurality of historical years;
determining the ratio of the maximum sales amount in the natural gas month sales amount of the months of the target year to the total number of days of the months corresponding to the maximum sales amount as the natural gas daily average sales amount of the gas peak month of the target year;
determining the ratio of the minimum sales amount in the natural gas month sales amount of the months of the target year to the total number of days of the months corresponding to the minimum sales amount as the natural gas daily average sales amount of the gas use valley month of the target year;
Determining the sum of the daily sales of the natural gas in the target year, and taking the ratio of the determined sum to the total days in the target year as the daily average sales of the natural gas in the target year.
3. The method of claim 2, wherein the method further comprises:
sorting the natural gas month sales quantities of the months in the target year according to the order from big to small, and determining the natural gas month sales quantity with the forefront sorting as the largest month sales quantity in the natural gas month sales quantities of the months in the target year; or,
and sequencing the natural gas month sales quantities of a plurality of months in the target year according to the sequence from small to large, and determining the natural gas month sales quantity with the last sequencing as the maximum month sales quantity in the natural gas month sales quantities in the target year.
4. The method of claim 2, wherein the method further comprises:
sorting the natural gas month sales quantities of the months in the target year according to the order from big to small, and determining the natural gas month sales quantity with the last sorting as the minimum month sales quantity in the natural gas month sales quantities of the months in the target year; or,
And sequencing the natural gas month sales quantities of a plurality of months in the target year according to the sequence from small to large, and determining the natural gas month sales quantity with the forefront sequencing as the minimum month sales quantity in the natural gas month sales quantities in the target year.
5. The method of claim 1, wherein said determining the daily average sales volume of the predicted annual peak month based on the obtained maximum value comprises:
and rounding the obtained maximum value upwards to obtain the daily average sales of the peak month of the annual gas consumption prediction.
6. The method of claim 1, wherein said determining the daily average sales of the valley months of the predicted annual usage based on the obtained minimum value comprises:
and rounding the obtained minimum value downwards to obtain the daily average sales volume of the predicted annual gas consumption valley month.
7. A natural gas peak valley month sales quantity determining apparatus, characterized by comprising:
the acquisition module is used for acquiring the daily sales of the natural gas in each historical year of the target area in a plurality of historical years and acquiring the planned sales of the natural gas in the predicted year;
the first determining module is used for determining the daily average sales of the natural gas in the peak month of the gas consumption in each historical year, the daily average sales of the natural gas in the valley month of the gas consumption in each historical year and the daily average sales of the natural gas in each historical year according to the daily sales of the natural gas in each historical year;
The second determining module is used for determining the daily average sales of the natural gas in the predicted year according to the planned sales of the natural gas in the predicted year;
a third determination module, comprising: a fifth determining submodule, configured to determine a ratio between a daily average sales amount of natural gas in a peak month of the gas consumption in each historical year and a daily average sales amount of natural gas in a corresponding year, obtain a plurality of first ratios, determine a product between each of the plurality of first ratios and the daily average sales amount of natural gas in the predicted year, use the determined plurality of products as the plurality of first natural gas sales amounts in the predicted year, a sixth determining submodule, configured to determine a ratio between a daily average sales amount of natural gas in a valley month of the gas consumption in each historical year and a daily average sales amount of natural gas in the corresponding year, obtain a plurality of second ratios, determine a product between each of the plurality of second ratios and the daily average sales amount of natural gas in the predicted year, use the determined plurality of products as a plurality of second natural gas sales amounts in the predicted year, use the seventh determining submodule, obtain a maximum value in the plurality of first natural gas sales amounts, obtain a daily average sales value in the peak month of the gas in the predicted year, and the daily average sales value in the peak month of the gas in the predicted year;
And the fourth determining module is used for determining planning information of the construction of the natural gas pipeline facilities in the predicted year according to the Gu Yue daily average sales of the natural gas peak in the predicted year.
8. The apparatus of claim 7, wherein the first determination module comprises:
a first determining submodule, configured to determine a natural gas month sales amount of each month in a target year according to a natural gas daily sales amount in the target year, where the target year is any one of the plurality of historical years;
a second determining submodule, configured to determine a ratio between a maximum sales amount of the natural gas month sales amounts of the months of the target year and a total number of days of the months corresponding to the maximum sales amount as a natural gas daily average sales amount of the peak gas consumption month of the target year;
a third determining submodule, configured to determine a ratio between a minimum sales amount of the natural gas month sales amounts of the months of the target year and a total number of days of the months corresponding to the minimum sales amount as a natural gas daily average sales amount of the gas use low valley month of the target year;
and a fourth determining submodule, configured to determine a sum of daily sales of natural gas in the target year, and take a ratio between the determined sum and a total number of days in the target year as daily average sales of natural gas in the target year.
9. The apparatus of claim 8, wherein the second determination submodule is further to:
sorting the natural gas month sales quantities of the months in the target year according to the order from big to small, and determining the natural gas month sales quantity with the forefront sorting as the largest month sales quantity in the natural gas month sales quantities of the months in the target year; or,
and sequencing the natural gas month sales quantities of a plurality of months in the target year according to the sequence from small to large, and determining the natural gas month sales quantity with the last sequencing as the maximum month sales quantity in the natural gas month sales quantities in the target year.
10. The apparatus of claim 8, wherein the third determination submodule is further to:
sorting the natural gas month sales quantities of the months in the target year according to the order from big to small, and determining the natural gas month sales quantity with the last sorting as the minimum month sales quantity in the natural gas month sales quantities of the months in the target year; or,
and sequencing the natural gas month sales quantities of a plurality of months in the target year according to the sequence from small to large, and determining the natural gas month sales quantity with the forefront sequencing as the minimum month sales quantity in the natural gas month sales quantities in the target year.
11. The apparatus of claim 7, wherein the seventh determination submodule is further to: and rounding the obtained maximum value upwards to obtain the daily average sales of the peak month of the annual gas consumption prediction.
12. The apparatus of claim 7, wherein the seventh determination submodule is further to: and rounding the obtained minimum value downwards to obtain the daily average sales volume of the predicted annual gas consumption valley month.
13. A natural gas peak valley month sales quantity determining apparatus, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-6.
14. A computer readable storage medium having instructions stored thereon, which when executed by a processor, implement the steps of the method of any of claims 1-6.
CN201910703697.1A 2019-07-31 2019-07-31 Natural gas peak valley month sales quantity determining method, device and storage medium Active CN112308587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910703697.1A CN112308587B (en) 2019-07-31 2019-07-31 Natural gas peak valley month sales quantity determining method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910703697.1A CN112308587B (en) 2019-07-31 2019-07-31 Natural gas peak valley month sales quantity determining method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112308587A CN112308587A (en) 2021-02-02
CN112308587B true CN112308587B (en) 2024-03-05

Family

ID=74486223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910703697.1A Active CN112308587B (en) 2019-07-31 2019-07-31 Natural gas peak valley month sales quantity determining method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112308587B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105243449A (en) * 2015-10-13 2016-01-13 北京中电普华信息技术有限公司 Method and device for correcting prediction result of electricity selling amount
CN105894113A (en) * 2016-03-31 2016-08-24 中国石油天然气股份有限公司规划总院 Natural gas short-period demand prediction method
CN106022536A (en) * 2016-05-30 2016-10-12 中国南方电网有限责任公司电网技术研究中心 Seasonal electric power utilization predicting method and seasonal electric power utilization predicting system
CN108764646A (en) * 2018-04-27 2018-11-06 车智互联(北京)科技有限公司 A kind of Method for Sales Forecast method and computing device
CN109886737A (en) * 2019-01-28 2019-06-14 北京三快在线科技有限公司 Needing forecasting method, device, electronic equipment and readable storage medium storing program for executing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10332135B2 (en) * 2010-04-12 2019-06-25 First Data Corporation Financial data normalization systems and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105243449A (en) * 2015-10-13 2016-01-13 北京中电普华信息技术有限公司 Method and device for correcting prediction result of electricity selling amount
CN105894113A (en) * 2016-03-31 2016-08-24 中国石油天然气股份有限公司规划总院 Natural gas short-period demand prediction method
CN106022536A (en) * 2016-05-30 2016-10-12 中国南方电网有限责任公司电网技术研究中心 Seasonal electric power utilization predicting method and seasonal electric power utilization predicting system
CN108764646A (en) * 2018-04-27 2018-11-06 车智互联(北京)科技有限公司 A kind of Method for Sales Forecast method and computing device
CN109886737A (en) * 2019-01-28 2019-06-14 北京三快在线科技有限公司 Needing forecasting method, device, electronic equipment and readable storage medium storing program for executing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
城市天然气月用量的预测方法;梁金凤等;化工学报;第66卷(第S2期);第392-398页 *
浅谈气量预测方法;丁雁祥等;城市燃气(第8期);第3-5页 *

Also Published As

Publication number Publication date
CN112308587A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN109800877B (en) Parameter adjustment method, device and equipment of neural network
CN108304265B (en) Memory management method, device and storage medium
CN111005715B (en) Method and device for determining yield of gas well and storage medium
CN111027490B (en) Face attribute identification method and device and storage medium
CN111177137B (en) Method, device, equipment and storage medium for data deduplication
CN108764530B (en) Method and device for configuring working parameters of oil well pumping unit
CN110705614A (en) Model training method and device, electronic equipment and storage medium
CN109977570B (en) Vehicle body noise determination method, device and storage medium
CN109281648B (en) Method and apparatus for determining a reasonable well pattern density of an oil reservoir
CN112832737B (en) Shale gas well EUR determination method, device, equipment and storage medium
CN108831423B (en) Method, device, terminal and storage medium for extracting main melody tracks from audio data
CN113949678B (en) Flow control method, flow control device, electronic equipment and computer readable storage medium
CN113408989B (en) Automobile data comparison method and device and computer storage medium
CN112308587B (en) Natural gas peak valley month sales quantity determining method, device and storage medium
CN111159551B (en) User-generated content display method and device and computer equipment
CN112365088B (en) Method, device and equipment for determining travel key points and readable storage medium
CN111402873B (en) Voice signal processing method, device, equipment and storage medium
CN113222771B (en) Method and device for determining target group based on knowledge graph and electronic equipment
CN112990421B (en) Method, device and storage medium for optimizing operation process of deep learning network
CN112052153B (en) Product version testing method and device
CN111258673A (en) Fast application display method and terminal equipment
CN111381765B (en) Text box display method and device, computer equipment and storage medium
CN112817768B (en) Animation processing method, device, equipment and computer readable storage medium
CN111526221B (en) Domain name quality determining method, device and storage medium
CN113590669B (en) Method and device for generating cost report forms and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant