Analysis device, analysis method, and program

The analysis device uses AI models trained on weather and additional factors to predict sludge outflow accurately, addressing the inaccuracy of existing methods by optimizing predictions for sunny and rainy conditions.

JP7544636B2Active Publication Date: 2024-09-03METAWATER CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021047654
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-22
Publication Date
2024-09-03
Estimated Expiration
2041-03-22

AI Technical Summary

Technical Problem

Existing methods for predicting the amount of sludge sent from sewage treatment facilities to sludge treatment facilities lack accuracy.

Method used

An analysis device and method that utilize AI models trained on weather information during sunny and rainy periods to predict sludge outflow, selecting the appropriate model based on weather conditions, and incorporating additional factors like seasonal information, day of the week, and holiday status to enhance prediction accuracy.

Benefits of technology

Improves the prediction accuracy of sludge amounts by using tailored AI models for sunny and rainy weather conditions, enhancing the reliability of sludge volume forecasts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007544636000004
    Figure 0007544636000004
  • Figure 0007544636000005
    Figure 0007544636000005
  • Figure 0007544636000003
    Figure 0007544636000003
Patent Text Reader

Abstract

To enhance prediction accuracy in predicting a sludgy amount sent from a facility.SOLUTION: An analysis device 100 is used for predicting a sludgy outflow amount from a facility for a future target period, and includes: a weather information obtainment section 32 for obtaining weather information for the target period; a selection section 34 for, based on the weather information for the target period, selecting an AI model to use, out of a first AI model M1 which has machine-learned a correspondence relation between previous weather information under fine weather and the sludgy outflow amount from the facility and a second AI model M2 which has machine-learned a correspondence relation between previous weather information under rain and the sludgy outflow amount from the facility; and a computation section 36 for obtaining a prediction value of the sludgy outflow amount from the facility for the target period by inputting the weather information for the target period into the AI model selected by the selection section 34.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an analysis device, an analysis method, and a program. [Background technology]

[0002] In recent years, there has been a demand for predicting the amount of sludge sent from a sewage treatment facility and received at a sludge treatment facility. For example, Patent Document 1 describes how weight coefficients of a neural network are determined by a backpropagation method using a time series value relating the sewage inflow amount and the sludge treatment amount, the solid inflow amount, and the rate of change of the solid inflow amount, and how the solid inflow amount from the present onward is predicted based on the weight coefficients. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2007-283274 A Summary of the Invention [Problem to be solved by the invention]

[0004] When predicting the amount of sludge sent from a facility like this, there is a need to improve the accuracy of the prediction.

[0005] The present invention has been made in consideration of the above, and aims to provide an analysis device, an analysis method, and a program that can improve prediction accuracy when predicting the amount of sludge sent from a facility. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems and achieve the objective, the analysis device disclosed herein is an analysis device that predicts the amount of sludge outflow from equipment in a future target period, and includes a weather information acquisition unit that acquires weather information for the target period, a selection unit that selects an AI model to use from among a first AI model that has been trained by machine learning to determine the correspondence between past weather information on sunny days and the amount of sludge outflow from the equipment based on the weather information for the target period, and a second AI model that has been trained by machine learning to determine the correspondence between past weather information on rainy days and the amount of sludge outflow from the equipment, and a calculation unit that acquires a predicted value of the amount of sludge outflow from the equipment in the target period by inputting weather information for the target period into the AI ​​model selected by the selection unit.

[0007] In order to solve the above-mentioned problems and achieve the objective, the analysis method disclosed herein is an analysis method for predicting the amount of sludge outflow from equipment in a future target period, and includes the steps of acquiring weather information for the target period, selecting an AI model to be used from among a first AI model that has been trained to learn by machine learning the correspondence between past weather information on sunny days and the amount of sludge outflow from the equipment based on the weather information for the target period, and a second AI model that has been trained by machine learning the correspondence between past weather information on rainy days and the amount of sludge outflow from the equipment, and acquiring a predicted value of the amount of sludge outflow from the equipment in the target period by inputting weather information for the target period into the selected AI model.

[0008] In order to solve the above-mentioned problems and achieve the objective, the program disclosed herein is a program that causes a computer to execute an analytical method for predicting the amount of sludge outflow from equipment in a future target period, and causes a computer to execute the following steps: acquiring weather information for the target period; selecting an AI model to be used from among a first AI model that has been trained through machine learning to determine the correspondence between past weather information on sunny days and the amount of sludge outflow from the equipment based on the weather information for the target period, and a second AI model that has been trained through machine learning to determine the correspondence between past weather information on rainy days and the amount of sludge outflow from the equipment; and acquiring a predicted value of the amount of sludge outflow from the equipment in the target period by inputting weather information for the target period into the selected AI model. Effect of the Invention

[0009] According to the present invention, it is possible to improve the accuracy of prediction when predicting the amount of sludge sent from a facility. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a schematic diagram of the facility according to this embodiment. [Diagram 2] FIG. 2 is a schematic block diagram of the analysis device according to this embodiment. [Diagram 3] FIG. 3 is a chart showing the training data. [Figure 4] Figure 4 is a diagram showing the input data to the AI ​​model. [Diagram 5] FIG. 5 is a flowchart illustrating a flow of obtaining a predicted value of the outflow amount of sludge. [Figure 6] FIG. 6 is a schematic diagram of equipment according to another example of this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. However, the present invention is not limited to the embodiments described below.

