Teacher data selection device, prediction model construction device, and teacher data selection method
By using a teacher data selection device to convert raw water turbidity into explanatory variables and select high-quality training data, the method improves prediction accuracy for flocculant injection rates in water purification facilities.
Patent Information
- Application Number
- JP2021213367
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-12-27
AI Technical Summary
Existing predictive models for flocculant injection rates in water purification facilities do not adequately account for turbidity changes, leading to decreased prediction accuracy.
A teacher data selection device that converts raw water turbidity into explanatory variables and selects high-quality training data based on correlations with sedimentation water turbidity to construct a predictive model for flocculant injection rates, using methods like Random Forest, Gradient Boosted tree Regression, or Neural Network.
The method enhances prediction accuracy by selecting high-quality training data, preventing decreases in model performance and ensuring accurate flocculant injection rates.
Smart Images

Figure 0007558922000001 
Figure 0007558922000002 
Figure 0007558922000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for predicting the injection rate of a coagulant used in a water purification facility. [Background technology]
[0002] Patent document 1 discloses a technology for constructing a predictive model in which sensing data and chemical injection data acquired over a long period of time in a water treatment system at a water purification plant are used as explanatory variables, and the chemical injection data at the next time point is used as the objective variable. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2017-123088 Summary of the Invention [Problem to be solved by the invention]
[0004] In the technology of Patent Document 1, since a model that takes into account the turbidity after coagulant injection is not constructed or reconstructed, there is a risk of a decrease in prediction accuracy.
[0005] One aspect of the present invention aims to provide a teacher data selection device, etc., which has a simple configuration and selects high-quality teacher data for accurately predicting the injection rate of a coagulant used in a water purification facility. [Means for solving the problem]
[0006] In order to solve the above problem, a teacher data selection device according to one embodiment of the present invention includes an adding unit that adds teacher data to a teacher data group for constructing a predictive model in which attribute data indicating the attributes of raw water, including raw water turbidity, which is the turbidity of the raw water flowing into a water purification facility, is used as an explanatory variable, and the injection rate of a coagulant injected into the raw water is used as an objective variable, and a selection unit that selects a portion of a data set from a collection of data sets each including the raw water turbidity and settled water turbidity, which is the turbidity of the supernatant liquid in a settling tank that treats the raw water after the coagulant is injected, based on the correlation between the raw water turbidity and the settled water turbidity obtained from the collection, and the adding unit adds teacher data to the teacher data group, the attribute data of raw water having the raw water turbidity in the selected data set being used as an explanatory variable, and the injection rate of the coagulant injected into the raw water being used as an objective variable.
[0007] A typical example of raw water attribute data here is the raw water quality, including raw water turbidity, but other examples include the raw water flow rate, whether or not there is release from a dam located upstream of the water purification facility, and the mixing ratio of water from multiple sources in cases where there are multiple sources of raw water.
[0008] According to the above configuration, the attribute data of raw water having a raw water turbidity selected based on the correlation between the raw water turbidity and the settled water turbidity is used as an explanatory variable, and the teacher data having the injection rate of the coagulant injected into the raw water as a target variable is added to the teacher data group. Therefore, the newly added teacher data can be selected according to the above selection method.
[0009] As an example, it is possible to select only good quality training data that contributes to maintaining or improving prediction performance. In particular, it is possible to select training data that uses as explanatory variables only attribute data having raw water turbidity from a data set in which the sedimentation water turbidity is relatively low (the raw water has been appropriately treated) from a set of attribute data showing similar trends (similar raw water attributes). This makes it possible to eliminate training data that is likely to cause poor coagulation, and as a result, it is possible to prevent a decrease in the prediction accuracy of the reconstructed prediction model.
[0010] In the teacher data selection device of this embodiment, the selection unit may select, from the data sets included in the set, those data sets whose values of the sedimentation water turbidity are below the boundary defined by the correlation line obtained from the correlation.
[0011] In general operational performance data, the correlation line obtained from the correlation between raw water turbidity and settled water turbidity tends to show a lower rate of increase in settled water turbidity as the raw water turbidity increases. Also, in general operational performance data, the closer the raw water turbidity is to the average raw water turbidity, the more numerous the data sets are around the correlation line, whereas the higher the raw water turbidity is, the fewer the data sets are usually scattered.
[0012] Therefore, according to the above configuration, in the range where the raw water turbidity is close to the average raw water turbidity, poor quality teacher data (i.e., teacher data with relatively high sedimentation water turbidity) is not adopted, while in the range where the raw water turbidity is relatively high, the number of teacher data can be secured while preventing the number of poor quality teacher data from becoming too large. Therefore, compared to a method in which, for example, the data set with a sedimentation water turbidity below a predetermined value (e.g., 1 degree) is uniformly adopted as teacher data, it is possible to appropriately balance the quality and quantity of teacher data.
[0013] In the teacher data selection device according to this aspect, the selection unit may select the data set in which the raw water turbidity value is equal to or greater than a first threshold value. According to the above configuration, it is possible to select high-quality teacher data selected based on the correlation between raw water turbidity and settled water turbidity in a range in which the raw water turbidity value is equal to or greater than a first threshold value (e.g., 100 degrees). In general, the higher the raw water turbidity, the more difficult the prediction becomes, so by selecting high-quality teacher data in a range in which the raw water turbidity is relatively high, it is possible to prevent a decrease in the prediction accuracy of the reconstructed prediction model.
[0014] In the teacher data selection device according to this aspect, the selection unit may select the data set in which the value of the settled water turbidity is equal to or less than a second threshold. According to the above configuration, as will be described in detail later, by setting the upper limit value of the settled water turbidity that maximizes the correlation between the predicted value and the actual value regarding the coagulant injection rate as the second threshold, it is possible to select a data set suitable for the water purification facility, and as a result, it is possible to improve the prediction accuracy of the reconstructed prediction model.
[0015] In the teacher data selection device of this embodiment, the selection unit may use a new line obtained by uniformly adding or subtracting a value corresponding to an input operation to each of the settled water turbidity values on the correlation line as a boundary, and select the data set whose settled water turbidity value falls below the boundary.
[0016] According to the above-mentioned configuration, it is possible to change the positional relationship between the set of data sets and the correlation line, and as a result, it is possible to change the number of data sets whose values of the turbidity of the settled water are below the boundary. This change is suitable, for example, when it becomes necessary to change the management target of the turbidity of the settled water (for example, when it becomes difficult to reduce the turbidity of the settled water due to environmental changes, etc.).
[0017] In the teacher data selection device according to this aspect, the selection unit may determine the correlation line modified in response to an input operation for modifying the shape of the correlation line as the boundary. According to the above configuration, the shape of the correlation line can be changed, and as a result, the number of data sets whose sedimentation water turbidity values are below the boundary can be changed. This modification is suitable, for example, when it is necessary to select teacher data according to the environment of a water purification facility. Note that modifying the shape of the correlation line also includes changing the slope of the correlation line.
[0018] In the teacher data selection device according to this aspect, the selection unit may narrow down the selected data sets based on a correlation between the raw water turbidity and the injection rate, which is obtained from a collection of data sets each including the raw water turbidity and the injection rate. According to the above configuration, teacher data in which the injection rate is taken into consideration can be selected.
[0019] A teacher data selection device according to another aspect of the present invention comprises an adding unit that adds teacher data to a teacher data group for constructing a predictive model in which attribute data indicating the attributes of the raw water, including raw water turbidity, which is the turbidity of the raw water flowing into a water purification facility, is used as an explanatory variable, and the injection rate of a coagulant injected into the raw water is used as an objective variable, and a selection unit that selects a portion of a data set from a collection of data sets in which the raw water turbidity and the injection rate are a pair, based on the correlation between the raw water turbidity and the injection rate obtained from the collection, and the adding unit adds teacher data to the teacher data group, the teacher data having the attribute data of raw water having the raw water turbidity in the selected data set as an explanatory variable, and the injection rate in the data set as the objective variable.
[0020] According to the above configuration, the attribute data of raw water having a raw water turbidity selected based on the correlation between the raw water turbidity and the coagulant injection rate is used as an explanatory variable, and the teacher data having the injection rate of the coagulant injected into the raw water as a target variable is added to the teacher data group. Therefore, the newly added teacher data can be selected according to the above selection method.
[0021] In the teacher data selection device according to the above aspect, the selection unit may narrow down the selected data sets to those whose injection rate value is below a boundary defined by a correlation line obtained from the correlation between the raw water turbidity and the injection rate. According to the above configuration, teacher data with a relatively low flocculant cost can be selected.
[0022] A prediction model construction device according to yet another aspect of the present invention includes a construction unit that constructs the prediction model using the teacher data group to which teacher data has been added by the teacher data selection device having the above configuration. With the above configuration, a prediction model can be constructed using the teacher data group to which teacher data has been added by the teacher data selection device. Thus, a prediction model in which a decrease in prediction accuracy is suppressed can be generated.
[0023] A teacher data selection method according to yet another aspect of the present invention is a teacher data selection method executed by one or more information processing devices, and includes an additional step of adding teacher data to a teacher data group for constructing a predictive model in which attribute data indicating the attributes of the raw water, including raw water turbidity, which is the turbidity of the raw water flowing into a water purification facility, is used as an explanatory variable, and the injection rate of a coagulant injected into the raw water is used as an objective variable, and further includes a selection step of selecting a portion of the data group from a collection of data sets each including the raw water turbidity and the settled water turbidity, which is the turbidity of the supernatant liquid in a settling tank in which the raw water is treated after the coagulant is injected, based on the correlation between the raw water turbidity and the settled water turbidity obtained from the collection, and the additional step adds teacher data to the teacher data group, the attribute data of the raw water having the raw water turbidity in the selected data set being used as an explanatory variable, and the injection rate of the coagulant injected into the raw water being used as an objective variable.
[0024] A teacher data selection method according to yet another aspect of the present invention is a teacher data selection method executed by one or more information processing devices, and includes an additional step of adding teacher data to a teacher data group for constructing a predictive model in which attribute data indicating the attributes of the raw water, including raw water turbidity, which is the turbidity of the raw water flowing into a water purification facility, is used as an explanatory variable, and the injection rate of a coagulant injected into the raw water is used as an objective variable, and further includes a selection step of selecting a portion of the data set from a collection of data sets in which the raw water turbidity and the injection rate are a pair, based on the correlation between the raw water turbidity and the injection rate obtained from the collection, and the additional step adds teacher data to the teacher data group, the teacher data having the attribute data of the raw water having the raw water turbidity in the selected data set as an explanatory variable, and the injection rate in the data set as the objective variable.
[0025] According to the above method, it is possible to achieve the same effects as those achieved by the above-mentioned teacher data selection device.
[0026] The teacher data selection device and the predictive model construction device relating to each aspect of the present invention may be realized by a computer. In this case, the control program for the teacher data selection device and the predictive model construction device that realizes the teacher data selection device and the predictive model construction device on a computer by causing the computer to operate as each part (software element) of the teacher data selection device and the predictive model construction device, and the computer-readable recording medium on which it is recorded, also fall within the scope of the present invention. Effect of the Invention
[0027] According to one aspect of the present invention, a simple configuration makes it possible to select high-quality teacher data for accurately predicting the injection rate of a coagulant used in a water purification facility. [Brief description of the drawings]
[0028] [Figure 1] 1 is a diagram showing an overview of a water treatment system according to an embodiment of the present invention. [Diagram 2] 2 is a block diagram showing an example of a configuration of a main part of an injection rate estimation system in the water treatment system. FIG. [Diagram 3] 10 is a flowchart showing an example of the flow of a teacher data selection process executed by a teacher data selection device in the injection rate estimation system. [Figure 4] 1 is a graph showing an example of the correlation between raw water turbidity and settled water turbidity. [Diagram 5] 13 is a graph showing an example of the correlation, and is a graph showing an example of selection performed by a selection unit of the teacher data selection device. [Figure 6] 5 is a flowchart showing an example of a flow of a prediction model construction process and an injection rate estimation process executed by a prediction model construction device and an estimation device, respectively, in the injection rate estimation system. [Figure 7] 13 is a graph showing an example of the correlation, and is a graph showing another selection example executed by the selection unit. [Figure 8]13 is a graph showing an example of the correlation, illustrating yet another selection example executed by the selection unit. [Figure 9] 13 is a graph showing an example of the correlation, illustrating yet another selection example executed by the selection unit. [Figure 10] 13 is a graph showing an example of the correlation, illustrating yet another selection example executed by the selection unit. [Figure 11] 11 is a block diagram showing an example of a configuration of a main part of an injection rate estimation system in a water treatment system according to another embodiment of the present invention. FIG. [Figure 12] 10 is a flowchart showing an example of the flow of a teacher data selection process executed by a teacher data selection device in the injection rate estimation system. [Figure 13] 1 is a graph showing an example of the correlation between raw water turbidity and the injection rate of a flocculant. [Figure 14] 13 is a graph showing an example of the correlation, and is a graph showing an example of selection performed by a selection unit of the teacher data selection device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] Hereinafter, embodiments of the present invention will be described in detail. For the sake of convenience, the same reference numerals will be used to designate members having the same functions as those in the embodiments, and descriptions thereof will be omitted as appropriate.
[0030] [Embodiment 1] An embodiment of the present invention will be described with reference to FIGS.
[0031] (Water Treatment System) Fig. 1 is a diagram showing an overview of a water treatment system according to the present embodiment. The water treatment system 1 of the present embodiment realizes a coagulation and sedimentation process in which solids such as suspended matter contained in raw water flowing into a water purification facility from, for example, a river are coagulated by a coagulant and separated from the raw water by gravitational sedimentation.
[0032] As shown in FIG. 1, the water treatment system 1 includes a receiving well 101, a rapid mixing basin 102, a flocculation basin 103, and a settling basin 104 as facilities for implementing the coagulation and sedimentation process.
[0033] The receiving well 101 is a tank for suppressing the disturbance of the water surface caused by the raw water conveyed through the water conveyance pipe and for ensuring the hydraulic stability of the raw water conveyed to the equipment following the receiving well 101.
[0034] The receiving well 101 is provided with a water quality meter 111. The water quality meter 111 measures the quality of the raw water that has been received in the receiving well 101. The water quality is at least turbidity, and other examples include color, water temperature, conductivity, pH (hydrogen ion concentration index), alkalinity (acid consumption), ultraviolet light absorbance, etc. Data indicating the water quality measured by the water quality meter 111 is input to the injection rate estimation system 2.
[0035] A flow meter 112 is provided in the water conveyance pipe between the receiving well 101 and the rapid mixing basin 102. The flow meter 112 measures the flow rate of the treated water sent from the receiving well 101 to the rapid mixing basin 102. The data of the flow rate measured by the flow meter 112 is input to a coagulant injection device 113.
[0036] The rapid mixing basin 102 is a mixing basin for injecting a coagulant into the raw water sent from the receiving well 101 to rapidly mix it. Here, the coagulant is a chemical agent for coagulating substances contained in the raw water. The coagulant is, for example, polyaluminum chloride (PAC) or aluminum sulfate (aluminum sulfate), and is injected into the rapid mixing basin 102 by a coagulant injector 113.
[0037] The rapid mixing basin 102 is provided with a rapid mixer 114 for carrying out the rapid mixing. The rapid mixer 114 is, for example, a flash mixer. The rapid mixer 114 may be one that operates at a constant mixing speed, or one that can adjust the mixing speed by controlling a motor. In the rapid mixing basin 102, minute flocs are formed by the injection of a coagulant and the mixing by the rapid mixer 114. The treated water containing such minute flocs is sent to the subsequent flocculation basin 103, where further agglomeration of the flocs is promoted in the facilities following the flocculation basin 103.
[0038] The flocculation basin 103 is a water tank for forming larger flocs in the treated water. The flocculation basin 103 is equipped with a slow speed agitator 115. Agitation of the treated water by the slow speed agitator 115 promotes further agglomeration of the flocs. The slow speed agitator 115 is, for example, a flocculator. The treated water in the flocculation basin 103 is sent to the downstream settling basin 104 after a predetermined period of agitation.
[0039] The settling basin 104 is a basin for settling and separating agglomerated flocs contained in the inflow from the flocculation basin 103. The inflow is retained in the settling basin 104 for a predetermined time (for example, about 1 to 3 hours), whereby flocs having large particle sizes formed in the flocculation basin 103 settle by gravity. As a result, the flocs are separated from the treated water, and the supernatant liquid is sent to a filtration basin (not shown) as settled water. Note that a facility for carrying out additional treatment such as ozone treatment or biological activated carbon treatment on the treated water sent to the filtration basin may be provided downstream of the settling basin 104. The flocs that have settled in the settling basin 104 are extracted as sludge and sent to a sludge treatment facility (not shown).
[0040] A water quality meter 116 is provided between the settling basin 104 and the filtration basin. The water quality meter 116 measures the water quality of the settling water sent to the filtration basin. The water quality is at least turbidity, and other examples include color, etc. Data indicating the water quality measured by the water quality meter 116 is input to the injection rate estimation system 2.
[0041] The filter basin is a basin equipped with a filtration system that filters the settled water flowing in from the settling basin 104. In the filter basin, minute solids remaining in the settled water are separated by filtration. The filtered settled water is disinfected with a chlorine agent and then supplied to consumers as tap water.
[0042] (Injection rate estimation system) As shown in Fig. 1, the water treatment system 1 includes an injection rate estimation system 2. The injection rate estimation system 2 estimates the injection rate of the coagulant to be injected into the raw water according to the attributes of the raw water. Here, the injection rate is the ratio of the coagulant to be injected into the raw water relative to the raw water. Conventionally, the injection rate has been determined using the results of a jar test, past knowledge, a predetermined calculation formula, etc.
[0043] The injection rate estimation system 2 outputs the estimated injection rate to the flocculant injector 113. The flocculant injector 113 determines the injection amount of flocculant based on the flow rate data from the flowmeter 112 and the injection rate from the injection rate estimation system 2, and injects it into the rapid mixing basin 102. The injection rate estimation system 2 may be configured by one information processing device having a hardware and software configuration group, or may be configured by multiple information processing devices.
[0044] 2 is a block diagram showing an example of a configuration of a main part of the injection rate estimation system 2. The injection rate estimation system 2 includes a teacher data selection device 11, a prediction model construction device 12, an estimation device 13, an input device 14, an output device 15, and a storage device 16.
[0045] The input device 14 accepts a user input and outputs an input signal based on the input to the training data selection device 11, the prediction model construction device 12, or the estimation device 13.
[0046] The output device 15 outputs the information generated by the estimation device 13. The output method by the output device 15 is not particularly limited. For example, the output device 15 may be a display device that displays the information as an image, or may be an audio output device that outputs the information as audio. Moreover, the output device 15 may be a control signal output device that outputs the information to the coagulant injector 113 as an electrical signal.
[0047] The storage device 16 holds programs and data used in the injection rate estimation system 2. The storage device 16 includes an input data storage unit 31, a teacher data storage unit 32, and a prediction model storage unit 33. The data held (stored) in these storage units 31 to 33 will be described later.
[0048] (Predictive model building device) The predictive model construction device 12 constructs a predictive model for estimating the injection rate of coagulant to be injected into raw water. The predictive model construction device 12 includes a control unit 40. The control unit 40 controls each part of the predictive model construction device 12. The control unit 40 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 40 is configured.
[0049] The control unit 40 includes a construction unit 41. Furthermore, the teacher data storage unit 32 of the storage device 16 stores a teacher data group which is a collection of teacher data. The teacher data is data in which attribute data indicating the attributes of the raw water is associated with the injection rate of the coagulant injected into the raw water. Furthermore, the prediction model storage unit 33 of the storage device 16 stores a prediction model constructed using the teacher data group.
[0050] A typical example of the attribute data is the water quality of the raw water, including the raw water turbidity, which is the turbidity of the raw water. Other examples include the flow rate of the raw water, whether or not there is release from a dam located upstream of the water purification facility, and the mixing ratio of water from multiple sources of raw water in cases where there are multiple sources of the raw water.
[0051] The construction unit 41 performs machine learning using a group of teacher data read from the teacher data storage unit 32, and constructs a prediction model as a learning model. In this teacher data, attribute data including (having) the raw water turbidity is an explanatory variable, and the injection rate of the coagulant is an objective variable. When the attribute data is input as an explanatory variable to the prediction model, the injection rate corresponding to the attribute data is output in the prediction model.
[0052] The construction unit 41 generates a regression model obtained by, for example, a random forest (RF), a gradient boosted tree regression (GBR), or a neural network (NN) as the prediction model. The construction unit 41 stores the constructed prediction model in the prediction model storage unit 33.
[0053] (estimation device) The estimation device 13 estimates the injection rate of the coagulant to be injected into the raw water by using the prediction model constructed by the prediction model construction device 12. The estimation device 13 includes a control unit 50. The control unit 50 controls each unit of the estimation device 13. The control unit 50 has the same hardware configuration as the control unit 40, and therefore the description thereof will be omitted.
[0054] The control unit 50 includes an injection rate estimation unit 51. The injection rate estimation unit 51 estimates the injection rate of the flocculant to be injected into the raw water by using a prediction model read from the prediction model storage unit 33. The injection rate estimation unit 51 acquires the injection rate of the flocculant by inputting attribute data of the raw water into the prediction model. Then, the injection rate estimation unit 51 causes the output device 15 to output the acquired injection rate as an estimated result of the injection rate. When the output device 15 is the above-mentioned control signal output device, the flocculant injector 113 can inject the flocculant into the raw water based on the injection rate.
[0055] (Teacher data selection device) The teacher data selection device 11 selects the teacher data described above. The teacher data selection device 11 may be configured by one information processing device having a hardware and software configuration group, or may be configured by multiple information processing devices. In this embodiment, for the sake of simplicity, the teacher data selection device 11 will be described as being configured by one information processing device.
[0056] The teacher data selection device 11 includes a control unit 20. Note that the control unit 20 has the same hardware configuration as the control units 40 and 50, and therefore a description thereof will be omitted.
[0057] The control unit 20 includes an acquisition unit 21, a selection unit 22, and an addition unit 23. Furthermore, the input data storage unit 31 of the storage device 16 stores a collection of input data that is data input from the input device 14. The input data includes attribute data of the raw water, an injection rate of a flocculant injected into the raw water, and a settled water turbidity that is the turbidity of the supernatant liquid (settled water) in a settling basin 104 that treats the raw water after the flocculant is injected.
[0058] The acquiring unit 21 acquires the input data from the input device 14. The acquiring unit 21 stores the acquired input data in the input data storage unit 31. The acquiring unit 21 stores the input data in the input data storage unit 31 at each predetermined timing, whereby a set of the input data is stored in the input data storage unit 31.
[0059] The selection unit 22 extracts a set of data pairs each consisting of raw water turbidity, which is the turbidity of raw water, and settled water turbidity, from the set of input data read out from the input data storage unit 31, and selects a part of the data pairs from the set based on the correlation between the raw water turbidity and the settled water turbidity obtained from the set of extracted data pairs. The selection unit 22 sends the selected data sets to the addition unit 23. The selection by the selection unit 22 will be described in detail later.
[0060] The addition unit 23 acquires attribute data of raw water having raw water turbidity in the data set from the selection unit 22 and the injection rate of the coagulant injected into the raw water from the input data of the input data memory unit 31, and adds teacher data having the attribute data as an explanatory variable and the injection rate as an objective variable to the teacher data group in the teacher data memory unit 32.
[0061] According to the above configuration, the attribute data of raw water having a raw water turbidity selected based on the correlation between the raw water turbidity and the settled water turbidity is used as an explanatory variable, and the teacher data having the injection rate of the coagulant injected into the raw water as a target variable is added to the teacher data group. Therefore, the newly added teacher data can be selected according to the above selection method.
[0062] As an example, it is possible to select only good quality training data that contributes to maintaining or improving prediction performance. In particular, it is possible to select training data that uses as explanatory variables only attribute data having raw water turbidity from a data set in which the sedimentation water turbidity is relatively low (the raw water has been appropriately treated) from a set of attribute data showing similar trends (similar raw water attributes). This makes it possible to eliminate training data that is likely to cause poor coagulation, and as a result, it is possible to prevent a decrease in the prediction accuracy of the reconstructed prediction model.
[0063] For example, if the attribute data is only raw water turbidity, then as an example, training data can be selected that uses only raw water turbidity as an explanatory variable from a data set in which the raw water turbidity is around 100 degrees and the settled water turbidity is 0.9 degrees or less. Similarly, as an example, training data can be selected that uses only raw water turbidity as an explanatory variable from a data set in which the raw water turbidity is around 200 degrees and the settled water turbidity is 1.4 degrees or less.
[0064] Also, from among the thus selected teacher data, the teacher data may be further narrowed down based on attribute data different from the raw water turbidity. For example, the teacher data may be narrowed down to those having only attribute data in which the raw water pH is within a predetermined range as explanatory variables. As an example, among a set of attribute data in which the raw water turbidity is around 100 degrees and the raw water pH is around 6.8, teacher data may be selected having only attribute data having raw water turbidity of a data set in which the sedimentation water turbidity is 0.9 degrees or less as explanatory variables. Alternatively, teacher data may be selected having only attribute data having raw water pH around 6.8 as explanatory variables from among attribute data having raw water turbidity of a data set in which the raw water turbidity is around 100 degrees and the sedimentation water turbidity is 0.9 degrees or less.
[0065] (Teacher data selection process) Fig. 3 is a flow chart showing an example of the flow of the teacher data selection process executed by the teacher data selection device 11. As shown in Fig. 3, the acquisition unit 21 acquires a set of input data including attribute data of raw water, an injection rate of a flocculant injected into the raw water, and a settled water turbidity in a settling basin 104 that treats the raw water after the flocculant is injected (step S11, hereinafter, the description of "step" is omitted). Next, the selection unit 22 extracts a set of data pairs each including a raw water turbidity and a settled water turbidity from the set of input data, and obtains a correlation between the raw water turbidity and the settled water turbidity from the extracted set of data pairs (S12).
[0066] FIG. 4 is a graph showing an example of the correlation between the raw water turbidity and the settled water turbidity obtained from the set of data sets. In FIG. 4, the correlation line CC between the raw water turbidity and the settled water turbidity is shown by a dashed line. Referring to FIG. 4, when the raw water turbidity is low (for example, less than 100 degrees), the settled water turbidity tends to increase as the raw water turbidity increases, but if appropriate coagulant injection control is performed according to the raw water turbidity, the settled water turbidity hardly increases. It can also be seen that the lower the raw water turbidity, the more data sets there are, while the higher the raw water turbidity, the fewer and more scattered the data sets are.
[0067] The correlation line CC may be a straight line, a curved line, or a stepped line on the graph. The correlation line CC may be automatically calculated based on statistical processing or the like, or may be corrected according to an input operation from the input device 14 after the automatic calculation.
[0068] Furthermore, the correlation line CC does not need to be updated frequently. For example, the selection unit 22 may continue to use the correlation line CC that was initially obtained using a set of past input data. In this case, step S12 can be omitted. However, if the correlation line CC no longer matches the actual situation due to a change in the environment or other reasons, it is desirable to update the correlation line CC. At this time, the intercept or the slope may be changed.
[0069] Next, the selection unit 22 selects a part of the set of data pairs based on the correlation (S13, selection step).Then, the addition unit 23 adds teacher data, which has attribute data of raw water having raw water turbidity in the data pair selected by the selection unit 22 as explanatory variables and the injection rate of the coagulant injected into the raw water as a target variable, to the teacher data group (S14, addition step).Then, the teacher data selection device 11 ends the teacher data selection process.
[0070] FIG. 5 is a graph showing an example of the selection of data sets by the selection unit 22. In the example of FIG. 5, the selection unit 22 selects data sets whose values of sedimentation water turbidity are below the boundary of the correlation line CC from among the data sets shown in FIG. 4. In this case, in the range where the raw water turbidity is close to the average raw water turbidity, poor quality teacher data (i.e., teacher data whose sedimentation water turbidity is relatively high) is not adopted, while in the range where the raw water turbidity is relatively high, the number of teacher data can be secured while preventing the number of poor quality teacher data from increasing too much. Therefore, for example, compared to a method of uniformly adopting the above data sets whose sedimentation water turbidity is equal to or less than a predetermined value (for example, 1 degree) as teacher data, it is possible to appropriately balance the quality and quantity of teacher data.
[0071] (Prediction model construction process and injection rate estimation process) FIG. 6 is a flowchart showing an example of the flow of the prediction model construction process executed by the prediction model construction device 12 and the injection rate estimation process executed by the estimation device 13. As shown in FIG. 6, the prediction model construction process is first executed, and the construction unit 41 performs machine learning using the teacher data group to construct a prediction model as a learning model (S21). This makes it possible to generate a prediction model in which a decrease in prediction accuracy is suppressed. The prediction model construction process is executed to update the prediction model when a certain amount of teacher data is accumulated in the teacher data storage unit 32. The frequency of this update may be, for example, once a day to once every two days. The cycle of the update does not have to be fixed.
[0072] Next, the injection rate estimation process is executed, and the injection rate estimation unit 51 estimates the injection rate by inputting attribute data of the raw water into the prediction model (S22). Then, the injection rate estimation unit 51 outputs the estimated injection rate to the output device 15 (S23). As a result, the flocculant injector 113 injects flocculant based on the estimated injection rate. Thereafter, the prediction model construction device 12 and the estimation device 13 end the prediction model construction process and the injection rate estimation process.
[0073] (Variation 1) Fig. 7 is a graph showing another example of the selection of data sets by the selection unit 22. In the selection example of Fig. 7, the data sets selected by the selection unit 22 are further limited to data sets whose raw water turbidity values are equal to or greater than the first threshold value, as compared to the selection example of Fig. 5. Note that, in the example of Fig. 7, the first threshold value is 100 degrees, but is not limited thereto. For example, the first threshold value may be set according to the number of input data required to construct a prediction model, the occurrence of high raw water turbidity in the past, and the like.
[0074] In this modification, it is possible to select good quality teacher data based on the correlation between raw water turbidity and settled water turbidity in a range where the raw water turbidity value is equal to or greater than the first threshold value. Generally, the higher the raw water turbidity, the more difficult the prediction becomes. Therefore, by selecting good quality teacher data in a range where the raw water turbidity is relatively high, it is possible to prevent a decrease in the prediction accuracy of the prediction model reconstructed by the prediction model construction device 12.
[0075] (Variation 2) Fig. 8 is a graph showing yet another example of selection of data sets by the selection unit 22. In the selection example of Fig. 8, compared to the selection example of Fig. 5, the data sets selected by the selection unit 22 are further limited to data sets whose settling water turbidity values are equal to or less than a second threshold value.
[0076] Meanwhile, the inventors of the present application have found that there exists an upper limit of the turbidity of the settled water at which the correlation between the predicted value and the actually measured value regarding the injection rate of the coagulant is highest.
[0077] For example, in a certain water purification facility, when a prediction model was used that was constructed from a group of training data based on a set of data sets with a settled water turbidity of 1.0 degrees or less, i.e., a set of data sets that satisfied the upper limit of settled water turbidity of 1.0 degrees, the correlation between the predicted value and the actual value regarding the coagulant injection rate was the highest. Furthermore, the correlation became lower when the upper limit was larger or smaller than 1.0 degrees.
[0078] Therefore, by using past data, a group of teacher data corresponding to a data set extracted at a certain upper limit value of the settled water turbidity is created, and a prediction model is constructed using the group of teacher data. The correlation between the predicted value and the actual value of the injection rate using the prediction model is evaluated, and this is repeated for various upper limits of the settled water turbidity. The upper limit value of the settled water turbidity at which the correlation is highest is set as the second threshold value. This makes it possible to select a data set suitable for the water purification facility, and as a result, to improve the prediction accuracy of the reconstructed prediction model. In the example of FIG. 8, the second threshold value is 1 degree, but is not limited to this, and various values are set for each water purification facility.
[0079] (Variation 3) Fig. 9 is a graph showing yet another example of selection of data sets by the selection unit 22. In the selection example of Fig. 9, the selection unit 22 selects the input data whose values of precipitated water turbidity are below a boundary defined by a new correlation line C1 obtained by uniformly adding a value corresponding to the input operation from the input device 14 to each of the precipitated water turbidity values on the correlation line CC shown in Fig. 4. Although not shown in the figure, the new curve may be obtained by uniformly subtracting a value corresponding to the input operation from each of the precipitated water turbidity values on the correlation line CC.
[0080] In this modified example, the positional relationship between the set of data pairs each consisting of raw water turbidity and settled water turbidity and the correlation line CC can be changed, and as a result, the number of the data pairs whose settled water turbidity value is below the boundary can be changed. This change is suitable, for example, when it becomes necessary to change the management target for settled water turbidity (for example, when it becomes difficult to reduce settled water turbidity due to environmental changes, etc.).
[0081] (Variation 4) Fig. 10 is a graph showing yet another selection example of a data set by the selection unit 22. In the selection example of Fig. 10, the selection unit 22 determines, as the boundary, a correlation line C2 corrected in response to an input operation from the input device 14 that corrects the shape of the correlation line CC shown in Fig. 5.
[0082] In this modification, the shape of the correlation line CC can be changed, and as a result, the number of data sets whose values of sedimentation water turbidity are below the boundary can be changed. This change is suitable, for example, when it is necessary to select teacher data according to the environment of the water purification facility. Note that, although the selection example in FIG. 10 is an example in which the shape of the correlation line CC shown in FIG. 5 is changed, the shape of the correlation line CC in the selection examples in FIG. 7 to FIG. 9 may also be changed.
[0083] [Embodiment 2] Another embodiment of the present invention will be described with reference to Figures 11 to 14. A water treatment system 1 of this embodiment is different from the water treatment system 1 shown in Figures 1 to 10 in the configuration of an injection rate estimation system 2, but the other configurations are similar.
[0084] Fig. 11 is a block diagram showing an example of a configuration of a main part of the injection rate estimation system 2 of this embodiment. The injection rate estimation system 2 of this embodiment is different from the injection rate estimation system 2 shown in Fig. 2 in that a selection unit 24 is provided instead of the selection unit 22 of the teacher data selection device 11, and an input data storage unit 34 is provided instead of the input data storage unit 31 of the storage device 16, but the other configurations are similar.
[0085] The input data storage unit 34 differs from the input data storage unit 31 shown in Fig. 2 in that the settled water turbidity is omitted from the input data. That is, the input data stored in the input data storage unit 34 includes attribute data of the raw water and the injection rate of the coagulant injected into the raw water. Therefore, the acquisition unit 21 of this embodiment does not need to acquire the settled water turbidity.
[0086] The selection unit 24 extracts a set of data pairs each consisting of a raw water turbidity and a coagulant injection rate from the set of input data read from the input data storage unit 31, and selects a part of the data pairs from the set based on the correlation between the raw water turbidity and the injection rate obtained from the set of extracted data pairs. The selection unit 24 sends the selected data sets to the addition unit 23. The selection by the selection unit 24 will be described in detail later.
[0087] According to the above configuration, the attribute data of raw water having a raw water turbidity selected based on the correlation between the raw water turbidity and the coagulant injection rate is used as an explanatory variable, and the teacher data having the injection rate of the coagulant injected into the raw water as a target variable is added to the teacher data group. Therefore, the newly added teacher data can be selected according to the above selection method.
[0088] (Teacher data selection process) Fig. 12 is a flow chart showing an example of the flow of the teacher data selection process executed by the teacher data selection device 11 of this embodiment. As shown in Fig. 12, the acquisition unit 21 acquires a set of input data including attribute data of the raw water and the injection rate of the coagulant injected into the raw water (S31). Next, the selection unit 24 uses the set of input data to find a correlation between the raw water turbidity included in the attribute data of the input data and the injection rate (S32).
[0089] Fig. 13 is a graph showing an example of the correlation between the raw water turbidity and the injection rate obtained from the set of data sets. In Fig. 13, a correlation line C3 between the raw water turbidity and the injection rate is shown by a dashed line. Referring to Fig. 13, it can be seen that as the raw water turbidity increases, the rate of increase in the injection rate decreases. It can also be seen that the lower the raw water turbidity, the more input data there are around the correlation line C3, while the higher the raw water turbidity, the less input data there are.
[0090] Next, the selection unit 24 selects a part of the set of data pairs based on the correlation (S33, selection step).Then, the addition unit 23 adds teacher data, which has attribute data of raw water having raw water turbidity in the data pair selected by the selection unit 24 as explanatory variables and the injection rate of the coagulant injected into the raw water as a target variable, to the teacher data group (S34, addition step).Then, the teacher data selection device 11 ends the teacher data selection process.
[0091] Fig. 14 is a graph showing an example of a data set selection by the selection unit 24. In the example of Fig. 14, the selection unit 24 selects data sets whose injection rate values are below the boundary of the correlation line C3 from among the data sets shown in Fig. 13. In this case, it is possible to select training data with a relatively low flocculant cost.
[0092] [Additional Notes] The function of the selection unit 24 of this embodiment may be incorporated into the selection unit 22 shown in Fig. 2. In this case, the selection unit 22 extracts a set of second data sets each including a raw water turbidity and a coagulant injection rate from a part of the set of input data corresponding to a part of the set of first data sets selected based on the correlation between the raw water turbidity and the settled water turbidity. Next, the selection unit 22 selects a part of the second data set from the set based on the correlation between the raw water turbidity and the injection rate obtained from the extracted set of second data sets.
[0093] Then, the adding unit 23 adds the teacher data, which uses the attribute data of the raw water having the raw water turbidity in the second data set selected by the selecting unit 22 as an explanatory variable and the injection rate of the coagulant injected into the raw water as an objective variable, to the teacher data group in the teacher data storage unit 32. With the above configuration, the first data set selected based on the correlation between the raw water turbidity and the settled water turbidity can be further narrowed down based on the correlation between the raw water turbidity and the coagulant injection rate. This makes it possible to select teacher data that further takes the coagulant injection rate into consideration.
[0094] In the above embodiment, the injection rate of the coagulant is estimated, but the estimation target is not limited to this. The present invention can also be applied to the case of estimating the injection rate of any chemical used in a water purification facility, such as sodium hypochlorite for disinfection.
[0095] In the above embodiment, the raw water turbidity and the settled water turbidity or the coagulant injection rate are used as a data set, but the data set is not limited to this. It is generally known that if the coagulant is used in excess, the concentration and dewaterability of the settled sludge deteriorate. Therefore, index values such as the concentration of the settled sludge and the moisture content of the dehydrated cake obtained by dehydrating the settled sludge may be added to the data set, and a data set in which the index value is equal to or less than a predetermined value may be selected.
[0096] [Software implementation example] The functions of the teacher data selection device 11, the predictive model construction device 12, and the estimation device 13 (hereinafter referred to as the "devices") can be realized by a program for causing a computer to function as the devices, and a program for causing a computer to function as each control block of the devices (particularly each part included in the control units 20, 40, and 50).
[0097] In this case, the device includes a computer having at least one control device (e.g., a processor) and at least one storage device (e.g., a memory) as hardware for executing the program. The control device and storage device execute the program to realize each function described in each of the above embodiments.
[0098] The program may be non-transitory and may be recorded in one or more computer-readable recording media. The recording media may or may not be included in the device. In the latter case, the program may be provided to the device via any wired or wireless transmission medium.
[0099] In addition, some or all of the functions of each of the control blocks can be realized by a logic circuit. For example, an integrated circuit in which a logic circuit that functions as each of the control blocks is formed is also included in the scope of the present invention. In addition, the functions of each of the control blocks can be realized by, for example, a quantum computer.
[0100] Furthermore, each process described in each of the above embodiments may be executed by AI (Artificial Intelligence). In this case, the AI may be executed by the control device or another device (for example, an edge computer or a cloud server).
[0101] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]
[0102] 1. Water Treatment System 2. Injection rate estimation system 11 Teacher data selection device (information processing device) 12 Predictive model building device 13 Estimation device 14 Input Devices 15 Output Devices 16 Storage device 20, 40, 50 Control section 21 Acquisition Department 22, 24 Selection Department 23 Additional Part 31, 34 Input data storage unit 32 Teacher data storage unit 33 Prediction model memory unit 41 Construction Department 51 Injection rate estimation part 101 Water landing well 102 Rapid mixing basin 103 Flocculation Pond 104 Sedimentation pond 111, 116 Water quality meter 112 Flow meter 113 Coagulant injection device 114 Rapid Mixer 115 Slow Mixer
Claims
1. an adding unit that adds teacher data to a teacher data group for constructing a prediction model in which attribute data indicating attributes of the raw water, including raw water turbidity, which is the turbidity of the raw water flowing into the water purification facility, is used as explanatory variables, and an injection rate of a coagulant to be injected into the raw water is used as a target variable; a selection unit that selects a part of the data set from a set of data sets each including the raw water turbidity and a settled water turbidity, the settled water turbidity being the turbidity of the supernatant liquid in a settling tank that treats the raw water after a coagulant is injected, based on a correlation between the raw water turbidity and the settled water turbidity, the adding unit adds teacher data to the teacher data group, the teacher data having the attribute data of the raw water having the raw water turbidity in the selected data set as an explanatory variable and an injection rate of the coagulant injected into the raw water as a target variable. Teacher data selection device.
2. The teacher data selection device according to claim 1 , wherein the selection unit selects, from the data sets included in the set, data sets whose values of the sedimentation water turbidity are below a boundary defined by a correlation line obtained from the correlation.
3. The teacher data selection device according to claim 2 , wherein the selection unit selects the data set in which the raw water turbidity value is equal to or greater than a first threshold value.
4. The teacher data selection device according to claim 2 or 3, wherein the selection unit selects the data set in which the value of the sedimentation water turbidity is equal to or less than a second threshold value.
5. The teacher data selection device described in any one of claims 2 to 4, wherein the selection unit uses a new line obtained by uniformly adding or subtracting a value corresponding to an input operation to each of the precipitated water turbidity values on the correlation line as a boundary, and selects the data set whose precipitated water turbidity value falls below the boundary.
6. The teacher data selection device according to claim 2 , wherein the selection unit determines, as the boundary, the correlation line modified in response to an input operation for modifying a shape of the correlation line.
7. The teacher data selection device according to any one of claims 1 to 6, wherein the selection unit narrows down the selected data sets based on a correlation between the raw water turbidity and the injection rate obtained from a collection of data sets each consisting of the raw water turbidity and the injection rate.
8. an adding unit that adds teacher data to a teacher data group for constructing a prediction model in which attribute data indicating attributes of the raw water, including raw water turbidity, which is the turbidity of the raw water flowing into the water purification facility, is used as explanatory variables, and an injection rate of a coagulant to be injected into the raw water is used as a target variable; a selection unit that selects a portion of the data set from a set of data sets each including the raw water turbidity and the injection rate based on a correlation between the raw water turbidity and the injection rate, the correlation being obtained from the set; the adding unit adds teacher data, which has the attribute data of the raw water having the raw water turbidity in the selected data set as an explanatory variable and the injection rate in the data set as a response variable, to the teacher data group. Teacher data selection device.
9. The teacher data selection device according to claim 7 or 8, wherein the selection unit narrows down the selected data sets to data sets whose injection rate values are below a boundary defined by a correlation line obtained from the correlation between the raw water turbidity and the injection rate.
10. A prediction model construction device comprising: a construction unit that constructs the prediction model using the teacher data group to which teacher data has been added by the teacher data selection device according to any one of claims 1 to 9.
11. A teacher data selection method executed by one or more information processing devices, The method includes the step of adding teacher data to a teacher data group for constructing a prediction model in which attribute data indicating attributes of the raw water, including raw water turbidity, which is the turbidity of the raw water flowing into a water purification facility, is used as explanatory variables, and the injection rate of a coagulant injected into the raw water is used as a target variable; The method further includes a selection step of selecting a part of the data set from a set of data sets each including the raw water turbidity and a settled water turbidity, which is the turbidity of the supernatant liquid in a settling tank in which the raw water is treated after a coagulant is injected, based on a correlation between the raw water turbidity and the settled water turbidity, The adding step is a teacher data selection method in which teacher data having the attribute data of the raw water having the raw water turbidity in the selected data set as an explanatory variable and the injection rate of the coagulant injected into the raw water as an objective variable is added to the teacher data group.
12. A teacher data selection method executed by one or more information processing devices, The method includes the step of adding teacher data to a teacher data group for constructing a prediction model in which attribute data indicating attributes of the raw water, including raw water turbidity, which is the turbidity of the raw water flowing into a water purification facility, is used as explanatory variables, and the injection rate of a coagulant injected into the raw water is used as a target variable; The method further includes a selection step of selecting a part of the data set from a set of data sets each including the raw water turbidity and the injection rate based on a correlation between the raw water turbidity and the injection rate, the correlation being obtained from the set; The adding step is a teacher data selection method in which teacher data in which the attribute data of raw water having the raw water turbidity in the selected data set is an explanatory variable and the injection rate in the data set is an objective variable is added to the teacher data group.
Citation Information
Patent Citations
Operation controller for waterwork plant
JP1994304546A
Automatic teacher data extraction method for neural network, neural network system using the same and plant operation supporting device
JP1995160661A
Prediction program, device and method using decision tree learning algorithm
JP2017123088A
Monitoring control system, monitoring control method, monitoring control device, and computer program
JP2019101698A
Information processing device, operation support method, operation support program and control system
JP2023081640A
