1 OptiQuest Technologies, Greenville, SC
2 U.S. Geological Survey, Columbia, SC
3 Riverside High School, Greer, SC
|
Please direct correspondence to:
| ||
|
Edwin A. Roehl OptiQuest Technologies, LLC 214 Pelham Davis Circle Greenville, SC 29615 Internet: info@oqt.com Phone: (864) 987-0717 FAX: (864) 234-7521 |
or |
Paul A. Conrads USGS Stephenson Center, Suite 129 720 Gracern Road Columbia, SC 29210-7651 Internet: pconrads@usgs.gov Phone: (803) 750-6140 FAX: (803) 750-6181
|
This version of the article has all of the figures converted to thumbnails with links to the larger images. A version with all of the figures inline is also available; the download time may be longer, but the inline figures may be more convenient for viewing and printing.
Citation:
Roehl, E.A. and Conrads, P.A., 2000, Real-Time Control of the Salt Front in a
Complex, Tidally Affected River Basin in Proceedings of the ANNIE 2000
Conference, November 5-8, 2000, St. Louis, MO.
Abstract
Introduction
Data Preparation
Modeling the Gain
Prediction and Control
Discussion and Conclusions
ReferencesThe U.S. Geological Survey (USGS) participated in comparing artificial neural network (ANN's) models to deterministic finite-difference models of the Cooper River, a complex estuarine system shown in Figure 1 (Conrads and Roehl, 1999). Both models were developed from three years of real-time measurements of water level (WL), dissolved-oxygen concentration, water temperature, and specific conductivity (SC, used to compute salinity) that had been collected by a network of gauging stations. The models predicted the river's hydrodynamic, mass transport, and water-quality behaviors. The ANN's were found to be significantly more accurate and quickly developed. Their compactness and fast execution allowed their use in a prototype control system that was used to investigate regulating wastewater discharges according to the river's assimilative capacity (Roehl and Conrads, 1999).
![]()
Figure 1. The Cooper and Wando River, SC.
Subsequently, ANN models were configured to spatially interpolate between gauging stations to predict WL and SC at arbitrary locations within the gauging network (Fig. 2). Of particular interest was predicting the "salt front" location, which is normally in the vicinity of station 02172053 (hereafter "s" replaces the station prefix 021720). This result pointed to a solution for protecting a valuable freshwater reservoir from saltwater migration. A canal located 10 km above s50 connects the west branch of the Cooper River to the reservoir.

Figure 2. ANN model's spatially interpolated SC and WL for one tidal
cycle six hours apart.
The location of the salt front depends on tidal conditions and the volume of freshwater flowing downstream from a hydroelectric dam on Lake Moultrie. The WL's power spectrum revealed a strong 28-day lunar cycle. Low freshwater flows coinciding with high tidal levels allows seawater to migrate towards the canal. Figure 3 shows that the SC at s50 peaks a few tidal cycles after peaking at s53 due to upstream migration of the salt front.

Figure 3. Detail of actual SC at s53 and s50 (30 and 45 km upstream
of s710 respectively).
Government regulations require minimum total weekly flows from the dam meet water supply demands, however, the timing of the releases is at the discretion of hydroelectric dam operators. The power utility has implemented a number of "action alert thresholds", which when exceeded, require that flows be increased above minimum levels. The SC threshold at s50, which is nearest to the canal, is 1,500 micro-siemens per centimeter (µs/cm), however, it rarely comes into play because thresholds for stations further downstream are exceeded some 20 to 30 times per year. The optimum user of power generation from the dam is to meet peak power demands. When water is released to control the salt front it significantly undermines the commercial operation of the dam.
Below is an alternative to the above regulatory control approach. It fully utilizes the data from the gauging stations to optimize the control of the freshwater releases, bringing significant benefit to the utility. The scheme uses ANN-based models to predict and control the location of the salt front in real-time.

Figure 4. Detail of actual and filtered WL at s011 and s710.
Separating the signal involves the construction of a function that correlates
the WL at the dam to the WL at the river's mouth. For the function's input,
the WL at s710 was selected over WL's from upriver stations because it is the
least likely to be influenced by the dam releases. Linear correlation (Press
et al, 1993) can relate the time series of one variable to that of another.
It can also relate a current measurement of a variable to past measurements
of the same variable. Successive shifting of one time series relative to
another (or to itself) by a delay
d, while computing the correlation for each shift,
provides information indicating when the correlation reaches maximum,
minimum, and zero values. The first delay at which the correlation equals
(or nears) zero is the delay
z at
which the times series are "decorrelated".
The bivariate function that was used to correlate the WL's at s011 and s710
is derived from an approach applied to univariate chaotic time series
(Abarbanel, 1996). Equation 1 suggests that at time t, a predicted value
xp for variable x can be computed from previous, actual
measurements xa by a function F. The "local dimension"
dL specifies the number of measurements required to optimally
predict xp. Note that xp(t) = xa(t) at
d = 0, and the predictive accuracy
of F declines towards zero as
d
approaches
z.
d),xa(t-(
d+
z)),,,xa(t-(
d+k
z)),,,xa(t-(
d+(dL-1)
z))], 0<
d<
z (1)
The bivariate form of Equation 1 is given by Equation 2, which relates y
and x, the WL's at s011 and s710 respectively. Predictions yp
are computed from actual measurements xa by the function
F1. Comparing Equations 1 and 2,
d is replaced by the delay
'd at which y is maximally correlated to x, while
dL and
z remain
characteristics of only x. The residual yr given by Equation 3 is
the difference between the actual and predicted measurements, ya
and yp.
'd),xa(t-(
'd+
z)),,,xa(t-(
'd+k
z)),,,xa(t-(
'd+(dL-1)
z))];
'd>0 (2)yr(t) = ya(t)-yp(t) (3)
Within the accuracy limits of F1 and ya, yr contains information about the behavior of y that is unrelated to the tidal effects seen at the river's mouth. This information includes but is not limited to freshwater releases from the dam, therefore, yr can be used to estimate the gain that relates changes in the WL at the dam to the SC at s50, denoted by y and y2 respectively. Equation 4 was used to compute predictions y2p. It was expected that the gain would also depend on tidal conditions, so that F2 includes information from both yr and yp. Note that F2 uses different delays and local dimensions in relating yr and yp to y2.
'pd),yp(t-(
'pd+
pz)),,,yp(t-(
'pd+m
pz)),,,yp(t-(
'pd+(dpL-1)
pz))],
'rd),yr(t-(
'rd+
rz)),,yr(t-(
'rd+n
rz)),,,yr(t-(
'rd+(drL-1)
rz))]};
'pd,
'rd>0 (4)
The application of Equation 2 was as follows.
'd and
z
were determined to be 10 and 30 hours respectively. F1 was
synthesized from time series of xa and ya by a
feed-forward ANN. The ANN was trained using back-propagation and conjugate
gradient methods. A dL
8
was determined experimentally by adding and removing inputs at delays
spaced by
z and tracking the
predictive performance of F1. It was also determined that up
to two inputs with delays less than dL
z could be omitted without significantly degrading
F1. A plot of the predictions made by F1 and the
actual WL are shown in Figure 5.