[0012] FIG. 1 is a schematic diagram of a facility according to the present embodiment. The analysis device 100 according to the present embodiment predicts the amount of sludge that flows out from the facility F. In the present embodiment, the facility F is a sewage treatment facility. As shown in FIG. 1, the facility F includes a first settling tank F1, a reaction tank F2, a second settling tank F3, and a treatment tank F4. Sewage W flows into the first settling tank F1. In the first settling tank F1, the sewage W is temporarily stored, and raw sludge S1 is separated from the sewage W and precipitates. The sewage W1 after the raw sludge S1 is separated in the first settling tank F1 is introduced into the reaction tank F2. The reaction tank F2 is a tank that biologically treats the sewage W1 using, for example, activated sludge. The sewage W3 after the biological treatment in the reaction tank F2 is introduced into the second settling tank F3. In the second settling tank F3, the sewage W3 is temporarily stored, and sludge S2 is separated from the sewage W3 and precipitates. The sewage W3 from which the sludge S2 has been separated in the second settling tank F3 is introduced into the treatment tank F4. In the treatment tank F4, chlorine is added to the sewage W3, and the sewage W3 is discharged as treated water W4 outside the system of the facility F, such as a river. On the other hand, a part of the sludge S2A of the sludge S2 in the second settling tank F3 is returned to the reaction tank F2 as returned sludge. Then, the raw sludge S1 from the first settling tank F1 and the excess sludge S2B of the sludge S2 in the second settling tank F3 that has not been treated as sludge S2A are discharged from the facility F as sludge S. The sludge S is introduced into the facility FA. In this embodiment, the facility FA is a sludge treatment facility that treats sludge, and the sludge S introduced into the facility FA is treated in the facility FA.

[0013] The analysis device 100 according to this embodiment predicts the amount of sludge S introduced from the equipment F to the equipment FA. That is, the analysis device 100 predicts the outflow amount of sludge S from the equipment F. Also, in the example of this embodiment, since the outflow amount (sludge delivery amount) of sludge S from the equipment F corresponds to the inflow amount (sludge received amount) of sludge S to the equipment FA, it can also be said that the analysis device 100 predicts the inflow amount of sludge S to the equipment FA.

[0014] The equipment F from which the analysis device 100 predicts the outflow amount of sludge S is not limited to the configuration described above, and may be any equipment from which sludge flows.

[0015] (Analysis device) 2 is a schematic block diagram of an analysis device according to this embodiment. The analysis device 100 can be said to be a computer, and includes a communication unit 10, a storage unit 12, and a control unit 14. The communication unit 10 is a communication module that communicates with an external device, such as an antenna. The analysis device 100 communicates with the external device by wireless communication, but wired communication may also be used, and any communication method may be used.

[0016] The storage unit 12 is a memory that stores various information such as the contents of calculations and programs of the control unit 14, and includes at least one of a main storage device such as a random access memory (RAM), a read only memory (ROM), and an external storage device such as a hard disk drive (HDD). The program for the control unit 14 stored in the storage unit 12 may be stored in a recording medium readable by the analysis device 100. The storage unit 12 also stores a first AI model M1 and a second AI model M2, which are learning models in AI (Artificial Interigence).

[0017] The control unit 14 is a calculation device and includes a calculation circuit such as a CPU (Central Processing Unit). The control unit 14 includes a learning unit 20 and an analysis unit 30. The control unit 14 realizes the learning unit 20 and the analysis unit 30 by reading and executing a program (software) from the storage unit 12, and executes the processes. The control unit 14 may execute these processes using one CPU, or may be provided with multiple CPUs and execute the processes using the multiple CPUs. At least a part of the processes of the learning unit 20 and the analysis unit 30 may be realized by a hardware circuit.

[0018] The learning unit 20 performs machine learning on the first AI model M1 and the second AI model M2 before learning to generate the trained first AI model M1 and the trained second AI model M2. The analysis unit 30 uses at least one of the trained first AI model M1 and the trained second AI model M2 to obtain a prediction result of the outflow amount of sludge S in a future target period.

[0019] In the following, we will explain how the learning unit 20 learns the first AI model M1 and the second AI model M2, and then we will explain how the analysis unit 30 obtains prediction results for the outflow volume of sludge S using the learned first AI model M1 and second AI model M2.

[0020] (Learning Department) (Learning the first AI model) The learning unit 20 acquires weather information of the equipment F in the past as teacher data for input to the untrained AI model, and acquires the amount of sludge S from the equipment F in the past as teacher data for output, which is a solution to the output data from the untrained AI model. First, the learning of the first AI model M1 will be described. The first AI model M1 is an AI model for predicting the amount of sludge S outflowing in fine weather. The learning unit 20 acquires weather information of the equipment F in a predetermined period in the past in fine weather as teacher data for input to the first AI model M1, and acquires the amount of sludge S outflowing from the equipment F in the same period as teacher data for output from the first AI model M1. Note that the weather information of the equipment F is information indicating the weather of the area including the equipment F. Furthermore, fine weather refers to the amount of rainfall in the area including the equipment F being 0 mm during the target period. For example, a period in which the rainfall data observed by the Japan Meteorological Agency is 0 mm may be regarded as fine weather. Furthermore, the predetermined period may be any length, for example, it may be several hours or several days.

[0021] In this way, the learning unit 20 acquires weather information of the equipment F during a predetermined period of time in the past when the weather was fine and the amount of sludge S outflowing from the equipment F as one data set for the first AI model M1. That is, the learning unit 20 extracts a period of fine weather based on the past weather information of the equipment F, and the data set of the weather information and the amount of sludge S outflowing during the extracted period is regarded as teacher data for the first AI model M1. In this embodiment, the learning unit 20 acquires information on rainfall as past weather information of the equipment F, and extracts a period in which the rainfall is 0 mm as a period of fine weather. The learning unit 20 acquires multiple data sets of weather information and the amount of sludge S outflowing during a predetermined period of time when the weather was fine, at different times. In other words, the learning unit 20 acquires multiple data sets at different times.

