Model generation device, estimation device, model generation method, and estimation method

The model generation device enhances flocculant injection rate estimation accuracy by clustering data sets and adjusting update cycles based on water quality changes, addressing low accuracy issues in conventional methods.

JP2024144536AActive Publication Date: 2024-10-11KUBOTA CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024117982
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-12-20
Filing Date
2024-07-23
Publication Date
2024-10-11
Estimated Expiration
2040-10-30

AI Technical Summary

Technical Problem

Conventional methods for estimating the injection rate of a flocculant in water treatment plants suffer from low accuracy, particularly when water quality suddenly changes or deviates from the regression model's scope.

Method used

A model generation device that clusters data sets based on pre-injection turbidity and injection rate, generating multiple regression models for each cluster, with an update process to adapt to changing water quality conditions, including immediate updates when necessary and adjusting update cycles based on parameter ranges.

Benefits of technology

Improves the accuracy of estimating flocculant injection rates by adapting to varying water quality, reducing the risk of high turbidity and Cryptosporidium contamination, and minimizing the need for frequent jar tests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024144536000001_ABST
    Figure 2024144536000001_ABST
Patent Text Reader

Abstract

To enhance accuracy of estimating a coagulant injection rate according to a quality of an influent water flowing into a water treatment plant.SOLUTION: A model generator (1c) includes: a clustering unit (101) which clusters a set of data sets including water quality data including pre-injection turbidity and a rate of chemical injection into an influent water to generate a plurality of clusters; a regression model generator (102) which generates a regression model for each of the plurality of generated clusters with the water quality data as an explanatory variable and the rate of chemical injection as an objective variable; and an updating unit (104) which executes an update process at each predetermined length of period. Therein the update process causes the clustering unit (101) to regenerate the clusters by adding the data sets generated since a previous cluster generation to the clustering targets, and causes the regression model generator (102) to regenerate the regression model for each of the regenerated clusters.SELECTED DRAWING: Figure 16
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a model generating device that generates a regression model for estimating an injection rate of a coagulant to be injected into inflow water flowing into a water purification plant. [Background technology]

[0002] A technique is known in the prior art that inputs data such as the water quality of influent water flowing into a water purification plant into a regression model and estimates the injection rate (chemical dosing rate) of a flocculant that coagulates substances in the influent water (see Patent Documents 1 to 3 below). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2002-119956 A [Patent Document 2] JP 2005-329359 A [Patent Document 3] JP 2007-061800 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the conventional technology described above, since only one regression model is used to estimate the drug dosing rate, there is a problem that the estimation accuracy of the drug dosing rate is insufficient. For example, there are problems such as the estimation accuracy decreasing when the water quality of the influent changes suddenly, and the water quality of the influent at a specific water purification plant deviating from the regression model, resulting in low estimation accuracy.

[0005] An object of one aspect of the present invention is to provide a model generation device or the like that improves the accuracy of estimating a coagulant injection rate in accordance with the water quality of inflow water flowing into a water purification plant. [Means for solving the problem]

[0006] In order to solve the above problems, a model generation device according to one embodiment of the present invention is a model generation device that generates a regression model for estimating the injection rate of a coagulant to be injected into inflow water flowing into a water purification plant, and includes a clustering unit that clusters a set of data sets including water quality data including pre-injection turbidity, which is the turbidity of the inflow water before the coagulant is injected, and the injection rate of the coagulant injected into the inflow water to generate multiple clusters, a model generation unit that generates the regression model for each of the generated multiple clusters, with the water quality data as an explanatory variable and the injection rate as a target variable, and an update unit that executes an update process at each predetermined period, wherein the update process causes the clustering unit to regenerate the clusters by adding the datasets generated since the previous cluster generation to the clustering targets, and causes the model generation unit to regenerate the regression model for each of the regenerated clusters.

[0007] In addition, the model generating device according to one aspect of the present invention may further include an update period switching unit that switches the period length of the update process to a predetermined length depending on the numerical range after the switching, when the numerical range to which the parameter related to the pre-injection turbidity belongs switches to a numerical range indicating an increase in the pre-injection turbidity.

[0008] In addition, in the model generating device according to an aspect of the present invention, the update unit may immediately execute the update process when the numerical range to which the parameter belongs is switched.

[0009] In addition, the model generating device according to one aspect of the present invention determines whether or not the numerical range to which the parameter belongs has switched to a numerical range indicating a decrease in the pre-injection turbidity for each period of the predetermined length. When the determination unit determines that the update process has been switched, the update cycle switching unit may switch the cycle length of the update process to a length that is predetermined depending on the numerical range after the switching.

[0010] In addition, in the model generating device according to one aspect of the present invention, the parameters may be at least one of the injection rate, the turbidity before injection, and the precipitation amount of the area where the inflow water is taken.

[0011] In the model generating device according to an aspect of the present invention, the injection rate used as the parameter may be an injection rate estimated using the regression model.

[0012] In addition, in a model generation device according to one embodiment of the present invention, the model generation unit may generate a regression model for turbid water, which is a regression model in which the water quality data is an explanatory variable and the injection rate is a target variable, for a set consisting of only the data sets including the pre-injection turbidity equal to or greater than a predetermined threshold.

[0013] In addition, in the model generating device according to one aspect of the present invention, the turbid water regression model generated by the model generating unit may be a linear regression model.

[0014] In addition, an estimation device according to one aspect of the present invention may be an estimation device that uses the turbid water regression model to estimate an injection rate of a coagulant to be injected into a current inflow, which is inflow currently flowing into the water purification plant, and may include: a cluster identification unit that identifies one of the clusters based on water quality data including the turbidity of the current inflow before injecting the coagulant and a distance between the current inflow and a plurality of the clusters generated by the model generation device; an estimation unit that estimates the injection rate of a coagulant to be injected into the current inflow, using the turbid water regression model of the identified cluster; an event identification unit that identifies the occurrence of an event in which the turbidity of a future inflow, which is inflow that will flow into the water purification plant in the future, is predicted to be equal to or greater than a predetermined threshold value before injecting the coagulant; and, when the occurrence of the event is identified, an estimation unit that estimates the injection rate of a coagulant to be injected into the future inflow, using the water quality data of the future inflow estimated based on the event and the turbid water regression model.

[0015] Moreover, a model generation method according to one aspect of the present invention is a model generation method executed by a model generation device that generates a regression model for estimating an injection rate of a coagulant to be injected into inflow water flowing into a water purification plant, and includes a clustering step of clustering a set of multiple data sets including water quality data including pre-injection turbidity, which is the turbidity of the inflow water before the coagulant is injected, and the injection rate of the coagulant injected into the inflow water to generate multiple clusters, a model generation step of generating a regression model for each of the generated multiple clusters, the water quality data being an explanatory variable and the injection rate being a target variable, and an update step of performing an update process at each predetermined length of period, and the update step may be a method in which, in the clustering step, the data sets generated since the previous cluster generation are added to the clustering target to regenerate the clusters, and in the model generation step, the regression model is regenerated for each of the regenerated clusters.

[0016] In addition, a model generation method according to one aspect of the present invention may be a method in which, in the model generation step, a regression model for turbid water is generated, which is a regression model in which the water quality data is an explanatory variable and the injection rate is a target variable, for a set consisting of only the data sets including the pre-injection turbidity equal to or greater than a predetermined threshold.

[0017] In addition, an estimation method according to one aspect of the present invention is a method for estimating an injection rate of a coagulant to be injected into a current inflow, which is inflow water currently flowing into the water purification plant, by using the turbid water regression model. The method may include a cluster identification step of identifying one of the clusters based on water quality data including the turbidity of the current inflow water before injecting a coagulant and a distance between the clusters and the multiple clusters generated by the model generation method; an estimation step of estimating an injection rate of coagulant to be injected into the current inflow water using the turbid water regression model of the identified cluster; an event identification step of identifying the occurrence of an event in which the turbidity of a future inflow water, which is an inflow water that will flow into the water purification plant in the future, is predicted to be equal to or greater than a predetermined threshold value before injecting a coagulant; and, when the occurrence of the event is identified, an estimation step of estimating the injection rate of coagulant to be injected into the future inflow water using the water quality data of the future inflow water estimated based on the event and the turbid water regression model. Effect of the Invention

[0018] According to one aspect of the present invention, it is possible to improve the accuracy of estimating the injection rate of a coagulant according to the water quality of inflow water flowing into a water purification plant. [Brief description of the drawings]

[0019] [Figure 1] 1 is a diagram showing an overview of a drug injection rate estimation system according to the present invention. [Diagram 2] 1 is a block diagram showing an example of a configuration of a main part of a drug injection rate estimation system according to a first embodiment of the present invention. FIG. [Diagram 3] 3 is a flowchart showing an example of the flow of a regression model generation process executed by a model generation device included in the drug injection rate estimation system shown in FIG. 2. [Figure 4] FIG. 3 is a diagram showing the relationship between the turbidity before injection and the turbidity at the outlet of the settling basin in a data set used by the model generating device included in the chemical injection rate estimation system shown in FIG. 2 to generate a regression model. [Diagram 5] 3 is a flowchart showing an example of the flow of a drug injection rate estimation process executed by an estimation device included in the drug injection rate estimation system shown in FIG. 2. [Figure 6] FIG. 11 is a block diagram showing an example of a configuration of a main part of a drug injection rate estimation system according to a second embodiment of the present invention. [Figure 7] FIG. 7 is a diagram showing the relationship between the turbidity before injection and the turbidity at the outlet of the settling basin in a data set used by the model generating device included in the chemical injection rate estimation system shown in FIG. 6 to generate a regression model. [Figure 8] 7 is a flowchart showing an example of the flow of a muddy water regression model generation process executed by a model generation device included in the drug dosing rate estimation system shown in FIG. 6. [Figure 9] 7 is a flowchart showing an example of the flow of a drug injection rate estimation process executed by an estimation device included in the drug injection rate estimation system shown in FIG. 6. [Figure 10] FIG. 7 is a diagram showing an example of a regression model for muddy water generated by a model generating device included in the drug dosing rate estimation system shown in FIG. 6. [Figure 11] FIG. 11 is a block diagram showing an example of a configuration of a main part of a drug injection rate estimation system according to a third embodiment of the present invention. [Figure 12] 12 is a flowchart showing an example of the flow of a learning model generation process executed by a model generation device included in the drug injection rate estimation system shown in FIG. 11. [Figure 13] 12 is a flowchart showing an example of the flow of a drug injection rate estimation process executed by an estimation device included in the drug injection rate estimation system shown in FIG. 11. [Figure 14] FIG. 11 is a schematic diagram showing an example of a river from which a water purification plant takes water in a modified example of the present invention. [Figure 15] FIG. 13 is a diagram showing an example of calculation of total precipitation included in a data set used in a modified example of the present invention. [Figure 16] FIG. 11 is a block diagram showing an example of a configuration of a main part of a drug injection rate estimation system according to a fourth embodiment of the present invention. [Figure 17] FIG. 13 is a diagram showing the correspondence between the numerical ranges of each update determination parameter and the update period. [Figure 18] 17 is a diagram showing a specific example of a switching process of update periods of clusters and regression models, which is executed by a model generating device included in the drug injection rate estimation system shown in FIG. 16. [Figure 19] 13 is a flowchart showing an example of the flow of a switching process. [Figure 20]20 is a flowchart showing an example of the flow of an update process included in the switching process shown in FIG. 19. [Figure 21] 13 is a flowchart showing another example of the flow of the switching process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] [Embodiment 1] <Outline of the drug injection rate estimation system> FIG. 1 is a diagram showing an overview of a chemical injection rate estimation system 100 according to the present embodiment. The chemical injection rate estimation system 100 estimates a chemical injection rate, which is an injection rate of a flocculant injected into water flowing into a water purification plant (inflow water, hereinafter referred to as "raw water"), according to the water quality of the raw water. Here, the flocculant is a chemical agent for flocculating and precipitating substances contained in the raw water. The chemical injection rate is the ratio of the flocculant injected into the raw water to the raw water. Conventionally, the chemical injection rate has been determined using the results of a jar test, past knowledge, a predetermined calculation formula, and the like. The injection of the flocculant according to the present disclosure may be the injection of a flocculant in a coagulation and sedimentation rapid filtration method, or may be the injection of a flocculant as a pretreatment in a membrane filtration method.