Figure 5. Detail of actual and predicted filtered WL at s011.
The application of Equation 4 was as follows. The peak correlation
'pd between yp and
y2 occurred at 0 hours, indicating that the SC at s50 and the WL
at s011 move in phase. A high pass filter with a lower limit of 28 days was
applied to yp to remove apparent annual periodicity, whereupon
pz was calculated to be 30
hours (the same as
z). The
delay
'rd of the peak
correlation between yr and y2a was 47 hours,
indicating a transport delay of about two days between dam releases and a
subsequent effect on the SC.
rz
was computed to be 69 hours. A second ANN was developed to synthesize
F2. The rationale for using a single ANN, which combined
inputs for both yr and yp, was that they were
decorrelated by means of their derivation (also verified by correlation
analysis). Local dimensions drL
6 and dpL
8 were
estimated as described above for dL. A plot of the prediction
made by F2 and the actual SC is shown in Figure 6.

Figure 6. Detail of actual and predicted filtered SC at s50.
The gain of F2 is better understood by viewing the function's
response surface under different tidal conditions. Figure 7 shows that the
gain's sensitivity to the first two residual inputs yr(t-
'rd) and yr(t-(
'rd+
rz)), indicated by the difference between the surface's
high and low points, varies from 100 to 1,000 µs/cm at low and
high tidal levels. Note that F2 was developed from hourly
data which filtering effectively averaged over two tidal cycles. Thus,
the 1,000 µs/cm gain corresponds to an unfiltered range of about
1,900 µs/cm (see Fig. 3). Therefore, the 1,500 µs/cm threshold
at s50 is well within the interpolative range of F2.