[0022] Fig. 3 is a table showing the teacher data. In this embodiment, as shown in Fig. 3, the learning unit 20 acquires seasonal information, day of the week information, holiday information, maximum temperature, and past sludge volume as weather information for the equipment F for the teacher data of the first AI model M1.

[0023] The seasonal information is information that represents the season of the specified period, and in this embodiment, it is information that indicates the number of days (e.g., 0 to 365 days) that have elapsed since a reference date (e.g., January 1) for a day that includes the specified period. When the specified period spans multiple days, the seasonal information may be the number of days that have elapsed since the reference date for the first day of the specified period, but is not limited thereto, and may be the number of days that have elapsed since the reference date for a specified day that belongs to the specified period, such as the last day. However, the seasonal information is not limited to the number of days that have elapsed since the reference date, and may be any information that represents a season, such as the month to which the specified period belongs. By using the seasonal information as teacher data in this way, the influence of the season can be taken into account in predicting the sludge volume, thereby improving the prediction accuracy.

[0024] The day-of-week information is information that indicates the day of the week in the specified period. If the specified period spans multiple days, the day-of-week information may be the day of the first day of the specified period, but is not limited thereto and may be the day of the week of a specified day that belongs to the specified period, such as the last day. By using the day-of-week information as training data in this way, the effect of the day of the week can be taken into account in predicting the sludge volume, thereby improving the prediction accuracy.

[0025] Holiday information is information indicating whether the specified period is a holiday or a weekday. Holidays are, for example, Saturdays, Sundays, and public holidays. Weekdays are days other than holidays, Saturdays, and Sundays. If the specified period spans multiple days, the holiday information may be information indicating whether the first day of the specified period is a holiday or a weekday, but is not limited to this and may also be information indicating whether a specified day belonging to the specified period, such as the last day, is a holiday or a weekday. By using holiday information as training data in this way, the influence of holidays can be taken into account in predicting sludge volume, thereby improving prediction accuracy.

[0026] The maximum temperature is the highest temperature in the specified period. The maximum temperature refers to the highest value in the specified period among the maximum temperatures in the area including facility F announced by the Japan Meteorological Agency, but is not limited to this and may refer to the maximum temperature in the area including facility F announced by the Japan Meteorological Agency in a specified period (e.g., the first day) belonging to the specified period. By using the maximum temperature as teacher data in this way, the effect of the maximum temperature can be taken into account in predicting the sludge volume, thereby improving the prediction accuracy. Furthermore, while it is possible to use the average temperature or minimum temperature as data related to temperature, the prediction accuracy can be more appropriately improved by using the maximum temperature instead of the average temperature or minimum temperature.

[0027] The past sludge volume refers to the volume of sludge S outflowing from equipment F in the past period, which is the period prior to the specified period. Here, the past sludge volume is the actual measured value of the total volume of sludge S outflowing from equipment F in the past period. The past period may be any time and length prior to the specified period, but in this embodiment, it refers to the period from 5 days prior to 3 days prior to the first day of the specified period. In other words, the past sludge volume is the actual measured value of the total volume of sludge S outflowing from equipment F from 5 days prior to 3 days prior to the first day of the specified period. By using the past sludge volume as teacher data in this way, the influence of the past sludge volume can be taken into account in predicting the sludge volume, thereby improving the prediction accuracy.

[0028] By using the above-mentioned information as the weather information of the equipment F for the training data of the first AI model M1, the first AI model M1 for sunny weather can be properly trained, thereby improving the prediction accuracy of the first AI model M1. However, the weather information of the equipment F for the first AI model M1 is not limited to the above. For example, at least one of seasonal information, day of the week information, holiday information, maximum temperature, and past sludge volume may be used as the weather information of the equipment F for the first AI model M1.

[0029] In addition, the learning unit 20 acquires the total actual measured value of the outflow amount of sludge S from the equipment F during the specified period as the outflow amount of sludge S from the equipment F for the training data of the first AI model M1.

[0030] The learning unit 20 inputs a data set of weather information for the equipment F on sunny days and the outflow amount of sludge S acquired as teacher data into the first AI model M1 before learning, and has the first AI model M1 machine-learn the correspondence relationship between the weather information for the equipment F on sunny days and the outflow amount of sludge S. As a result, the trained first AI model M1 becomes a model in which the correspondence relationship between past weather information on sunny days and the outflow amount of sludge from the equipment F has been machine-learned. The learning unit 20 stores the machine-learned first AI model M1 in the memory unit 12.

[0031] The first AI model M1 is an algorithm of the support vector regression method. The support vector regression method is a method in which the line that maximizes the sum of the margin from the boundary line to the nearest sample data is set as the boundary line. The learning unit 20 inputs a plurality of data sets into the first AI model M1, and performs machine learning on the first AI model M1 by setting, for example, the regression coefficient b1 and error f in Equation (1), which is a prediction formula in support vector regression, for each explanatory variable x1 (weather information in this case). Note that y is the objective variable (the predicted value of the outflow volume of sludge S in this case).

[0032] y = x1 b1 + f (1)

[0033] By using the support vector regression method as the first AI model M1, the prediction accuracy of the sludge volume on a sunny day can be improved. However, the first AI model M1 is not limited to the support vector regression method and any method may be used.

[0034] (Learning the second AI model) The second AI model M2 is an AI model for predicting the amount of sludge S that will run off during rainy weather. The learning unit 20 acquires weather information for the equipment F during a predetermined period of time during past rainy weather as teacher data for input to the second AI model M2, and acquires the amount of sludge S that will run off from the equipment F during the same period as teacher data for output from the second AI model M2. Rainy weather refers to a period in which the amount of rainfall in the area including the equipment F is greater than 0 mm. For example, a period in which the amount of rainfall data observed by the Japan Meteorological Agency is greater than 0 mm may be considered to be rainy. The predetermined period may be any length, for example, it may be several hours or several days.