[0021] (Generating a regression model) In order to realize estimation of the drug dosing rate according to the quality of the raw water, the drug dosing rate estimation system 100 generates a regression model with the water quality data of the raw water as an explanatory variable and the drug dosing rate as a target variable. The drug dosing rate estimation system 100 receives input of a set of data D1 including the water quality data of the raw water and the drug dosing rate, that is, a plurality of data sets D1 (a1 in FIG. 1). The data set D1 includes the water quality data of the raw water that flowed into the water purification plant in the past and the drug dosing rate of the coagulant actually injected into the raw water. The water quality data is data including the turbidity of the raw water before the injection of the coagulant (hereinafter referred to as "pre-injection turbidity"). However, the data included in the water quality data is not limited to the pre-injection turbidity. The water quality data may include, for example, pH, water temperature, etc., as shown in FIG. 1.

[0022] Next, the drug injection rate estimation system 100 clusters the set and generates a regression model for each cluster (FIG. 1b). The regression model is a regression model with water quality data and drug injection rate as variables. In the example of FIG. 1, the drug injection rate estimation system 100 generates three clusters, but the number of clusters, in other words, the number of regression models, is not limited to this example.

[0023] (Estimated drug injection rate) The drug injection rate estimation system 100 that generated the regression model accepts input of water quality data D2 of raw water currently flowing into the water purification plant (current inflow water, hereinafter sometimes referred to as "current raw water") (a2 in FIG. 1). Then, the drug injection rate estimation system 100 estimates the drug injection rate D3 using the regression model of the cluster that is closest to the water quality data D2 and the center of gravity of the cluster (hereinafter sometimes simply referred to as "center of gravity") among the multiple clusters generated (a3 in FIG. 1).

[0024] <Main configuration of drug injection rate estimation system 100> 2 is a block diagram showing an example of a configuration of a main part of the drug injection rate estimation system 100. The drug injection rate estimation system 100 includes a model generation device 1, an estimation device 2, an input device 3, an output device 4, and a storage device 5.

[0025] The input device 3 receives an input from a user, and outputs an input signal based on the input to the model generation device 1 or the estimation device 2.

[0026] The output device 4 outputs the information generated by the estimation device 2. The method of output by the output device 4 is not particularly limited. The output device 4 may be, for example, a display device that displays the information as an image, or an audio output device that outputs the information as audio. The output device 4 may also be a control signal output device that outputs the information as an electrical signal to a flocculant injector (not shown).

[0027] The storage device 5 holds programs and data used in the drug injection rate estimation system 100. The data held (stored) by the storage device 5 will be described later.

[0028] The model generating device 1 generates a regression model for estimating the dosing rate of a flocculant to be injected into raw water. The model generating device 1 includes a control unit 10. The control unit 10 controls each part of the model generating device 1. The control unit 10 is realized by a processor and a memory, for example. In this example, the processor accesses a storage (not shown), loads a program (not shown) stored in the storage into the memory, and executes a series of instructions included in the program. In this way, each part included in the control unit 10 is configured.

[0029] As these units, the control unit 10 includes a clustering unit 101 and a regression model generating unit 102 (model generating unit).

[0030] The clustering unit 101 clusters a set of a data set (data set D1 in FIG. 1) including water quality data and chemical dosing rates, and generates a plurality of clusters. As an example, the clustering unit 101 generates a plurality of clusters using an existing clustering method (e.g., an existing non-hierarchical method). When the clustering unit 101 receives the above set from the input device 3, it generates, for example, a first cluster 511, a second cluster 512, and a third cluster 513 shown in FIG. 2. The clustering unit 101 outputs the clustering result to the regression model generation unit 102.

[0031] The set may be stored in the storage of the model generating device 1 or in the storage device 5. In this example, the clustering unit 101 reads the set from the storage or the storage device 5 in accordance with an instruction to read the set received from the input device 3.

[0032] The regression model generation unit 102 generates a regression model with the water quality data and the chemical injection rate as variables for each of the multiple clusters generated by the clustering unit 101. In other words, the regression model generation unit 102 performs machine learning using the data set of each cluster, i.e., data in which the water quality data and the chemical injection rate are associated with each other, as training data, and generates a regression model as a learning model for each cluster. In this training data, the water quality data is the input data, and the chemical injection rate is the correct answer data. When the water quality data of the current raw water is input as input data to the regression model, the chemical injection rate corresponding to the water quality data is output in the regression model.

[0033] The regression model generation unit 102 generates a nonlinear regression model, for example. The regression model generation unit 102 generates a nonlinear regression model, for example, a random forest (RF), a gradient boosting model, etc. A nonlinear regression model is generated using Gradient Boosted tree Regression (GBR) or Neural Network (NN).

[0034] The regression model generation unit 102 generates, for example, a first regression model 521 shown in FIG. 2 as a regression model of the first cluster 511. The regression model generation unit 102 generates a second regression model 522 shown in FIG. 2 as a regression model of the second cluster 512. The model generating unit 102 generates a third regression model 523 shown in FIG.

[0035] As a result, a plurality of combinations of clusters and regression models are generated. The regression model generation unit 102 stores the plurality of combinations in the storage device 5. In this embodiment, the plurality of combinations are referred to as clusters 51 as shown in FIG.

[0036] The estimation device 2 estimates the dosing rate of the coagulant to be injected into the current raw water using the regression model generated by the model generation device 1. The estimation device 2 includes a control unit 20. The control unit 20 controls each part of the estimation device 2. The control unit 20 is realized by a processor and a memory, for example. In this example, the processor accesses a storage (not shown), loads a program (not shown) stored in the storage into the memory, and executes a series of instructions included in the program. In this way, each part included in the control unit 20 is configured.

[0037] As these units, the control unit 20 includes a cluster specifying unit 201 and a drug injection rate estimating unit 202 (estimating unit).

[0038] The cluster identification unit 201 identifies one of the clusters 51 based on the distance between the water quality data of the current raw water (water quality data D2 in FIG. 1) received from the input device 3 and the center of gravity of each cluster. As an example, the cluster identification unit 201 identifies the cluster that is closest in distance between the water quality data of the current raw water and the center of gravity among the first cluster 511, the second cluster 512, and the third cluster 513. The cluster identification unit 201 outputs the cluster identification result to the chemical injection rate estimation unit 202.

[0039] The drug dosing rate estimation unit 202 estimates the drug dosing rate of the flocculant to be injected into the current raw water using a regression model of the identified cluster. The drug dosing rate estimation unit 202 acquires the drug dosing rate by inputting water quality data into the regression model. The drug dosing rate estimation unit 202 then outputs the acquired drug dosing rate to the output device 4 as an estimated result of the drug dosing rate. When the output device 4 is the above-mentioned control signal output device, the flocculant injection device can inject the flocculant into the current raw water based on the drug dosing rate.

[0040] <Regression model generation process flow> FIG. 3 is a flowchart showing an example of the flow of the regression model generation process executed by the model generation device 1.

[0041] The clustering unit 101 acquires a set of data sets including water quality data of raw water and the chemical injection rate of the coagulant actually injected into the raw water (step S1; hereinafter, the description of "step" will be omitted).

[0042] Figure 4 shows the relationship between the pre-injection turbidity included in the water quality data of the above dataset and the turbidity of raw water at the outlet of the settling basin of a water purification plant (sedimentation basin outlet turbidity) after coagulant is injected into raw water with that raw water turbidity.

[0043] As an example, the clustering unit 101 clusters only data sets in which the turbidity at the outlet of the settling basin is equal to or less than a predetermined value. For example, the clustering unit 101 clusters only data sets in which the turbidity at the outlet of the settling basin is equal to or less than a threshold value T1 shown in Fig. 4. A specific value of the threshold value T1 may be "1 (degree)" shown in Fig. 4, but is not limited to this example.

[0044] For example, the clustering unit 101 may discard a data set in which the turbidity at the settling basin outlet exceeds the threshold T1 from the set input from the input device 3 based on the threshold T1 stored in the storage. Also, for example, the clustering unit 101 may read out from the storage (or the storage device 5) only a data set in which the turbidity at the settling basin outlet is equal to or less than the threshold T1 based on the threshold T1 stored in the storage. In these examples, the data set includes the turbidity at the settling basin outlet.

[0045] Also, as an example, a user of the model generating device 1 may input to the model generating device 1 only data sets in which the turbidity at the settling basin outlet is equal to or less than the threshold value T1.

[0046] Returning to the description of the flow of the regression model generation process, with reference to Fig. 3 again, the clustering unit 101 clusters the acquired set to generate a plurality of clusters (S2, clustering step). The clustering unit 101 outputs the clustering result to the regression model generation unit 102.

[0047] The regression model generation unit 102 generates a nonlinear regression model for each cluster, with the water quality data and the chemical injection rate as variables (S3, model generation step). As a result, a cluster 51 including a plurality of regression models is generated. The regression model generation unit 102 stores the cluster 51 in the storage device 5.

[0048] (Update of cluster 51) It is preferable that the clustering unit 101 and the regression model generation unit 102 periodically update (automatically update) the clusters 51. In this example, the data sets are stored in a storage or storage device 5 of the model generation device 1, and the clustering unit 101 acquires a set of data sets from the storage or storage device 5.

[0049] Even after the cluster 51 is generated, the above data set is stored in the storage or memory device 5 every time a flocculant is injected into the raw water.

[0050] As an example, when clustering is performed, the clustering unit 101 starts a timer (not shown) and measures the elapsed time since the clustering was performed. Then, when the elapsed time reaches a predetermined value, the clustering unit 101 acquires a set of data sets again and performs clustering (updates the clusters). Then, the clustering unit 101 outputs the clustering results to the regression model generation unit 102. The regression model generation unit 102 updates the regression model for each cluster.

[0051] The method for updating the clusters and regression models is similar to the method for generating the clusters and regression models, and therefore the description will not be repeated here.

[0052] <Flow of drug injection rate estimation process> FIG. 5 is a flowchart showing an example of the flow of the drug injection rate estimation process executed by the estimation device 2.

[0053] The cluster identification unit 201 acquires water quality data of the current raw water from the input device 3 (S11). The cluster identification unit 201 identifies the cluster having the closest distance between the acquired water quality data and the center of gravity from among the first cluster 511, the second cluster 512, and the third cluster 513 included in the cluster 51 (S12, cluster identification step). The cluster identification unit 201 outputs the cluster identification result to the chemical injection rate estimation unit 202.

[0054] The drug injection rate estimation unit 202 estimates the drug injection rate by using a regression model generated from the identified cluster. The drug dosing rate estimation unit 202 inputs the water quality data of the current raw water to the first regression model 521 and acquires the drug dosing rate (S13, estimation step). For example, when the cluster identification unit 201 identifies the first cluster 511 as the cluster having the shortest distance between the acquired water quality data and the center of gravity, the drug dosing rate estimation unit 202 inputs the water quality data of the current raw water to the first regression model 521 and acquires the drug dosing rate. The drug dosing rate estimation unit 202 causes the output device 4 to output the acquired drug dosing rate as an estimated result of the drug dosing rate (S14).

[0055] <Effects> As described above, the model generating device 1 according to this embodiment clusters a data set including water quality data and chemical dosing rates, and generates a regression model for each cluster. In other words, the model generating device 1 can generate multiple regression models for estimating chemical dosing rates. Then, the estimation device 2 according to this embodiment estimates the chemical dosing rate of the coagulant injected into the current raw water using the regression model of the cluster that is closest to the water quality data of the current raw water and the center of gravity among these multiple regression models. This makes it possible to improve the estimation accuracy of the chemical dosing rate according to the water quality of the current raw water.

[0056] Because multiple regression models are generated, even if the current water quality of the raw water at a water purification plant suddenly changes, the drug injection rate can be estimated using the regression model of the cluster that is closest to the water quality data indicating that water quality.

[0057] In addition, the quality of the incoming raw water differs from one water purification plant to another. In addition, due to differences in the equipment, the dosage rate of the coagulant injected into raw water of the same quality may differ from one water purification plant to another. Here, if there is only one regression model, the above-mentioned trends in the raw water quality and dosage rate for each water purification plant are averaged, and there is a possibility that the trend and the regression model may diverge. For this reason, in order to improve the estimation accuracy of the dosage rate when there is only one regression model, it becomes necessary to customize the regression model for each water purification plant.

[0058] In contrast, the model generation device 1 generates multiple regression models based on the clustering results of the data set, so that any of the generated regression models will have a small deviation from the above-mentioned trend. Therefore, there is no need to customize the regression model for each water purification plant. In other words, the versatility of the regression model is improved.

