Water affair power consumption condition prediction system
By constructing a Prophet prediction model and combining time and power parameters, the problem in the existing technology that power consumption prediction is difficult to predict in the long term and model changes affect accuracy is solved, achieving accurate and efficient prediction of water power consumption, reducing operating costs and waste.
Patent Information
- Application Number
- CN202410896852.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-24
AI Technical Summary
It is difficult for the existing electricity consumption forecasting system to make long-term predictions, and the drastic changes in the unobservable control variables of the model affect the accuracy and precision of the predictions.
A water power consumption prediction system is designed. By acquiring and preprocessing the water company's power consumption historical data, a Prophet prediction model is constructed, prediction is made based on time parameters and power parameters, and the prediction results are adjusted in real time through the monitoring and dispatching module. Ensure forecast accuracy.
It realizes long-term power consumption prediction based on nonlinear time trends, improves the accuracy and precision of prediction, reduces the operating costs and waste of electricity consumption of water companies, and ensures the economic operation of the power grid.
Smart Images

Figure CN118690915A
Abstract
Description
Technical Field
[0001] The invention relates to a power consumption prediction system, in particular to a water power consumption prediction system. Background Art
[0002] The water company is mainly responsible for the production, supply and management of tap water. It also involves water-related businesses such as sewage treatment. It coordinates the construction and management of water affairs in urban and rural areas, including the production and supply of tap water, and the treatment of sewage and wastewater.
[0003] Water companies use a lot of electricity in production, supply and management. The electricity consumption prediction system in the prior art has the following problems:
[0004] First, determine the water company's power consumption based on the seasons and tasks in the short term to achieve the purpose of short-term power consumption forecasting, and do not make long-term forecasts.
[0005] Second, in addition, the forecasting model may often remain unchanged, while the unobservable and controllable variables of other models may change dramatically, which greatly affects the accuracy and precision of the forecasting model. Summary of the invention
[0006] In view of the above situation, in order to solve the technical problems of the prior art, the present invention provides a water power consumption prediction system.
[0007] The present invention solves the above technical problems through the following technical solutions: a water power consumption prediction system, characterized in that it includes:
[0008] Acquisition module, to obtain the existing electricity consumption history data of the water company;
[0009] A preprocessing module preprocesses the acquired historical electricity consumption data;
[0010] A screening module is used to screen the pre-processed historical electricity consumption data and divide the data into training set data and test set data after screening;
[0011] Model building module, building training models;
[0012] The training module performs training based on the training model and training set data to obtain a trained Prophet prediction model;
[0013] Forecasting module, the Prophet forecasting model predicts the electricity consumption trend of the water company.
[0014] Preferably, the acquisition module is connected to a storage module.
[0015] Preferably, the preprocessing of the preprocessing module includes: supplementing, correcting and cleaning the acquired existing electricity consumption history data, specifically supplementing the missing unknown data, and cleaning the non-compliant data format and non-compliant historical data.
[0016] Preferably, the data preprocessed by the preprocessing module undergoes timing verification.
[0017] Preferably, the prediction module is connected to an analysis and evaluation module, the prediction module outputs the prediction result, and the analysis and evaluation module compares the prediction result with the test set data to analyze and evaluate the prediction result.
[0018] Preferably, the analysis and evaluation module is connected to a model parameter adjustment module, and the model parameter adjustment module adjusts the parameters of the Prophet prediction model according to the analysis and evaluation results of the prediction results by the analysis and evaluation module.
[0019] Preferably, the parameters of the Prophet prediction model include time parameters and power parameters. The time parameters include trend parameters of non-periodic changes, seasonal cycle parameters, and holiday parameters. The power parameters include total power, regional power, structure power, and large equipment power.
[0020] Preferably, the prediction module is connected to a monitoring module, and the monitoring module is connected to a scheduling module. The monitoring module monitors the real-time electricity consumption of the water company in real time, and determines whether it is consistent with the prediction result of the prediction module. If there is a shortage of electricity, the scheduling module will promptly call for electricity to supplement it.
[0021] The positive and progressive effects of the present invention are:
[0022] First, the present invention realizes the prediction of future electricity usage. Based on the nonlinear time trend, long-term prediction of future electricity usage can be performed according to year, month, day, week, hour, holiday, etc.
[0023] Second, the present invention can break down the total electricity consumption, regional electricity consumption, structure electricity consumption, and large-scale equipment electricity consumption, and make comprehensive predictions on the electricity consumption of water companies for different scenario needs, thereby ensuring the effective implementation of life and production, making the prediction results closer to the actual situation, and effectively improving the accuracy and precision of the water company's electricity consumption prediction, effectively reducing the water company's operating costs and electricity waste, and ensuring the economic operation of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a functional block diagram of the water power consumption prediction system of the present invention. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0026] Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0027] In the description of the present invention, it is necessary to understand that the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inside", "outside", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0028] like Figure 1 As shown, the water power consumption prediction system of the present invention includes:
[0029] Acquisition module, to obtain the existing electricity consumption history data of the water company;
[0030] A preprocessing module preprocesses the acquired historical electricity consumption data;
[0031] A screening module is used to screen the pre-processed historical electricity consumption data and divide the data into training set data and test set data after screening;
[0032] Model building module, building training models;
[0033] The training module performs training based on the training model and training set data to obtain a trained Prophet prediction model;
[0034] Forecasting module, the Prophet forecasting model predicts the electricity consumption trend of the water company.
[0035] Among them, the acquisition module can be connected to a storage module, and the storage module can store the existing electricity consumption historical data of the water company, etc., for subsequent retrieval and use. The preprocessing of the preprocessing module includes: supplementing, correcting and cleaning the existing electricity consumption historical data obtained, specifically supplementing the missing unknown data, correcting the duplicate values and wrong values, cleaning the non-compliant data format and non-compliant historical data, facilitating subsequent screening and use, and ensuring the accuracy of the data.
[0036] Specifically, the data preprocessed by the preprocessing module is time-series verified, and the Dickey-Fuller test method can be used. The prediction module is connected to an analysis and evaluation module, and the prediction module outputs the prediction result. The analysis and evaluation module compares the prediction result with the test set data to analyze and evaluate the prediction result. The analysis and evaluation module is connected to a model parameter adjustment module. The model parameter adjustment module adjusts the parameters of the Prophet prediction model according to the analysis and evaluation results of the prediction result by the analysis and evaluation module, so that the prediction result is close to the test set data. Repeated testing further optimizes the Prophet prediction model to improve the prediction accuracy of the Prophet prediction model.
[0037] As a preferred embodiment of the present invention, the prediction module is connected to a monitoring module, and the monitoring module is connected to a scheduling module. The monitoring module monitors the real-time electricity consumption of the water company in real time, and determines whether it is consistent with the prediction result of the prediction module. If there is a shortage of electricity, the scheduling module will promptly call for electricity to supplement it, so as to ensure the normal operation of the water company's electricity consumption.
[0038] As a preferred embodiment of the present invention, the parameters of the Prophet prediction model include time parameters and power parameters. The time parameters include trend parameters of non-periodic changes, seasonal cycle parameters, and holiday parameters. The power parameters include total power, regional power, structure power, and large equipment power, which are convenient for adjustment and prediction.
[0039] The present invention can make long-term predictions of future electricity consumption based on nonlinear time trends according to year, month, day, week, hour, holiday, etc. In addition, the present invention can predict the electricity consumption of water companies in all aspects according to different scene requirements by disassembling total electricity, regional electricity, structure electricity, and large-scale equipment electricity, so as to ensure the effective implementation of life and production, make the prediction results closer to the actual situation, effectively improve the accuracy and precision of the electricity consumption prediction of water companies, effectively reduce the operating costs and electricity waste of water companies, and ensure the economic operation of the power grid.
[0040] The present invention also provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided by the various embodiments described above.
[0041] Among them, the storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, the storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (Application Specific Integrated Circuits, referred to as ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also exist in a communication device as discrete components. The storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0042] The present invention also provides a program product, which includes an execution instruction, which is stored in a storage medium. At least one processor of a device can read the execution instruction from the storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the above various embodiments.
[0043] In the above-mentioned terminal or server embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0044] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the attached claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved.
[0045] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A water power consumption prediction system, characterized in that: It includes: Acquisition module, to obtain the existing electricity consumption history data of the water company; A preprocessing module preprocesses the acquired historical electricity consumption data; A screening module is used to screen the pre-processed historical electricity consumption data and divide the data into training set data and test set data after screening; Model building module, building training models; The training module performs training based on the training model and training set data to obtain a trained Prophet prediction model; Forecasting module, the Prophet forecasting model predicts the electricity consumption trend of the water company.
2. The water power consumption prediction system according to claim 1, characterized in that: The acquisition module is connected to a storage module.
3. The water power consumption prediction system according to claim 1, characterized in that: The preprocessing of the preprocessing module includes: supplementing, correcting and cleaning the acquired existing power consumption history data, specifically supplementing the missing unknown data, and cleaning the non-compliant data format and non-compliant historical data.
4. The water power consumption prediction system according to claim 1, characterized in that: The data preprocessed by the preprocessing module is subjected to timing verification.
5. The water power consumption prediction system according to claim 4, characterized in that: The prediction module is connected to an analysis and evaluation module, the prediction module outputs the prediction result, and the analysis and evaluation module compares the prediction result with the test set data to analyze and evaluate the prediction result.
6. The water power consumption prediction system according to claim 1, characterized in that: The analysis and evaluation module is connected to a model parameter adjustment module, and the model parameter adjustment module adjusts the parameters of the Prophet prediction model according to the analysis and evaluation results of the prediction results by the analysis and evaluation module.
7. The water power consumption prediction system according to claim 6, characterized in that: The parameters of the Prophet prediction model include time parameters and power parameters. The time parameters include trend parameters of non-periodic changes, seasonal cycle parameters, and holiday parameters. The power parameters include total power, regional power, structure power, and large equipment power.
8. The water power consumption prediction system according to claim 1, characterized in that: The prediction module is connected to a monitoring module, and the monitoring module is connected to a scheduling module. The monitoring module monitors the real-time electricity consumption of the water company in real time, and determines whether it is consistent with the prediction result of the prediction module. If there is a shortage of electricity, the scheduling module will be used to supplement it in time.