[0035] In this way, the learning unit 20 acquires weather information of the equipment F during a predetermined period of rainy weather in the past and the amount of sludge S outflowing from the equipment F as one data set for the second AI model M2. The learning unit 20 extracts a rainy period based on the past weather information of the equipment F, and the data set of the weather information and the amount of sludge S outflowing during the extracted period can be said to be teacher data for the second AI model M2. In this embodiment, the learning unit 20 acquires information on the amount of rainfall as past weather information of the equipment F, and extracts a period in which the amount of rainfall is greater than 0 mm as a rainy period. The learning unit 20 acquires multiple data sets of weather information and the amount of sludge S outflowing during a predetermined period of rainy weather at different times. In other words, the learning unit 20 acquires multiple data sets at different times.

[0036] The learning unit 20 uses information that is not included in the weather information of the equipment F for the teacher data of the first AI model M1 as the weather information of the equipment F for the teacher data of the second AI model M2. Specifically, as shown in Fig. 3, the learning unit 20 acquires seasonal information, day of the week information, holiday information, maximum temperature, past sludge volume, rainfall, unit rainfall, and continuous rainy period as the weather information of the equipment F for the teacher data of the second AI model M2. The seasonal information, day of the week information, holiday information, maximum temperature, and past sludge volume are also used in the first AI model M1, so their explanation will be omitted.

[0037] The rainfall is information indicating the amount of rainfall in the specified period, and is the total amount of rainfall in the area in which the facility F is located. The rainfall may be obtained from rainfall data observed by the Japan Meteorological Agency. By using the rainfall as training data in this way, the effect of the rainfall can be taken into account in predicting the amount of sludge, thereby improving the prediction accuracy.

[0038] The unit rainfall is information indicating the amount of rainfall per unit time in a given period, and can also be called rainfall intensity (information indicating the intensity of rainfall). For example, the learning unit 20 may calculate the unit rainfall from the total amount of rainfall in the given period. By using the unit rainfall as teacher data in this way, the effect of the intensity of rainfall can be taken into account in predicting the amount of sludge, thereby improving the prediction accuracy.

[0039] The continuous rainy period is information indicating the length of the period of continuous rain up to the specified period. That is, for example, if it rained continuously from one day before the start timing of the specified period to the start timing of the specified time, the continuous rainy period is one day. The learning unit 20 may calculate the continuous rainy period from rainfall data observed by the Japan Meteorological Agency. By using a single continuous rainy period as teacher data in this way, the influence of past rain can be taken into account in predicting the sludge volume, thereby improving the prediction accuracy.

[0040] By using the above-mentioned information as the weather information of the equipment F for the training data of the second AI model M2, the second AI model M2 for rainy weather can be properly trained, thereby improving the prediction accuracy of the second AI model M2. However, the weather information of the equipment F for the second AI model M2 is not limited to the above. For example, at least one of seasonal information, day of the week information, holiday information, maximum temperature, past sludge volume, and rainfall may be used as the weather information of the equipment F for the second AI model M2. Also, for example, at least one of unit rainfall and continuous rainy period may be used as the weather information of the equipment F for the second AI model M2.

[0041] In addition, the learning unit 20 acquires the total actual measured value of the outflow amount of sludge S from the equipment F during the specified period as the outflow amount of sludge S from the equipment F for the training data of the second AI model M2.

[0042] The learning unit 20 inputs the data set of weather information for the equipment F during rainy weather and the outflow amount of sludge S acquired as teacher data into the pre-learning second AI model M2, and causes the second AI model M2 to machine-learn the correspondence relationship between the weather information for the equipment F during rainy weather and the outflow amount of sludge S. As a result, the trained second AI model M2 becomes a model in which the correspondence relationship between weather information during past rainy weather and the outflow amount of sludge from the equipment F has been machine-learned. The learning unit 20 stores the machine-learned second AI model M2 in the memory unit 12.

[0043] The second AI model M2 is an algorithm of the random forest regression method. In the random forest regression method, learning is performed by randomly generating multiple decision trees that represent the relationship between each teacher data for input (weather information) and teacher data for output (amount of sludge S outflow). The second AI model M2 receives input data for each decision tree, and determines a predicted value of the outflow amount of sludge S based on the multiple amounts of sludge S outflow calculated for each decision tree. (For example, the representative value or average value of the outflow amount for each decision tree is determined as the predicted value of the outflow amount of sludge S).

[0044] By using the random forest regression method as the second AI model M2, the prediction accuracy of the sludge volume on sunny days can be improved. However, the second AI model M2 is not limited to the random forest regression method and any method may be used, but it is preferable that the algorithm is different from that of the first AI model M1. Note that the learning unit 20 may further train the first AI model M1 and the second AI model M2 using new teacher data at appropriate times (for example, on a seasonal basis) to update the first AI model M1 and the second AI model M2.

[0045] (Analysis Department) Next, a method for obtaining a prediction result of the outflow amount of sludge S by the analysis unit 30 using the trained first AI model M1 and second AI model M2 will be described. In the following, a future period for which it is desired to predict the outflow amount of sludge S is defined as a target period. The target period may be any time and length, and may be, for example, three days.

[0046] As shown in FIG. 2, the analysis unit 30 includes a weather information acquisition unit 32, a selection unit , and a calculation unit .