[0059] Furthermore, the model generating device 1 may perform clustering only on data sets in which the turbidity at the outlet of the settling basin is equal to or less than the threshold value T1. This allows the regression model to be generated from data sets in which the turbidity at the outlet of the settling basin is equal to or less than the threshold value T1. This reduces the possibility that highly turbid water will flow out of the settling basin and further out of the water purification plant, thereby reducing the risk of infection with Cryptosporidium and the like caused by drinking the flow-out water.

[0060] Moreover, the model generating device 1 may generate nonlinear regression models as the first regression model 521, the second regression model 522, and the third regression model 523. The applicant's verification has revealed that the correlation between the water quality data including the turbidity before injection of the raw water and the drug injection rate is nonlinear. Therefore, by generating a nonlinear regression model, the estimation accuracy of the drug injection rate can be improved compared to the case of a linear regression model. Furthermore, since nonlinear regression can use more diverse forms, the versatility of the regression model can be further improved by making the regression model generated from the data set of each cluster nonlinear compared to a configuration in which the regression model is linear.

[0061] [Embodiment 2] Other embodiments of the present invention will be described below. For ease of explanation, the same reference numerals are given to members having the same functions as those described in the above embodiment, and the description thereof will not be repeated.

[0062] The drug dosing rate estimation system 100a according to this embodiment generates a turbid water regression model with water quality data as explanatory variables and drug dosing rate as objective variables for a set consisting of only data sets including pre-injection turbidity equal to or greater than a predetermined threshold. Then, when the pre-injection turbidity of the current raw water is equal to or greater than the above-mentioned predetermined threshold, the drug dosing rate estimation system 100a uses the turbid water regression model to estimate the drug dosing rate of the coagulant to be injected into the current raw water.

[0063] <Configuration of main parts of drug injection rate estimation system 100a> 6 is a block diagram showing an example of a main configuration of the drug injection rate estimation system 100a. Hereinafter, for each component of the drug injection rate estimation system 100a, only the differences from the same component of the drug injection rate estimation system 100 will be described.

[0064] The drug dosing rate estimation system 100a differs from the drug dosing rate estimation system 100 in that the drug dosing rate estimation system 100a includes a model generating device 1a, an estimation device 2a, and a storage device 5a.

[0065] (Main configuration of model generating device 1a) The control unit 10a of the model generating device 1a includes a clustering unit 101a and a regression model generating unit 102a (model generating unit).

[0066] The clustering unit 101a differs from the clustering unit 101 in that the clustering unit 101a performs clustering on a set consisting of only data sets including pre-injection turbidity less than a predetermined threshold value. That is, the first regression model 521, the second regression model 522, and the third regression model 523 according to this embodiment are generated from data sets including pre-injection turbidity less than a predetermined threshold value.

[0067] FIG. 7 shows the relationship between the turbidity before injection, which is included in the water quality data of the above data set, and the turbidity at the outlet of the settling basin.

[0068] As an example, the clustering unit 101a targets only data sets in which the turbidity at the outlet of the settling basin is equal to or less than the threshold value T1 shown in FIG. 7 and the turbidity before injection is less than the threshold value T2 shown in FIG.

[0069] A specific value of the threshold T1 may be "1 (degree)" as shown in Fig. 7, but is not limited to this example. A specific value of the threshold T2 may be "150 (degrees)" as shown in Fig. 7, but is not limited to this example.

[0070] Returning to the description of the main components of the model generating device 1a, referring again to FIG. 6, the regression model generating unit 102a differs from the regression model generating unit 102 in that the regression model generating unit 102a generates the turbid water regression model 52 shown in FIG. 6 based on a set consisting of only data sets including pre-injection turbidity equal to or greater than a predetermined threshold. In other words, the regression model generating unit 102a generates a regression model using only data sets of raw water with high pre-injection turbidity. As an example, the regression model generating unit 102a generates a linear turbid water regression model 52. The regression model generating unit 102a generates the linear turbid water regression model 52 using, for example, generalized linear regression (GLR) or partial least squares regression (PLS).

[0071] As an example, the regression model generation unit 102a generates a turbid water regression model 52 from only a data set (hereinafter sometimes referred to as a "turbid water data set") in which the turbidity at the settling basin outlet is below the threshold T1 shown in Figure 7 and the turbidity before injection is above the threshold T2 shown in Figure 7.

[0072] In other words, the regression model generation unit 102a uses a turbid water data set, i.e., water quality data Machine learning is performed using data associating the water quality data with the drug dosing rate as training data, and a muddy water regression model 52 is generated as a learning model. In this training data, the water quality data is the input data, and the drug dosing rate is the correct answer data. When the water quality data of the current raw water is input as input data to the muddy water regression model 52, the muddy water regression model 52 outputs the drug dosing rate corresponding to the water quality data.

[0073] The regression model generating unit 102a stores in the storage device 5a the generated muddy water regression model 52. In other words, the storage device 5a differs from the storage device 5 in that the storage device 5a stores the muddy water regression model 52.

[0074] (Main configuration of the estimation device 2a) The control unit 20a of the estimation device 2a includes a cluster specifying unit 201a, an injection rate estimation unit 202a (estimation unit), and a pre-injection turbidity determination unit 203.

[0075] Returning to the description of the main components of the drug injection rate estimation system 100a, referring again to Fig. 6, the pre-injection turbidity determination unit 203 determines whether the pre-injection turbidity included in the water quality data of the current raw water received from the input device 3 is equal to or greater than a predetermined threshold (for example, threshold T2 shown in Fig. 7). If it is determined that the pre-injection turbidity is equal to or greater than the predetermined threshold, the pre-injection turbidity determination unit 203 outputs the determination result to the drug injection rate estimation unit 202a. If it is determined that the pre-injection turbidity is not equal to or greater than the predetermined threshold, that is, if it is determined that the pre-injection turbidity is less than the predetermined threshold, the pre-injection turbidity determination unit 203 outputs the determination result to the cluster identification unit 201a.

[0076] When the cluster identifying unit 201a acquires the judgment result from the pre-injection turbidity judging unit 203, the cluster identifying unit 201a identifies one of the clusters 51 based on the distance between the water quality data of the current raw water and the center of gravity of each cluster. The details of this identification process are similar to the identification process executed by the cluster identifying unit 201, and therefore will not be described again here.

[0077] When the drug dosing rate estimation unit 202a acquires the judgment result from the pre-injection turbidity judgment unit 203, it estimates the drug dosing rate of the flocculant to be injected into the current raw water using the turbid water regression model 52. The drug dosing rate estimation unit 202a acquires the drug dosing rate by inputting water quality data into the turbid water regression model 52. Then, the drug dosing rate estimation unit 202a outputs the acquired drug dosing rate to the output device 4 as an estimated result of the drug dosing rate. When the output device 4 is the above-mentioned control signal output device, the flocculant injection device can inject the flocculant into the current raw water based on the drug dosing rate.

[0078] The process of estimating the drug injection rate using the regression model of the cluster identified by the cluster identifying unit 201a is similar to the estimation process executed by the drug injection rate estimating unit 202, and therefore the description thereof will not be repeated here.

[0079] <Process flow for generating regression model for turbid water> 8 is a flowchart showing an example of the flow of the regression model generation process for muddy water executed by the model generation device 1a. Note that the regression model generation process based on the clustering result executed by the model generation device 1a is similar to the regression model generation process executed by the model generation device 1, and therefore the description will not be repeated here.

[0080] The regression model generating unit 102a acquires a set of data sets including the water quality data of raw water whose pre-injection turbidity is equal to or greater than the threshold T2 and the drug injection rate actually injected into the raw water (S21). As described above, the data sets may be data sets whose sedimentation basin outlet turbidity is equal to or less than the threshold T1.

[0081] For example, the regression model generating unit 102a generates a regression model based on a threshold T1 stored in the storage. Based on this, the regression model generating unit 102a may exclude from the set inputted from the input device 3 a data set in which the turbidity at the outlet of the set set exceeds the threshold value T1 from the data set for generating the turbid water regression model 52. Also, based on the threshold value T2 stored in the storage, for example, the regression model generating unit 102a may exclude from the set inputted from the input device 3 a data set in which the turbidity before injection is less than the threshold value T2 from the data set for generating the turbid water regression model 52. Also, based on the threshold values ​​T1 and T2 stored in the storage, for example, the regression model generating unit 102a may read out from the storage (or the storage device 5a) only data sets in which the turbidity at the outlet of the set set is equal to or less than the threshold value T1 and the turbidity before injection is equal to or greater than the threshold value T2. In these examples, the data set includes the turbidity at the outlet of the set set.

[0082] As another example, a user of the model generating device 1a may input to the model generating device 1a only data sets in which the turbidity at the settling basin outlet is equal to or less than the threshold value T1 and the turbidity before injection is equal to or greater than the threshold value T2.

[0083] The regression model generating unit 102a generates a linear muddy water regression model 52 with the water quality data and the chemical injection rate as variables from the acquired set (S22). The regression model generating unit 102a stores the generated muddy water regression model 52 in the storage device 5a.

[0084] (Update of Turbid Water Regression Model 52) It is preferable that the regression model generation unit 102a periodically updates (automatically updates) the turbid water regression model 52. In this example, the data sets are stored in the storage or storage device 5a of the model generation device 1a, and the regression model generation unit 102a acquires a set of data sets from the storage or storage device 5a.

[0085] Even after the turbid water regression model 52 is generated, the above data set is stored in the storage or memory device 5a every time a coagulant is injected into the raw water.

[0086] As an example, when the regression model generating unit 102a generates (or updates) the muddy water regression model 52, the regression model generating unit 102a starts a timer (not shown) and measures the elapsed time from the execution. Then, when the elapsed time reaches a predetermined value, the regression model generating unit 102a acquires a set of data again and updates the muddy water regression model 52.

[0087] The method of updating the turbid water regression model 52 is similar to the method of generating the turbid water regression model 52, and therefore the description will not be repeated here. Also, the update of the cluster 51 has been described in the first embodiment, and therefore the description will not be repeated here.

[0088] <Flow of drug injection rate estimation process> FIG. 9 is a flowchart showing an example of the flow of the drug injection rate estimation process executed by the estimation device 2a.

[0089] The pre-injection turbidity determination unit 203 acquires water quality data of the current raw water from the input device 11 (S31). The pre-injection turbidity determination unit 203 determines whether the acquired pre-injection turbidity of the current raw water is equal to or greater than a threshold value T2 (S32).

[0090] When it is determined that the pre-injection turbidity is not equal to or greater than the threshold T2, that is, the pre-injection turbidity is less than the threshold T2 (NO in S32), the pre-injection turbidity determination unit 203 outputs the determination result to the cluster identification unit 201a. Then, the drug injection rate estimation process proceeds to step S12 in Fig. 5. The subsequent processes have already been described in the first embodiment, and therefore will not be described again here.

[0091] When it is determined that the turbidity of the current raw water before injection is equal to or greater than the threshold value T2 (YES in S32) The pre-injection turbidity determination unit 203 outputs the determination result to the drug injection rate estimation unit 202a.

[0092] The drug injection rate estimation unit 202a estimates the drug injection rate using the muddy water regression model 52 (S33). The drug injection rate estimation unit 202a acquires the drug injection rate by inputting water quality data into the muddy water regression model 52. Then, the drug injection rate estimation unit 202a outputs the acquired drug injection rate to the output device 4 as an estimated result of the drug injection rate (S34).

[0093] <Effects> As described above, the model generating device 1a included in the drug injection rate estimation system 100a according to this embodiment generates the turbid water regression model 52 for a set consisting of only data sets including pre-injection turbidity equal to or greater than the threshold value T2. In other words, the model generating device 1a generates a regression model specialized for cases where the raw water before coagulant injection has high turbidity.

[0094] Furthermore, the estimation device 2a included in the chemical feeding rate estimation system 100a estimates the chemical feeding rate of the coagulant to be injected into the current raw water using the turbid water regression model 52 when the pre-injection turbidity of the current raw water is equal to or greater than the threshold value T2.

[0095] This makes it possible to improve the accuracy of estimating the injection rate when the raw water before coagulant injection becomes highly turbid due to some factor (for example, rainfall in the upstream area of ​​the water purification plant, dam discharge, etc.). Therefore, it is possible to reduce the frequency of jar tests that need to be performed when the turbidity of the raw water suddenly changes (when there is a sudden increase in turbidity), and to reduce the burden on the staff of the water purification plant.