Figure 7. Predicted SC at s50 on dam releases during low and high
tidal levels.
Effective control requires predicting ahead of time if salt front
migration will pose a problem to allow time for corrective action. A
model that predicts SC at s50 47 hours into the future (equal to
'rd) is needed. F2
is unsuitable because it includes
'pd=0; however, another model F3, identical
to F2 but with
'pd=
'rd, was synthesized to show
feasibility. The predictions of F3, shown in Figure 8, were
poorer than those of F2, but it was able to predict some of the
events corresponding to the largest values of y2a. F3
could be easily improved by using additional gauging station variables.

Figure 8. Actual and predicted filtered SC at s50.
Figure 9 shows an idealized model-based control scheme for controlling the salt front, which has been borrowed from the field of industrial process control. Three types of variables are indicated. The variable to be controlled (CV) is the output of the model. Variables that are manipulated (MV) to take corrective action are inputs to the model. Additional inputs are the disturbance variables (DV) that describe the state of the process but cannot be manipulated. Finding values for the MV's so that an undesirable outcome can be avoided requires an optimization program. As DV's change with time, the optimization program searches for MV values that avoid letting the model predict an undesirable outcome. The optimization program adheres to "constraints" that limit the allowable values of the MV's. If it fails to obtain an acceptable outcome within a specified number of iterations, the program returns values that minimize the deviation from a desirable outcome.

Figure 9. Idealized controller uses an ANN-based process model with
an optimization.
For this application, F2 is the process model, the CV is
y2p, the MV is yr(t-
'rd), and the DV's are the remaining values specified
by Equation 4. A minor problem is that because
'pd=0 and t=+47 hours into the future, the DV
yp(t-
'pd) is
unknown. However, a good estimate can be synthesized from Equation 2 using
'd=47 hours. As new values for
the DV's are input with each time step, the optimization program's is to
compute values for the MV that causes the model to predict a CV that is
at or below the 1,500 µs/cm threshold at s50.
z insures that they are at
least linearly decorrelated, but may also sub-optimize F1
and F2 which use non-linear ANN's.
Possible improvements could come from several directions. One would be to use
actual flow measurements from the dam instead of the surrogate WL at s011.
Including additional information from the plethora of variables available
from throughout the gauging network might lead to dramatic improvements in
prediction accuracy. The investigation of alternative non-linear calculation
methods for
z, such as average
mutual information (Abarbanel, 1996) or single-input-single-output ANN's,
may also be beneficial.
Leaving ample room for refinement, the above approach has revealed relationships between measured variables that match a qualitative understanding of this very complex estuarial system. The straightforward mechanics of constructing the various components of the application point to a reliable solution to controlling the location of the salt front. Earlier work in applying these methods to water quality, which is also affected by saltwater migration, suggest combining these problems because of their commonality in serving the public interest.
Conrads, P.A., and Roehl, E.A. (1999), "Comparing Physics-Based and Neural Network Models for Predicting Salinity, Water Temperature, and Dissolved-Oxygen Concentration in a Complex Tidally Affected River Basin," South Carolina Environmental Conference, Myrtle Beach, March 15-16.
Press, William H., Teukolsky, S.A., Vetterling, W.T., and Flannery, B.P. (1993), Numerical Recipes in C: The Art of Scientific Computing, Cambridge University Press.
Roehl, E.A., and Conrads, P.A. (1999), "Real-Time Control for Matching Wastewater Discharges to the Assimilative Capacity of a Complex, Tidally Affected River Basin," South Carolina Environmental Conference, Myrtle Beach, March 15-16.
Back to the SMIG Features Page

Home | Mailing List | Features | Conferences | Classes | Reading | Model Archives | Feedback