[0047] The weather information acquisition unit 32 acquires weather information for a target period. The weather information acquisition unit 32 acquires the amount of rainfall for the target period as the weather information. The amount of rainfall for the target period is a predicted value of the total amount of rainfall for the target period in the area including the facility F. The amount of rainfall for the target period may be acquired from rainfall data predicted by the Japan Meteorological Agency.

[0048] The selection unit 34 selects an AI model to be used from the first AI model M1 and the second AI model M2 based on the weather information for the target period acquired by the weather information acquisition unit 32. The calculation unit 36 ​​inputs the weather information for the target period to the AI ​​model selected by the selection unit 34, thereby acquiring a predicted value of the outflow amount of sludge S from the equipment F for the target period. Specifically, the selection unit 34 judges whether the target period is sunny or rainy based on the information on the amount of rainfall for the target period acquired by the weather information acquisition unit 32. If the amount of rainfall for the target period is 0 mm, the selection unit 34 judges that it is sunny, and if the amount of rainfall for the target period is more than 0 mm, the selection unit 34 judges that it is rainy. If the selection unit 34 judges that the target period is sunny, it selects the first AI model M1 as the AI ​​model to be used. On the other hand, if the selection unit 34 judges that the target period is rainy, it selects the second AI model M2 as the AI ​​model to be used.

[0049] (When using the first AI model) Fig. 4 is a table showing input data to the AI ​​model. When the first AI model M1 is selected, i.e., when the target period is sunny, the weather information acquisition unit 32 acquires the same type of weather information as the weather information used as the teacher data for the first AI model M1 as weather information for the target period, and sets it as input data for the first AI model M1. That is, as shown in Fig. 4, the weather information acquisition unit 32 acquires seasonal information for the target period, day of the week information for the target period, holiday information for the target period, maximum temperature for the target period, and past sludge volume for the target period, and sets them as input data.

[0050] The weather information acquisition unit 32 acquires seasonal information for the target period based on the date of the target period. In this embodiment, the seasonal information for the target period is information indicating the number of days that have passed since the reference date for the day to which the target period belongs. If the target period spans multiple days, the seasonal information may be, but is not limited to, the number of days that have passed since the reference date for the first day of the target period, and may be the number of days that have passed since the reference date for a specific day that belongs to the target period, such as the last day. However, the seasonal information for the target period is not limited to the number of days that have passed since the reference date, and may be any information that indicates the season, such as the month to which the target period belongs.

[0051] The weather information acquisition unit 32 acquires information on the day of the week of the target period based on the date of the target period. If the target period spans multiple days, the day of the week information may be the day of the first day of the target period, but is not limited thereto and may be the day of the week of a specific day belonging to the target period, such as the last day.

[0052] The weather information acquisition unit 32 acquires holiday information for a target period based on the date of the target period. If the target period spans multiple days, the holiday information may be information indicating whether the first day of the target period is a holiday or a weekday, but is not limited thereto, and may be information indicating whether a specific day belonging to the target period, such as the last day, is a holiday or a weekday.

[0053] The weather information acquisition unit 32 acquires the predicted maximum temperature in the area including facility F during the target period as the maximum temperature for the target period. The maximum temperature for the target period refers to the maximum value for the target period among the predicted maximum temperatures for the area including facility F announced by the Japan Meteorological Agency, but is not limited thereto, and may refer to the predicted maximum temperature for the area including facility F during a specified period (e.g., the first day) that belongs to the target period and announced by the Japan Meteorological Agency.

[0054] The weather information acquisition unit 32 acquires the amount of sludge S outflowing from the equipment F in a past period, which is a period before the target period, as the past sludge amount in the target period. The past period may be any time and length before the target period, but in this embodiment, it refers to the period from 5 days before to 3 days before the first day of the target period. In other words, the past sludge amount is the total amount of sludge S outflowing from the equipment F from 5 days before to 3 days before the first day of the target period. The weather information acquisition unit 32 acquires the actual measured value of the amount of sludge S outflowing from the equipment F in the past period as the past sludge amount in the target period. However, if the amount of sludge S outflowing from the equipment F in the past period has not been actually measured (for example, if the past period with respect to the target period is a period later than the present), the weather information acquisition unit 32 may acquire the predicted value of the amount of sludge S outflowing from the equipment F in the past period as the past sludge amount in the target period.

[0055] The calculation unit 36 ​​reads out the trained first AI model M1 from the storage unit 12 and acquires weather information for the target period acquired by the weather information acquisition unit 32. The calculation unit 36 ​​inputs the weather information for the target period acquired by the weather information acquisition unit 32 to the trained first AI model M1. That is, in the example of the present embodiment, the calculation unit 36 ​​inputs the season information for the target period, the day of the week information for the target period, the holiday information for the target period, the maximum temperature for the target period, and the past sludge volume for the target period to the first AI model M1. In the first AI model M1, these pieces of weather information for the target period are input as input data, and calculation is performed. As a result, the first AI model M1 outputs a predicted value of the outflow volume of sludge S from the equipment F during the target period (a predicted value of the total outflow volume of sludge S from the equipment F during the target period) as output data. As a result, the calculation unit 36 ​​acquires a predicted result of the outflow volume of sludge S from the equipment F during the target period. In this way, the first AI model M1 can be said to be a trained program that outputs the amount of sludge S outflow during a target period when weather information for the target period is input.

[0056] The weather information used when predicting the amount of sludge outflow from equipment F using the first AI model M1 is not limited to the above. For example, at least one of seasonal information for the target period, day of the week information for the target period, holiday information for the target period, maximum temperature for the target period, and past sludge amount for the target period may be used as the weather information for the first AI model M1.

