Prediction model creation method, prediction method, prediction model creation apparatus, prediction apparatus, program and recording medium
A predictive model using regional weather and power plant data with machine learning algorithms addresses errors and load issues in electricity sales predictions, improving accuracy and efficiency.
Patent Information
- Application Number
- JP2023055757
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
AI Technical Summary
Existing methods for calculating the amount of electricity sold by multiple power plants result in large errors and increased calculation load.
A predictive model generation method that incorporates weather observation and learning power plant information for each region, using machine learning algorithms to generate a prediction model that reduces calculation load and improves accuracy.
The method achieves reduced calculation load and enhanced prediction accuracy for electricity sales amounts across multiple power plants.
Smart Images

Figure 2024143209000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a prediction model generation method for generating a prediction model used to predict an amount of electricity sold, and a method for predicting an amount of electricity sold using the prediction model. [Background technology]
[0002] In recent years, the number of power consumers who generate their own power using solar cells or the like has been increasing. When the amount of power generated by such power consumers exceeds the amount of power they consume, they can sell the surplus power. In recent years, when power shortages are frequently a problem due to fuel shortages for power generation and sudden changes in weather, there is a demand for highly accurate prediction of the amount of power to be sold that is supplied from such power plants.
[0003] Patent Document 1 describes that the amount of surplus power is calculated by subtracting the amount of power consumption from the total amount of generated power and stored power. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2014-27780 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, when the above-mentioned method is used to calculate the amount of surplus power, i.e., the amount of power sold, there is no problem when it is applied to a single power plant, but when calculating the amount of power sold for a group that includes multiple power plants, the error becomes large. Also, calculating the amount of power sold for each power plant increases the calculation load.
[0006] The present invention has been made in consideration of the above-mentioned problems, and has an exemplary object to provide a technique for predicting the amount of electricity sold that is advantageous in terms of reducing the calculation load and improving the prediction accuracy. [Means for solving the problem]
[0007] In order to achieve the above-mentioned objective, a prediction model generation method as one aspect of the present invention is a prediction model generation method that generates a prediction model used to predict the amount of electricity sold, and is characterized in that it acquires meteorological observation information for each region including at least temperature and solar radiation, acquires learning power plant information for each region including at least the number of power plants installed and their power generation capacity, and electricity sales amount information for each region, and generates the prediction model using the meteorological observation information, the learning power plant information, and the electricity sales amount information. Effect of the Invention
[0008] According to one aspect of the present invention, it is possible to provide a technique for predicting an amount of electricity sold that is advantageous in terms of reducing a calculation load and improving prediction accuracy. [Brief description of the drawings]
[0009] [Figure 1] 1 is a configuration diagram showing a configuration of a prediction system 1 according to an embodiment. [Diagram 2] FIG. 1 is a block diagram showing a hardware configuration of a prediction model generation device 100. [Diagram 3] FIG. 2 is a flow diagram showing a generation process of a prediction model 105 according to the embodiment. [Figure 4] FIG. 13 is a diagram showing an example of teacher data created in S404. [Diagram 5] 10 is a flow diagram showing a calculation process of a predicted value of the amount of electricity sold in a prediction target area according to the embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0011] <Embodiment> FIG. 1 is a configuration diagram showing the configuration of a prediction system 1 according to this embodiment. The prediction system 1 includes a prediction model generation device 100, a prediction device 200, and a client device 300. The prediction system 1 is a system that predicts the amount of electricity sold by a high-voltage and low-voltage power plant (hereinafter simply referred to as a power plant) in which a solar cell such as a solar panel is installed, using a prediction model 105 generated by the prediction model generation device 100. The prediction model generation device 100 and the prediction device 200, and the prediction device 200 and the client device 300 are each connected to be able to communicate with each other via a network 400. The network 400 includes, for example, the Internet, a wide area network (WAN), a local area network (LAN), a wireless base station such as WiFi, a provider device, a dedicated line, and the like. Note that in this embodiment, an example will be described in which the prediction model generation device 100 and the prediction device 200 are separate devices, but the prediction device 200 may have the functions of the prediction model generation device 100.
[0012] First, a description will be given of the prediction model generation device 100. The prediction model generation device 100 generates a prediction model 105 used for predicting the amount of power sold by a power plant in the prediction device 200. The prediction model generation device 100 includes a first acquisition unit 101, a second acquisition unit 102, a model generation unit 103, and a first communication unit 104.
[0013] The first acquisition unit 101 acquires the learning power plant information 111 and the power sales amount information 112 from the learning power plant database (learning power plant DB) 110. The learning power plant information 111 includes at least the number of power plants installed in each region and their power generation capacity. The learning power plant information 111 may also include information on the installation location of the power plant. For example, the address, postal code, latitude and longitude can be used as the installation location information. The learning power plant information 111 may also include the installation direction, installation angle, model, and installation years of the solar panels. If the solar panels are installed on the roof or rooftop of a building, the building type and purpose may be included. If the solar panels are installed in a general household, the family structure may be included. The power sales amount information 112 includes the actual value of the power sales amount at the power plant included in the learning power plant information 111. For example, it is preferable to use a numerical value acquired by a sensor installed in the power plant as the actual value of the power sales amount, but a value obtained by subtracting the power consumption amount from the power generation amount may also be used. The first acquisition unit 101 uses the acquired learning power plant information 111 and power sales amount information 112 to create statistical data for each region.
[0014] The second acquisition unit 102 acquires meteorological observation information 121 from a meteorological observation database (weather observation DB) 120. The meteorological observation information 121 includes at least the observed values of temperature and solar radiation for each region. The observed values of temperature and solar radiation may be values observed at a predetermined time, for example. The meteorological observation DB 120 may be provided by a weather information provider. The meteorological observation DB 120 may be a database that stores observation data from a temperature sensor and a solar radiation sensor installed at an observation point for each region, or may be a database that stores solar radiation calculated using satellite observation data. As long as the second acquisition unit 102 can acquire the meteorological observation information 121, the observation method of the meteorological observation information 121 stored in the meteorological observation DB 120 and the acquisition method of the meteorological observation information 121 are not limited. That is, the second acquisition unit 102 may acquire the meteorological observation information 121 directly from a temperature sensor and a solar radiation sensor, instead of the meteorological observation DB 120. The meteorological observation information 121 may include weather information such as sunny, rainy, and cloudy.
[0015] The model generation unit 103 generates a prediction model from the statistical data created by the first acquisition unit 101 and the meteorological observation information 121 acquired by the second acquisition unit 102 using a machine learning algorithm.
[0016] The first communication unit 104 may receive data or instructions from an external device such as another device via the network 400, and transmit the data or instructions generated by the prediction model generation device 100 to the other device. Specifically, the first communication unit 104 transmits the prediction model 105 generated by the model generation unit 103 to an external device such as the prediction device 200.
[0017] Next, the prediction device 200 will be described. The prediction device 200 calculates a predicted value of the amount of electricity sold in a prediction target area using the prediction model 105 generated by the prediction model generating device 100, and transmits the calculated value as predicted electricity selling data 205 to the client device 300. The prediction device 200 includes a third acquisition unit 201, a fourth acquisition unit 202, a prediction unit 203, and a second communication unit 204.
[0018] The third acquisition unit 201 acquires forecast power plant information 211 from a forecast power plant database (forecast power plant DB) 210. The forecast power plant information 211 includes at least the number of power plants installed for each region and their power generation capacity. The forecast power plant information 211 may also include information on the installation location of the power plant. For example, the installation location information may be an address, a postal code, and latitude and longitude. Similarly to the learning power plant information 111, the forecast power plant information 211 may include the installation direction, installation angle, model, and installation years of the solar panels. In addition, if the solar panels are installed on the roof or rooftop of a building, the building type and purpose may be included. Furthermore, in the case where the solar panels are installed in a general home, the family structure may be included. The third acquisition unit 201 creates statistical data for each region using the acquired forecast power plant information 211.
[0019] The fourth acquisition unit 202 acquires weather forecast information 221 from a weather forecast database (weather forecast DB) 220. The weather forecast information 221 includes at least predicted values of temperature and solar radiation for each region. The weather forecast DB 220 may be provided by a weather information provider. The weather forecast DB 220 only needs to store the weather forecast information 221, and the prediction method of the stored weather forecast information 221 is not limited. The weather forecast information 221 may also include weather information such as sunny, rainy, and cloudy.
[0020] The prediction unit 203 uses the prediction model 105 generated by the prediction model generation device 100 to calculate a predicted value of the amount of electricity sales in the prediction target area from the statistical data created by the third acquisition unit 201 and the weather forecast information 221 acquired by the fourth acquisition unit 202, and creates predicted electricity sales data 205.
[0021] The second communication unit 204 may receive data or instructions from an external device such as another device via the network 400, and transmit the data or instructions generated by the prediction device 200 to the other device. Specifically, the second communication unit 204 acquires the prediction model 105 from the prediction model generation device 100, and transmits the predicted value of the amount of electricity sold calculated by the prediction unit 203 to an external device such as the client device 300.
[0022] The client device 300 is a computer that displays a predicted value of the amount of electricity sold in the prediction target area calculated by the prediction device 200 based on an instruction from a user. The client device 300 is, for example, a PC (Personal Computer), a tablet PC, a smartphone, etc. The client device 300 includes an input device such as a touch panel, a keyboard, a mouse, etc. that accepts operation input from a user. The client device 300 also includes a display device such as a liquid crystal display panel, a plasma display panel, an organic EL display panel, etc. The display device displays the predicted value of the amount of electricity sold in the prediction target area calculated by the prediction device 200. The client device 300 also includes a CPU as a control unit for executing programs, etc.
[0023] Next, the hardware configuration of the prediction system 1 will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the hardware configuration of the prediction model generation device 100. The prediction model generation device 100 includes a storage unit 131, a RAM 132, a ROM 133, a CPU 134, and a first communication unit 104.
[0024] The storage unit 131 stores programs executed by the CPU 134 described below, data used by such programs, etc. The storage unit 131 can also store various data used in processing, created prediction models, etc.
[0025] The CPU 134 operates based on a program stored in the ROM 133 or the storage unit 131, and controls each unit of the prediction model generation device 100. The ROM 133 stores a boot program executed by the CPU 134 when the prediction model generation device 100 is started, a program dependent on the hardware of the prediction model generation device 100, and the like. The CPU 134 realizes a flow described below, for example, by executing a program loaded onto the RAM 132. Note that the CPU 134 may obtain these programs from another device, for example, via a network, and execute them.
[0026] For example, the first communication unit 104 can receive data or instructions from an external device such as another device via a network and send the data or instructions to the CPU 134, and can transmit data or instructions generated by the CPU 134 to the other device.
[0027] The prediction model generating device 100 may be connected to an input device 140 and a display device 150. The input device 140 is, for example, a touch panel, a keyboard, a mouse, or the like that accepts operation input from a user. The display device 150 is, for example, a liquid crystal display panel, a plasma display panel, an organic EL display panel, or the like.
[0028] The prediction device 200 and the client device 300 each have a similar configuration to that shown in FIG. 2, but a detailed description thereof will be omitted.
[0029] Next, an overall flow of a generation process of the prediction model 105 according to the embodiment will be described with reference to Fig. 3. Fig. 3 is a flow diagram showing a generation process of the prediction model 105 according to the embodiment. Each operation (step) shown in this flowchart can be executed under the control of the CPU 134 of the prediction model generation device 100.
[0030] In S401 , the first acquisition unit 101 acquires the learning power plant information 111 and the power sale amount information 112 from the learning power plant DB 110 .
[0031] In S402, the first acquisition unit 101 creates statistical data for each region using the acquired learning power plant information 111 and power sales amount information 112. Specifically, the number of installed power plants, the power generation capacity, and the actual value of the power sales amount are added up for each predetermined region group to create statistical data. In other words, the total number of installed power plants, the total power generation capacity, and the total actual value of the power sales amount are calculated for each predetermined region group to create statistical data. Representative values such as the mean, median, and mode, and values obtained by dividing the power sales amount by the power generation capacity or the number of installed plants can also be used for the statistical data. Note that in this embodiment, as an example, statistical data is created for each group of basic local governments, in other words, for each group of cities, wards, towns, and villages. Then, the first acquisition unit 101 transmits the created statistical data to the model generation unit 103.
[0032] In S403, the second acquisition unit 102 acquires the meteorological observation information 121 from the meteorological observation DB 120. The second acquisition unit 102 transmits the acquired meteorological observation information 121 to the model generation unit 103.
[0033] In S404, the model generation unit 103 uses the statistical data created by the first acquisition unit 101 and the meteorological observation information 121 acquired by the second acquisition unit 102 to create teacher data for creating the prediction model 105. Specifically, for example, based on information such as address, postal code, and latitude and longitude, the teacher data is created by linking the meteorological observation information 121 and the statistical data for each region. Here, as an example, the meteorological observation information 121 and the statistical data are linked using the latitude and longitude.
[0034] FIG. 4 is a diagram showing an example of the teacher data created in S404. In this diagram, "amount of electricity sold" indicates the actual amount of electricity sold. "Panel capacity" indicates the power generation capacity, and "number" indicates the number of installed power plants. "Multiplication factor" is a number multiplied to increase the amount of teacher data. In addition, "latitude" and "longitude" indicate the measurement points of "temperature" and "amount of solar radiation." Using this "latitude" and "longitude" information, meteorological observation information 121 and statistical data are linked. "Power transmission and distribution" indicates the power transmission and distribution company in charge.
[0035] Returning to FIG. 3, in S405, the model generation unit 103 creates the prediction model 105 using a machine learning algorithm. Here, the algorithm used may be, for example, an algorithm including a decision tree or a k-nearest neighbor algorithm. Note that it is preferable to use an ensemble model of decision trees since it improves the prediction accuracy. Furthermore, it is preferable to use the Extra Trees Regressor or the Random Forest Regressor among the ensemble models of decision trees. It is even more preferable to use the Extra Trees Regressor since it can further improve the prediction accuracy. Then, the model generation unit 103 transmits the created prediction model 105 to the first communication unit 104.
[0036] In S406, the first communication unit 104 transmits the prediction model 105 acquired from the model generation unit 103 to the prediction device 200. Then, the prediction model generation device 100 ends the process of creating the prediction model 105.
[0037] Next, the overall flow of the process of predicting the amount of electric power sold in the prediction target area according to the embodiment, in other words, the process of calculating the predicted value of the amount of electric power sold in the prediction target area, will be described with reference to Fig. 5. Fig. 5 is a flow diagram showing the process of calculating the predicted value of the amount of electric power sold in the prediction target area according to the embodiment. Each operation shown in this flow chart can be executed under the control of the CPU of the prediction device 200.
[0038] In S501, the second communication unit 204 acquires the prediction model 105 from the prediction model generation device 100. Then, the second communication unit 204 checks whether or not there has been an instruction to request the predicted power selling data 205 from the client device 300. If there has been an instruction from the client device 300 (Yes), the process proceeds to S502.
[0039] In S502, the third acquisition unit 201 acquires the prediction power plant information 211 for the prediction target area from the prediction power plant DB 210. Here, the prediction target area is an area for which a prediction value of the amount of electric power sold is desired to be calculated. The prediction target area may be an area not included in the learning power plant information 111. The prediction target area may be an area different from the area from which the learning power plant information 111 is acquired. Here, the different area includes an area where the prediction target area and the area from which the learning power plant information 111 is acquired do not completely match, such as when the prediction target area and the area from which the learning power plant information 111 is acquired partially overlap. In other words, the prediction target area may be an area that does not match the area from which the learning power plant information 111 is acquired. According to the calculation process of the predicted value of the amount of electric power sold in this embodiment, it is possible to calculate a predicted value with high accuracy even for the amount of electric power sold in an area not included in the teacher data.
[0040] In S503, the third acquisition unit 201 uses the acquired forecast power plant information 211 to create statistical data for each region. Specifically, the number of installed power plants and the power generation capacity are added up for each predetermined region group to create statistical data. In other words, the total number of installed power plants and the total power generation capacity are calculated for each predetermined region group to create statistical data. Note that in this embodiment, as an example, statistical data is created for each group of basic local governments, in other words, for each group of cities, wards, towns, and villages. Then, the third acquisition unit 201 transmits the created statistical data to the prediction unit 203.
[0041] In S504, the fourth acquisition unit 202 acquires the weather forecast information 221 from the weather forecast DB 220. The fourth acquisition unit 202 transmits the acquired weather forecast information 221 to the prediction unit 203.
[0042] In S505, the prediction unit 203 creates data for calculating a predicted value of the amount of electricity sold in the prediction target area, using the statistical data created by the third acquisition unit 201 and the weather forecast information 221 acquired by the fourth acquisition unit 202. Specifically, for example, the weather forecast information 221 and the statistical data are linked based on information such as an address, a postal code, and latitude and longitude. Note that, as an example, the weather forecast information 221 and the statistical data are linked using the latitude and longitude here.
[0043] In S506, the prediction unit 203 calculates a predicted value of the amount of power sold in the prediction target area from the data created in S505, using the prediction model 105 generated by the prediction model generating device 100. Specifically, the prediction unit 203 calculates a predicted value of the amount of power sold for each predetermined area group. In this embodiment, as an example, a predicted value of the amount of power sold is calculated for each group of basic local governments, in other words, for each group of cities, wards, towns, and villages. By calculating a predicted value of the amount of power sold for each predetermined area group, it is possible to reduce the calculation load compared to the case where a predicted value is calculated for each power plant.
[0044] In S507, the prediction unit 203 creates predicted power sales data 205 to be transmitted to the client device 300. Specifically, the prediction unit 203 performs summation processing on the predicted values of the amount of power sales calculated for each predetermined area group, and obtains a predicted value of the amount of power sales for each supply area of the general power transmission and distribution business operator. In other words, the prediction unit 203 sums up the predicted values of the amount of power sales in a plurality of predetermined area groups included in the supply area of the general power transmission and distribution business operator, obtains a predicted value of the amount of power sales for each supply area of the general power transmission and distribution business operator, and creates the predicted power sales data 205. By performing such summation processing, it is possible to reduce errors even when the prediction power plant information 211 does not include information other than the number of installations and their power generation capacity, such as the installation orientation, installation angle, model, and installation years of the solar panels. As a result, it is possible to improve the prediction accuracy. Then, the prediction unit 203 transmits the created predicted power sales data 205 to the second communication unit 204.
[0045] In S508, the second communication unit 204 transmits the predicted power sales data 205 acquired from the prediction unit 203 to the client device 300. Then, the prediction device 200 ends the calculation process of the predicted value of the power sales amount. After that, the predicted value of the power sales amount for each supply area of the general electricity transmission and distribution company is displayed on the display screen of the client device 300.
[0046] As described above, according to this embodiment, it is possible to improve the prediction accuracy while reducing the calculation load in predicting the amount of electricity sold by a power plant.
[0047] <Other embodiments> Although the embodiments of the present application have been described in detail above with reference to several drawings, the above-mentioned embodiments are merely examples for explaining the present invention, and the present invention is not limited to these embodiments. Various modifications and changes are possible within the scope of the present invention.
[0048] When the processing in the prediction model generating device 100 and the prediction device 200 is realized by a computer, the processing contents of the functions that each unit of these devices should have are executed based on a program. The program describing the above processing contents can be recorded on a computer-readable recording medium. The computer-readable recording medium may be, for example, any type of magnetic recording device, optical disk, magneto-optical recording medium, semiconductor memory, etc. Furthermore, the processing of each unit may be configured by executing a predetermined program on a computer.
[0049] In the above-described embodiment, the learning power plant DB110 and the weather observation DB120 are external devices of the prediction model generation device 100, but the prediction model generation device 100 may have the functions of the learning power plant DB110 and / or the weather observation DB120. Similarly, for the prediction power plant DB210 and the weather forecast DB220, the prediction device 200 may have the functions of the prediction power plant DB210 and / or the weather forecast DB220.
[0050] When the learning power plant information 111 includes any or all of the installation direction, installation angle, model, installation years of the solar panels, the type of building in which the solar panels are installed, the use of the building, and the family structure of the residents living in the building in which the solar panels are installed, it is possible to generate a prediction model 105 that takes this into consideration. When the prediction model generated in this way is used to predict the amount of electricity sold in the prediction target area based on the prediction power plant information 211 that includes similar information, the prediction accuracy can be further improved.
[0051] Further, the predicted value of the amount of electricity sold for each predetermined area group calculated in the above-mentioned S506 may be transmitted as predicted electricity selling data 205 to the client device 300 and displayed. [Explanation of symbols]
[0052] 1. Prediction System 100 Prediction model generation device 101 First acquisition part 102 Second acquisition part 103 Model Generation Unit 104 First Communications Department 200 Prediction Device 201 Third Acquisition Department 202 4th Acquisition Department 203 Prediction Department 204 2nd Communications Department 300 Client Device
Claims
1. A prediction model generation method for generating a prediction model used to predict an amount of electricity sold, comprising: Obtaining meteorological observation information for each region, including at least temperature and solar radiation; Acquire learning power plant information for each region, including at least the number of installed power plants and power generation capacity, and information on the amount of electricity sold for each region; A prediction model generation method, comprising: generating the prediction model using the meteorological observation information, the learning power plant information, and the electricity sales amount information.
2. 2. The method for generating a prediction model according to claim 1, wherein the prediction model is generated using an algorithm including a decision tree.
3. Creating teacher data that links the meteorological observation information, the learning power plant information, and the power sales amount information by region; The method for generating a prediction model according to claim 1 , further comprising the step of generating the prediction model using the training data.
4. A method for predicting an amount of electric power sold by using the prediction model generated by the prediction model generation method according to claim 1, Obtaining weather forecast information including at least temperature and solar radiation of a forecast target area; Obtaining forecast power plant information including at least the number of power plants installed and the power generation capacity of the power plants in the forecast target area; A prediction method characterized by using the prediction model to calculate a predicted value of the amount of electricity sold in the prediction target area from the weather forecast information and the prediction power plant information.
5. The prediction method according to claim 4, characterized in that the prediction target area is an area that does not coincide with the area from which the learning power plant information was obtained.
6. 5. The method according to claim 4, wherein the prediction target area is an area on a city, ward, town, or village basis.
7. The predicted values in the plurality of prediction target areas are summed to calculate a predicted value of the amount of electricity sold in a supply area of a general electricity transmission and distribution company; The prediction method according to claim 4 , further comprising transmitting the predicted value of the amount of electric power sold for each of the supply areas to a client device.
8. A prediction model generation device that generates a prediction model used to predict an amount of electricity sold, A first acquisition unit that acquires meteorological observation information for each region including at least temperature and solar radiation; A second acquisition unit that acquires regional learning power plant information including at least the number of power plants installed and their power generation capacities, and regional power sales amount information; A prediction model generation device comprising: a generation unit that generates the prediction model using the meteorological observation information, the learning power plant information, and the electricity sales amount information.
9. A prediction device for predicting an amount of electricity sold by a power plant using the prediction model generated by the prediction model generation device according to claim 8, A third acquisition unit that acquires weather forecast information including at least a temperature and an amount of solar radiation of a prediction target area; a fourth acquisition unit that acquires forecast power plant information including at least the number of power plants installed and the power generation capacity of the power plants in the forecast target area; A prediction device characterized by having a prediction unit that calculates a predicted value of the amount of electricity sold in the prediction target area using the prediction model from the weather forecast information and the prediction power plant information.
10. A program for causing a computer to execute the prediction model generating method according to claim 1.
11. A program for causing a computer to execute the prediction method according to claim 4.
12. A computer-readable recording medium having recorded thereon a program for causing a computer to execute the predictive model generating method according to claim 1.
13. A computer-readable recording medium having recorded thereon a program for causing a computer to execute the prediction method according to claim 4.
Citation Information
Patent Citations
Power selling adjustment server and method
JP2012060800A
Information processor and information processing method
JP2013186531A
Prediction apparatus and prediction method
JP2018156540A
Power supply system
JP2014027780A