[0096] Furthermore, the model generating device 1a may generate a linear regression model as the turbid water regression model 52. This generates a linear model that is more resistant to extrapolation than a nonlinear regression model, so that the injection rate can be estimated appropriately to some extent even for inflow water with a turbidity that has never been experienced before.

[0097] Fig. 10 is a diagram showing an example of the turbid water regression model 52. Each point shown in Fig. 10 indicates each data set, and the dashed line (graph) indicates the turbid water regression model 52 generated based on the data set. Note that in Fig. 10, for ease of understanding, the water quality data is only the turbidity before injection (raw water turbidity).

[0098] As shown in FIG. 10, the maximum value of the turbidity before injection in the data set for generating the turbid water regression model 52 is about 320 (degrees). In other words, there is no experience of raw water with a turbidity of 320 (degrees) or more flowing into a water purification plant. Here, for example, assume that raw water with a turbidity of 350 (degrees) flows into a water purification plant. When a jar test is performed as in the past to determine the chemical injection rate, there is no knowledge of the chemical injection rate of the coagulant to be injected into such highly turbid raw water, and problems such as an increase in the number of jar tests and a long time required for the jar test arise.

[0099] In response to this, the model generating device 1a generates the turbid water regression model 52 shown in Fig. 10, so even if raw water with high turbidity (350 degrees) as described above flows in, the drug dosing rate can be quickly estimated to be about 77 (mg / L) from the turbid water regression model 52. As a result, as described above, the frequency of jar tests can be reduced, and the burden on the staff at the water purification plant can be reduced.

[0100] [Embodiment 3] Further, another embodiment of the present invention will be described below. For convenience of explanation, the same reference numerals are given to members having the same functions as those described in the above embodiment, and the description thereof will not be repeated.

[0101] The chemical dosing rate estimation system 100b according to this embodiment identifies the occurrence of an event (hereinafter referred to as a "turbid water factor") that predicts that the pre-injection turbidity will be equal to or greater than a predetermined threshold in future raw water (future inflow water), which is raw water that will flow into a water purification plant in the future. When the chemical dosing rate estimation system 100b identifies the occurrence of a turbid water factor, it estimates the chemical dosing rate of the coagulant to be injected into the future raw water using the turbid water regression model 52. In this embodiment, the water quality data is only the pre-injection turbidity.

[0102] The turbidity factor according to the present embodiment is the occurrence of rainfall in a specified area, but is not limited to this example. For example, the turbidity factor may be a forecast of rainfall in a specified area, an increase in the amount of discharge from a dam upstream of a water purification plant, or the amount of water stored in the dam reaching a specified value or more. The specified area is an area where precipitation may flow into the water purification plant, for example, an area (1 km square mesh) in a river basin upstream of a water purification plant where the occurrence of rainfall has the greatest effect on the turbidity before injection. There may be multiple specified areas. Rainfall according to the present embodiment refers to heavy rain with precipitation of 30 mm or more per hour in a 1 km square mesh, but is not limited to this example.

[0103] <Configuration of main parts of drug injection rate estimation system 100b> 11 is a block diagram showing an example of a configuration of a main part of the drug injection rate estimation system 100b. Hereinafter, for each component of the drug injection rate estimation system 100b, only the differences from the same components of the drug injection rate estimation system 100 will be described.

[0104] The drug injection rate estimation system 100b differs from the drug injection rate estimation system 100 in that it includes a model generating device 1b, an estimation device 2b, and a storage device 5a. Note that the storage device 5a has been described in the second embodiment, and therefore will not be described again here.

[0105] As shown in Fig. 11, the drug injection rate estimation system 100b is configured to be able to communicate with a weather information server 200. The weather information server 200 is a server of the Japan Meteorological Agency or a company that provides weather forecasts. As an example, the drug injection rate estimation system 100b receives rainfall occurrence information from the weather information server 200. The occurrence information includes location data indicating the location where the rainfall occurred (1 km square mesh) and the amount of precipitation per hour of the rainfall that occurred at the occurrence location.

[0106] (Main configuration of model generating device 1b) A control unit 10b of the model generating device 1b includes a clustering unit 101a, a regression model generating unit 102a (model generating unit), and a learning unit 103. Note that the clustering unit 101a and the regression model generating unit 102a have been described in the second embodiment, and therefore the description will not be repeated here.

[0107] The learning unit 103 performs machine learning using the occurrence information and the pre-injection turbidity of the raw water after the occurrence of rainfall indicated by the occurrence information as training data to generate a learning model. In this training data, the occurrence information is input data, and the pre-injection turbidity is correct data.

[0108] The pre-injection turbidity as the correct answer data of the occurrence information is preferably one that takes into consideration the time until the precipitation flows into the water purification plant. Specifically, the pre-injection turbidity is preferably the pre-injection turbidity of the raw water at a time point after the occurrence of the rainfall that is the time required for the raw water including the precipitation of the rainfall to arrive at the water purification plant from a specified area. This allows the pre-injection turbidity combined with the occurrence information in the teacher data to be the pre-injection turbidity of the raw water including the precipitation of the rainfall indicated by the occurrence information.

[0109] The learning unit 103 transmits the generated learning model to the estimation device 2b. 03 may store the generated learning model in the storage device 5a. In the latter case, the estimation device 2b reads out the learning model from the storage device 5a and uses it.

[0110] (Main configuration of estimation device 2b) The control unit 20b of the estimation device 2b includes a cluster identification unit 201, a chemical dosing rate estimation unit 202b, and a water quality estimation unit 204 (event identification unit).

[0111] When the occurrence of a turbid water factor is identified, the water quality estimation unit 204 estimates the pre-injection turbidity using the learning model generated by the learning unit 103. Specifically, the water quality estimation unit 204 acquires pinpoint rainfall occurrence information for the above-mentioned specified area from the weather information server 200. The water quality estimation unit 204 inputs the acquired occurrence information into the learning model and acquires an estimate of the pre-injection turbidity. Then, the water quality estimation unit 204 outputs the acquired estimate to the drug injection rate estimation unit 202b.

[0112] When the drug injection rate estimation unit 202b acquires an estimated value of the turbidity before injection from the water quality estimation unit 204, the drug injection rate estimation unit 202b estimates the drug injection rate of the coagulant to be injected into the raw water in the future, using the turbid water regression model 52. That is, the drug injection rate estimation unit 202b estimates the drug injection rate of the coagulant to be injected into the raw water including the precipitation of the rain that will flow into the water purification plant, using the turbid water regression model 52. The drug injection rate estimation unit 202b acquires the drug injection rate by inputting the turbidity before injection into the turbid water regression model 52. Then, the drug injection rate estimation unit 202b outputs the acquired drug injection rate to the output device 4 as an estimated result of the drug injection rate. Note that the estimation process of the drug injection rate using the regression model of the cluster identified by the cluster identification unit 201 is similar to the estimation process executed by the drug injection rate estimation unit 202, and therefore the description will not be repeated here.

[0113] <Learning model generation process flow> FIG. 12 is a flowchart showing an example of the flow of a learning model generation process executed by the learning unit 103 of the model generation device 1b.

[0114] The learning unit 103 acquires, as teacher data, occurrence information including the amount of precipitation of rainfall that occurred in a specific area, i.e., location data of the specific area, and pre-injection turbidity after the occurrence of the rainfall (S41). As an example, the learning unit 103 reads out a set of pairs (teaching data) of occurrence information and pre-injection turbidity stored in the storage of the model generating device 1b or the storage device 5a based on an instruction acquired from the input device 3. Alternatively, the learning unit 103 acquires, from the input device 3, the above set input by the user of the model generating device 1b.

[0115] The learning unit 103 performs machine learning using the acquired set of teacher data to generate a learning model in which the generation information is input and the pre-injection turbidity is output (S42).

[0116] The regression model generation process based on the clustering result, which is executed by the model generation device 1b, is similar to the regression model generation process executed by the model generation device 1, and therefore the description will not be repeated here. The regression model generation process for turbid water, which is executed by the model generation device 1b, is similar to the regression model generation process for turbid water, which is executed by the model generation device 1a, and therefore the description will not be repeated here.

[0117] (Update learning model) It is preferable that the learning unit 103 updates (automatically updates) the learning model. In this example, when the model generating device 1b receives occurrence information including location data of a predetermined area, a set (teacher data) of the occurrence information and the drug injection rate of the coagulant actually injected into the raw water into which the rainfall indicated by the occurrence information flows is stored in the storage or memory device 5a.

[0118] As an example, the learning unit 103 stores the teacher data in the storage or the storage device 5a. When a predetermined number of pieces of training data have been stored, all training data including the newly stored training data are read out and the learning model is updated. Note that the method of updating the learning model is the same as the method of generating the learning model, and therefore the description will not be repeated here.

[0119] Furthermore, since the update of the cluster 51 has been described in the first embodiment, and the update of the turbid water regression model 52 has been described in the second embodiment, the description will not be repeated here.

[0120] <Flow of drug injection rate estimation process> Fig. 13 is a flow chart showing an example of the flow of the drug injection rate estimation process executed by the estimation device 2b. Fig. 13 shows the flow of the process when estimating the drug injection rate of the coagulant to be injected into the raw water in the future in response to identifying the occurrence of a turbid water cause. Note that the process of estimating the drug injection rate of the coagulant to be injected into the current raw water (the drug injection rate estimation process when the occurrence information is not received) is similar to the drug injection rate estimation process executed by the estimation device 2, and therefore the description will not be repeated here.

[0121] The water quality estimation unit 204 receives information on the occurrence of rainfall in the above-mentioned specified area from the weather information server 200 (S51). In other words, when the occurrence of rainfall in the specified area is identified, the water quality estimation unit 204 estimates the pre-injection turbidity using the received occurrence information and the learning model generated by the learning unit 103 (S52). The water quality estimation unit 204 inputs the occurrence information into the learning model to obtain an estimate of the pre-injection turbidity. The water quality estimation unit 204 outputs the estimate to the drug injection rate estimation unit 202b.

[0122] The drug injection rate estimation unit 202b estimates the drug injection rate (S53) using the acquired estimated value of turbidity before injection and the muddy water regression model 52. The drug injection rate estimation unit 202b acquires the drug injection rate by inputting water quality data into the muddy water regression model 52. Then, the drug injection rate estimation unit 202b outputs the acquired drug injection rate to the output device 4 as an estimated result of the drug injection rate (S54).

[0123] <Effects> As described above, when the estimation device 2b included in the drug injection rate estimation system 100b of this embodiment identifies the occurrence of a turbidity factor that will cause the pre-injection turbidity to be equal to or greater than a predetermined threshold in the future raw water that will flow into the water purification plant in the future, the estimation device 2b estimates the drug injection rate of the coagulant to be injected into the future raw water using the turbid water regression model 52.

[0124] This makes it possible to estimate the dosage rate of the coagulant to be injected into the future raw water before the future raw water flows into the water purification plant when there is a high possibility that the future raw water will become highly turbid due to turbidity factors. Also, since it is possible to predict in advance that the future raw water will become highly turbid, it becomes possible to strengthen the monitoring of the turbidity before injection only when the raw water is predicted to be highly turbid.

[0125] The model generating device 1b included in the drug dosing rate estimation system 100b performs machine learning using, as an example, the generation information and the pre-injection turbidity as teacher data to generate a learning model that inputs the generation information and outputs the pre-injection turbidity. When a turbidity factor occurs, the estimation device 2b estimates the pre-injection turbidity using the generation information of the turbidity factor and the learning model. The estimation device 2b estimates the drug dosing rate of the flocculant to be injected into the future raw water using the estimated pre-injection turbidity and the turbid water regression model 52. This allows the estimation device 2b to estimate the drug dosing rate of the flocculant to be injected into the future raw water before the future raw water flows in.

[0126] [Modifications of the First to Third Embodiments] The data set acquired by the model generating devices 1 and 1a may include precipitation data on precipitation (rainfall) in a specific area before the raw water flows into the water purification plant, i.e., during the period when the raw water was present in the water intake target (such as a river). Here, the specific area is the area before the precipitation flows into the water purification plant. The specific area is an area where rainfall may have a major impact on water quality data, for example, an area (1 km square mesh) of a river basin upstream of a water purification plant where rainfall has the greatest impact on water quality data. There may be multiple specific areas. The precipitation data will be described as the total amount of precipitation (per hour) in the specific area, that is, the total amount of precipitation. The definition of the total amount of precipitation is not limited to this example. For example, the total amount of precipitation may be the total amount of precipitation per day.