[0057] (When using the second AI model) 4, when the second AI model M2 is selected, that is, when the target period is rainy, the weather information acquisition unit 32 acquires the same type of weather information as the weather information used as the teacher data of the second AI model M2 as weather information for the target period, and sets it as input data to the second AI model M2. That is, the weather information acquisition unit 32 acquires seasonal information for the target period, day of the week information for the target period, holiday information for the target period, maximum temperature for the target period, past sludge volume for the target period, rainfall for the target period, unit rainfall for the target period, and continuous rainy period for the target period, and sets it as input data to the second AI model M2. The seasonal information, day of the week information, holiday information, maximum temperature, and past sludge volume are also used for the first AI model M1, so their explanations are omitted.

[0058] The weather information acquisition unit 32 acquires, as the rainfall in the target period, a predicted value of the total rainfall in the area including the facility F. The weather information acquisition unit 32 may acquire the rainfall in the target period from rainfall data predicted by the Japan Meteorological Agency.

[0059] The weather information acquisition unit 32 acquires, as a unit rainfall for the target period, a predicted value of rainfall per unit time for the area including the facility F. The weather information acquisition unit 32 may calculate the unit rainfall for the target period from the predicted value of rainfall for the target period.

[0060] The weather information acquisition unit 32 acquires the length of the period of continuous rainy weather up to the target period in the area including the facility F as the continuous rainy period in the target period. The weather information acquisition unit 32 may calculate the continuous rainy period from rainfall data observed by the Japan Meteorological Agency. However, if rainfall has not been observed before the target period (for example, if it is a period later than the present), the weather information acquisition unit 32 may calculate the continuous rainy period from the rainfall forecast value by the Japan Meteorological Agency.

[0061] The calculation unit 36 ​​reads out the trained second AI model M2 from the storage unit 12 and acquires weather information for the target period acquired by the weather information acquisition unit 32. The calculation unit 36 ​​inputs the weather information for the target period acquired by the weather information acquisition unit 32 to the trained second AI model M2. That is, in the example of this embodiment, the calculation unit 36 ​​inputs the season information for the target period, the day of the week information for the target period, the holiday information for the target period, the maximum temperature for the target period, the past sludge volume for the target period, the rainfall for the target period, the unit rainfall for the target period, and the continuous rainy period for the target period to the second AI model M2. In the second AI model M2, these pieces of weather information for the target period are input as input data, and calculations are performed. As a result, the second AI model M2 outputs a predicted value of the outflow volume of sludge S from the equipment F during the target period (a predicted value of the total outflow volume of sludge S from the equipment F during the target period) as output data. As a result, the calculation unit 36 ​​obtains a prediction result of the outflow amount of sludge S from the equipment F during the target period. In this way, the second AI model M2 can be said to be a trained program that outputs the outflow amount of sludge S during the target period when weather information for the target period is input.

[0062] The weather information used when predicting the amount of sludge outflow from the equipment F using the second AI model M2 is not limited to the above. For example, at least one of seasonal information in the target period, day of the week information in the target period, holiday information in the target period, maximum temperature in the target period, past sludge amount in the target period, and rainfall in the target period may be used as the weather information for the second AI model M2. Also, for example, at least one of unit rainfall in the target period and continuous rainy period in the target period may be used as the weather information for the second AI model M2.

[0063] (Processing flow) The process flow for acquiring the predicted value of the outflow amount of sludge S in the target period described above will be described. FIG. 5 is a flowchart for explaining the flow for acquiring the predicted value of the outflow amount of sludge. As shown in FIG. 5, the analysis device 100 acquires a predicted value of the amount of rainfall in the target period (step S10), and determines whether the target period is sunny or rainy based on the predicted value of the amount of rainfall in the target period (step S12). If the target period is sunny (step S12; Yes), the analysis device 100 selects the first AI model M1 (step S14) and inputs weather information for the target period to the first AI model M1 (step S16). By inputting the weather information for the target period in the first AI model M1, a predicted value of the outflow amount of sludge S in the target period is output, and the analysis device 100 acquires the predicted value of the outflow amount of sludge S output from the first AI model M1 (step S18). On the other hand, if the target period is rainy (step S12; No), the analysis device 100 selects the second AI model M2 (step S20) and inputs weather information for the target period to the first AI model M1 (step S22). By inputting the weather information for the target period to the second AI model M2, a predicted value of the outflow amount of sludge S for the target period is output, and the analysis device 100 obtains the predicted value of the outflow amount of sludge S output from the second AI model M2 (step S24).

[0064] (effect) As described above, the analysis device 100 according to the present embodiment predicts the outflow amount of sludge S from the facility F in a future target period, and includes a weather information acquisition unit 32, a selection unit 34, and a calculation unit 36. The weather information acquisition unit 32 acquires weather information for the target period. The selection unit 34 selects an AI model to be used from among a first AI model M1 that has been machine-learned to learn the correspondence between past weather information in fine weather and the outflow amount of sludge S from the facility F, based on the weather information for the target period, and a second AI model M2 that has been machine-learned to learn the correspondence between past weather information in rainy weather and the outflow amount of sludge S from the facility F. The calculation unit 36 ​​inputs weather information for the target period to the AI ​​model selected by the selection unit 34, thereby acquiring a predicted value of the outflow amount of sludge S from the facility F in the target period.

[0065] When predicting the amount of sludge transported from facility F, it is necessary to improve the prediction accuracy. In response to this, in this embodiment, a first AI model M1 for fine weather and a second AI model M2 for rainy weather are prepared, and an AI model to be used is selected from the first AI model M1 and the second AI model M2 based on weather information for the target period to be predicted. Therefore, it is possible to predict the amount of sludge transported using an AI model that is optimal for the weather in the target period, thereby improving the prediction accuracy.

