Method and device for measuring and calculating inventory of product oil
By obtaining the calculation data of refined oil and using pre-established inventory calculation models, the reasonable inventory range of each type of refined oil is calculated, which solves the problem of difficulty in formulating universal inventory calculation methods in the existing technology, and improves the accuracy and economicality of inventory management.
Patent Information
- Application Number
- CN202311870995.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
It is difficult for the existing technology to formulate universal and reasonable calculation methods for refined oil inventory, resulting in the addition and impairment of inventory scale affecting the company's benefits. Different companies have different needs for inventory scale, and the existing technology cannot fully meet their respective inventory operation requirements.
By obtaining the calculated data of refined oil, including the classification of refined oils and the calculated data of each type of refined oil, the reasonable inventory range of each type of refined oil is calculated using a pre-established inventory calculation model based on different inventory types.
It improves the accuracy of determining the reasonable inventory range, helping enterprises reduce the inventory range of capital and physical consumption without affecting production, thereby improving economics.
Smart Images

Figure CN120235548A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inventory optimization, and in particular to a method and device for calculating refined oil inventory. Background Art
[0002] Refined oil refers to petroleum products after processing, refining or extraction. Common refined oils include gasoline, diesel, aviation kerosene, lubricating oil, etc. Refined oil has a wide range of applications in industrial production and daily life and is an indispensable energy product in modern society.
[0003] For large oil companies, the capital occupation brought by refined oil inventory, storage costs and the derivative risks of inventory value caused by price fluctuations are important factors affecting the efficiency of large oil enterprises. Thus, the increase or decrease in inventory value will directly affect the efficiency of the entire enterprise. Due to the many factors affecting the inventory scale and the complex inventory classification, the demands for inventory scale in midstream refining enterprises and downstream sales enterprises in the entire oil supply chain are different, making it extremely difficult to formulate a reasonable and universal inventory calculation method. Therefore, how to calculate a reasonable inventory is an urgent issue to be solved in the industry currently. Summary of the Invention
[0004] In view of the problems in the prior art, an embodiment of the present invention provides a method and device for calculating refined oil inventory.
[0005] In a first aspect, the present invention proposes a method for calculating refined oil inventory, including:
[0006] Obtaining refined oil measurement data of a measurement object, where the refined oil measurement data includes refined oil classification and measurement data of each type of refined oil;
[0007] According to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object, obtaining a reasonable inventory range for each type of refined oil; wherein, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
[0008] In another aspect, the present invention provides a device for calculating refined oil inventory, including:
[0009] An obtaining unit, configured to obtain refined oil measurement data of a measurement object, where the refined oil measurement data includes refined oil classification and measurement data of each type of refined oil;
[0010] A measurement unit, configured to obtain a reasonable inventory range for each type of refined oil according to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object; wherein, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
[0011] In another aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the refined oil inventory calculation method described in any of the above embodiments are implemented.
[0012] In yet another aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the refined oil inventory calculation method described in any of the above embodiments are implemented.
[0013] The refined oil inventory calculation method and device provided by the embodiments of the present invention can obtain the refined oil calculation data of the calculation object. The refined oil calculation data includes the refined oil classification and the calculation data of each type of refined oil. According to the calculation data of each type of refined oil and the inventory calculation model corresponding to the calculation object, the reasonable inventory range of each type of refined oil is obtained. Since the inventory calculation model corresponding to the calculation object is established through different inventory types of the calculation object, the accuracy of determining the reasonable inventory range is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. In the drawings:
[0015] Figure 1 is a flowchart of the refined oil inventory calculation method provided by the first embodiment of the present invention.
[0016] Figure 2 is a flowchart of the refined oil inventory calculation method provided by the second embodiment of the present invention.
[0017] Figure 3 is a flowchart of the refined oil inventory calculation method provided by the third embodiment of the present invention.
[0018] Figure 4 is a structural diagram of the refined oil inventory calculation device provided by the fourth embodiment of the present invention.
[0019] Figure 5 is a structural diagram of the refined oil inventory calculation device provided by the fifth embodiment of the present invention.
[0020] Figure 6 is a structural diagram of the refined oil inventory calculation device provided by the sixth embodiment of the present invention.
[0021] Figure 7It is a schematic diagram of the physical structure of the electronic device provided by the seventh embodiment of the present invention. Detailed implementation manners
[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer and more understandable, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention. It should be noted that, without conflict, the embodiments in this application and the features in the embodiments can be combined arbitrarily with each other.
[0023] To facilitate the understanding of the technical solutions provided in this application, the relevant content of the technical solutions in this application will be described first below.
[0024] Through the research on the current refined oil inventory, it is found that there are the following problems in the calculation of refined oil inventory. (1) The consideration of inventory calculation is insufficient and the direction is single. For example, for the current rapidly changing external environment, the reference value of historical data in the historical inventory method is limited, and there is also unreasonable data pollution; the model established by the business operation method does not consider the non-movable, in-transit, and seasonal reserves of refined oil in oil enterprises, and only focuses on the current turnover, and cannot cope with annual and overall changes; the safety operation method starting from the perspective of safety inventory will lead to problems such as overstocking in the off-season of demand, excessive capital occupation, and poor economy. (2) For the different requirements of sales companies and refining companies for reasonable inventory, the existing technologies do not classify them, nor build a systematic model, and cannot fully meet the requirements of their respective inventory operations.
[0025] The high and low levels and specific capacities of inventory are mainly determined by its carrying functions. To study the inventory level, it is necessary to first study the functions it carries. According to the definition of logistics, inventory plays a buffering, regulating, and balancing role in the production and operation of enterprises, can eliminate the differences in time between the production and consumption of products, enable enterprises to provide services on time and as needed, prevent out-of-stock situations, save expenses, and ensure the smooth progress of production and sales. Usually, according to the functions carried by inventory, inventory is divided into seven categories, namely safety inventory, transportation process inventory (in-transit inventory), backlog inventory, promotional inventory, time utility inventory, turnover inventory, and seasonal inventory.
[0026] Safety stock refers to the buffer stock prepared to prevent uncertain factors. In-transit inventory refers to the inventory in the state of transportation. Overstock inventory refers to the inventory of goods with quality problems, damages, or unsalable due to lack of market. Promotional inventory refers to the inventory established to match the company's promotional activities and increase the overdue sales volume. Time-utility inventory refers to the inventory established to avoid losses caused by rising commodity prices to the enterprise or to gain benefits from rising commodity prices. Cycle inventory refers to the periodic inventory formed by batch production or ordering, mainly considering factors such as inventory costs and ordering costs. Seasonal inventory refers to the inventory established to meet special demands in a certain season.
[0027] Concept of reasonable refined oil inventory: The range of inventory that minimizes capital and physical occupancy without affecting production. When the inventory operation is within the reasonable inventory range, production is stable and the economy is relatively high; when the inventory fluctuates outside the reasonable inventory range, it may affect production or economic benefits.
[0028] Classify refined oil inventory through research and in combination with the theoretical basis of logistics and the production operation of petroleum enterprises; then establish an inventory measurement model based on the functions of each inventory and the inventory characteristics of petroleum enterprises; construct respective inventory measurement models for refining enterprises and sales enterprises based on their demand characteristics to measure their respective reasonable inventories.
[0029] Because there are deficiencies in the existing methods and the classification of oil depot inventory, this application classifies refined oil inventory in more detail based on the theory of logistics and the current situation of petroleum company inventory, and qualitatively defines inventories with different characteristics. At the same time, fully mine the data characteristics, sort out factors such as refined oil inventory, actual turnover, and seasonal changes, and clarify the specific algorithms for each functional inventory in combination with the current operation situation and the actual oil depot container structure. After clarifying the specific algorithms for various inventories, explore the upper and lower limits of reasonable refined oil inventory in combination with the current operation mode and the functional composition of the inventory, and complete the construction of the inventory measurement models for refineries and sales enterprises.
[0030] Figure 1 It is a schematic flowchart of the refined oil inventory measurement method provided by the first embodiment of the present invention. As Figure 1 shown, the refined oil inventory measurement method provided by the embodiment of the present invention includes:
[0031] S101. Obtain the refined oil measurement data of the measurement object, where the refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil;
[0032] Specifically, import the refined oil measurement data of the measurement object. The refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil. Among them, the measurement object includes, but is not limited to, refineries and sales enterprises. The refined oil classification includes, but is not limited to, regular gasoline, ethanol gasoline, diesel, and kerosene, which is set according to actual needs and is not limited in the embodiments of the present invention. The refined oil measurement data is selected according to actual needs and is not limited in the embodiments of the present invention. Among them, the execution subject of the refined oil inventory measurement method provided by the embodiments of the present invention includes, but is not limited to, a computer.
[0033] S102. Obtain the reasonable inventory range of each type of refined oil according to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object; among them, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
[0034] Specifically, for each type of refined oil of the measurement object, input the measurement data of each type of refined oil into the inventory measurement model corresponding to the measurement object, and the reasonable inventory range of each type of refined oil can be output. The reasonable inventory range can include the upper limit of the reasonable inventory and the lower limit of the reasonable inventory. The inventory measurement model corresponding to the measurement object is pre-established, and the inventory measurement model corresponding to the measurement object can be established based on different inventory types of the measurement object.
[0035] It can be understood that according to the upper limit of the reasonable inventory and the lower limit of the reasonable inventory of each type of refined oil of the measurement object, the upper limit of the reasonable inventory and the lower limit of the reasonable inventory of the measurement object can be obtained.
[0036] The refined oil inventory measurement method provided by the embodiments of the present invention can obtain the refined oil measurement data of the measurement object. The refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil. According to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object, the reasonable inventory range of each type of refined oil is obtained. Since the inventory measurement model corresponding to the measurement object is established through different inventory types of the measurement object, the accuracy of determining the reasonable inventory range is improved.
[0037] On the basis of the above embodiments, further, the measurement object is a refinery.
[0038] According to the operation situation of the refinery, the inventory of the refinery includes six functions: bearing the bottom of the tank, turnover, seasonal adjustment, alleviating the contradiction between production and sales, export reserve, and maintenance reserve. Combining the four existing types of inventory in the refinery and the six functions of the refinery inventory, the inventory of the refinery can be subdivided into: bottom inventory, turnover inventory, seasonal inventory, production and sales contradiction inventory, export inventory, and maintenance inventory.
[0039] According to the functional composition of the refinery's inventory, the reasonable upper limit and reasonable lower limit of the refinery's inventory can be expressed as:
[0040] The reasonable lower limit of the refinery's inventory = bottom inventory + working inventory + seasonal inventory
[0041] The reasonable upper limit of the refinery's inventory = reasonable lower limit + export inventory
[0042] Since the refined oil products of the refinery can be divided into multiple types, the reasonable inventory of each type of refined oil product can be measured.
[0043] Combining the current operation mode of the enterprise and the functional composition of the inventory, exploring the reasonable upper and lower limits of the refined oil product inventory through different inventory types is beneficial to improving the accuracy of obtaining the reasonable inventory range.
[0044] Figure 2 It is a schematic flowchart of the refined oil product inventory measurement method provided by the second embodiment of the present invention. As Figure 2 shown, obtaining the reasonable inventory range of each type of refined oil product according to the measurement data of each type of refined oil product and the corresponding inventory measurement model of the refinery includes:
[0045] S201. Obtain the first reasonable lower limit of each type of refined oil product according to the bottom inventory, first working inventory, and first seasonal inventory of each type of refined oil product of the refinery;
[0046] Specifically, for each type of refined oil product of the refinery, the sum of the bottom inventory, first working inventory, and first seasonal inventory of each type of refined oil product can be calculated as the first reasonable lower limit of each type of refined oil product.
[0047] S202. Obtain the first reasonable upper limit of each type of refined oil product according to the first reasonable lower limit of each type of refined oil product and the export inventory of each type of refined oil product.
[0048] Specifically, for each type of refined oil product of the refinery, the sum of the first reasonable lower limit of each type of refined oil product and the export inventory of each type of refined oil product can be calculated as the first reasonable upper limit of each type of refined oil product.
[0049] On the basis of the above embodiments, further, the inventory measurement model corresponding to the refinery includes a bottom inventory measurement sub-model; correspondingly, according to the number of storage tanks corresponding to each type of refined oil product, each storage tank parameter, the liquid level retention height of each storage tank, and the bottom inventory measurement sub-model, the bottom inventory corresponding to each type of refined oil product is obtained.
[0050] Specifically, the inventory measurement model corresponding to the refinery includes a bottom inventory measurement sub-model, which is used to measure the bottom inventory of refined oil. Among them, the bottom inventory of refined oil refers to the part of refined oil located at the bottom of storage tanks (storage tanks) that cannot be pumped out and used due to objective conditions such as process requirements, tank type settings, or production safety considerations.
[0051] Input the number of storage tanks corresponding to each type of refined oil, various storage tank parameters, and the reserved liquid level height of each storage tank into the bottom inventory measurement sub-model, and the bottom inventory corresponding to each type of refined oil can be output. Among them, the measurement data of each type of refined oil includes the number of storage tanks corresponding to each type of refined oil, various storage tank parameters, and the reserved liquid level height of each storage tank.
[0052] For example, if the storage tank is cylindrical, the bottom inventory measurement sub-model is Where C 1 represents the bottom inventory, in ten thousand cubic meters, R i represents the radius of the i-th storage tank, in meters, H represents the reserved liquid level height of the storage tank, in meters, n represents the number of storage tanks, i is a positive integer and i is less than or equal to n, and π represents pi.
[0053] Based on the above embodiments, further, the inventory measurement model corresponding to the refinery includes a first turnover inventory measurement sub-model; correspondingly, according to the daily ground delivery volume of each type of refined oil, the ground delivery reserve days, the single-batch transportation preparation scale and transportation cycle corresponding to various factory transportation methods, and the first turnover inventory measurement sub-model, the first turnover inventory corresponding to each type of refined oil is obtained.
[0054] Specifically, the inventory measurement model corresponding to the refinery includes a first turnover inventory measurement sub-model, which is used to measure the first turnover inventory of refined oil. The first turnover inventory of refined oil refers to the refined oil available for loading and external transfer in the refined oil storage of the refinery, and its scale should ensure the highway ground delivery demand of the refinery and the smooth progress of single-batch operations in ways such as railway, pipeline, and waterway.
[0055] Input the daily ground delivery volume of each type of refined oil, the ground delivery reserve days, the single-batch transportation preparation scale and transportation cycle corresponding to various factory transportation methods into the first turnover inventory measurement sub-model, and the first turnover inventory corresponding to each type of refined oil can be output. Among them, the measurement data of each type of refined oil includes the daily ground delivery volume of each type of refined oil, the ground delivery reserve days, the single-batch transportation preparation scale and transportation cycle corresponding to various factory transportation methods. The types of factory transportation methods include but are not limited to waterway transportation, railway transportation, pipeline transportation, etc., which are set according to actual needs, and are not limited in the embodiments of the present invention.
[0056] For example, the first cycle inventory measurement sub-model includes where C 2 represents the first cycle inventory, in ten thousand cubic meters; E represents the daily ground delivery volume, in ten thousand cubic meters per day; D represents the minimum reserved ground delivery days, in days; S j represents the single-batch transportation stock preparation scale corresponding to the j-th type of factory-out transportation method, in ten thousand cubic meters per cycle; T j represents the transportation cycle, in days; j is a positive integer and j is less than or equal to m, where m represents the types of factory-out transportation methods.
[0057] The daily ground delivery volume, the minimum reserved ground delivery days, the single-batch transportation stock preparation scale corresponding to the factory-out transportation method, and the transportation cycle can be determined based on historical data. For example, based on the daily ground delivery volume of oil production, the ground delivery reserve days, the single-batch transportation stock preparation scale and the transportation cycle corresponding to three types of factory-out transportation methods of a refinery from 2017 to 2021, the daily ground delivery volume of oil production is obtained as a ten thousand cubic meters, the minimum reserved ground delivery days is b days, the single-batch transportation stock preparation scale corresponding to railway transportation is c ten thousand cubic meters per cycle, the transportation cycle corresponding to railway transportation is d days, the single-batch transportation stock preparation scale corresponding to waterway transportation is e ten thousand cubic meters per cycle, the transportation cycle corresponding to waterway transportation is f days, and the single-batch transportation stock preparation scale corresponding to pipeline transportation is g ten thousand cubic meters per cycle, and the transportation cycle corresponding to pipeline transportation is h days.
[0058] On the basis of the above embodiments, further, the inventory measurement model corresponding to the refinery includes a first seasonal inventory measurement sub-model; correspondingly, according to the first time series inventory data of each type of refined oil and the first seasonal inventory measurement sub-model, the first seasonal inventory corresponding to each type of refined oil is obtained.
[0059] Specifically, the inventory measurement model corresponding to the refinery includes a first seasonal inventory measurement sub-model, and the first seasonal inventory measurement sub-model is used to measure the first seasonal inventory of refined oil. The first seasonal inventory of refined oil refers to the refined oil that needs to be temporarily stored to cope with the short-term demand fluctuations and the imbalance contradictions caused by long-term seasonality.
[0060] Inputting the first time series inventory data of each type of refined oil into the first seasonal inventory measurement sub-model, the first seasonal inventory corresponding to each type of refined oil can be obtained. Among them, the measurement data of each type of refined oil includes the first time series inventory data of each type of refined oil. The first time series inventory data is the inventory data of refined oil in a set time period, such as the refined oil inventory in the past 12 months.
[0061] For example, the first seasonal inventory measurement sub-model can be constructed based on the seasonal decomposition (additive) method, or implemented by calling the seasonal decomposition model of existing software.
[0062] Based on the above embodiments, further, the inventory measurement model corresponding to the refinery includes an export inventory measurement sub-model; correspondingly, according to the single-batch transportation preparation scale and export transportation cycle corresponding to each type of export transportation method of each type of refined oil and the export inventory measurement sub-model, the export inventory corresponding to each type of refined oil is obtained.
[0063] Specifically, the inventory measurement model corresponding to the refinery includes an export inventory measurement sub-model, and the export inventory measurement sub-model is used to measure the export inventory of refined oil. The export inventory of refined oil refers to the inventory that needs to be prepared in advance due to the export demand of the smelter.
[0064] Inputting the single-batch transportation preparation scale and export transportation cycle corresponding to each type of export transportation method of each type of refined oil into the export inventory measurement sub-model, the export inventory corresponding to each type of refined oil can be obtained. Among them, the measurement data of each type of refined oil includes the single-batch transportation preparation scale and export transportation cycle corresponding to each type of export transportation method of each type of refined oil. The export transportation methods include but are not limited to water transportation, railway transportation, pipeline transportation, etc., which are set according to actual needs and are not limited in the embodiments of the present invention.
[0065] For example, the export inventory measurement sub-model includes Among them, C 3 represents the export inventory, in ten thousand cubic meters, S k represents the single-batch transportation preparation scale corresponding to the kth type of export transportation method, T k represents the export transportation cycle corresponding to the kth type of export transportation method, k is a positive integer and k is less than or equal to p, and p represents the type of export transportation method.
[0066] Based on the above embodiments, further, the measurement object is a sales enterprise. The sales enterprise may include multiple gas stations and oil depots.
[0067] Combined with the operation of the petroleum sales enterprise, the inventory of the sales enterprise includes five functions: bearing the bottom of the storage tank and the bottom of the tank, emergency reserve, in-transit transportation, turnover, and seasonal adjustment, corresponding to four types of inventory in logistics. Then, the inventory of the petroleum sales enterprise can be subdivided into: the bottom inventory of the gas station oil tank, the bottom inventory of the oil depot, the emergency inventory, the in-transit inventory, the turnover inventory, and the seasonal inventory.
[0068] Combined with the meaning of reasonable inventory and the functional composition of the inventory of the sales enterprise, the reasonable inventory upper limit and reasonable inventory lower limit of the sales enterprise can be expressed as:
[0069] The reasonable inventory lower limit of the sales enterprise = non-movable inventory + turnover inventory + emergency inventory
[0070] The reasonable inventory upper limit of the sales enterprise = reasonable inventory lower limit + seasonal inventory
[0071] Among them, the non-movable inventory is equal to the sum of the bottom inventory of the gas station oil tank, the bottom inventory of the oil depot, and the in-transit inventory.
[0072] Combined with the current operation mode of the enterprise and the functional composition of the inventory, exploring the upper and lower limits of the reasonable inventory of refined oil through different inventory types is conducive to improving the accuracy of obtaining the reasonable inventory range.
[0073] Figure 3 It is a schematic flowchart of the refined oil inventory calculation method provided by the third embodiment of the present invention. As Figure 3 shown, obtaining the reasonable inventory range of each type of refined oil according to the measurement data of each type of refined oil and the corresponding inventory measurement model of the sales enterprise includes:
[0074] S301. Obtain the second reasonable inventory lower limit of each type of refined oil according to the non-movable inventory, the second turnover inventory, and the emergency inventory of each type of refined oil of the sales enterprise; among them, the non-movable inventory of each type of refined oil is equal to the sum of the bottom inventory of the gas station oil tank, the bottom inventory of the oil depot, and the in-transit inventory of the non-movable inventory of each type of refined oil; the second turnover inventory of each type of refined oil is equal to the sum of the gas station turnover inventory and the oil depot turnover inventory of each type of refined oil.
[0075] Specifically, for each type of refined oil of the sales enterprise, the sum of the non-movable inventory, the second turnover inventory, and the emergency inventory of each type of refined oil can be calculated as the second reasonable inventory lower limit of each type of refined oil. Among them, the non-movable inventory of each type of refined oil is equal to the sum of the bottom inventory of the gas station oil tank, the bottom inventory of the oil depot, and the in-transit inventory of the non-movable inventory of each type of refined oil; the second turnover inventory of each type of refined oil is equal to the sum of the gas station turnover inventory and the oil depot turnover inventory of each type of refined oil.
[0076] S302. Obtain the second reasonable inventory upper limit of each type of refined oil according to the second reasonable inventory lower limit of each type of refined oil and the second seasonal inventory of each type of refined oil.
[0077] Specifically, for each type of refined oil of the sales enterprise, the sum of the second reasonable inventory lower limit of each type of refined oil and the second seasonal inventory of each type of refined oil can be calculated as the second reasonable inventory upper limit of each type of refined oil.
[0078] On the basis of the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes a bottom inventory measurement sub-model of the gas station oil tank; correspondingly, according to the reserved liquid level height, the oil tank radius, and the oil tank length of each gas station oil tank of each type of refined oil and the bottom inventory measurement sub-model of the gas station oil tank, the bottom inventory of the gas station oil tank of each type of refined oil is obtained.
[0079] Specifically, the inventory calculation model corresponding to the sales enterprise includes a gas station oil tank bottom inventory calculation sub-model, which is used to calculate the gas station oil tank bottom inventory of finished oil. The gas station oil tank bottom inventory of finished oil refers to the inventory that cannot be completely extracted due to objective reasons such as the gas station oil tank type and the oil pump pipeline inlet height during normal operation.
[0080] By inputting the reserved liquid level height, tank radius and tank length of each gas station tank of each type of refined oil into the gas station tank bottom inventory calculation sub-model, the gas station tank bottom inventory of each type of refined oil can be obtained. Among them, the calculation data of each type of refined oil of the sales enterprise includes the reserved liquid level height, tank radius and tank length of each gas station tank of each type of refined oil.
[0081] For example, the oil tank at a gas station is a horizontal cylindrical tank, and the sub-model for calculating the bottom inventory of the oil tank at the gas station is in, h j =2r j β / α, C 4 Indicates the oil tank bottom inventory at the gas station, L j A represents the length of the oil tank of the jth gas station. j represents the cross-sectional area of the finished oil corresponding to the reserved liquid level height of the oil tank of the jth gas station, r j represents the radius of the oil tank of the jth gas station, h j represents the length of the oil tank of the j-th gas station, and α represents the length of 2r j Make α equal divisions.
[0082] On the basis of the above embodiments, further, the inventory calculation model corresponding to the sales enterprise includes an oil depot bottom inventory calculation sub-model; accordingly, the oil depot bottom inventory of each type of finished oil is obtained according to the bottom tank height and oil depot radius of each oil depot of each type of finished oil and the oil depot bottom inventory calculation sub-model.
[0083] Specifically, the inventory calculation model corresponding to the sales enterprise includes an oil depot bottom inventory calculation sub-model, which is used to calculate the oil depot bottom inventory of finished oil. The oil depot bottom inventory of finished oil refers to the inventory that cannot be drawn out in time due to objective conditions such as oil tank type and oil pumping port height when the oil depot is operating normally.
[0084] By inputting the bottom tank height and radius of each oil depot of each type of refined oil into the oil depot bottom inventory calculation sub-model, the bottom inventory of each type of refined oil can be output. Among them, the calculation data of each type of refined oil of the sales enterprise includes the bottom tank height and radius of each oil depot of each type of refined oil. The bottom tank height refers to the height of the refined oil that cannot be extracted and used in the oil depot.
[0085] For example, the oil depot is in the shape of a cylinder, and the sub-model for calculating the inventory at the bottom of the oil depot includes where C 5 represents the inventory at the bottom of the oil depot, R e represents the radius of the e-th oil depot, h e represents the oil depot radius of the e-th oil depot, e is a positive integer and e is less than or equal to U, U represents the number of oil depots, and π represents the pi.
[0086] Based on the above embodiments, further, the inventory calculation model corresponding to the sales enterprise includes a sub-model for calculating the in-transit inventory; accordingly, according to each in-transit inventory type of each type of refined oil, the capacity corresponding to each in-transit inventory type, the in-transit ratio corresponding to each in-transit inventory type, and the sub-model for calculating the in-transit inventory, the in-transit inventory of each type of refined oil is obtained.
[0087] Specifically, the inventory calculation model corresponding to the sales enterprise includes a sub-model for calculating the in-transit inventory, and the sub-model for calculating the in-transit inventory is used to calculate the in-transit inventory of refined oil. The in-transit inventory of the refined oil of the sales enterprise refers to the quantity of refined oil in the process of transportation.
[0088] Inputting each in-transit inventory type of each type of refined oil, the capacity corresponding to each in-transit inventory type, and the in-transit ratio corresponding to each in-transit inventory type into the sub-model for calculating the in-transit inventory, the in-transit inventory of each type of refined oil can be output. Among them, the measurement data of each type of refined oil of the sales enterprise includes each in-transit inventory type of each type of refined oil, the capacity corresponding to each in-transit inventory type, and the in-transit ratio corresponding to each in-transit inventory type. The in-transit inventory types include but are not limited to road, railway, pipeline, shipping, etc., which are set according to actual needs, and are not limited in the embodiments of the present invention. The capacity corresponding to the in-transit inventory type refers to the total volume of refined oil that the transportation tool corresponding to the in-transit inventory type can accommodate. For example, if the in-transit inventory type is road, then the capacity corresponding to the in-transit inventory type is the available tank capacity of the road oil tanker for transporting refined oil; if the in-transit inventory type is railway, then the capacity corresponding to the in-transit inventory type is the available tank capacity of the railway tank car for transporting refined oil; if the in-transit inventory type is shipping, then the capacity corresponding to the in-transit inventory type is the oil tanker's warehouse capacity for transporting refined oil. The in-transit ratio corresponding to the in-transit inventory type is set according to actual experience and is not limited in the embodiments of the present invention.
[0089] For example, the sub-model for calculating the in-transit inventory includes where C 6 represents the in-transit inventory, V f represents the capacity corresponding to the f-th in-transit inventory type, and γ f represents the in-transit ratio corresponding to the f-th in-transit inventory type.
[0090] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes a gas station turnover inventory measurement sub-model; correspondingly, according to the number of gas stations corresponding to each type of refined oil, the average delivery cycle and daily sales volume corresponding to each type of ex-factory transportation method of each gas station, and the gas station turnover inventory measurement sub-model, the gas station turnover inventory of each type of refined oil is obtained.
[0091] Specifically, the inventory measurement model corresponding to the sales enterprise includes a gas station turnover inventory measurement sub-model, and the gas station turnover inventory measurement sub-model is used to measure the gas station turnover inventory of refined oil. The gas station turnover inventory of the refined oil of the sales enterprise refers to the inventory that the gas station must reserve to ensure normal supply.
[0092] Inputting the number of gas stations corresponding to each type of refined oil, the average delivery cycle and daily sales volume corresponding to each type of ex-factory transportation method of each gas station into the gas station turnover inventory measurement sub-model, the gas station turnover inventory of each type of refined oil can be obtained. Among them, the measurement data of each type of refined oil includes the number of gas stations corresponding to each type of refined oil, the average delivery cycle and daily sales volume corresponding to each type of ex-factory transportation method of each gas station. The ex-factory transportation methods include railway, pipeline, waterway and other methods. The average delivery cycle and daily sales volume corresponding to each type of ex-factory transportation method of the gas station can be obtained based on the historical delivery cycle and historical sales volume of each type of ex-factory transportation method of the gas station.
[0093] For example, the gas station turnover inventory measurement sub-model includes Among them, C 7 represents the gas station turnover inventory, t δg represents the average delivery cycle corresponding to the g-th type of ex-factory transportation method of the δ-th gas station, ρ δg represents the daily sales volume corresponding to the g-th type of ex-factory transportation method of the δ-th gas station, δ is a positive integer and δ is less than or equal to Z, g is a positive integer and g is less than or equal to Q, Z represents the number of gas stations, and Q represents the number of types of ex-factory transportation methods.
[0094] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes an oil depot turnover inventory measurement sub-model; correspondingly, according to the number of oil depots corresponding to each type of refined oil, the purchase cycle and daily outbound volume of each oil depot, and the oil depot turnover inventory measurement sub-model, the oil depot turnover inventory of each type of refined oil is obtained.
[0095] Specifically, the inventory measurement model corresponding to the sales enterprise includes an oil depot turnover inventory measurement sub-model, and the oil depot turnover inventory measurement sub-model is used to test the oil depot turnover inventory of refined oil. The oil depot turnover inventory of the refined oil of the sales enterprise refers to the inventory that the oil depot must reserve to ensure normal supply.
[0096] Input the quantity of oil depots corresponding to each type of refined oil, the replenishment cycle of each oil depot, and the daily average outbound volume into the oil depot turnover inventory measurement sub-model, and the oil depot turnover inventory of each type of refined oil can be output. Among them, the measurement data of each type of refined oil of the sales enterprise includes the quantity of oil depots corresponding to each type of refined oil, the replenishment cycle of each oil depot, and the daily average outbound volume. The replenishment cycle and the daily average outbound volume of the oil depot can be obtained based on the historical replenishment cycle and historical outbound volume of the oil depot.
[0097] For example, the oil depot turnover inventory measurement sub-model includes where C 8 represents the oil depot turnover inventory, t θ represents the replenishment cycle of the θ-th oil depot, represents the daily average outbound volume of the θ-th oil depot, and θ is a positive integer and θ is less than or equal to M, where M represents the quantity of oil depots.
[0098] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes an emergency inventory measurement sub-model; correspondingly, according to the daily average interrupted transportation volume, the maximum supply interruption days, and the storage capacity area ratio corresponding to each type of refined oil, and the emergency inventory measurement sub-model, the emergency inventory of each type of refined oil is obtained.
[0099] Specifically, the inventory measurement model corresponding to the sales enterprise includes an emergency inventory measurement sub-model, and the emergency inventory measurement sub-model is used to measure the emergency inventory of refined oil. The emergency inventory of refined oil of the sales enterprise refers to the inventory prepared to ensure the stable supply of the market in areas with transportation difficulties, tight transportation capacity, frequent disastrous weather, etc.
[0100] Input the daily average interrupted transportation volume, the maximum supply interruption days, and the storage capacity area ratio corresponding to each type of refined oil into the emergency inventory measurement sub-model, and the emergency inventory of each type of refined oil can be output. Among them, the measurement data of each type of refined oil of the sales enterprise includes the daily average interrupted transportation volume, the maximum supply interruption days, and the storage capacity area ratio corresponding to each type of refined oil. The daily average interrupted transportation volume can be determined according to the daily average transportation volume of the interrupted transportation mode in the past set time period, and the set time period is set according to actual needs, such as 1 year. The maximum supply interruption days can be set according to experience and can refer to the interruption days that have occurred in history. The storage capacity area ratio refers to the ratio of the storage capacity of the sales company to the regional storage capacity of the set area. The set area can include multiple sales companies, and when a sales company has a tight inventory, it can temporarily transfer goods from other sales companies within the set area.
[0101] For example, the emergency inventory measurement sub-model includes C 9 =qdτ, where C 9It represents the emergency inventory, q represents the average daily interrupted transportation volume, d represents the maximum supply interruption days, and τ represents the proportion of the storage capacity area.
[0102] On the basis of the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes a second seasonal inventory measurement sub-model; correspondingly, according to the second time series inventory data of each type of refined oil and the second seasonal inventory measurement sub-model, the second seasonal inventory corresponding to each type of refined oil is obtained.
[0103] Specifically, the inventory measurement model corresponding to the sales enterprise includes a second seasonal inventory measurement sub-model, and the second seasonal inventory measurement sub-model is used to measure the second seasonal inventory of refined oil. The second seasonal inventory of refined oil of the sales enterprise refers to the inventory that needs to be stored to cope with seasonal imbalances in production and sales. For example, the inventory reserved in winter and spring to ensure no out-of-stock in summer and autumn.
[0104] Inputting the second time series inventory data of each type of refined oil into the second seasonal inventory measurement sub-model, the second seasonal inventory corresponding to each type of refined oil can be obtained. Among them, the measurement data of each type of refined oil of the sales enterprise includes the second time series inventory data of each type of refined oil. The second time series inventory data is the inventory data of refined oil in a preset time period, such as the refined oil inventory in the past 1 year.
[0105] For example, the second seasonal inventory measurement sub-model can be constructed based on the seasonal decomposition (additive) method, or implemented by calling the seasonal decomposition model of existing software.
[0106] Figure 4 It is a schematic structural diagram of the refined oil inventory measurement device provided by the fourth embodiment of the present invention. As Figure 4 shown, the refined oil inventory measurement device provided by the embodiment of the present invention includes an acquisition unit 401 and a measurement unit 402, wherein:
[0107] The acquisition unit 401 is used to acquire the refined oil measurement data of the measurement object, and the refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil; the measurement unit 402 is used to obtain the reasonable inventory range of each type of refined oil according to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object; wherein, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
[0108] Specifically, the acquisition unit 401 imports the refined oil measurement data of the measurement object, and the refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil. Among them, the measurement object includes, but is not limited to, refineries and sales enterprises. The refined oil classification includes, but is not limited to, regular gasoline, ethanol gasoline, diesel, and kerosene, which are set according to actual needs and are not limited in the embodiments of the present invention. The refined oil measurement data is selected according to actual needs and is not limited in the embodiments of the present invention.
[0109] For each type of refined oil of the measurement object, the measurement unit 402 inputs the measurement data of each type of refined oil into the inventory measurement model corresponding to the measurement object, and can output the reasonable inventory range of each type of refined oil. The reasonable inventory range may include the upper limit of the reasonable inventory and the lower limit of the reasonable inventory. The inventory measurement model corresponding to the measurement object is established in advance, and the inventory measurement model corresponding to the measurement object can be established based on different inventory types of the measurement object.
[0110] The refined oil inventory measurement device provided by the embodiments of the present invention can obtain the refined oil measurement data of the measurement object. The refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil. According to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object, the reasonable inventory range of each type of refined oil is obtained. Since the inventory measurement model corresponding to the measurement object is established through different inventory types of the measurement object, the accuracy of determining the reasonable inventory range is improved.
[0111] Figure 5 It is a schematic structural diagram of the refined oil inventory measurement device provided by the fifth embodiment of the present invention. As Figure 5 shown, on the basis of the above embodiments, further, the measurement object is a refinery; correspondingly, the measurement unit 402 includes a first acquisition subunit 4021 and a second acquisition subunit 4022, where:
[0112] The first acquisition subunit 4021 is used to obtain the first reasonable inventory lower limit of each type of refined oil according to the bottom inventory, the first turnover inventory, and the first seasonal inventory of each type of refined oil of the refinery; the second acquisition subunit 4022 is used to obtain the first reasonable inventory upper limit of each type of refined oil according to the first reasonable inventory lower limit of each type of refined oil and the export inventory of each type of refined oil.
[0113] On the basis of the above embodiments, further, the inventory measurement model corresponding to the refinery includes a bottom inventory measurement sub-model; correspondingly, according to the number of storage tanks corresponding to each type of refined oil, each storage tank parameter, the liquid level retention height of each storage tank, and the bottom inventory measurement sub-model, the bottom inventory corresponding to each type of refined oil is obtained.
[0114] Based on the above embodiments, further, the inventory calculation model corresponding to the refinery includes a first turnover inventory calculation sub-model; correspondingly, based on the daily land delivery volume of each type of refined oil, the land delivery reserve days, the single-batch transportation preparation scale and transportation cycle corresponding to each type of factory-out transportation method, and the first turnover inventory calculation sub-model, the first turnover inventory corresponding to each type of refined oil is obtained.
[0115] Based on the above embodiments, further, the inventory calculation model corresponding to the refinery includes a first seasonal inventory calculation sub-model; correspondingly, based on the first time series inventory data of each type of refined oil and the first seasonal inventory calculation sub-model, the first seasonal inventory corresponding to each type of refined oil is obtained.
[0116] Based on the above embodiments, further, the inventory calculation model corresponding to the refinery includes an export inventory calculation sub-model; correspondingly, based on the single-batch transportation preparation scale and export transportation cycle corresponding to each type of export transportation method of each type of refined oil and the export inventory calculation sub-model, the export inventory corresponding to each type of refined oil is obtained.
[0117] Figure 6 is a schematic structural diagram of the refined oil inventory calculation device provided in the sixth embodiment of the present invention. As Figure 6 shown, based on the above embodiments, further, the measurement object is a sales enterprise; correspondingly, the measurement unit 402 includes a third acquisition sub-unit 4023 and a fourth acquisition sub-unit 4024:
[0118] The third acquisition sub-unit 4023 is used to obtain the second reasonable inventory lower limit of each type of refined oil according to the non-movable inventory, the second turnover inventory and the emergency inventory of each type of refined oil of the sales enterprise; wherein, the non-movable inventory of each type of refined oil is equal to the sum of the bottom inventory of the gas station oil tank, the bottom inventory of the oil depot and the in-transit inventory of the non-movable inventory of each type of refined oil; the second turnover inventory of each type of refined oil is equal to the sum of the gas station turnover inventory and the oil depot turnover inventory of each type of refined oil; the fourth acquisition sub-unit 4024 is used to obtain the second reasonable inventory upper limit of each type of refined oil according to the second reasonable inventory lower limit of each type of refined oil and the second seasonal inventory of each type of refined oil.
[0119] Based on the above embodiments, further, the inventory calculation model corresponding to the sales enterprise includes a gas station oil tank bottom inventory calculation sub-model; correspondingly, based on the reserved liquid level height, the oil tank radius and the oil tank length of each gas station oil tank of each type of refined oil and the gas station oil tank bottom inventory calculation sub-model, the gas station oil tank bottom inventory of each type of refined oil is obtained.
[0120] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes a bottom inventory measurement sub-model for the oil depot; correspondingly, according to the bottom tank height, oil depot radius of each oil depot for each type of refined oil, and the bottom inventory measurement sub-model of the oil depot, the bottom inventory of each oil depot for each type of refined oil is obtained.
[0121] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes an in-transit inventory measurement sub-model; correspondingly, according to each in-transit inventory type of each type of refined oil, the capacity corresponding to each in-transit inventory type, the in-transit ratio corresponding to each in-transit inventory type, and the in-transit inventory measurement sub-model, the in-transit inventory of each type of refined oil is obtained.
[0122] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes a gas station turnover inventory measurement sub-model; correspondingly, according to the number of gas stations corresponding to each type of refined oil, the average delivery cycle and daily sales volume corresponding to each type of factory transportation method of each gas station, and the gas station turnover inventory measurement sub-model, the gas station turnover inventory of each type of refined oil is obtained.
[0123] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes an oil depot turnover inventory measurement sub-model; correspondingly, according to the number of oil depots corresponding to each type of refined oil, the purchase cycle and daily average outbound volume of each oil depot, and the oil depot turnover inventory measurement sub-model, the oil depot turnover inventory of each type of refined oil is obtained.
[0124] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes an emergency inventory measurement sub-model; correspondingly, according to the daily average interrupted transportation volume, maximum supply interruption days, and storage capacity area ratio corresponding to each type of refined oil, and the emergency inventory measurement sub-model, the emergency inventory of each type of refined oil is obtained.
[0125] Based on the above embodiments, further, the inventory measurement model corresponding to the sales enterprise includes a second seasonal inventory measurement sub-model; correspondingly, according to the second time series inventory data of each type of refined oil and the second seasonal inventory measurement sub-model, the second seasonal inventory corresponding to each type of refined oil is obtained.
[0126] The embodiments of the device provided by the embodiments of the present invention can specifically be used to execute the processing procedures of the above method embodiments, and its functions will not be elaborated here, and reference can be made to the detailed description of the above method embodiments.
[0127] Figure 7 It is a schematic physical structure diagram of the electronic device provided by the seventh embodiment of the present invention, as Figure 7As shown, the electronic device 700 may include: a processor 100 and a memory 140. The memory 140 is coupled to the processor 100. The processor 100 may call the logical instructions in the memory 140 to execute the following method: obtaining refined oil measurement data of a measurement object, where the refined oil measurement data includes refined oil classifications and measurement data for each type of refined oil; obtaining a reasonable inventory range for each type of refined oil according to the measurement data for each type of refined oil and an inventory measurement model corresponding to the measurement object; wherein, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
[0128] This embodiment discloses a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided in the above method embodiments, for example, including: obtaining refined oil measurement data of a measurement object, where the refined oil measurement data includes refined oil classifications and measurement data for each type of refined oil; obtaining a reasonable inventory range for each type of refined oil according to the measurement data for each type of refined oil and an inventory measurement model corresponding to the measurement object; wherein, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
[0129] This embodiment provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. The computer program causes the computer to execute the methods provided in the above method embodiments, for example, including: obtaining refined oil measurement data of a measurement object, where the refined oil measurement data includes refined oil classifications and measurement data for each type of refined oil; obtaining a reasonable inventory range for each type of refined oil according to the measurement data for each type of refined oil and an inventory measurement model corresponding to the measurement object; wherein, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
[0130] As Figure 7 shown, the electronic device 700 may further include: a communication module 110, an input unit 120, an audio processor 130, a display 160, and a power supply 170. It should be noted that the electronic device 700 does not necessarily have to include Figure 7 all the components shown in Figure 7 ; in addition, the electronic device 700 may further include
[0131] components not shown in Figure 7As shown, the processor 100, sometimes also referred to as a controller or operation control, may include a microprocessor or other processor device and / or logic device. The processor 100 receives inputs and controls the operation of the various components of the electronic device 700.
[0132] Among them, the memory 140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices. It can store the above information related to failures, and can also store programs for executing relevant information. And the processor 100 can execute the programs stored in the memory 140 to achieve information storage or processing, etc.
[0133] The input unit 120 provides inputs to the processor 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to supply power to the electronic device 700. The display 160 is used to display display objects such as images and texts. The display 160 can be, for example, an LCD display, but is not limited thereto.
[0134] The memory 140 can be a solid-state memory. For example, it can be a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It can also be a memory that stores information even when powered off, can be selectively erased and has more data. Examples of the memory 140 are sometimes referred to as EPROMs, etc. The memory 140 can also be some other type of device. The memory 140 includes a buffer 141 (sometimes referred to as a buffer memory). The memory 140 can include an application / function storage unit 142, which is used to store application programs and function programs or the processes for operating the electronic device 700 through the processor 100.
[0135] The memory 140 can also include a data storage unit 143, which is used to store data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 144 of the memory 140 can include various drivers of the electronic device for communication functions and / or for executing other functions of the electronic device (such as a messaging application, an address book application, etc.).
[0136] The communication module 110 includes a transmitter / receiver that transmits and receives signals via the antenna 111. The communication module 110 is coupled to the processor 100 to provide input signals and receive output signals, which can be the same as in the case of a conventional mobile communication terminal.
[0137] Based on different communication technologies, in the same electronic device, multiple communication modules 110 can be provided, such as a cellular network module, a Bluetooth module, and / or a wireless local area network module, etc. The communication module 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide an audio output via the speaker 131 and receive an audio input from the microphone 132, so as to implement normal telecommunication functions. The audio processor 130 can include any suitable buffers, decoders, amplifiers, etc. In addition, the audio processor 130 is also coupled to a processor 100, so that recording can be performed on the local machine through the microphone 132, and the sound stored on the local machine can be played through the speaker 131.
[0138] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0139] The present invention is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one or more of the processes or multiple processes and / or blocks Figure 1 one or more of the blocks or multiple blocks.
[0140] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one or more of the processes or multiple processes and / or blocks Figure 1 one or more of the blocks or multiple blocks.
[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are executed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions for implementing the functions specified in one process Figure 1 one process or a plurality of processes and / or boxes Figure 1 steps for the functions specified in one box or a plurality of boxes.
[0142] In the description of this specification, descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0143] The above-described specific embodiments have further elaborated on the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for calculating refined oil inventory, characterized in that, Including: Obtaining the refined oil measurement data of the measurement object, where the refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil; Obtaining the reasonable inventory range of each type of refined oil according to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object; wherein, the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
2. The refined oil inventory measurement method according to claim 1, wherein The measurement object is a refinery; correspondingly, obtaining the reasonable inventory range of each type of refined oil according to the measurement data of each type of refined oil and the inventory measurement model corresponding to the refinery includes: Obtaining the first reasonable inventory lower limit of each type of refined oil according to the bottom inventory, the first turnover inventory and the first seasonal inventory of each type of refined oil of the refinery; Obtaining the first reasonable inventory upper limit of each type of refined oil according to the first reasonable inventory lower limit of each type of refined oil and the export inventory of each type of refined oil.
3. The refined oil inventory measurement method according to claim 2, wherein The inventory measurement model corresponding to the refinery includes a bottom inventory measurement sub-model; correspondingly, obtaining the bottom inventory corresponding to each type of refined oil according to the number of storage tanks corresponding to each type of refined oil, each storage tank parameter, the liquid level retention height of each storage tank and the bottom inventory measurement sub-model.
4. The refined oil inventory measurement method according to claim 2, wherein The inventory measurement model corresponding to the refinery includes a first turnover inventory measurement sub-model; correspondingly, obtaining the first turnover inventory corresponding to each type of refined oil according to the daily average ground delivery volume of each type of refined oil, the ground delivery reserve days, the single-batch transportation preparation scale and the transportation cycle corresponding to various factory transportation methods and the first turnover inventory measurement sub-model.
5. The refined oil inventory measurement method according to claim 2, wherein The inventory measurement model corresponding to the refinery includes a first seasonal inventory measurement sub-model; correspondingly, obtaining the first seasonal inventory corresponding to each type of refined oil according to the first time series inventory data of each type of refined oil and the first seasonal inventory measurement sub-model.
6. The refined oil inventory measurement method according to claim 2, characterized in that, The inventory measurement model corresponding to the refinery includes an export inventory measurement sub-model; correspondingly, obtaining the export inventory corresponding to each type of refined oil according to the single-batch transportation preparation scale and the export transportation cycle corresponding to various export transportation methods of each type of refined oil and the export inventory measurement sub-model.
7. The refined oil inventory measurement method according to claim 1, characterized in that, The measurement object is a sales enterprise; correspondingly, obtaining the reasonable inventory range of each type of refined oil according to the measurement data of each type of refined oil and the inventory measurement model corresponding to the sales enterprise includes: Obtaining the second reasonable inventory lower limit of each type of refined oil according to the non-movable inventory, the second turnover inventory and the emergency inventory of each type of refined oil of the sales enterprise; wherein, the non-movable inventory of each type of refined oil is equal to the sum of the bottom inventory of the gas station oil tank, the bottom inventory of the oil depot and the in-transit inventory of the non-movable inventory of each type of refined oil; the second turnover inventory of each type of refined oil is equal to the sum of the gas station turnover inventory and the oil depot turnover inventory of each type of refined oil; Obtaining the second reasonable inventory upper limit of each type of refined oil according to the second reasonable inventory lower limit of each type of refined oil and the second seasonal inventory of each type of refined oil.
8. The refined oil inventory measurement method according to claim 7, characterized in that, The inventory measurement model corresponding to the sales enterprise includes a sub-model for measuring the bottom inventory of gas stations; accordingly, based on the reserved liquid level height, tank radius, and tank length of each gas station's oil tank for each type of refined oil, as well as the sub-model for measuring the bottom inventory of gas stations, the bottom inventory of each gas station's oil tank for each type of refined oil is obtained.
9. The refined oil inventory measurement method according to claim 7, wherein The inventory measurement model corresponding to the sales enterprise includes a sub-model for measuring the bottom inventory of oil depots; accordingly, based on the bottom tank height and oil depot radius of each oil depot for each type of refined oil, as well as the sub-model for measuring the bottom inventory of oil depots, the bottom inventory of each oil depot for each type of refined oil is obtained.
10. The refined oil inventory measurement method according to claim 7, wherein, The inventory measurement model corresponding to the sales enterprise includes a sub-model for measuring in-transit inventory; accordingly, based on each in-transit inventory type for each type of refined oil, the capacity corresponding to each in-transit inventory type, the in-transit ratio corresponding to each in-transit inventory type, and the sub-model for measuring in-transit inventory, the in-transit inventory of each type of refined oil is obtained.
11. The refined oil inventory measurement method according to claim 7, wherein The inventory measurement model corresponding to the sales enterprise includes a sub-model for measuring the turnover inventory of gas stations; accordingly, based on the number of gas stations corresponding to each type of refined oil, the average delivery cycle and daily average sales volume corresponding to each type of ex-factory transportation method of each gas station, as well as the sub-model for measuring the turnover inventory of gas stations, the turnover inventory of each gas station for each type of refined oil is obtained.
12. The refined oil inventory measurement method according to claim 7, wherein The inventory measurement model corresponding to the sales enterprise includes a sub-model for measuring the turnover inventory of oil depots; accordingly, based on the number of oil depots corresponding to each type of refined oil, the purchase cycle and daily average out-of-stock volume of each oil depot, as well as the sub-model for measuring the turnover inventory of oil depots, the turnover inventory of each oil depot for each type of refined oil is obtained.
13. The refined oil inventory measurement method according to claim 7, characterized in that The inventory measurement model corresponding to the sales enterprise includes a sub-model for measuring emergency inventory; accordingly, based on the daily average interrupted transportation volume, the maximum supply interruption days, and the proportion of the storage capacity area corresponding to each type of refined oil, as well as the sub-model for measuring emergency inventory, the emergency inventory of each type of refined oil is obtained.
14. The refined oil inventory measurement method according to claim 7, wherein The inventory measurement model corresponding to the sales enterprise includes a second seasonal inventory measurement sub-model; accordingly, based on the second time series inventory data of each type of refined oil and the second seasonal inventory measurement sub-model, the second seasonal inventory corresponding to each type of refined oil is obtained.
15. An apparatus for measuring refined oil inventory, characterized in that, It includes: An acquisition unit for acquiring the refined oil measurement data of the measurement object, where the refined oil measurement data includes refined oil classification and the measurement data of each type of refined oil; A measurement unit for obtaining the reasonable inventory range of each type of refined oil according to the measurement data of each type of refined oil and the inventory measurement model corresponding to the measurement object; where the inventory measurement model corresponding to the measurement object is pre-established based on different inventory types of the measurement object.
16. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 14.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 14.