[0127] FIG. 14 is a schematic diagram showing an example of a river 99 from which a water purification plant 90 takes in water, and is a diagram showing the specific regions. In FIG. 14, for ease of explanation, it is assumed that there are three specific regions (regions R1, R2, and R3). As an example, a data set generating device (not shown) that generates a data set communicates with a weather information server (not shown) based on an operation input by an operator, and acquires the hourly precipitation amounts of the regions R1, R2, and R3. As another example, the data set generating device may determine whether the hourly precipitation amounts of the regions R1, R2, and R3 are included in the acquired hourly precipitation amounts of the regions after acquiring the hourly precipitation amounts of the regions. The regional weather information server is a server of the Japan Meteorological Agency or a company that provides weather forecasts.

[0128] FIG. 15 is a diagram showing an example of calculation of the total precipitation amount. The example in FIG. 15 shows an example of calculation of the total precipitation amount contained in raw water flowing into the water purification plant 90 at 10:30 on a certain day. The time when the raw water flowed through the areas R1, R2, and R3 was before 10:30. In other words, there is a time lag between the time when the raw water flowed into the water purification plant 90 and the time when it flowed through the areas R1, R2, and R3. The data set generation device calculates the total precipitation amount taking this time lag into account.

[0129] Specifically, for each of the regions R1, R2, and R3, the time (i.e., time lag) required for raw water to reach the water purification plant 90 from each region is specified in advance. In the example of Fig. 15, the time is set to 60 minutes for region R1, 300 minutes for region R2, and 120 minutes for region R3.

[0130] The data set generating device calculates the amount of precipitation in each region at a time going back by the time lag from 10:30, the time when raw water flows into the water purification plant 90. In FIG. 15, this time is referred to as the "precipitation confirmation time." In the example of FIG. 15, the data set generating device acquires the amount of precipitation in region R1 at 9:30. The data set generating device also acquires the amount of precipitation in region R2 at 5:30. The data set generating device also acquires the amount of precipitation in region R3 at 8:30. In FIG. 15, these amounts of precipitation are referred to as "region-specific precipitation." In the example of FIG. 15, the regional precipitation in region R1 is 6 (mm / h), the regional precipitation in region R2 is 5 (mm / h), and the regional precipitation in region R3 is 4 (mm / h).

[0131] The data set generation device sums up the acquired precipitation amounts by region to calculate the total precipitation amount. In the example of Figure 15, the total precipitation amount is 6 + 5 + 4 = 15 (mm / h).

[0132] The data set generation device includes the calculated total precipitation amount in the data set of the raw water that flowed in at 10:30. As a result, the learning model generated by the model generation devices 1 and 1a takes into account the precipitation contained in the raw water.

[0133] The dataset may further include data on discharged water from a dam that may flow into the raw water (e.g., the discharge amount of the dam). In this example, the time required for the discharged water from the dam to reach the water purification plant 90 (i.e., the time lag) is specified in advance. The dataset generation device specifies the discharge amount at a point in time going back by the time lag from the time when the raw water flowed into the water purification plant 90, and includes it in the water quality data of the raw water that flowed in at 10:30.

[0134] In addition, the water quality data also includes the alkalinity of the raw water and the actual amount of water before coagulant injection. The injection rate of sodium hypochlorite actually injected into the raw water before the coagulant is injected may also include the injection rate of caustic soda actually injected into the raw water before the coagulant is injected.

[0135] In the first embodiment, the model generating device 1 and the estimation device 2 may be configured as an integrated device. Similarly, in the second embodiment, the model generating device 1a and the estimation device 2a may be integrated, and in the third embodiment, the model generating device 1b and the estimation device 2b may be integrated.

[0136] In the first to third embodiments, the estimation device may receive the cluster 51, the turbid water regression model 52, and the learning model generated by the model generation device from the model generation device, and store them in a storage of the estimation device itself.

[0137] In generating the cluster 51, the model generating devices 1, 1a and 1b may include in the set of datasets a dataset in which the turbidity at the outlet of the settling basin exceeds a threshold value T1.

[0138] Furthermore, in generating the cluster 51, the model generating devices 1a and 1b may include in the set of data sets data sets whose pre-injection turbidity is equal to or greater than the threshold value T2.

[0139] In the third embodiment, the water quality data may include data other than the turbidity before injection. For example, the water quality data may include at least any of the pH, water temperature, turbidity at the outlet of the settling basin, precipitation data, information on the discharged water from the dam, alkalinity of the raw water, the injection rate of sodium hypochlorite, and the injection rate of caustic soda, as described in the first embodiment and the above-mentioned modified examples.

[0140] The estimation device 2b may use the acquisition of the generation information as a trigger for a process of estimating the drug dosing rate of the coagulant injected into the current raw water. Specifically, when the water quality data of the current raw water is input, the estimation device 2b determines whether or not the generation information has been acquired. If the generation information has been acquired, the estimation device 2b estimates the drug dosing rate using a regression model for turbid water. On the other hand, if the generation information has not been acquired, the estimation device 2b estimates the drug dosing rate using a regression model of a cluster that is closest to the input water quality data and the center of gravity among the clusters 51. In this example, the control unit 20b of the estimation device 2b may not include the water quality estimation unit 204, and the control unit 10b of the model generation device 1b may not include the learning unit 103.

[0141] The estimation device 2b may output a notification to notify a worker at the water purification plant that the generation information has been acquired, so that the worker can recognize that highly turbid raw water is flowing in.

[0142] The estimation device 2b may be configured to determine whether or not the occurrence information includes information indicating the occurrence of rainfall in a specified area after receiving the rainfall occurrence information. In this example, the water quality estimation unit 204 determines whether or not the occurrence information includes information indicating the occurrence of rainfall in a specified area by, for example, determining whether or not the location data included in each of the acquired occurrence information matches the location data of the specified area stored in the storage. Then, when it is determined that the occurrence information indicating the occurrence of rainfall in the specified area is included, the water quality estimation unit 204 inputs the rainfall occurrence information of the specified area to the learning model.

[0143] [Embodiment 4] Further, another embodiment of the present invention will be described below. For convenience of explanation, the same reference numerals are given to members having the same functions as those described in the above embodiment, and the description thereof will not be repeated.

[0144] The drug injection rate estimation system 100c according to this embodiment periodically calculates clusters and regression models. and changes the update period in response to fluctuations in the predetermined parameters.

[0145] <Configuration of main parts of drug injection rate estimation system 100c> 16 is a block diagram showing an example of a configuration of a main part of the drug injection rate estimation system 100c. Hereinafter, for each component of the drug injection rate estimation system 100c, only the differences from the same component of the drug injection rate estimation system 100 will be described.

[0146] The drug injection rate estimation system 100c differs from the drug injection rate estimation system 100 in that it includes a model generating device 1c, an estimation device 2c, and a storage device 5c.

[0147] (Main configuration of model generating device 1c) The control unit 10c of the model generating device 1c includes a clustering unit 101, a regression model generating unit 102, an updating unit 104, a parameter determining unit 105 (determining unit), and an updating period switching unit .

[0148] The update unit 104 periodically executes update processing of the clusters and the regression model. Hereinafter, the length of the period is also referred to as the "update period." For example, the update unit 104 executes the update processing when the elapsed time measured by a timer (not shown) started when clustering is executed reaches a predetermined value. As an example, the standard value of the update period (period of the predetermined length) is one month.

[0149] As an update process, the update unit 104 reads the dataset 53 from the storage device 5c and outputs it together with an update instruction to the clustering unit 101. The dataset 53 is a collection of datasets, and includes datasets that have been generated since the previous cluster generation.

[0150] As a result, the update unit 104 causes the clustering unit 101 to add the data sets generated after the previous cluster generation to the clustering targets and regenerate the clusters. The clustering unit 101 outputs the regenerated clusters to the regression model generation unit 102.

[0151] As a result, the regression model generation unit 102 regenerates a regression model for each regenerated cluster. In other words, the update unit 104, in response to an update instruction, causes the regression model generation unit 102 to regenerate a regression model for each regenerated cluster.

[0152] Furthermore, when the update unit 104 receives a notification from the update cycle switching unit 106 that the update cycle has been switched, the update unit 104 executes an update process.

[0153] It is preferable that the time at which the update unit 104 executes the update process is constant regardless of the update period. The time may be, for example, 0:00. In this example, when the update unit 104 receives a notification from the update period switching unit 106 at a time other than 0:00, the update unit 104 waits until 0:00.

[0154] The parameter determination unit 105 determines which of the numerical ranges obtained by dividing the entire range of values ​​that the parameter can take into a plurality of ranges includes a given parameter, and determines whether the numerical range in which the parameter is included has changed since the previous determination. Note that the parameter is hereinafter referred to as an "update determination parameter."

[0155] The update determination parameters in this embodiment are at least one of the drug injection rate, pre-injection turbidity, and intake precipitation. The intake precipitation is the amount of precipitation at the intake of the inflowing water. The drug injection rate, pre-injection turbidity, and intake precipitation are parameters related to pre-injection turbidity, and more specifically, are parameters that directly or indirectly indicate an increase or decrease in pre-injection turbidity. Note that in this embodiment, the drug injection rate is an estimated value estimated by the estimation device 2c, and the pre-injection turbidity and intake precipitation are actual values. The parameter determination unit 105 receives the drug injection rate from the estimation device 2c. The parameter determination unit 105 receives the turbidity before injection and the precipitation at the water intake site input by an operator or the like from the input device 3. The parameter determination unit 105 may receive the precipitation at the water intake site from a device outside the drug injection rate estimation system 100c, for example, the weather information server 200 described in the third embodiment.

[0156] FIG. 17 is a diagram showing the correspondence between the numerical range of each update determination parameter and the update period. Table 81 shows the correspondence between the numerical range of the drug injection rate and the update period. In table 81, the numerical range of the drug injection rate "less than 25 mg / L" corresponds to the update period "one month". In addition, the numerical range of the drug injection rate "25 mg / L or more and less than 50 mg / L" corresponds to the update period "two weeks". In addition, the numerical range of the drug injection rate "50 mg / L or more and less than 75 mg / L" corresponds to the update period "one week". In addition, the numerical range of the drug injection rate "75 mg / L or more" corresponds to the update period "one day".

[0157] Table 82 shows the correspondence between the pre-injection turbidity value range and the update period. In table 82, the pre-injection turbidity value range "less than 50 degrees" corresponds to the update period "one month". Also, the pre-injection turbidity value range "50 degrees or more and less than 100 degrees" corresponds to the update period "two weeks". Also, the pre-injection turbidity value range "100 degrees or more and less than 150 degrees" corresponds to the update period "one week". Also, the pre-injection turbidity value range "150 degrees or more" corresponds to the update period "one day".

[0158] Table 83 shows the correspondence between the numerical range of the water intake location precipitation and the update period. In table 83, the numerical range of the water intake location precipitation "less than 5 mm / h" corresponds to the update period "one month". In addition, the numerical range of the water intake location precipitation "5 mm / h or more and less than 10 mm / h" corresponds to the update period "two weeks". In addition, the numerical range of the water intake location precipitation "10 mm / h or more and less than 15 mm / h" corresponds to the update period "one week". In addition, the numerical range of the water intake location precipitation "15 mm / h or more" corresponds to the update period "one day".

[0159] Note that the correspondence relationship between the numerical ranges and the update periods shown in FIG. 17 is just an example, and there is no intention to limit this correspondence relationship to the example shown in FIG.

[0160] When the parameter determination unit 105 receives these update determination parameters, the parameter determination unit 105 determines whether the numerical range to which the update determination parameters belong has been switched to a numerical range indicating an increase in pre-injection turbidity. Specifically, the parameter determination unit 105 identifies a numerical range in which the received update determination parameters are included. Then, the parameter determination unit 105 determines whether the identified numerical range is the same as the numerical range in which the previously received update determination parameters were included. If they are the same, the parameter determination unit 105 ends the process. If they are not the same, the parameter determination unit 105 determines whether the currently received update determination parameter has increased or decreased from the previously received update determination parameter. If it has increased, the parameter determination unit 105 outputs information indicating the update period associated with the identified numerical range to the update period switching unit 106. If it has decreased, the parameter determination unit 105 ends the process.