[0066] The weather information includes information on the amount of rainfall, and the selection unit 34 determines whether the target period is sunny or rainy based on the information on the amount of rainfall, and selects the first AI model M1 if it is sunny, and selects the second AI model M2 if it is rainy. The analysis device 100 according to this embodiment makes it possible to predict the amount of sludge transport using an AI model that is optimal for the weather in the target period, thereby improving the prediction accuracy.

[0067] In addition, the weather information includes at least one of the following: seasonal information for the target period, information on the day of the week for the target period, information indicating whether the target period is a holiday or a weekday, the maximum temperature for the target period, and information on the amount of sludge outflow (past sludge amount) from the equipment for a predetermined period prior to the target period. By using such weather information as input data for the AI ​​model, it is possible to more appropriately improve the prediction accuracy.

[0068] Furthermore, when the second AI model M2 is used, the calculation unit 36 ​​inputs weather information that is not included in the weather information input when the first AI model M1 is used. In rainy weather, there are more parameters that affect the amount of mud transport. Therefore, as in this embodiment, by increasing the parameters of the input data for the second AI model M2 for rainy weather, it is possible to more suitably improve the prediction accuracy in rainy weather.

[0069] Furthermore, when the second AI model M2 is selected, the calculation unit 36 ​​inputs at least one of information on a continuous rainy period, which indicates a period of continuous rainy weather up to the target period, and information on the amount of rainfall per unit time in the target period, into the second AI model M2 as weather information for the target period, to obtain a predicted value of the outflow amount of sludge S from the equipment F in the target period. By using these as input data for the second AI model M2 for rainy weather, it is possible to more suitably improve the prediction accuracy in rainy weather.

[0070] Furthermore, the first AI model M1 calculates a predicted value of the outflow amount of sludge S from the equipment F by support vector regression, and the second AI model M2 calculates a predicted value of the outflow amount of sludge S from the equipment F by random forest regression. By using an AI model based on the support vector regression method on sunny days and an AI model based on the random forest regression method on rainy days, the prediction accuracy on sunny days and rainy days can be more suitably improved.

[0071] The analysis device 100 further includes a learning unit 20 that generates a first AI model M1 and a second AI model M2. The learning unit 20 generates the first AI model M1 by machine learning using past weather information on sunny days and the amount of sludge S outflowing from the equipment F as teacher data, and generates the second AI model M2 by machine learning using past weather information on rainy days and the amount of sludge S outflowing from the equipment F as teacher data. By training each AI model in this manner, it is possible to more suitably improve the prediction accuracy of the AI ​​models on sunny days and rainy days.

[0072] (Other examples) Hereinafter, another example of this embodiment will be described. In this embodiment, it is determined whether the target period is sunny or rainy, and the first AI model M1 is used when the target period is sunny, and the second AI model M2 is used when the target period is rainy, thereby improving the prediction accuracy of the predicted value of the sludge outflow amount. However, in addition to determining whether it is sunny or rainy, it may also be determined whether it is a residual rainy day. A residual rainy day refers to a target period that is sunny, but there is a period of rain up to 48 hours before the target period. That is, if the predicted value of the rainfall in the target period is greater than 0 mm, the target period is considered to be rainy, if the predicted value of the rainfall in the target period is 0 mm but the rainfall up to 48 hours before is greater than 0 mm, the target period is considered to be a residual rainy day, and if the predicted value of the rainfall in the target period is 0 mm and the rainfall up to 48 hours before is also 0 mm, the target period is considered to be sunny. In this case, if it is determined to be a residual rainy day, the first AI model M1 is used as in the case of sunny weather. However, this is not limited to the above, and in the case of remaining rainy days, an IA model other than the first AI model M1 and the second AI model M2 may be used.

[0073] FIG. 6 is a schematic diagram of equipment according to another example of this embodiment. In the example of this embodiment, sludge S from the equipment F flows into the equipment FA, so the outflow amount of sludge S from the equipment F matches the inflow amount of sludge into the equipment FA. However, as shown in the example of FIG. 6, in addition to the sludge S from the equipment F, sludge S3 from another equipment FB may also flow into the equipment FA. In this case, the inflow amount of sludge into the equipment FA is the sum of the outflow amount of sludge S from the equipment F and the inflow amount of sludge S3 from the equipment FB. In this case, the analysis device 100 may predict the inflow amount of sludge into the equipment FA taking into account the inflow amount of sludge S3 from the equipment FB. An example of this case will be described below.

[0074] In the example of FIG. 6, when the learning unit 20 trains the first AI model M1, in addition to what has been described in this embodiment (seasonal information, day of the week information, holiday information, maximum temperature, past sludge volume), the outflow volume of sludge S3 from the equipment FB during a predetermined period is used as weather information for the training data of the first AI model M1. The outflow volume of sludge S3 from the equipment FB during a predetermined period may be an actual measurement value. Then, the learning unit 20 sets the actual measurement value of the inflow volume of sludge into the equipment FA during the predetermined period as training data for output, which is a solution to the output data from the first AI model M1. The learning unit 20 uses these training data to train the first AI model M1 by machine learning.

[0075] When predicting the amount of sludge inflow into the equipment FA using the first AI model M1, the calculation unit 36 ​​uses the predicted value of the outflow amount of sludge S3 from the equipment FB in the target period as weather information to be input to the first AI model M1 in addition to what has been described in this embodiment (seasonal information, day of the week information, holiday information, maximum temperature, past sludge amount). The predicted value of the outflow amount of sludge S3 from the equipment FB in the target period may be, for example, the planned sludge transport amount in the target period, or may be a value predicted by a method similar to that of this embodiment. The calculation unit 36 ​​inputs these weather information into the first AI model M1 and obtains the predicted value of the inflow amount of sludge into the equipment FA from the first AI model M1.

