Discharged water quality predicting device and discharged water quality predicting method
A single RNN-based prediction model for sewage treatment plants effectively forecasts effluent quality by training on time-series sensor data, addressing inefficiencies in multiple model approaches.
Patent Information
- Application Number
- JP2024146639
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-10-31
- Estimated Expiration
- 2040-03-18
AI Technical Summary
Existing methods for predicting effluent water quality in sewage treatment plants require multiple prediction models, which can be complex and inefficient.
A single prediction model is generated using recurrent neural networks (RNNs) trained with time-series data from sewage treatment plant sensors, adjusting hyperparameters to minimize prediction errors, allowing accurate forecasting of effluent quality.
Accurate prediction of effluent water quality using a single model, adaptable to operational changes in sewage treatment plants, with reduced prediction errors and improved efficiency.
Smart Images

Figure 2024156023000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for predicting effluent water quality based on time-series data from multiple sensors in a sewage treatment plant. [Background technology]
[0002] A technology for predicting effluent water quality from a sewage treatment plant is disclosed in the following Patent Document 1. Patent Document 1 relates to a technology for predicting monitored quantities of plant equipment such as water treatment equipment.
[0003] The primary prediction unit generates an annual average primary prediction model group and a seasonal average primary prediction model group including a neural model, a multiple regression model, and a clustering model using the data group, the reference annual average model, and the reference seasonal average model, and calculates a predicted value of the monitored quantity of each prediction model as prediction result data using the annual average primary prediction model group and the seasonal average primary prediction model group.
[0004] The secondary prediction unit generates a reference secondary prediction model using the operation performance data (annual performance data and seasonal performance data).Then, the secondary prediction unit generates a secondary prediction model for predicting annual and seasonal average values of the monitored quantity using the reference secondary prediction model, the prediction result data, and the operation performance data.
[0005] Finally, the secondary prediction unit assigns weights to the monitored object predicted values (prediction result data) and calculates predicted values of the monitored object quantities using a neural network having multiple weighted monitored object quantities as nodes. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2013-161336 A (Published on August 19, 2013) Summary of the Invention [Problem to be solved by the invention]
[0007] However, in the invention disclosed in the above-mentioned Patent Document 1, the primary prediction unit and the secondary prediction unit need to generate a group of annual average primary prediction models, a group of seasonal average primary prediction models, and a secondary prediction model, and perform prediction processing in two stages.
[0008] An object of one aspect of the present invention is to provide an effluent water quality prediction device that is capable of predicting effluent water quality using only one prediction model. [Means for solving the problem]
[0009] In order to solve the above problem, an effluent quality prediction device according to one aspect of the present invention includes a sensor information acquisition unit that acquires time series data of detection values indicating effluent quality of a sewage treatment plant from a plurality of sensors installed at the sewage treatment plant, a learning data database that stores the time series data acquired by the sensor information acquisition unit as learning data, a most recent data database that stores the time series data acquired by the sensor information acquisition unit as most recent data, a prediction model generation unit that sets the learning data for a first predetermined time period stored in the learning data database as a learning data set and generates a prediction model for predicting a value of at least one of the plurality of sensors after a second predetermined time period from the learning data set, and applies the prediction model to the most recent data. and an effluent water quality prediction unit that predicts the at least one value based on the above-mentioned data, wherein the prediction model generation unit uses the learning data set as training data and at least one actual measured value of the plurality of sensors after the second specified time as verification data, and generates a prediction model by training a recurrent neural network using the training data and the verification data, and further, the prediction model generation unit generates a prediction model while changing hyperparameters of the recurrent neural network, uses at least a portion of the learning data set as evaluation data, and sets in the effluent water quality prediction unit a prediction model in which the error between the verification data and a predicted value obtained by inputting the evaluation data into the prediction model is equal to or less than a predetermined value.
[0010] In order to solve the above-mentioned problems, a method for predicting effluent quality according to one aspect of the present invention is a method for predicting effluent quality executed by a computer, the method including the steps of: acquiring time series data of detection values indicating effluent quality of a sewage treatment plant from a plurality of sensors installed in the sewage treatment plant; storing the acquired time series data as learning data; storing the acquired time series data as most recent data; using the learning data for a first predetermined time as a learning data set, generating a prediction model from the learning data set for predicting at least one value of the plurality of sensors after a second predetermined time; and predicting the at least one value by applying the generated prediction model to the most recent data, the prediction model In a step of generating a model from the learning dataset, the learning dataset is used as training data, at least one actual measurement value of the plurality of sensors after the second specified time is used as validation data, and a predictive model is generated by training a recurrent neural network using the training data and the validation data; and in a step of generating the predictive model from the learning dataset, a predictive model is generated while changing hyperparameters of the recurrent neural network, at least a portion of the learning data of the learning dataset is used as evaluation data, and a predictive model in which an error between a predicted value obtained by inputting the evaluation data into the predictive model and the validation data is less than a predetermined value is selected. Effect of the Invention
[0011] According to one embodiment of the present invention, it is possible to predict effluent water quality using only one prediction model. [Brief description of the drawings]
[0012] [Figure 1] 1 is a functional block diagram showing a schematic configuration of an effluent water quality prediction device according to one embodiment of the present invention. [Diagram 2] FIG. 13 is a diagram showing an example of learning data after being processed by a preprocessing unit. [Diagram 3]13 is a flowchart illustrating a processing procedure of a prediction model generating unit. [Figure 4] FIG. 13 is a diagram showing examples of adjustment items of hyperparameters of an RNN used by a model generation unit. [Diagram 5] FIG. 2 is a diagram illustrating the generation of a prediction model. [Figure 6] 13 is a flowchart for explaining a processing procedure of a discharge water quality prediction unit. [Figure 7] FIG. 1 is a diagram showing a schematic diagram of prediction of effluent water quality data. [Figure 8] 1 is a graph showing actual measured COD values and predicted COD values predicted by a effluent water quality prediction unit. [Figure 9] 1 is a graph showing the actual measured value of TN and the predicted value of TN predicted by the effluent water quality prediction unit. [Figure 10] 1 is a graph showing the actual measured value of TP and the predicted value of TP predicted by the effluent water quality prediction unit. [Figure 11] FIG. 1 is a diagram showing an example of the configuration of a computer for realizing a discharge water quality prediction device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment of the present invention will be described in detail. For the sake of convenience, the same members are denoted by the same reference numerals, and their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
[0014] (Configuration of effluent water quality prediction device 100) 1 is a functional block diagram showing a schematic configuration of an effluent water quality prediction device 100 according to one embodiment of the present invention. The effluent water quality prediction device 100 includes a sensor information acquisition unit 101, a learning data database 102, a prediction model generation unit 103, a most recent data database 104, an effluent water quality prediction unit 105, and an output unit 106.
[0015] Although not shown, the sewage treatment plant is equipped with sensors for measuring data (detected values) such as pump discharge rate, return flow rate, air supply rate, mixed liquor suspended solids (MLSS), dissolved oxygen (DO), chemical oxygen demand (COD), total nitrogen (TN), and total phosphorus (TP). Data from these sensors is sent to the effluent water quality prediction device 100 one by one.
[0016] COD, TN, and TP are known as indicators of effluent quality at sewage treatment plants. Therefore, hereafter, data sent from the three sensors that measure COD, TN, and TP will be called effluent quality data. On the other hand, data sent from sensors other than the above three sensors will be called sensor information data.
[0017] The sensor information acquisition unit 101 acquires sensor information data and effluent water quality data, and generates learning data by adding time information data (year, month, date, day of the week / holiday, and time) to these data. In the following description, the sensor information acquisition unit 101 acquires sensor information data and effluent water quality data every minute, but is not limited to this.
[0018] The learning data database 102 sequentially stores the learning data generated by the sensor information acquisition unit 101 for a period required for learning, for example, one year or more. In this specification, this "period required for learning" is also referred to as a "first predetermined time."
[0019] The prediction model generation unit 103 includes a preprocessing unit 103a, a model generation unit 103b, and a model modification unit 103c. The preprocessing unit 103a processes the learning data stored in the learning data database 102 into a format suitable for learning.
[0020] 2 is a diagram showing an example of the learning data after being processed by the preprocessing unit 103a. Each learning data includes five items of time information data (year, month, date, day of the week / holiday, and time), 15 items of sensor information data (pump discharge amount, return flow rate, air supply amount, mixed suspended matter concentration, dissolved oxygen concentration, etc.), and three items of discharge water quality data (COD, TN, and TP).
[0021] The model generating unit 103b performs re-learning at a predetermined update period using the learning data generated by the pre-processing unit 103a, and generates a prediction model that corresponds to the change in operation of the sewage treatment plant. Details will be described later.
[0022] The model change unit 103c judges whether or not the effluent water quality prediction unit 105 is executing a prediction process. If the prediction process is not being executed, the model change unit 103c updates the prediction model generated by the model generation unit 103b as the latest prediction model.
[0023] The most recent data database 104 sequentially stores the learning data generated by the sensor information acquisition unit 101 for a period required for prediction, for example, for a period of one hour or more. That is, the most recent data database 104 always stores the latest learning data for one hour or more as the most recent data.
[0024] The effluent water quality prediction unit 105 includes a pre-processing unit 105a, a prediction processing unit 105b, and a post-processing unit 105c. The pre-processing unit 105a processes the most recent data stored in the most recent data database 104 into a format that enables prediction.
[0025] The prediction processing unit 105b predicts the discharge water quality after a predetermined time (e.g., several hours) using the latest data generated by the preprocessing unit 105a and the prediction model updated by the model modification unit 103c. Details will be described later. In the following, the case where the predetermined time is 2.5 hours will be mainly illustrated. In this specification, the predetermined time is also referred to as the "second predetermined time."
[0026] The post-processing unit 105c converts the effluent water quality predicted by the prediction processing unit 105b into an outputtable format.
[0027] The output unit 106 outputs various information generated by the effluent water quality prediction unit 105 to a control device, a display device, etc. (not shown) of the sewage treatment plant.
[0028] (Processing procedure of the prediction model generation unit 103) 3 is a flowchart for explaining the processing procedure of the prediction model generating unit 103. First, the preprocessing unit 103a acquires the learning data stored in the learning data database 102 (step S1). The preprocessing unit 103a preprocesses the learning data. More specifically, when there is a missing value or an abnormal value in the learning data, the preprocessing unit 103a interpolates the missing value or the abnormal value (step S2).
[0029] Here, the missing value means a value when the measurement value is not output correctly due to a sensor inspection, etc. Also, the abnormal value means a value that is abnormal due to a sensor failure, etc. These are judged, for example, by whether or not the value is outside a certain range.
[0030] When there is a missing value or an abnormal value in the learning data, the preprocessing unit 103a may interpolate the missing value or the abnormal value using the value of the same item in the learning data before and after the time. Alternatively, the preprocessing unit 103a may interpolate the missing value or the abnormal value using the value of the same item at the same time on the same day of the week in the previous week.
[0031] Next, the model generating unit 103b creates multiple learning data sets using the learning data after being interpolated by the preprocessing unit 103a. As shown in Fig. 2, the learning data for 24 hours (1440 points) surrounded by a thick line is regarded as one learning data set. Then, the learning data for 24 hours shifted down by one point (one row) is regarded as the next learning data set. In this manner, learning data sets shifted down by one point (one row) are sequentially created.
[0032] In the following, learning data for 24 hours (1440 points) will be described as one learning data set, but this is just one example, and learning data for other times (points) may also be used as the learning data set.
[0033] Then, the model generating unit 103b creates a prediction model. In this embodiment, a learning method of a regression type neural network suitable for processing time series data, for example, a recurrent neural network (hereinafter, referred to as RNN), is used, and a prediction model is created using the current hyperparameters.
[0034] 4 is a diagram showing examples of adjustment items of hyperparameters of the RNN used by the model generation unit 103b. The hyperparameters include the time of the learning data set, the number of epochs, the optimization function, the weight decay coefficient, the learning rate multiplier, the learning rate update interval, and the number of nodes. The model generation unit 103b generates a prediction model while sequentially adjusting the values of these hyperparameters.
[0035] Each hyperparameter has a set adjustment range as shown on the right side of FIG. 4, and can be changed to these values. Therefore, a prediction model can be created with all combinations of the adjustment ranges of each hyperparameter. Note that the hyperparameters are not limited to the items shown in FIG. 4, and may include other parameters such as the number of layers, the number of latent variables, and an activation function.
[0036] The model generation unit 103b adjusts the parameters by selecting the values of each item of the hyperparameters shown in Fig. 4 and applying them to the RNN structure. Then, a machine learning method of the RNN, for example, the Back Propagation Through Time (BPTT) method, is applied to create a prediction model using the adjusted hyperparameters (step S3).
[0037] It is also known that it is not always easy to reflect past intermediate layer outputs in RNNs. To improve this problem, it is possible to use a network called LSTM (Long Short Term Memory). In LSTM, the concept of memory period length is introduced for the intermediate layer output of RNNs, so the influence of outputs from the distant past can be retained.
[0038] It is also possible to use a technique called GRU (Gated Recurrent Unit). In GRU, the input gate and the forget gate are integrated into one gate as an update gate. With GRU, it becomes easier to maintain the memory of the features of events that occurred a long time ago.
[0039] Next, the model generation unit 103b divides the multiple learning data sets into training data, validation data, and evaluation data.The model generation unit 103b then uses the training data and validation data to perform learning and validation with the prediction model created in step S3, and adjusts the network parameters so that the predicted values approach the actual values of the learning data (step S4).
[0040] This learning and validation will be described in detail with reference to FIG. 2 again. The model generation unit 103b uses the learning data set indicated by the thick line in FIG. 2 as training data, and the value of COD after 2.5 hours as validation data. The model generation unit 103b sets the training data in the input layer of the prediction model created in step S3, and sets the value of COD after 2.5 hours as validation data in the output layer. The model generation unit 103b updates the prediction model by re-learning using a predetermined learning method (such as the BPTT method, the LSTM method, or the GRU method). The validation data is the value of COD after 2.5 hours from the learning data at the latest time in the learning data set.
[0041] 5 is a diagram showing a schematic diagram of the generation of a prediction model. 23 items (5 items of time information data + 15 items of sensor information data + 3 items of discharge water quality data) of each row of the learning data set are input to the input layer of the RNN layer as learning data 201, and the COD value after 2.5 hours is set to the output layer as validation data. Note that only 20 items in total, 5 items of time information data + 15 items of sensor information data, may be input to the input layer.
[0042] The RNN layer 202 is a recurrent neural network, and the time course of the intermediate layer must be taken into consideration. For this reason, the backpropagation (BP) method cannot be applied to the RNN layer 202 as is. Therefore, the RNN layer is expanded in the time direction via the intermediate layer output to create a fully connected layer 203, and a prediction model 204 in a format to which the BP method can be applied is created. This makes it possible to apply the so-called BPTT method. Alternatively, a learning method such as the above-mentioned LSTM method or GRU method may be used.
[0043] The items of each row of the learning data 201 are input in sequence into this prediction model 204 to calculate a predicted value, and learning is performed by adjusting parameters (weights, bias) using the BPTT method or the like so that the predicted value approaches the verification data (actual measured value of COD after 2.5 hours). Then, re-learning is performed sequentially while shifting the rows of the learning data set, and the prediction model 204 is updated.
[0044] The example in Figure 5 describes the case where COD is learned. However, if the value of TN is to be learned, the actual measured value of TN after 2.5 hours can be learned as validation data. Alternatively, if TP is to be learned, the actual measured value of TP after 2.5 hours can be learned as validation data. Also, if the above three items of effluent water quality data (COD, TN, and TP) are to be learned at once, the actual measured values of these three items can be learned as validation data.
[0045] In the above example, the predetermined time is 2.5 hours. However, the predetermined time is not limited to this and may be any time.
[0046] Next, the model generating unit 103b uses the evaluation data to perform prediction with the prediction model adjusted in step S4. The model generating unit 103b evaluates the predicted value and the actual measurement value (step S5). Here, the model generating unit 103b calculates the difference between the predicted value and the actual measurement value as an error, and stores the maximum error as an evaluation error. All input items of a 24-hour learning data set may be used as the evaluation data. However, input items for the most recent few hours in the learning data set may be extracted and used as the evaluation data.
[0047] Next, the model generating unit 103b judges whether the evaluation error is equal to or smaller than a target error (step S6). The target error is a predetermined value, and is a value for judging whether the prediction model 204 has sufficiently learned.
[0048] If the evaluation error is larger than the target error (step S6, No), the model generating unit 103b judges whether or not a predetermined update time has elapsed (step S10). This predetermined update time is a time for terminating the process if the evaluation error does not become smaller even after a sufficient time has elapsed, and is set to, for example, about several days.
[0049] If the specified update time has elapsed (step S10, Yes), the model generation unit 103b determines that a prediction model 204 with an error equal to or less than the target error cannot be created with the current learning data, and ends the process without updating the prediction model 204 (step S11).
[0050] If the predetermined update time has not been exceeded (step S10, No), the model generation unit 103b returns to step S3 and repeats the processes of S3 to S5. Here, the model generation unit 103b waits for the first set time and then performs the processes of step S3 and after. This first set time is the time required for one learning session, and differs depending on the amount of data, but is set to, for example, half a day or a day.
[0051] By repeating steps S3 to S5, the model generation unit 103b sequentially creates prediction models 204 for various combinations of hyperparameters as shown in FIG. 4, sequentially learns the learning data set using the created prediction models 204, and sequentially updates the prediction models 204.
[0052] If the evaluation error is equal to or smaller than the target error (step S6, Yes), the model generation unit 103b stores the prediction model 204 (step S7). This prediction model 204 can be said to be a prediction model close to the optimum among prediction models generated using various combinations of hyperparameters.
[0053] Next, the model modification unit 103c judges whether the effluent water quality prediction unit 105 is performing a prediction process (step S8). If the effluent water quality prediction unit 105 is performing a prediction process (step S8, Yes), the model modification unit 103c checks the state of the effluent water quality prediction unit 105 every second set time. This second set time is the time required for the effluent water quality prediction unit 105 to perform one prediction process, and is set to, for example, about several minutes.
[0054] If the effluent water quality prediction unit 105 is not currently performing prediction processing (step S8, No), the model change unit 103c updates the prediction model 204 used by the prediction processing unit 105b to the latest prediction model 204 (step S9) and terminates the processing.
[0055] The specified update time, the first set time, and the second set time can be set to any value, and appropriate values should be set depending on changes in the number of sensors installed in the sewage treatment plant and changes in the amount of learning data, etc.
[0056] (Processing procedure of the discharge water quality prediction unit 105) FIG. 6 is a flowchart for explaining the processing procedure of the effluent water quality prediction unit 105. First, the preprocessing unit 105a acquires the most recent data stored in the most recent data database 104 for each predetermined prediction period (step S21). The preprocessing unit 103a preprocesses the learning data. More specifically, if there is a missing value or an abnormal value in the learning data, the preprocessing unit 103a interpolates the missing value or the abnormal value (step S22). Note that the missing value, the abnormal value, and the method of interpolating these values are the same as those described in the preprocessing unit 103a of the prediction model generation unit 103.
[0057] The process shown in Fig. 6 is performed again at every predetermined prediction period. This predetermined prediction period is the time required for the effluent water quality prediction unit 105 to perform one prediction process, and is set to, for example, about several minutes. This predetermined prediction period can be set to any value, and an appropriate value should be set according to changes in the amount of learning data, etc.
[0058] Next, the prediction processing unit 105b applies the most recent data after interpolation by the preprocessing unit 105a to the prediction model 204 created by the prediction model generation unit 103, and predicts the values of the discharge water quality data (COD, TN, TP) 2.5 hours later (step S23).
[0059] 7 is a diagram showing a model of prediction of effluent water quality data. 23 items (5 items of time information data + 15 items of sensor information data + 3 items of effluent water quality data) of each row of the learning data set are input as the most recent data 205 to the input layer of the prediction model 204. The prediction model 204 predicts the COD value 2.5 hours later and outputs it as output data 206.
[0060] Similarly, it is possible to predict the value of TN 2.5 hours later using the prediction model 204 created for predicting TN, and it is also possible to predict the value of TP 2.5 hours later using the prediction model 204 created for predicting TP.
[0061] Finally, the post-processing unit 105c performs post-processing on the effluent water quality data (prediction result) predicted by the prediction processing unit 105b. Specifically, the post-processing unit 105c converts the prediction result into a format that can be output by the output unit 106 (step S24), and ends the process.
[0062] (An example of a predicted result) A prediction was made for the quality of effluent water from a certain sewage treatment plant. The amount of data was 1 minute of data (approximately 2.45 million data points) from 4 years and 8 months, with 20 input data items and 3 output data items (COD, TN, and TP). The learning dataset consisted of 23 items (input data items (including time information data) + output data items) x 12 hours. The LSTM method was used as the machine learning method.
[0063] 8 is a graph showing actual measured COD values and predicted COD values predicted by the effluent water quality prediction unit 105. The vertical axis shows the COD value, and the horizontal axis shows the time. This graph shows actual measured COD values and predicted COD values from Monday to Sunday of a certain week.
[0064] Fig. 9 is a graph showing the actual measured values of TN and the predicted values of TN predicted by effluent water quality prediction unit 105. Fig. 10 is a graph showing the actual measured values of TP and the predicted values of TP predicted by effluent water quality prediction unit 105. The vertical axis indicates the TN value and the TP value, respectively, and the horizontal axis indicates time. The graphs in Figs. 9 and 10 respectively show the actual measured values and predicted values of TN and the actual measured values and predicted values of TP from Monday to Sunday of a certain week.
[0065] (effect) As described above, according to the effluent water quality prediction device 100, the model generation unit 103b learns the actual measured values of effluent water quality data after a predetermined time from the learning data set as verification data to create the prediction model 204, so that it is possible to accurately predict the effluent water quality data after a predetermined time. As shown in the graphs of Figures 8 to 10, the actual measured values and predicted values of the effluent water quality data (COD, TN, TP) are almost the same.
[0066] In addition, by using an RNN to predict effluent water quality data and applying learning methods such as the BPTT method, LSTM method, and GRU method, it became possible to predict effluent water quality data with a single prediction model.
[0067] In addition, because RNN is used to predict effluent water quality data, even if there are changes to the operation of the sewage treatment plant, it is possible to respond simply by changing the hyperparameters and creating a predictive model, preventing a decrease in prediction accuracy.
[0068] In addition, the model generation unit 103b creates a prediction model using various hyperparameters, and predicts effluent water quality data using a prediction model with a small evaluation error, making it possible to accurately predict effluent water quality data.
[0069] [Software implementation example] The control blocks of the effluent water quality prediction device 100 (particularly the prediction model generation unit 103 and the effluent water quality prediction unit 105) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or by software.
[0070] In the latter case, the effluent water quality prediction device 100 includes a computer that executes instructions of a program, which is software that realizes each function. The computer includes, for example, one or more processors, and a computer-readable recording medium that stores the program. The object of the present invention is achieved by the processor reading the program from the recording medium and executing it in the computer. The processor can be, for example, a CPU (Central Processing Unit). The recording medium can be a "non-transient tangible medium", such as a ROM (Read Only Memory), a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like. The device may further include a RAM (Random Access Memory) that expands the program. The program may be supplied to the computer via any transmission medium (such as a communication network or a broadcast wave) that can transmit the program. One aspect of the present invention may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.
[0071] [Example of computer configuration] 11 is a diagram showing an example of the configuration of a computer for realizing an effluent water quality prediction device (e.g., effluent water quality prediction device 100) according to one embodiment of the present invention. This computer includes a computer main body 300, a display 401, a keyboard 40, and a mouse 403. A user operates the keyboard 402 and mouse 403 while looking at the screen displayed on the display 401 to start a program (hereinafter referred to as the effluent water quality prediction program) for causing the computer main body 300 to function as an effluent water quality prediction device.
[0072] The computer main body 300 includes a CPU 301, a GPGPU (General-Purpose computing on Graphics Processing Units) 302, a ROM 303 for storing a boot program, etc., a RAM 304 for storing programs to be executed, working data, etc., a hard disk 305, a DVD (Digital Versatile Disc) drive 306, a network I / F (Interface) 307, a memory port 308, and an RTC (Real Time Clock) 309, each of which is connected to an internal bus 310.
[0073] The GPGPU302 applies the computing resources of the GPU to purposes other than image processing, and because of its high processing performance, it is used in a wide range of fields, such as matrix operations in neural networks, optimization problems, code breaking, and audio processing.
[0074] The effluent water quality prediction program is recorded on a recording medium such as a DVD 406 or a removable memory 405, and is installed on the hard disk 305 via the DVD drive 306 or the memory port 308 under the control of the CPU 301. The effluent water quality prediction program may also be downloaded via the public line 404 and the network I / F 307 and installed on the hard disk 305.
[0075] The CPU 301 executes the effluent water quality program stored in the RAM 304, receives sensor information data and effluent water quality data from multiple sensors installed in a sewage treatment plant via the network I / F 307 and the public line 404, and generates learning data by adding time information data obtained from the RTC 309 to the data, thereby realizing the sensor information acquisition unit 101.
[0076] In addition, the CPU 301 executes the effluent water quality program stored in the RAM 304 and sequentially stores the learning data generated by the sensor information acquisition unit 101 in the hard disk 305 or the like, thereby realizing the learning data database 102 and the most recent data database 104.
[0077] Furthermore, the CPU 301 executes an effluent water quality program stored in the RAM 304 , and performs RNN learning together with the GPGPU 302 to generate the prediction model 204 , thereby implementing the prediction model generation unit 103 .
[0078] Similarly, the CPU 301 executes the effluent water quality prediction program stored in the RAM 304, and together with the GPGPU 302 performs calculations to apply the most recent data 205 to the prediction model 204 to generate prediction data, thereby realizing the effluent water quality prediction unit 105.
[0079] In addition, the CPU 301 executes the effluent water quality prediction program stored in the RAM 304 and realizes the output unit 106 by transmitting various information generated by the effluent water quality prediction unit 105 to a control device, display device, etc. (not shown) of the sewage treatment plant via the network I / F 307 and the public line 404. <Notes> [Means for solving the problem]
[0080] In order to solve the above problems, an effluent water quality prediction device according to one embodiment of the present invention includes a sensor information acquisition unit that acquires time series data of detection values indicating the effluent water quality of the sewage treatment plant from multiple sensors installed at the sewage treatment plant, a learning data database that stores the time series data acquired by the sensor information acquisition unit as learning data, a most recent data database that stores the time series data acquired by the sensor information acquisition unit as most recent data, a prediction model generation unit that uses the learning data for a first predetermined time stored in the learning data database as a learning dataset and generates a prediction model from the learning dataset for predicting at least one value of the multiple sensors after a second predetermined time, and an effluent water quality prediction unit that predicts at least one value by applying the prediction model to the most recent data.
[0081] In addition, in order to solve the above problem, a method for predicting effluent quality according to one embodiment of the present invention includes the steps of acquiring time series data of detection values indicating the effluent quality of a sewage treatment plant from a plurality of sensors installed at the sewage treatment plant, storing the acquired time series data as learning data, storing the acquired time series data as most recent data, treating the learning data for a first predetermined time period as a learning dataset, generating a predictive model from the learning dataset for predicting at least one value of the plurality of sensors after a second predetermined time period, and predicting at least one value by applying the generated predictive model to the most recent data.
[0082] [Additional Notes] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]
[0083] 100 Discharge water quality prediction device 101 Sensor information acquisition unit 102 Learning Data Database 103 Prediction model generation unit 104 Latest Data Database 105 Effluent Water Quality Prediction Division 201 Training Data 204 Predictive Model 205 Latest Data
Claims
1. a sensor information acquisition unit that acquires time series data of detection values indicating effluent quality of the sewage treatment plant from a plurality of sensors installed in the sewage treatment plant; a learning data database that stores the time series data acquired by the sensor information acquisition unit as learning data; a most recent data database that stores the time series data acquired by the sensor information acquisition unit as most recent data; a prediction model generation unit that sets the learning data for a first predetermined time period stored in the learning data database as a learning data set, and generates a prediction model from the learning data set for predicting a value of at least one of the plurality of sensors after a second predetermined time period; and a discharge water quality prediction unit that predicts the at least one value by applying the prediction model to the most recent data; The prediction model generation unit, The learning data set is used as training data, an actual measurement value of at least one of the plurality of sensors after the second predetermined time is set as verification data; generating a predictive model by training a recurrent neural network using the training data and the validation data; and The prediction model generation unit, Generating a predictive model while changing hyperparameters of the recurrent neural network; At least a part of the training data set is used as evaluation data, An effluent water quality prediction device that sets a prediction model in the effluent water quality prediction unit, in which the error between the predicted value obtained by inputting the evaluation data into the prediction model and the verification data is less than a predetermined value.
2. A method for predicting effluent water quality executed by a computer, comprising: A step of acquiring time series data of detection values indicating effluent quality of the sewage treatment plant from a plurality of sensors installed in the sewage treatment plant; storing the acquired time series data as learning data; storing the acquired time series data as most recent data; generating a prediction model from the training data set for predicting a value of at least one of the plurality of sensors after a second predetermined time; and predicting the at least one value by applying the generated predictive model to the most recent data; In the step of generating the predictive model from the training data set, The learning data set is used as training data, an actual measurement value of at least one of the plurality of sensors after the second predetermined time is set as verification data; generating a predictive model by training a recurrent neural network using the training data and the validation data; and In the step of generating the predictive model from the training data set, Generating a predictive model while changing hyperparameters of the recurrent neural network; At least a part of the training data set is used as evaluation data, A method for predicting effluent water quality, which selects a prediction model in which the error between the predicted value obtained by inputting the evaluation data into the prediction model and the verification data is less than a predetermined value.
Citation Information
Patent Citations
Prediction apparatus using time information, prediction method, prediction program, and recording medium recording the program
JP2009110341A
Machine learning management program, machine learning management apparatus, and machine learning management method
JP2017049677A
Device, method and program for analyzing customer attribute information
WO2019188101A1
Water treatment plant
WO2020021687A1
Monitor object amount prediction method and monitor object amount prediction device
JP2013161336A
Cited By
System and method for monitoring drainage pipe network in industrial park
JP7749273B1