[0161] Moreover, the parameter determination unit 105 determines whether or not the numerical range to which the update parameter belongs has been switched to a numerical range indicating a decrease in pre-injection turbidity at each update period of the standard value. Specifically, when the update period is not the standard value (one month in this embodiment), the parameter determination unit 105 monitors the elapsed time measured by a timer (not shown) started when clustering is executed. Then, when the elapsed time reaches the standard value, the parameter determination unit 105 identifies the numerical range including the update determination parameter. When the identified numerical range is not the same as the previously identified numerical range and the update determination parameter has decreased, the parameter determination unit 105 outputs information indicating the update period associated with the identified numerical range to the update period switching unit 106. Hereinafter, this process will be referred to as "periodic determination".

[0162] When the parameter determination unit 106 determines that the numerical range has been switched, the update period switching unit 106 switches the update period of the cluster and the regression model to a length that is predetermined according to the numerical range after the switch. Specifically, when the update period switching unit 106 acquires information indicating the update period from the parameter determination unit 105, the update period switching unit 106 switches the current update period to the update period indicated by the information. When the update period is switched, the update period switching unit 106 notifies the update unit 104 of the switching. This causes the update process to be executed.

[0163] (Main configuration of estimation device 2c) Returning to Fig. 16, the explanation will be given. The control unit 20c of the estimation device 2c includes a cluster identification unit 201 and a drug injection rate estimation unit 202c. The drug injection rate estimation unit 202c transmits an estimate of the drug injection rate, i.e., the drug injection rate acquired from the regression model of the cluster identified by the cluster identification unit 201, to the parameter determination unit 105 of the model generation device 1c. As a result, the parameter determination unit 105 receives the estimate of the drug injection rate as described above.

[0164] <Specific example of update cycle switching process> Fig. 18 is a diagram showing a specific example of switching processing of update periods of clusters and regression models executed by the control unit 10c. Note that in Fig. 18, in order to easily explain the switching processing, only the estimated value of the drug injection rate is described as the update determination parameter.

[0165] Before timing t1, the estimated value of the drug injection rate is less than 25 mg / L. In other words, before timing t1, the update period of the cluster and the regression model is the standard value of one month (indicated as "1M" in FIG. 18). Also, at timing t1, one month has passed since the previous update, and the update unit 104 has executed the update process.

[0166] During the one month that has passed since timing t1, the estimated value of the drug injection rate has not become 25 mg / L or more, so the switching process is not executed during this period. At timing t2, one month after timing t1, the update unit 104 executes the update process.

[0167] At timing t3, the estimated value of the drug injection rate is equal to or greater than 25 mg / L and less than 50 mg / L. The parameter determination unit 105 specifies "two weeks" as the update period and outputs it to the update period switching unit 106. The update period switching unit 106 sets the update period to two weeks (shown as "2W" in FIG. 18). The update period switching unit 106 also notifies the update unit 104 that the update period has been switched. As a result, the update unit 104 executes the update process.

[0168] Timing t4 is a timing before two weeks have passed since timing t3. At timing t4, the estimated value of the drug injection rate is equal to or greater than 50 mg / L and less than 75 mg / L. The parameter determination unit 105 specifies "one week" as the update period and outputs it to the update period switching unit 106. The update period switching unit 106 sets the update period to one week (indicated as "1W" in FIG. 18). As a result, in the arrow 71 indicating the two-week update period set at the time of timing t3, of the solid line portion and the dotted line portion, only the solid line portion (i.e., from t3 to t4) is the period during which the update period was actually set to two weeks. In addition, the update period switching unit 106 notifies the update unit 104 that the update period has been switched. As a result, the update unit 104 executes the update process.

[0169] Timing t5 is the timing when one month has passed since timing t2, that is, the timing of periodic judgment. In the example of Fig. 18, since the update period at timing t5 is not the standard value of one month, the parameter judgment unit 105 specifies a numerical range that includes the estimated value of the drug injection rate at timing t5. Since the numerical range is equal to or greater than 50 mg / L and less than 75 mg / L, which is the same as the numerical range specified at timing t4, the parameter judgment unit 105 does not execute the process of switching the update period, and the update period is maintained at one week.

[0170] The timings t6 to t9 are the timings at which one week, which is the set update cycle, has elapsed since the previous update process. At the timings t6 to t9, the update unit 104 executes the update process.

[0171] Timing t10 ​​is the timing when one month has passed since timing t5, that is, the timing of periodic judgment. In the example of FIG. 18, since the update period at timing t10 ​​is not the standard value of one month, the parameter judgment unit 105 specifies a numerical range that includes the estimated value of the drug injection rate at timing t10. The numerical range is 25 mg / L or more and less than 50 mg / L, which is not the same as the numerical range specified at timing t4, and the estimated value of the drug injection rate has decreased. Therefore, the parameter judgment unit 105 outputs the update period "2 weeks" corresponding to the numerical range "25 mg / L or more and less than 50 mg / L" to the update period switching unit 106. The update period switching unit 106 sets the update period to 2 weeks. In addition, the update period switching unit 106 notifies the update unit 104 that the update period has been switched. As a result, the update unit 104 executes the update process.

[0172] At timings t11 and t12, two weeks, which is the set update period, has elapsed since the previous update process. At timings t11 and t12, the update unit 104 executes the update process.

[0173] Timing t13 is the timing when one month has passed since timing t10, that is, the timing of periodic judgment. In the example of FIG. 18, since the update period at timing t13 is not the standard value of one month, the parameter judgment unit 105 specifies a numerical range that includes the estimated value of the drug injection rate at timing t13. The numerical range is less than 25 mg / L, is not the same as the numerical range specified at timing t10, and the estimated value of the drug injection rate has decreased. Therefore, the parameter judgment unit 105 outputs the update period "one month" corresponding to the numerical range "less than 25 mg / L" to the update period switching unit 106. The update period switching unit 106 sets the update period to one month. In addition, the update period switching unit 106 notifies the update unit 104 that the update period has been switched. As a result, the update unit 104 executes the update process.

[0174] Timing t14 is the timing when one month has passed since timing t13, that is, the timing of periodic judgment. In the example of FIG. 18, since the update period at timing t14 is the standard value of one month, the parameter judgment unit 105 does not specify the numerical range including the estimated value of the drug injection rate at timing t14. Furthermore, timing t14 is the timing when one month, which is the set update period, has passed since the previous update process. Therefore, at timing t14, the update unit 104 executes the update process.

[0175] The parameter determination unit 105 and the update period switching unit 106 also perform the same process as described here for the update determination parameters, turbidity before injection and precipitation at the water intake site. That is, the model generating device 1c according to this embodiment switches the update period when the numerical range to which any one of the drug injection rate, turbidity before injection, and precipitation at the water intake site belongs is switched. When the update periods corresponding to the numerical ranges to which the multiple update determination parameters belong after switching are different from one another, the parameter determination unit 105 may output the shortest update period to the update period switching unit 106.

[0176] <Switching process flow> 19 is a flowchart showing an example of the flow of the switching process. In this flowchart, it is assumed that the update period at the time of step S61 is the standard value (one month in this embodiment).

[0177] First, the update unit 104 judges whether the update period has arrived (whether the update timing has come) (S61). If it is judged that the update timing has come (YES in S61), the update unit 104 executes the update process (S62). If it is judged that the update timing has not come (NO in S61), the switching process proceeds to step S63.

[0178] Here, the flow of the update process in step S62 will be described below. Fig. 20 is a flowchart showing an example of the flow of the update process.

[0179] The update unit 104 reads out a set of data sets, that is, the data set 53, from the storage device 5c (S71). Then, the update unit 104 outputs the data set 53 to the clustering unit 101.

[0180] The clustering unit 101 clusters the set (data set 53) and regenerates a plurality of clusters (S72). Then, the clustering unit 101 outputs the clustering result to the regression model generation unit .

[0181] The regression model generation unit 102 regenerates a regression model for each cluster (S73). As a result, the cluster 51 including a plurality of regression models is regenerated. The regression model generation unit 102 stores the cluster 51 in the storage device 5c. This ends the update process, and the process returns to the switching process.

[0182] 19 again, the rest of the switching process will be described. The parameter determination unit 105 determines whether the numerical range to which the received update determination parameter belongs has switched to a positive direction (S63). Here, "switching to a positive direction" means that the numerical range to which the currently received update determination parameter belongs (is included) is not the same as the numerical range to which the previously received update determination parameter belongs, and the value of the update determination parameter has increased.

[0183] When it is determined that the parameter has been switched to the positive direction (YES in S63), the update period switching unit 106 sets the update period to a period shorter than the standard value according to the numerical range to which the update judgment parameter belongs (S68). Specifically, the parameter judgment unit 105 outputs information indicating the update period corresponding to the numerical range to which the currently received update judgment parameter belongs to the update period switching unit 106. In the example of this embodiment, the update period indicated by the information is one of two weeks, one week, and one day, which is a period shorter than the standard value of one month, and is shorter than the current period. The update period switching unit 106 switches the current update period to the update period indicated by the acquired information. Furthermore, the update period switching unit 106 transmits a message to the update unit 104 indicating that the update period has been switched. This causes the update process of step S62 to be executed.

[0184] If it is determined that the parameter has not switched to the positive direction (NO in S63), the parameter determination unit 105 determines whether or not it is time for periodic determination (S64). If it is determined that it is time for periodic determination (YES in S64), the parameter determination unit 105 determines whether or not the current update period is a standard value (S65). If it is determined that the current update period is not a standard value (NO in S65), the parameter determination unit 105 identifies a numerical range to which the update determination parameter belongs (S66). Specifically, the parameter determination unit 105 identifies a numerical range that includes the update determination parameter at the timing of periodic determination.

[0185] Next, the parameter determination unit 105 determines whether the specified numerical range has switched to a negative direction (S67). Here, "switched to a negative direction" means that the numerical range to which the currently received update determination parameter belongs (is included) is not the same as the numerical range to which the previously received update determination parameter belongs, and the value of the update determination parameter has decreased.

[0186] When it is determined that the update period has been switched to the negative direction (YES in S67), the update period switching unit 106 sets the update period to a period longer than the current period according to the numerical range to which the update judgment parameter belongs (S69). Specifically, the parameter judgment unit 105 outputs information indicating the update period corresponding to the numerical range to which the currently received update judgment parameter belongs to the update period switching unit 106. In the example of this embodiment, the update period indicated by the information is one of the standard values ​​of one month, two weeks, or one week. The update period switching unit 106 switches the current update period to the update period indicated by the acquired information. Furthermore, the update period switching unit 106 transmits a message to the update unit 104 indicating that the update period has been switched. This causes the update process of step S62 to be executed.

[0187] If it is determined that the update period has not been switched to the negative direction (NO in S67), the switching process returns to step S61. Also, if it is determined in step S64 that the timing for periodic determination has not arrived (NO in S64) and if it is determined in step S65 that the update period is the standard value (YES in S65), the switching process returns to step S61.

[0188] <Effects> As described above, the model generating device 1c includes the update unit 104 that executes an update process every update period of a predetermined length (one month in this embodiment). This allows the model generating device 1c to periodically and automatically update the clusters and the regression model, thereby suppressing deterioration of the estimation accuracy of the drug injection rate using the regression model over time.

[0189] The model generating device 1c also includes an update period switching unit 106 which switches the update period to a period that is predetermined according to the numerical range after the switch and is shorter than the current update period when the numerical range to which at least any of the received drug injection rate, pre-injection turbidity, and precipitation at the water intake area belongs switches to a positive direction.

[0190] Increases in the dosing rate, pre-injection turbidity, and water intake precipitation indicate changes in meteorological conditions (such as heavy rainfall), which may cause changes in the raw water quality. This change in water quality may reduce the accuracy of the dosing rate estimation using the regression model. According to the above configuration, when the dosing rate, pre-injection turbidity, and water intake precipitation increase and change the corresponding numerical range, the update period is switched to a shorter period, so that the decrease in the accuracy of the dosing rate estimation using the regression model due to changes in the raw water quality can be suppressed.

[0191] The model generating device 1c also includes a parameter determining unit 105 that determines whether or not the numerical ranges to which at least any of the drug injection rate, pre-injection turbidity, and water intake precipitation belong have switched to the negative direction for each update period of the standard values ​​(one month in this embodiment). When it is determined that the numerical ranges have switched to the negative direction, the update period switching unit 106 switches the update period to a period that is predetermined according to the numerical range after the switch and is longer than the current update period.