[0076] In the example of Fig. 6, when the learning unit 20 trains the second AI model M2, in addition to what has been described in this embodiment (seasonal information, day of the week information, holiday information, maximum temperature, past sludge volume, rainfall, unit rainfall, continuous rainy period), the outflow volume of sludge S3 from the equipment FB during a predetermined period is used as weather information for the training data of the second AI model M2. The learning unit 20 sets the actual measured value of the inflow volume of sludge into the equipment FA during a predetermined period as training data for output, which becomes output data (solution) from the second AI model M2. The learning unit 20 uses these training data to train the second AI model M2 by machine learning.

[0077] When predicting the amount of sludge inflow into facility FA using the second AI model M2, the calculation unit 36 ​​uses the predicted value of the outflow amount of sludge S3 from facility FB in the target period as weather information to be input to the second AI model M2 in addition to what has been described in this embodiment (seasonal information, day of the week information, holiday information, maximum temperature, past sludge amount, rainfall, unit rainfall, continuous rainy period). The calculation unit 36 ​​inputs this weather information into the second AI model M2 and obtains the predicted value of the amount of sludge inflow into facility FA from the second AI model M2.

[0078] Although the embodiments of the present invention have been described above, the embodiments are not limited to the contents of these embodiments. The above-described components include those that a person skilled in the art can easily imagine, those that are substantially the same, and those that are within the so-called equivalent range. Furthermore, the above-described components can be appropriately combined. Furthermore, various omissions, substitutions, or modifications of the components can be made without departing from the gist of the above-described embodiments. [Explanation of symbols]

[0079] 20 Learning Department 32 Weather information acquisition section 34 Selection section 36 Arithmetic section 100 Analyzer M1 1st AI model M2 2nd AI model S sludge

Claims

1. An analysis device for predicting an amount of sludge outflow from a facility in a future target period, comprising: A weather information acquisition unit that acquires weather information for the target period; a selection unit that selects an AI model to be used from a first AI model that has been machine-learned to learn a correspondence relationship between past weather information on sunny days and the amount of sludge outflow from the facility, based on weather information for the target period, and a second AI model that has been machine-learned to learn a correspondence relationship between past weather information on rainy days and the amount of sludge outflow from the facility; A calculation unit that inputs weather information for the target period into the AI ​​model selected by the selection unit to obtain a predicted value of the amount of sludge outflow from the facility for the target period; 13. An analysis device comprising:

2. The weather information includes information on rainfall. The analysis device according to claim 1 , wherein the selection unit determines whether the target period is sunny or rainy based on the rainfall information, and selects the first AI model if the target period is sunny, and selects the second AI model if the target period is rainy.

3. The analysis device of claim 2, wherein the weather information includes at least one of seasonal information for the target period, information on the days of the week for the target period, information indicating whether the target period is a public holiday or a weekday, the maximum temperature for the target period, and information on the amount of sludge outflow from the equipment for a specified period prior to the target period.

4. The analysis device according to claim 2 or 3, wherein the calculation unit inputs weather information that is not included in the weather information input when the first AI model is used, when the second AI model is used.

5. The analysis device of claim 4, wherein when the second AI model is selected, the calculation unit inputs at least one of information on a period of continuous rainy weather indicating a period of continuous rainy weather up to the target period and information on rainfall per unit time during the target period into the second AI model as weather information for the target period, to obtain a predicted value of the amount of sludge outflow from the equipment during the target period.

6. The analysis device according to any one of claims 1 to 5, wherein the first AI model calculates a predicted value of the amount of sludge outflow from the equipment using support vector regression, and the second AI model calculates a predicted value of the amount of sludge outflow from the equipment using random forest regression.

7. Further comprising a learning unit that generates the first AI model and the second AI model, The analysis device according to any one of claims 1 to 6, wherein the learning unit generates the first AI model by machine learning past weather information on sunny days and the amount of sludge outflow from the equipment as teacher data, and generates the second AI model by machine learning past weather information on rainy days and the amount of sludge outflow from the equipment as teacher data.

8. An analytical method for predicting an amount of sludge outflow from a facility in a future target period, comprising: acquiring weather information for the target period; selecting an AI model to be used from a first AI model that has been machine-learned to learn a correspondence relationship between past weather information on sunny days and the amount of sludge outflow from the facility based on weather information for the target period, and a second AI model that has been machine-learned to learn a correspondence relationship between past weather information on rainy days and the amount of sludge outflow from the facility; A step of inputting weather information for the target period into a selected AI model to obtain a predicted value of the amount of sludge outflow from the facility for the target period; , including, an analysis method.

9. A program for causing a computer to execute an analysis method for predicting an amount of sludge outflow from a facility in a future target period, acquiring weather information for the target period; selecting an AI model to be used from a first AI model that has been machine-learned to learn a correspondence relationship between past weather information on sunny days and the amount of sludge outflow from the facility based on weather information for the target period, and a second AI model that has been machine-learned to learn a correspondence relationship between past weather information on rainy days and the amount of sludge outflow from the facility; A step of inputting weather information for the target period into a selected AI model to obtain a predicted value of the amount of sludge outflow from the facility for the target period; A program that causes a computer to execute the above.

Citation Information

Patent Citations

  • Sewage treatment plant and its control equipment

    JP2007283274A

  • Monitor object amount prediction method and monitor object amount prediction device

    JP2013161336A

  • Dewatering method and dewatering system for sewage sludge

    JP2015054286A

  • Centrifugal separator of ai control system

    JP2018111065A

  • Waste material analysis system

    US20190017982A1