Disclosure of Invention
This section is for the purpose of summarizing some aspects of embodiments of the invention and to briefly introduce some preferred embodiments. In this section, as well as in the abstract and the title of the invention of this application, simplifications or omissions may be made to avoid obscuring the purpose of the section, the abstract and the title, and such simplifications or omissions are not intended to limit the scope of the invention.
The present invention has been made in view of the above-mentioned conventional problems.
Therefore, the invention provides a distribution network emergency material demand reporting method based on intelligent data sensing, which can solve the problem that the power supply safety cannot be guaranteed due to low on-site emergency repair efficiency.
In order to solve the technical problems, the invention provides the following technical scheme: the method comprises the steps of receiving emergency material demands submitted by power emergency material demand submitting personnel on an accident site, and starting different material demand response modes according to the stock conditions of required materials in a warehouse; when the material inventory meets the emergency material demand, carrying out intelligent allocation calculation on the warehouse inventory of the relevant emergency material demand, and feeding back an allocation plan to on-site material demand reporting personnel; when the material inventory can not meet the emergency material demand, selecting newly acquired distribution network material market suppliers and market price information from a distribution network material emergency supply subject database, grading the distribution network material market suppliers, calculating a recommended supplier list, generating an emergency material demand optimal supply plan at this time and feeding back the plan to the on-site material demand reporting personnel; and the field material demand reporting personnel feeds back the emergency demand material allocation plan or the optimal supply plan to the field emergency rescue commanding personnel according to the feedback emergency demand material allocation plan or the optimal supply plan.
The invention discloses a preferable scheme of a distribution network emergency material demand reporting method based on data intelligent perception, wherein the method comprises the following steps: before the emergency material demand is received, network crawler tools are used for periodically collecting the market price of the distribution network materials and the information of the distribution network material suppliers on the Internet; acquiring distribution network material inventory, historical transaction providers, historical purchase prices and supply period information in an electric power material system, and integrating various data sources of distribution network material supply; and forming the distribution network material emergency supply subject database through cleaning, conversion, integration and loading processing.
The invention discloses a preferable scheme of a distribution network emergency material demand reporting method based on data intelligent perception, wherein the method comprises the following steps: the web crawler tool comprises an engine, a scheduler, a downloader, a crawler, a pipeline, download middleware and crawler middleware.
The invention discloses a preferable scheme of a distribution network emergency material demand reporting method based on data intelligent perception, wherein the method comprises the following steps: the method also comprises the steps of periodically obtaining distribution network material inventory, historical transaction suppliers, historical purchase prices and supply period information data of a material system in the power grid through a data interface, converting the data according to a certain format, and entering a distribution network material emergency supply subject big database.
The invention discloses a preferable scheme of a distribution network emergency material demand reporting method based on data intelligent perception, wherein the method comprises the following steps: factors for the scoring include whether it is a historical transaction supplier and market price; obtaining the value R of the distribution network material supplieri(3 points of the payment suppliers in the material system, or 0 point of the payment suppliers otherwise) + (1 point of the suppliers in the same province, 2 points of the suppliers in the same region, or 0 point of the payment suppliers otherwise); according to market newspaperPrice, selection of the bulls-eye method for the market supplier ranking factor Pi(ii) a Distributing the distribution network material supplier score RiRanking coefficient PiObtaining three suppliers with high scores as a recommendation list; and generating an optimal purchasing supply plan of the emergency material demand and feeding the optimal purchasing supply plan back to the on-site material demand reporting personnel by combining the production cycle of the material required by the emergency of the distribution network.
The invention discloses a preferable scheme of a distribution network emergency material demand reporting method based on data intelligent perception, wherein the method comprises the following steps: the distribution network emergency material distribution method comprises the steps that after the quantity Z of the distribution network emergency materials is clear, the distribution network emergency materials need to be taken from a warehouse A, B, C which is close to an accident site, and the transportation distance between the warehouse A, B, C and the accident site is defined to be ma、mb、mcThe inventory of the materials in the warehouse A, B, C is k respectivelya、kb、kcThen the amount of material dispensed from the warehouse A, B, C is xa、xb、xc。
The invention discloses a preferable scheme of a distribution network emergency material demand reporting method based on data intelligent perception, wherein the method comprises the following steps: comprises when Z is<(ka+kb+kc) And then, the distribution network emergency materials are directly taken from the warehouse A, B, C three places, and the distribution quantity is xa、xb、xcThe constraint condition to be satisfied is xa<ka、xb<kb、xc<kcMeanwhile, a mathematical model of the allocation cost mini is established according to the shortest transportation time, wherein the mini is xa*ma+xb*mb+xc*mcObtaining a blending quantity value x after solvinga、xb、xc。
The invention discloses a preferable scheme of a distribution network emergency material demand reporting method based on data intelligent perception, wherein the method comprises the following steps: also includes when Z is>(ka+kb+kc) And then taking the distribution network emergency material inventory from the warehouse A, B, C to be k respectivelya、kb、kcTotal stock of materialsThe blending quantity is Z1, and the quantity of the left insufficient materials Z2 needs to be purchased from the outside, and the constraint condition is Z1+ Z2.
The invention has the beneficial effects that: the invention integrates various data intelligent sensing technologies, and through technologies such as a mobile communication technology, a network crawler technology, a data synchronization technology and the like, the invention can make the fastest power emergency demand material allocation and purchase supply scheme response to the field power emergency material demand when a power emergency event occurs, so that field emergency command personnel can timely master the power emergency material demand supply, and reasonably formulate a field emergency scheme, thereby avoiding the problem of low emergency material supply guarantee efficiency caused by the fact that the material demand reporting personnel records on the field, gathers and reports back to the office, and determines the final material allocation scheme.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, specific embodiments accompanied with figures are described in detail below, and it is apparent that the described embodiments are a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present invention, shall fall within the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
Furthermore, reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one implementation of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
The present invention will be described in detail with reference to the drawings, wherein the cross-sectional views illustrating the structure of the device are not enlarged partially in general scale for convenience of illustration, and the drawings are only exemplary and should not be construed as limiting the scope of the present invention. In addition, the three-dimensional dimensions of length, width and depth should be included in the actual fabrication.
Meanwhile, in the description of the present invention, it should be noted that the terms "upper, lower, inner and outer" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation and operate, and thus, cannot be construed as limiting the present invention. Furthermore, the terms first, second, or third are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The terms "mounted, connected and connected" in the present invention are to be understood broadly, unless otherwise explicitly specified or limited, for example: can be fixedly connected, detachably connected or integrally connected; they may be mechanically, electrically, or directly connected, or indirectly connected through intervening media, or may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1
Referring to fig. 1 and fig. 2, a first embodiment of the present invention provides a method for reporting distribution network material demand based on data intelligent sensing, which specifically includes:
s1: receiving emergency material demands submitted by power emergency material demand reporting personnel on an accident site, and starting different material demand response modes according to the inventory condition of the demand materials in the warehouse. Referring to fig. 2, it should be noted that, before receiving the emergency material requirement, the method includes:
the method comprises the steps that a network crawler tool is used for collecting market prices of distribution network materials and information of distribution network material suppliers on the internet regularly;
acquiring distribution network material inventory, historical transaction providers, historical purchase prices and supply period information in an electric power material system, and integrating various data sources of distribution network material supply;
forming a distribution network material emergency supply subject database through cleaning, conversion, integration and loading treatment;
the web crawler tool comprises an engine, a scheduler, a downloader, a crawler, a pipeline, downloading middleware and crawler middleware;
scapy Engine: the device is responsible for communication, signal and data transmission among the Spider, ItemPipeline, Downloader and Schedule;
scheduler: the system is responsible for receiving a Request sent by an engine, arranging and enqueuing the Request according to a certain mode, and returning the Request to the engine when the Request is needed by the engine;
downloader (Downloader): the system is responsible for downloading all Requests sent by the script Engine, returning acquired Responses to the script Engine and handing over the Requests to the spinner for processing;
spider (crawler): it is responsible for processing all Responses, analyzing and extracting data from the Responses, acquiring data required by Item fields, submitting URL required to follow to an engine, and entering a Scheduler again;
item Pipeline: the method is used for processing the Item acquired from the Spider and performing post-processing (detailed analysis, filtration, storage and the like);
downloader middlewaes (download middleware): a component capable of customizing the extended download function;
spider middlewaes (Spider middleware): and the functional component can be used for self-defined extension and operation of the communication between the engine and the Spider.
Further, the method also comprises the following steps:
the method comprises the steps of periodically obtaining distribution network material inventory, historical transaction suppliers, historical purchase prices and supply period information data of a material system in a power grid through a data interface, converting the data according to a certain format, and entering a distribution network material emergency supply subject large database.
S2: when the material inventory meets the emergency material demand, the intelligent allocation calculation of the warehouse inventory is carried out on the relevant emergency material demand, and the allocation plan is fed back to the on-site material demand reporting personnel.
S3: when the material inventory can not meet the emergency material demand, newly acquired distribution network material market suppliers and market price information are selected from a distribution network material emergency supply subject database, the distribution network material market suppliers are scored, a recommended supplier list is calculated, and the emergency material demand optimal supply plan is generated and fed back to on-site material demand reporting personnel. It should be noted in this step that the scoring factors include:
whether it is a historical transaction supplier and market price;
obtaining the value R of the distribution network material supplieri(3 points of the payment suppliers in the material system, or 0 point of the payment suppliers otherwise) + (1 point of the suppliers in the same province, 2 points of the suppliers in the same region, or 0 point of the payment suppliers otherwise);
selecting a bulls-eye method for the market supplier ranking coefficient P according to market quotesi;
Distribution network material supplier score RiRanking coefficient PiTo obtain the top three suppliersIs a recommendation list;
and generating the optimal purchasing supply plan of the emergency material demand and feeding the optimal purchasing supply plan back to on-site material demand reporting personnel by combining the production cycle of the material required by the emergency of the distribution network.
S4: and feeding back the emergency demand material allocation plan or the optimal supply plan fed back by the field material demand reporting personnel to the field emergency rescue commanding personnel.
Preferably, in this embodiment, it should be specifically described that after the quantity Z of the distribution network emergency supplies is determined, three distribution network emergency supplies need to be called from the warehouse A, B, C that is closer to the accident site, and the transportation distance between the warehouse A, B, C and the accident site is defined as ma、mb、mcThe inventory of the warehouse A, B, C is ka、kb、kcThen the amount of material dispensed from the warehouse A, B, C is xa、xb、xc。
When Z is<(ka+kb+kc) In time, the emergency materials of the distribution network are directly taken from a warehouse A, B, C, and the allocation quantity is xa、xb、xcThe constraint condition to be satisfied is xa<ka、xb<kb、xc<kcMeanwhile, a mathematical model of the allocation cost mini is established according to the shortest transportation time, wherein the mini is xa*ma+xb*mb+xc*mcObtaining a blending quantity value x after solvinga、xb、xc。
When Z is>(ka+kb+kc) Then, the distribution network emergency material inventory is called from the warehouse A, B, C to be k respectivelya、kb、kcThe total material inventory allocation quantity is Z1, and the quantity of the remaining insufficient materials Z2 needs to be purchased from the outside, with the constraint of Z1+ Z2.
It should be noted again that, the invention combines the data intelligent perception technology, the electric power emergency material demand reporting personnel submits the emergency material demand quantity in real time through the mobile communication network at the accident site, and collects the data of various sources for calculation and analysis, including obtaining the information of distribution network material inventory, historical transaction supplier, historical purchase price, supply period, etc. in the power grid material system, when the material inventory meets the emergency demand, the related material inventory is calculated through the intelligent allocation of the warehouse, and the allocation plan is fed back to the site emergency material demand reporting personnel; when the material inventory can not meet the emergency material requirement, the network crawler tool is used for acquiring information such as a distribution network material provider and market price on the Internet, judging whether the material provider acquired on the Internet is a historical transaction provider in the system, judging the material supply period, the current market price and the historical purchase price, calculating a recommended provider list, generating an optimal supply scheme of the emergency material requirement and feeding back the optimal supply scheme to a field material requirement submitting person, and the field material requirement submitting person feeds back the quantity of the emergency material requirement according to the response grade of an electric emergency event.
Example 2
In order to better verify and explain the technical effects adopted in the method of the invention, the embodiment selects the traditional manual reporting method to perform a comparison test with the method of the invention, and compares the test results by means of scientific demonstration to verify the real effect of the method of the invention.
In order to verify that the method has higher efficiency and power supply reliability compared with the traditional method, the traditional method and the method are adopted to respectively carry out real-time measurement and comparison on a test sample (distribution network material demand data of a certain power supply bureau of a power grid in south of 5 months in 2019) of a simulation platform in the embodiment.
And (3) testing environment: the method comprises the steps of importing a test sample into a simulation platform to simulate driving and simulate a reporting scene, respectively utilizing manual operation of a traditional method to carry out reporting test and obtain test result data, starting automation equipment and utilizing MATLB to realize programming simulation of the method, obtaining simulation data according to an experimental result, testing 10 groups of data by the two methods, calculating time for obtaining each group of data, and carrying out error comparison calculation with an actual predicted value input by simulation, wherein the results are shown in a table.
Table 1: and comparing the efficiency and reliability data with a table.
Referring to table 1, it can be seen that, under the same experimental conditions, the manual reporting time of the conventional method is longer, and the error is larger, but the method of the present invention is improved well compared with the conventional method, the reporting time is shortened, the power supply safety and reliability are greatly improved, and a good help is provided on the research dilemma of the prior art.
It should be noted that the above-mentioned embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.