[0192] The increased drug injection rate, the decrease in pre-injection turbidity, and the decrease in precipitation at the water intake site indicate that the changed weather conditions have returned to normal, that is, the fluctuation in the water quality of the raw water has become smaller. According to the above configuration, when it is determined that the numerical range to which the standard value belongs has changed in the determination performed at each update period of the standard value, the update period is switched to a longer period, so that the processing load due to the update of the cluster and the regression model can be reduced.

[0193] In addition, because the update period is switched periodically, rather than when the ranges of values ​​to which the chemical injection rate, pre-injection turbidity, and water intake precipitation belong are switched, it is possible to maintain high-frequency updates to a certain extent. This makes it possible to update the clusters and regression models frequently during periods when the effects of fluctuations in the water quality of the raw water may remain. As a result, It is possible to suppress a decrease in the accuracy of estimating the chemical dosing rate using a regression model due to fluctuations in the quality of the raw water.

[0194] In addition, the update unit 104 immediately executes an update process for at least any of the received chemical injection rate, pre-injection turbidity, and water intake precipitation when the range of values ​​to which these belong changes. This makes it possible to minimize the deterioration of the estimation accuracy of the chemical injection rate using the regression model due to fluctuations in the water quality of the raw water.

[0195] In addition, the parameter determination unit 105 uses the drug dosing rate estimated by the estimation device 2c to determine whether the numerical range to which the drug dosing rate belongs has changed. This allows the update period of the cluster and the regression model to be switched before the coagulant is injected into the raw water. In addition, the cluster and the regression model can be updated before the coagulant is injected into the raw water.

[0196] [Modification of the fourth embodiment] The parameter judging unit 105 may judge whether or not the numerical range to which the update judgment parameter belongs has switched to the negative direction at the timing when the update judgment parameter is received.

[0197] Fig. 21 is a flowchart showing an example of the flow of switching processing according to this modified example. In this flowchart, steps that execute the same processes as those in the flowchart shown in Fig. 19 are given the same step numbers as those in the flowchart of Fig. 19. Also, description of those steps will not be repeated here.

[0198] If it is determined that the numerical range to which the received update determination parameter belongs has not switched to the positive direction (NO in S63), the parameter determination unit 105 determines whether or not the numerical range has switched to the negative direction (S81). If it is determined that the numerical range has switched to the negative direction (YES in S81), the switching process proceeds to step S69. If it is determined that the numerical range has not switched to the negative direction (NO in S81), the switching process returns to step S61.

[0199] Only when the update period switching unit 106 switches the update period to a shorter period, the update period switching unit 106 may transmit a notification to the update unit 104. In other words, only when the update period is switched to a shorter period, the update unit 104 may execute an immediate update process.

[0200] In the fourth embodiment, the parameter determination unit 105 receives an estimated value of the drug injection rate and determines whether or not the numerical range to which the estimated value belongs has changed. In contrast, the parameter determination unit 105 may receive an actual value of the drug injection rate and determine whether or not the numerical range to which the value belongs has changed. In this example, the parameter determination unit 105 may receive the value from the input device 3. In other words, the input device 3 accepts an input operation of the actual value of the drug injection rate by an operator or the like, and transmits the value indicated by the input operation to the model generation device 1c.

[0201] In the fourth embodiment, the parameter determination unit 105 receives the actual values ​​of the pre-injection turbidity and the water intake precipitation and determines whether the numerical range to which the values ​​belong has changed. Alternatively, the parameter determination unit 105 may receive the estimated values ​​of the pre-injection turbidity and the water intake precipitation and determine whether the numerical range to which the values ​​belong has changed.

[0202] In this example, the model generating device 1c includes the learning unit 103 described in embodiment 3. Moreover, the estimation device 2c includes the water quality estimation unit 204 described in embodiment 3. The parameter determination unit 105 receives the pre-injection turbidity estimated by the water quality estimation unit 204, and determines whether the numerical range to which the pre-injection turbidity belongs has been switched.

[0203] In this example, the parameter determination unit 105 receives, for example, the weather information from the weather information server 200. The estimation unit 102 receives an estimate of precipitation at the water intake area (in other words, the expected precipitation at the water intake area) and determines whether the numerical range to which the estimate belongs has changed.

[0204] The update determination parameters are not limited to the chemical injection rate, the turbidity before injection, and the precipitation amount at the water intake site. For example, the update determination parameters may include the discharge amount of a dam located upstream of the water intake site.

[0205] In the fourth embodiment, the model generation device 1c is configured to switch the update period when the numerical range to which any of the update determination parameters belongs is switched. In contrast, the model generation device 1c may be configured to switch the update period when all of the update determination parameters are switched. In this example, the model generation device 1c switches to the update period when all of the update determination parameters belong to the numerical range corresponding to the same update period.

[0206] The updating unit 104 may not use all of the past data sets as the data set 53. The updating unit 104 may, for example, read out data sets from the present time to a predetermined period ago, and output them to the clustering unit 101. In other words, the updating unit 104 may update the clusters and the regression model using a moving window method.

[0207] Furthermore, for example, when the updating unit 104 receives a notification from the updating period switching unit 106, the updating unit 104 may identify a data set including water quality data similar to the update determination parameter that triggered the notification, i.e., the most recently received update determination parameter, and output the data set to the clustering unit 101. In other words, the updating unit 104 may update the clusters and the regression model using a just in time method.

[0208] The update unit 104 may update the turbid water regression model 52 described in the second embodiment by the method described in the fourth embodiment.

[0209] In the drug injection rate estimation system 100c according to the fourth embodiment, various modified examples of the first to third embodiments may be applied.

[0210] [Software implementation example] The control blocks of the model generating devices 1, 1a, 1b, and 1c, and the estimation devices 2, 2a, 2b, and 2c (particularly the control units 10, 10a, 10b, and 10c, and the control units 20, 20a, 20b, and 20c) may be realized by logic circuits (hardware) formed in an integrated circuit (IC chip) or the like, or by software.

[0211] In the latter case, the control units 10, 10a, 10b, and 10c, and the control units 20, 20a, 20b, and 20c are equipped with a computer that executes instructions of a program, which is software that realizes each function. This computer is equipped with, for example, at least one processor (control device), and at least one computer-readable recording medium that stores the program. In the computer, the processor reads the program from the recording medium and executes it, thereby achieving the object of the present invention. As the processor, for example, a CPU (Central Processing Unit) can be used. As the recording medium, a "non-transitory tangible medium", for example For example, in addition to a ROM (Read Only Memory), a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The computer may further include a RAM (Random Access Memory) into which the program is expanded. The program may be supplied to the computer via any transmission medium capable of transmitting the program (such as a communication network or broadcast waves). 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. .

[0212] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. The technical scope of the present invention also includes embodiments obtained by appropriately combining the technical means disclosed in the different embodiments. Furthermore, new technical features can be formed by combining the technical means disclosed in the respective embodiments.

[0213] [Additional Notes] Another aspect of the present invention can be expressed as follows. That is, a model generation device according to another aspect of the present invention is a model generation device that generates a regression model for estimating an injection rate of a coagulant to be injected into inflow water flowing into a water purification plant, and includes a clustering unit that generates a plurality of clusters by clustering a set of data sets including water quality data including pre-injection turbidity, which is the turbidity of the inflow water before the injection of a coagulant, and the injection rate of the coagulant injected into the inflow water, and a model generation unit that generates the regression model for each of the generated plurality of clusters, with the water quality data as an explanatory variable and the injection rate as a response variable.

[0214] According to the above configuration, the data set is clustered and a regression model is generated for each cluster, so that multiple regression models for estimating the injection rate can be generated, thereby improving the estimation accuracy of the injection rate according to the water quality.

[0215] In addition, in the model generating device according to another aspect of the present invention, the clustering unit may subject only the data sets in which the turbidity of the inflow water at the outlet of the settling basin is equal to or lower than a predetermined threshold to clustering.

[0216] According to the above configuration, a regression model generated from only a data set in which the turbidity of the water at the outlet of the settling basin is equal to or lower than a predetermined threshold can be used to estimate the injection rate. This makes it possible to estimate an injection rate of the coagulant that will make the turbidity of the water at the outlet of the settling basin equal to or lower than a predetermined threshold. Then, by injecting the coagulant at this injection rate, the possibility of highly turbid water flowing out can be reduced. As a result, it is possible to reduce the turbidity of the filtered water in the downstream rapid sand filter, reduce the frequency of backwashing in the rapid sand filter, and reduce the risk of infection with Cryptosporidium and the like by drinking the outflowing water.

[0217] In addition, in the model generating device according to another aspect of the present invention, the data set may include precipitation data including an amount of precipitation that affects the water quality of the inflow water.

[0218] According to the above configuration, a regression model is generated from a data set including the precipitation data, so that the coagulant injection rate can be estimated taking into account the precipitation that affects the water quality of the inflow water.

[0219] In addition, in a model generating device according to another aspect of the present invention, it is preferable that the amount of precipitation included in the precipitation data is the amount of precipitation in the area where the precipitation flows into the inflowing water, and is the amount of precipitation at a point in time going back from the time when the inflowing water flows in by the time it takes for the inflowing water to reach the water purification plant from that area.

[0220] According to the above configuration, the dataset contains water quality data of inflowing water that may include precipitation, and precipitation data including the amount of precipitation at the time the precipitation occurred in each region, making it possible to realize highly accurate estimation that takes into account the time lag it takes for water to reach the water purification plant from each region.

[0221] In addition, in the model generating device according to another aspect of the present invention, the regression model generated by the model generating unit may be a nonlinear regression model.

[0222] The applicant's verification has revealed that the correlation between the water quality data including the turbidity before injection and the injection rate of the coagulant is nonlinear. Therefore, the above configuration can improve the estimation accuracy of the injection rate compared to the case of the linear regression model.

[0223] In addition, a model generation device according to another aspect of the present invention may further include an update unit that executes an update process at each cycle of a predetermined length, and the update process may include causing the clustering unit to regenerate the clusters by adding the data sets generated since the previous cluster generation to the clustering target, and causing the model generation unit to regenerate the regression model for each of the regenerated clusters.

[0224] In the estimation of the drug injection rate according to the present invention, the applicant has found through verification that if the same cluster and regression model are continuously used, the deviation between the estimated value of the drug injection rate and the actual value becomes large. In contrast, according to the above configuration, the cluster and regression model can be periodically and automatically updated, so that the deterioration of the estimation accuracy of the drug injection rate using the regression model over time can be suppressed.

[0225] In addition, in a model generating device according to another aspect of the present invention, the model generating device may further include an update period switching unit that switches the period length of the update process to a predetermined length depending on the numerical range after the switch, when the numerical range to which the parameter related to the pre-injection turbidity belongs switches to a numerical range indicating an increase in the pre-injection turbidity.

[0226] When the parameter related to the pre-injection turbidity is switched to a range indicating an increase in the pre-injection turbidity, the deviation between the estimated value and the actual value of the drug injection rate may become large. In contrast, according to the above configuration, when the parameter related to the pre-injection turbidity is switched to a range indicating an increase in the pre-injection turbidity, the periodic length of the update process is switched to a length that is predetermined according to the range after the switch, so that the deviation can be suppressed by appropriately updating the cluster and the regression model. As a result, the deterioration of the estimation accuracy of the drug injection rate using the regression model due to the increase in the pre-injection turbidity can be suppressed.

[0227] In addition, in the model generating device according to another aspect of the present invention, the update unit may immediately execute the update process when the numerical range to which the parameter belongs is switched.

[0228] According to the above configuration, when a parameter related to pre-injection turbidity switches to a numerical range indicating an increase in pre-injection turbidity, an update process is executed immediately, so that the deviation between the estimated value of the drug injection rate and the actual value can be suppressed before the deviation becomes large.

[0229] In addition, the model generating device according to another aspect of the present invention further includes a determination unit that determines whether or not a numerical range to which the parameter belongs has switched to a numerical range indicating a decrease in the pre-injection turbidity for each period of the predetermined length, When the determination unit determines that the update process has been switched, the update cycle switching unit may switch the cycle length of the update process to a length that is determined in advance according to the numerical range after the switch.

[0230] When the parameter related to the pre-injection turbidity is switched to a range indicating a decrease in the pre-injection turbidity, the deviation between the estimated value of the drug injection rate and the actual value becomes smaller, and the need to update the cluster and the regression model frequently becomes lower. According to the above configuration, when the parameter related to the pre-injection turbidity is switched to a range indicating an increase in the pre-injection turbidity, the periodic length of the update process is changed. Since the length is switched to a predetermined length depending on the range of values ​​after the switch, the above-mentioned deviation can be suppressed by appropriately updating the cluster and the regression model.

[0231] In addition, since the update process cycle length is switched periodically, rather than when the parameter range is switched, it is possible to maintain high-frequency updates to a certain extent. This allows the cluster and regression model to be updated frequently during a period in which the effect of an increase in pre-injection turbidity may remain. As a result, it is possible to suppress a decrease in the accuracy of estimating the drug injection rate using the regression model due to an increase in pre-injection turbidity.

[0232] In addition, in the model generating device according to another aspect of the present invention, the parameters may be at least one of the injection rate, the turbidity before injection, and the precipitation in the area where the inflow water is taken.

[0233] Since all of these parameters directly or indirectly indicate an increase or decrease in pre-injection turbidity, by switching the periodic length of the update process based on the change in the numerical range to which these parameters belong, it is possible to suppress a decrease in the accuracy of estimating the drug injection rate using the regression model due to an increase in pre-injection turbidity.

[0234] In the model generating device according to another aspect of the present invention, the injection rate used as the parameter may be an injection rate estimated using the regression model.

[0235] According to the above configuration, the update frequency of the cluster and the regression model can be switched before the coagulant is injected into the inflow water. Also, in the aspect in which the update process is executed immediately when the numerical range to which the parameter belongs is switched, the cluster and the regression model can be updated before the coagulant is injected into the inflow water.

[0236] In addition, in a model generation device according to another aspect of the present invention, the model generation unit may generate a regression model for turbid water, which is a regression model in which the water quality data is an explanatory variable and the injection rate is a target variable, for a set consisting of only the data sets including the pre-injection turbidity equal to or greater than a predetermined threshold.

[0237] According to the above configuration, a regression model specialized for cases where the inflow water before coagulant injection is highly turbid is generated, so that it is possible to improve the estimation accuracy of the injection rate when the inflow water before coagulant injection becomes highly turbid due to some factor. This makes it possible to reduce the frequency of jar tests that need to be performed when the turbidity of the inflow water suddenly changes (when the turbidity suddenly increases), and to reduce the burden on the staff of the water purification plant.

[0238] In addition, in the model generating device according to another aspect of the present invention, it is preferable that the muddy water regression model generated by the model generating unit is a linear regression model.

[0239] According to the above-described configuration, a linear model that is more resistant to extrapolation than a nonlinear regression model is generated, so that the injection rate can be estimated fairly appropriately even for inflow water with an unprecedentedly high level of turbidity.

[0240] According to another aspect of the present invention, there is provided an estimation device that uses the regression model generated by the model generation device to estimate an injection rate of a flocculant to be injected into a current inflow, which is inflow currently flowing into the water purification plant, and includes a cluster identification unit that identifies one of the clusters based on a distance between water quality data including turbidity of the current inflow before injection of a flocculant and the plurality of clusters generated by the model generation device, and a regression model of the identified cluster. and an estimation unit that estimates an injection rate of the coagulant to be injected into the current inflow water.

[0241] According to the above configuration, the injection rate is estimated using a regression model of a cluster identified based on the distance from the water quality data of the current inflow water, thereby improving the estimation accuracy of the injection rate according to the water quality data of the current inflow water.

[0242] In addition, a model generating device according to another aspect of the present invention includes an estimation unit that estimates an injection rate of coagulant to be injected into the current inflow, which is the inflow currently flowing into the water purification plant, using the turbid water regression model generated by the model generating device when the turbidity before injecting a coagulant is equal to or greater than a predetermined threshold value.

[0243] According to the above-mentioned configuration, it is possible to improve the accuracy of estimating the injection rate when the inflow water before the coagulant injection becomes highly turbid due to some factor, thereby reducing the frequency of the jar test performed when the inflow water is highly turbid, and reducing the burden on the workers at the water purification plant.

[0244] In addition, a model generation device according to another aspect of the present invention includes an event identification unit that identifies the occurrence of an event in which the turbidity before injecting a coagulant is predicted to be equal to or greater than a predetermined threshold in future inflow water, which is inflow water that will flow into the water purification plant in the future, and an estimation unit that, when the occurrence of the event is identified, estimates the injection rate of coagulant to be injected into the future inflow water using the water quality data of the future inflow water estimated based on the event and the turbid water regression model generated by the model generation device.

[0245] According to the above configuration, when it is predicted that the inflowing water will become highly turbid, it is possible to estimate the injection rate of the coagulant into the inflowing water before the inflowing water flows in. In addition, since it is possible to predict that the inflowing water will become highly turbid, it is possible to strengthen the monitoring of the inflowing turbidity.

[0246] In addition, in order to solve the above-mentioned problems, a model generation method according to another aspect of the present invention is a model generation method executed by a model generation device that generates a regression model for estimating the injection rate of a coagulant to be injected into inflow water flowing into a water purification plant, and includes a clustering step of clustering a set of multiple data sets including water quality data including pre-injection turbidity, which is the turbidity of the inflow water before the coagulant is injected, and the injection rate of the coagulant injected into the inflow water to generate multiple clusters, and a model generation step of generating a regression model for each of the generated multiple clusters, with the water quality data as an explanatory variable and the injection rate as a target variable.

[0247] According to the above configuration, the same effects as those of the model generating device according to the other aspect of the present invention are achieved.

[0248] In addition, in order to solve the above problem, an estimation method according to another aspect of the present invention is an estimation method executed by an estimation device that estimates the injection rate of a coagulant to be injected into inflow water flowing into a water purification plant, using a regression model in which a set of multiple data sets including water quality data including pre-injection turbidity, which is the turbidity of the inflow water before injecting a coagulant, and the injection rate of the coagulant injected into the inflow water are clustered for each of a plurality of clusters, the water quality data being an explanatory variable and the injection rate being a target variable, the estimation method including: a cluster identification step of identifying one of the clusters based on the distance between the water quality data including the turbidity of the current inflow water before injecting a coagulant and the plurality of clusters generated by the model generation method; and an estimation step of estimating the injection rate of a coagulant to be injected into the current inflow water using the regression model of the identified cluster.

[0249] According to the above configuration, the same advantageous effects as those of the estimation device according to the other aspect of the present invention are achieved. [Explanation of symbols]

[0250] 1, 1a, 1b, 1c Model generation device 2, 2a, 2b, 2c Estimator 52 Regression model for turbid water 101, 101a Clustering Department 102, 102a Regression model generation unit (model generation unit) 104 Update Department 105 Parameter judgment unit (judgment unit) 106 Update period switching unit 201, 201a Cluster Identification Section 202, 202a, 202b, 202c Drug injection rate estimation section (estimation section) 204 Water Quality Estimation Unit (Event Identification Unit) 511 First Cluster (Cluster) 512 Second Cluster (Cluster) 513 3rd Cluster (Cluster) 521 First Regression Model (Regression Model) 522 Second Regression Model (Regression Model) 523 Third Regression Model (Regression Model)

Claims

1. A model generating device for generating a regression model for estimating an injection rate of a coagulant to be injected into influent water flowing into a water purification plant, A clustering unit that generates a plurality of clusters by clustering a set of data sets including water quality data including pre-injection turbidity, which is the turbidity of the inflow water before injecting a coagulant, and an injection rate of the coagulant injected into the inflow water; a model generation unit that generates the regression model for each of the generated clusters, the regression model having the water quality data as an explanatory variable and the injection rate as a response variable; An update unit that executes an update process at each period of a predetermined length, the update process is a process of causing the clustering unit to add the data set generated since the previous cluster generation to a clustering target to regenerate the clusters, and causing the model generation unit to regenerate the regression model for each of the regenerated clusters.

2. 2. The model generating device according to claim 1, further comprising an update period switching unit that, when a numerical range to which a parameter related to the pre-injection turbidity belongs is switched to a numerical range indicating an increase in the pre-injection turbidity, switches a period length of the update process to a length that is predetermined according to the numerical range after the switching.

3. The model generating device according to claim 2 , wherein the update unit immediately executes the update process when the numerical range to which the parameter belongs is switched.

4. A determination unit is further provided for determining whether or not a numerical range to which the parameter belongs has been switched to a numerical range indicating a decrease in the pre-injection turbidity for each period of the predetermined length, 4. The model generating device according to claim 2, wherein when the determination unit determines that the update process has been switched, the update cycle switching unit switches the cycle length of the update process to a length that is predetermined depending on the numerical range after the switch.

5. 5. The model generating device according to claim 2, wherein the parameters are at least one of the injection rate, the pre-injection turbidity, and the precipitation of an area where the inflow water is taken.

6. The model generating apparatus of claim 5 , wherein the injection rates used as the parameters are injection rates estimated using the regression model.

7. The model generation device according to any one of claims 1 to 6, wherein the model generation unit generates a turbid water regression model, which is the regression model in which the water quality data is an explanatory variable and the injection rate is a target variable, for a set consisting of only the data sets including the pre-injection turbidity equal to or greater than a predetermined threshold.

8. The model generating device according to claim 7 , wherein the turbid water regression model generated by the model generating unit is a linear regression model.

9. An estimation device that estimates an injection rate of a coagulant to be injected into a current inflow, which is an inflow currently flowing into the water purification plant, using the turbid water regression model generated by the model generation device according to claim 7 or 8, A cluster identification unit that identifies one of the clusters based on a distance between water quality data including the turbidity of the current inflow water before injection of a coagulant and the plurality of clusters generated by the model generation device; An estimation unit that estimates an injection rate of a flocculant to be injected into the current inflow water using the turbid water regression model of the specified cluster; An event identification unit that identifies the occurrence of an event in which the turbidity of a future inflow, which is inflow water that will flow into the water purification plant in the future, before injection of a flocculant is predicted to be equal to or greater than a predetermined threshold value; An estimation device comprising: an estimation unit that, when the occurrence of the event is identified, estimates the injection rate of coagulant to be injected into the future inflow water using the water quality data of the future inflow water estimated based on the event and the turbid water regression model.

10. A model generation method executed by a model generation device that generates a regression model for estimating an injection rate of a coagulant to be injected into influent water flowing into a water purification plant, comprising: A clustering step of clustering a set of multiple data sets including water quality data including pre-injection turbidity, which is the turbidity of the inflow water before injecting a flocculant, and an injection rate of the flocculant injected into the inflow water to generate multiple clusters; a model generation step of generating a regression model for each of the generated clusters, the regression model having the water quality data as an explanatory variable and the injection rate as a response variable; An update step of executing an update process at each period of a predetermined length, The update step regenerates the clusters by adding the data sets generated since the previous cluster generation to the clustering target in the clustering step, and regenerates the regression model for each of the regenerated clusters in the model generation step.

11. 11. The model generation method according to claim 10, wherein in the model generation step, a turbid water regression model is generated, which is the regression model in which the water quality data is an explanatory variable and the injection rate is a target variable, for a set consisting of only the data sets including the pre-injection turbidity equal to or greater than a predetermined threshold.

12. A method for estimating an injection rate of a flocculant to be injected into a current inflow, which is an inflow currently flowing into the water purification plant, using the turbid water regression model generated by the model generation method according to claim 11, A cluster identification step of identifying one of the clusters based on a distance between water quality data including the turbidity of the current inflow water before injection of a coagulant and the plurality of clusters generated by the model generation method; An estimation step of estimating an injection rate of a flocculant to be injected into the current inflow water using the turbid water regression model of the identified cluster; An event identification step of identifying an occurrence of an event in which the turbidity of a future inflow water, which is an inflow water that will flow into the water purification plant in the future, before the injection of a coagulant is predicted to be equal to or greater than a predetermined threshold value; When the occurrence of the event is identified, an estimation step is performed of estimating an injection rate of coagulant to be injected into the future inflow water using the water quality data of the future inflow water estimated based on the event and the turbid water regression model.

Citation Information

Patent Citations

  • Chemical injection control method and chemical injection controller

    JP2013094686A

  • Control system, control device, control method, and computer program

    JP2016143404A

  • Turbidity predicting system, turbidity controlling system and turbidity managing system

    JP2002119956A

  • System for controlling injection of flocculant and system for controlling injection of alkali agent in water purification plant

    JP2005329359A

  • Flocculant injection controller to be applied to water treatment plant

    JP2007061800A