flow regime prediction in stepped channels using neural...

13
International Journal of Science & Technology Volume 3, No 1, 109-121, 2008 Flow Regime Prediction in Stepped Channels Using Neural Computing Technique Ozgur KISI 1 , M. Emin EMIROGLU 2 and Ahmet BAYLAR 2 1 Erciyes University, Civil Engineering Department, Kayseri, TURKIYE 2 Firat University, Civil Engineering Department, Elazig, TURKIYE [email protected] (Received: 07.05.2007 ; Accepted: 10.01.2008) Abstract: A chute is characterized by a steep bed slope associated with torrential flow. This chute flow may be either smooth or stepped. The flow conditions in stepped channels are classified as nappe flow, transition flow and skimming flow. In this paper, hydraulic characteristics of flow regimes on the stepped channels are presented systematically under a wide range of discharge, channel slope and step height. The artificial neural network (ANN) was used for predicting flow regimes in stepped channels using discharge, channel slope and step height parameters. The test results indicated that the ANN could be successfully used in flow regime prediction in stepped channels. Keywords: Stepped channel, Skimming flow, Transition flow, Nappe flow, Neural networks. Yapay Zekâ Hesaplama Teknikleri Kullanılarak Basamaklı Kanallar Üzerindeki Akım Rejiminin Belirlenmesi Özet: Bir şüt akımı, büyük bir yatak şev eğimine ve üzerinde sel rejimli bir akıma sahip olan akımlar olarak karakterize edilmektedirler. Şüt akımları ya düz bir yüzey üzerinden veya basamaklı bir yüzey üzerinden akıtılırlar. Basamaklı kanallar üzerindeki akım, nap akımı, geçiş akımı veya sıçramalı akım olarak sınıflandırılmaktadır. Bu makalede, basamaklı kanallar üzerindeki akım rejimlerinin hidrolik karakteristikleri, debi, şüt açısı ve basamak yüksekliklerinin geniş bir dizisi kullanılarak sistematik olarak sunulmuştur. Yapay sinir ağı akım rejimlerini tahmin etmek için kullanılmıştır. Yapay sinir ağı oluşturulurken debi, şüt açısı ve basamak yüksekliği parametreleri kullanılmıştır. Analiz sonuçları, basamaklı kanallar üzerindeki akım rejimini belirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar verdiğini göstermiştir. Anahtar Kelimeler: Basamaklı kanal, Sıçramalı akım, Geçiş akımı, Nap akımı, Yapay Sinir Ağları. 1. Introduction Stepped channels have become popular in recent years mainly due to the intrinsic low-cost and the speed of construction. In a stepped channel, the chute face is provided with a series of steps, from near the crest to the toe. The provision of steps can produce significant energy dissipation. Stepped channels are commonly used for gabion weirs, river training, irrigation channels, and storm waterways. Stepped channels are used also for in-stream re-aeration and in water treatment plants to enhance the air- water transfer of atmospheric gases (e.g. oxygen, nitrogen) and of volatile organic components (VOC). The flow on stepped channels can be classified into nappe flow, transition flow, and skimming flow (Fig. 1). The hydraulic design of stepped channel, and in particular, characteristics of nappe flow, transition flow, and skimming The flow on stepped channels can be classified into nappe flow, transition flow, and skimming flow (Fig. 1). The hydraulic design of stepped channel, and in particular, characteristics of nappe flow, transition flow, and skimming flow over stepped channels has been studied experimentally by a number of investigators. Recently, Baylar and Emiroglu [1], Emiroglu and Baylar [2] and Baylar et al. [3, 4 and 5] did some detailed experiments on the aeration efficiency of stepped channels. Knowing the flow regime is very important for hydraulic design of stepped channels. In this study, the flow regimes in stepped channels were predicted using a neural

Upload: others

Post on 29-May-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

International Journal of Science & Technology Volume 3, No 1, 109-121, 2008

Flow Regime Prediction in Stepped Channels Using Neural Computing Technique

Ozgur KISI1, M. Emin EMIROGLU2 and Ahmet BAYLAR2

1 Erciyes University, Civil Engineering Department, Kayseri, TURKIYE 2 Firat University, Civil Engineering Department, Elazig, TURKIYE

kis i@erciyes .edu. tr

(Received: 07.05.2007 ; Accepted: 10.01.2008)

Abstract: A chute is characterized by a steep bed slope associated with torrential flow. This chute flow may be either smooth or stepped. The flow conditions in stepped channels are classified as nappe flow, transition flow and skimming flow. In this paper, hydraulic characteristics of flow regimes on the stepped channels are presented systematically under a wide range of discharge, channel slope and step height. The artificial neural network (ANN) was used for predicting flow regimes in stepped channels using discharge, channel slope and step height parameters. The test results indicated that the ANN could be successfully used in flow regime prediction in stepped channels.

Keywords: Stepped channel, Skimming flow, Transition flow, Nappe flow, Neural networks.

Yapay Zekâ Hesaplama Teknikleri Kullanılarak Basamaklı Kanallar Üzerindeki Akım Rejiminin Belirlenmesi

Özet: Bir şüt akımı, büyük bir yatak şev eğimine ve üzerinde sel rejimli bir akıma sahip olan akımlar olarak karakterize edilmektedirler. Şüt akımları ya düz bir yüzey üzerinden veya basamaklı bir yüzey üzerinden akıtılırlar. Basamaklı kanallar üzerindeki akım, nap akımı, geçiş akımı veya sıçramalı akım olarak sınıflandırılmaktadır. Bu makalede, basamaklı kanallar üzerindeki akım rejimlerinin hidrolik karakteristikleri, debi, şüt açısı ve basamak yüksekliklerinin geniş bir dizisi kullanılarak sistematik olarak sunulmuştur. Yapay sinir ağı akım rejimlerini tahmin etmek için kullanılmıştır. Yapay sinir ağı oluşturulurken debi, şüt açısı ve basamak yüksekliği parametreleri kullanılmıştır. Analiz sonuçları, basamaklı kanallar üzerindeki akım rejimini belirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar verdiğini göstermiştir.

Anahtar Kelimeler: Basamaklı kanal, Sıçramalı akım, Geçiş akımı, Nap akımı, Yapay Sinir Ağları.

1. Introduction Stepped channels have become popular in recent years mainly due to the intrinsic low-cost and the speed of construction. In a stepped channel, the chute face is provided with a series of steps, from near the crest to the toe. The provision of steps can produce significant energy dissipation. Stepped channels are commonly used for gabion weirs, river training, irrigation channels, and storm waterways. Stepped channels are used also for in-stream re-aeration and in water treatment plants to enhance the air-water transfer of atmospheric gases (e.g. oxygen, nitrogen) and of volatile organic components (VOC).

The flow on stepped channels can be classified into nappe flow, transition flow, and skimming flow (Fig. 1). The hydraulic design of

stepped channel, and in particular, characteristics of nappe flow, transition flow, and skimming

The flow on stepped channels can be classified into nappe flow, transition flow, and skimming flow (Fig. 1). The hydraulic design of stepped channel, and in particular, characteristics of nappe flow, transition flow, and skimming flow over stepped channels has been studied experimentally by a number of investigators. Recently, Baylar and Emiroglu [1], Emiroglu and Baylar [2] and Baylar et al. [3, 4 and 5] did some detailed experiments on the aeration efficiency of stepped channels.

Knowing the flow regime is very important for hydraulic design of stepped channels. In this study, the flow regimes in stepped channels were predicted using a neural

Page 2: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

O. Kisi, M. E. Emiroglu , A. Baylar

computing technique. Among machine learning techniques, ANN is the one that is widely used in various areas of water-related research [6, 7, 8, 9, 10 and 11]. The Levenberg-Marquardt optimization algorithm that is more powerful than the standard back propagation is used for the training of ANN models. The ANN models were tested and the results were evaluated using the absolute relative error (ARE) and determination coefficient (R2) statistics. 2. Characteristics of Skimming, Transition and Nappe Flow over Stepped Channels 2.1. Skimming Flow

For large discharges, the waters flow down a stepped-channel chute as a coherent stream “skimming” over the steps. The external edges of the steps form a pseudo-bottom over which the flow skims. Beneath the pseudo-bottom, recirculating vortices develop and recirculation is maintained through the transmission of shear stress from the main stream (Fig. 1a). Small-scale vorticity is also generated at the corner of the steps. The aerated flow region follows a region where the free-surface is smooth and glassy. Next to the boundary however, turbulence is generated and the boundary layer grows until the outer edge of the boundary layer reaches the surface. When the outer edge of the boundary layer reaches the free surface, the turbulence can initiate natural free surface aeration. The location of the start of air entrainment is called the point of inception. Downstream of the inception point of free-surface aeration, the flow becomes rapidly aerated and the free-surface appears white.

Air and water are fully mixed forming a homogeneous two-phase flow [12]. 2.2. Transition Flow

Ohtsu and Yasuda [13] were probably the first to introduce the concept of a “transition flow” regime, although they did not elaborate on its flow properties. For a given stepped-channel chute geometry, a range of flow rates gives an intermediary flow regime between nappe flows at low discharges and skimming flows at large flow rates. In the transition flow regime, air bubble entrainment takes place along the jet upper nappe and in the spray region downstream of the stagnation point. The flow highly turbulent, air and water are continuously mixed (Fig. 1b). The air entrainment process in transition flow is not yet fully understood [12]. 2.3. Nappe Flow

For a given flat step geometry, low flows behave as a series of free-falling jets with nappe impact onto the downstream step: i.e. nappe flow regime. At the upstream end of each step, the flow is characterized by a free-falling nappe, an air cavity and a pool of recirculating fluid (Fig. 1c). In a nappe flow, air is entrained at the jet interfaces and by a plunging jet mechanism at the intersection of the lower nappe with the recirculating pool, while de-aeration is often observed downstream. In the free-falling nappe, interfacial aeration takes place at both the upper and lower nappes. At the lower nappe, the developing shear layer is characterized by a high level of turbulence and significant interfacial air entrainment is observed [12].

110

Page 3: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

Flow Regime Prediction in Stepped Channels Using Neural Computing Technique

Figure 1. Air entrainment mechanisms above stepped-channel chute

a) Skimming flow regime, b) Transition flow regime, c) Nappe flow regime

3. Experiments The data used in this study were taken from studies conducted by Baylar and Emiroglu [1] and Baylar et al. [3] on a large model of a stepped channel. A schematic representation of the experimental set-up is shown on Fig. 2 that shows a prismatic rectangular chute channel, 0.30 m wide and 0.50 m deep, in which the steps were installed. The side walls were made of transparent methacrylate to follow flow regime. Water was pumped from the storage tank to stilling tank, from which water entered the chute

through an approach channel, with its bed 1.25 and 2.50 m above the laboratory floor. Downstream channel used in this study was 3.0 m long, 0.35 m wide and 0.45 m deep. The experiments reported here were carried out, with unit discharges ranging between 16.67 x 10-3 m2/s and 166.67 x 10-3 m2/s. The discharge was measured by means of a flow meter installed in the supply line. Channel slopes were equal to 14.48°, 18.74°, 22.55°, 30°, 40°, and 50° and for all slopes tested, steps with h equal to 5, 10, and 15 cm were used.

111

Page 4: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

O. Kisi, M. E. Emiroglu , A. Baylar

Storage tank

Waterpump

Waterflowmeter

Flowcontrol valve

Stilling tank

Upstream channel

Stepped-channel chute

Downstream channelα

Wat

er fe

ed li

ne

Grid

Figure 2. Laboratory stepped channel apparatus

4. Results and Analysis

Fig. 3 shows classification of flow conditions on stepped-channel chutes. It is observed from Fig. 3 that the type of flow regime is a function of the step height, channel slope and flow rate. Three different flow regimes, namely the nappe, transition and skimming flow regimes occur on stepped-channel chutes. A tendency towards the nappe flow regime is observed with increasing step height and decreasing unit discharge and channel slope. However, the results show a tendency towards the transition and skimming

flow regimes as unit discharge and channel slope increase and as step height decreases.

Ohtsu et al. [14] showed that the upper limit of the step height for the formation of the nappe flow and the lower limit of the step height for the formation of the skimming flow can be predicted by Eqs. 1 and 2. A perfect agreement is observed between the experimental results and the results of Eqs. 1 and 2, as shown in Fig. 3.

30.1)(tan57.01

hh

3Nappe

c

+α=⎟

⎠⎞

⎜⎝⎛ for °≤α≤° 557.5 (1)

165.0Skimming

c

)(tan16.11

hh

α=⎟

⎠⎞

⎜⎝⎛ for °≤α≤° 557.5 (2)

where the critical flow depth 3 2c g/qh = is

in meters, water discharge per unit width q is in m2/s, the acceleration of gravity g is in m/s2, step

height h is in meters and channel slope α is in degrees.

112

Page 5: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

Flow Regime Prediction in Stepped Channels Using Neural Computing Technique

0 10 20 30 40 50 6 (degrees)

0

0.0

0.5

1.0

1.5

2.0

2.5

3.0

h /

hc

α

Nap

pe fl

ow

Tran

sitio

n

flow

Sk

imm

ing

fl

ow

Eq. 1

Eq. 2

Figure 3. Flow conditions on stepped-channel chutes [3] (Solid lines indicate experimental data and dotted line data of Ohtsu et al. [14]

113

Page 6: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

O. Kisi, M. E. Emiroglu , A. Baylar

Table 1. Experimental data of stepped channel for h = 0.05 m q

(m2/s x 10-3) h

(m) hc

(m) hc/h (-)

α (deg.)

Flow Regime

16.67 0.05 0.030 0.600 14.48 Nappe 33.33 0.05 0.048 0.960 14.48 Transition 50.00 0.05 0.063 1.260 14.48 Skimming 66.67 0.05 0.077 1.540 14.48 Skimming

100.00 0.05 0.101 2.020 14.48 Skimming 133.33 0.05 0.122 2.440 14.48 Skimming 166.67 0.05 0.141 2.820 14.48 Skimming 16.67 0.05 0.030 0.600 18.74 Nappe 33.33 0.05 0.048 0.960 18.74 Transition 50.00 0.05 0.063 1.260 18.74 Skimming 66.67 0.05 0.077 1.540 18.74 Skimming

100.00 0.05 0.101 2.020 18.74 Skimming 133.33 0.05 0.122 2.440 18.74 Skimming 166.67 0.05 0.141 2.820 18.74 Skimming 16.67 0.05 0.030 0.600 22.55 Nappe 33.33 0.05 0.048 0.960 22.55 Transition 50.00 0.05 0.063 1.260 22.55 Skimming 66.67 0.05 0.077 1.540 22.55 Skimming

100.00 0.05 0.101 2.020 22.55 Skimming 133.33 0.05 0.122 2.440 22.55 Skimming 166.67 0.05 0.141 2.820 22.55 Skimming 16.67 0.05 0.030 0.600 30.00 Nappe 33.33 0.05 0.048 0.960 30.00 Skimming 50.00 0.05 0.063 1.260 30.00 Skimming 66.67 0.05 0.077 1.540 30.00 Skimming

100.00 0.05 0.101 2.020 30.00 Skimming 133.33 0.05 0.122 2.440 30.00 Skimming 166.67 0.05 0.141 2.820 30.00 Skimming 16.67 0.05 0.030 0.600 40.00 Transition 33.33 0.05 0.048 0.960 40.00 Skimming 50.00 0.05 0.063 1.260 40.00 Skimming 66.67 0.05 0.077 1.540 40.00 Skimming

100.00 0.05 0.101 2.020 40.00 Skimming 133.33 0.05 0.122 2.440 40.00 Skimming 166.67 0.05 0.141 2.820 40.00 Skimming 16.67 0.05 0.030 0.600 50.00 Transition 33.33 0.05 0.048 0.960 50.00 Skimming 50.00 0.05 0.063 1.260 50.00 Skimming 66.67 0.05 0.077 1.540 50.00 Skimming

100.00 0.05 0.101 2.020 50.00 Skimming 133.33 0.05 0.122 2.440 50.00 Skimming 166.67 0.05 0.141 2.820 50.00 Skimming

114

Page 7: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

Flow Regime Prediction in Stepped Channels Using Neural Computing Technique

Table 2. Experimental data of stepped channel for h = 0.10 m q

(m2/s x 10-3) h

(m) hc

(m) hc/h (-)

α (deg.)

Flow Regime

16.67 0.10 0.030 0.300 14.48 Nappe 33.33 0.10 0.048 0.480 14.48 Nappe 50.00 0.10 0.063 0.630 14.48 Nappe 66.67 0.10 0.077 0.770 14.48 Transition

100.00 0.10 0.101 1.010 14.48 Transition 133.33 0.10 0.122 1.220 14.48 Skimming 166.67 0.10 0.141 1.410 14.48 Skimming 16.67 0.10 0.030 0.300 18.74 Nappe 33.33 0.10 0.048 0.480 18.74 Nappe 50.00 0.10 0.063 0.630 18.74 Nappe 66.67 0.10 0.077 0.770 18.74 Transition

100.00 0.10 0.101 1.010 18.74 Transition 133.33 0.10 0.122 1.220 18.74 Skimming 166.67 0.10 0.141 1.410 18.74 Skimming 16.67 0.10 0.030 0.300 22.55 Nappe 33.33 0.10 0.048 0.480 22.55 Nappe 50.00 0.10 0.063 0.630 22.55 Nappe 66.67 0.10 0.077 0.770 22.55 Transition

100.00 0.10 0.101 1.010 22.55 Skimming 133.33 0.10 0.122 1.220 22.55 Skimming 166.67 0.10 0.141 1.410 22.55 Skimming 16.67 0.10 0.030 0.300 30.00 Nappe 33.33 0.10 0.048 0.480 30.00 Nappe 50.00 0.10 0.063 0.630 30.00 Nappe 66.67 0.10 0.077 0.770 30.00 Transition

100.00 0.10 0.101 1.010 30.00 Skimming 133.33 0.10 0.122 1.220 30.00 Skimming 166.67 0.10 0.141 1.410 30.00 Skimming 16.67 0.10 0.030 0.300 40.00 Nappe 33.33 0.10 0.048 0.480 40.00 Nappe 50.00 0.10 0.063 0.630 40.00 Transition 66.67 0.10 0.077 0.770 40.00 Transition

100.00 0.10 0.101 1.010 40.00 Skimming 133.33 0.10 0.122 1.220 40.00 Skimming 166.67 0.10 0.141 1.410 40.00 Skimming 16.67 0.10 0.030 0.300 50.00 Nappe 33.33 0.10 0.048 0.480 50.00 Transition 50.00 0.10 0.063 0.630 50.00 Transition 66.67 0.10 0.077 0.770 50.00 Transition

100.00 0.10 0.101 1.010 50.00 Skimming 133.33 0.10 0.122 1.220 50.00 Skimming 166.67 0.10 0.141 1.410 50.00 Skimming

115

Page 8: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

O. Kisi, M. E. Emiroglu , A. Baylar

Table 3. Experimental data of stepped channel for h = 0.15 m q

(m2/s x 10-3) h

(m) hc

(m) hc/h (-)

α (deg.)

Flow Regime

16.67 0.15 0.030 0.200 14.48 Nappe 33.33 0.15 0.048 0.320 14.48 Nappe 50.00 0.15 0.063 0.420 14.48 Nappe 66.67 0.15 0.077 0.513 14.48 Nappe

100.00 0.15 0.101 0.673 14.48 Nappe 133.33 0.15 0.122 0.813 14.48 Transition 166.67 0.15 0.141 0.940 14.48 Transition 16.67 0.15 0.030 0.200 18.74 Nappe 33.33 0.15 0.048 0.320 18.74 Nappe 50.00 0.15 0.063 0.420 18.74 Nappe 66.67 0.15 0.077 0.513 18.74 Nappe

100.00 0.15 0.101 0.673 18.74 Nappe 133.33 0.15 0.122 0.813 18.74 Transition 166.67 0.15 0.141 0.940 18.74 Transition 16.67 0.15 0.030 0.200 22.55 Nappe 33.33 0.15 0.048 0.320 22.55 Nappe 50.00 0.15 0.063 0.420 22.55 Nappe 66.67 0.15 0.077 0.513 22.55 Nappe

100.00 0.15 0.101 0.673 22.55 Nappe 133.33 0.15 0.122 0.813 22.55 Transition 166.67 0.15 0.141 0.940 22.55 Transition 16.67 0.15 0.030 0.200 30.00 Nappe 33.33 0.15 0.048 0.320 30.00 Nappe 50.00 0.15 0.063 0.420 30.00 Nappe 66.67 0.15 0.077 0.513 30.00 Nappe

100.00 0.15 0.101 0.673 30.00 Nappe 133.33 0.15 0.122 0.813 30.00 Transition 166.67 0.15 0.141 0.940 30.00 Skimming 16.67 0.15 0.030 0.200 40.00 Nappe 33.33 0.15 0.048 0.320 40.00 Nappe 50.00 0.15 0.063 0.420 40.00 Nappe 66.67 0.15 0.077 0.513 40.00 Nappe

100.00 0.15 0.101 0.673 40.00 Transition 133.33 0.15 0.122 0.813 40.00 Transition 166.67 0.15 0.141 0.940 40.00 Skimming 16.67 0.15 0.030 0.200 50.00 Nappe 33.33 0.15 0.048 0.320 50.00 Nappe 50.00 0.15 0.063 0.420 50.00 Nappe 66.67 0.15 0.077 0.513 50.00 Transition

100.00 0.15 0.101 0.673 50.00 Transition 133.33 0.15 0.122 0.813 50.00 Skimming 166.67 0.15 0.141 0.940 50.00 Skimming

116

Page 9: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

Flow Regime Prediction in Stepped Channels Using Neural Computing Technique

5. Neural Networks Artificial neural networks (ANNs) are based on the present understanding of biological nervous system, though much of the biological detail is neglected. ANNs are massively parallel systems composed of many processing elements connected by links of variable weights. The multi-layer backpropagation network (MLP) is by far the most popular among the many ANN paradigms [15]. The network consists of layers of parallel processing elements, called neurons, with each layer being fully connected to the proceeding layer by interconnection fully connected to the proceeding layer by interconnection strengths, or weights (W). Fig. 4 illustrates a three-layer neural network consisting of layers i, j, and k, with the interconnection

weights Wij and Wjk between layers of neurons. Initial estimated weight values are progressively corrected during a training process that compares predicted outputs to known outputs, and back propagates any errors (from right to left in Fig. 4) to determine the appropriate weight adjustments necessary to minimize the errors.

The Levenberg-Marquardt (LM) training algorithm was used here for adjusting the weights. The adaptive learning rates were used for the purpose of faster training speed and solving local minima problem. For each epoch, if performance decreases toward the goal, then the learning rate is increased by the factor learning increment. If performance increases, the learning rate is adjusted by the factor learning decrement. The numbers of hidden layer neurons were found using simple trial and error method.

1 1 1

2 2 2

L M N

i j k

Input Output

Wij Wjk

..

.

.

.

.

.

.

.

.

.

.

.

. ......

.

Figure 4. A three-layer neural network structure

5.1. The Levenberg-Marquardt Algorithm While back propagation with gradient descent technique is a steepest descent algorithm, the Levenberg-Marquardt algorithm is an

approximation to Newton’s method [16]. If we have a function V(x) which we want to minimize with respect to the parameter vector x, then Newton’s method would be

∆x = - (3) )x(V)x(V1

2−

−∇⎥⎦

⎤⎢⎣⎡∇

where is the Hessian matrix and )x(V2−

∇ )x(V−

∇ is the gradient. If we assume that V(x) is a sum of

squares function

117

Page 10: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

O. Kisi, M. E. Emiroglu , A. Baylar

V(x) = (4) ∑=

N

1i

2i )x(e

then it can be shown that = J)x(V

−∇ T(x)e(x) (5)

)x(V2−

∇ = JT(x) J(x) + S (x) (6)

where J(x) is the Jacobean matrix and

S(x) = (7) ∑= −

∇N

1ii

2i )x(ee

For the Gauss-Newton method it is assumed that S(x) ≈ 0, and the update (3) becomes ∆x = [JT(x) J(x)]-1 JT(x) e(x) (8) The Marquardt-Levenberg modification to the Gauss-Newton method is ∆x = [JT(x) J(x) + µI]-1JT(x)e(x) (9) The parameter µ is multiplied by some

factor (β) whenever a step would result in an increased V(x). When a step reduces V(x), µ is divided by β. When µ is large the algorithm becomes steepest descent (with step 1/µ), while for small µ the algorithm becomes Gauss-Newton. The Marquardt-Levenberg algorithm can be considered a trust-region modification to Gauss-Newton. The key step in this algorithm is the computation of the Jacobean matrix. For the neural network-mapping problem the terms in the Jacobean matrix can be computed by a simple modification to the back propagation algorithm [17].

5.2. Application and Results A program code including neural networks toolbox, were written in MATLAB language for the ANN simulation. Different ANN architectures were tried using this code and the appropriate model structure was determined.

A difficult task with ANN involves choosing parameters such as the number of hidden nodes, the learning rate, and the initial weights. Determining an appropriate architecture of a neural network for a particular problem is an important issue, since the network topology directly affects its computational complexity and its generalization capability. The optimum network geometry is obtained utilizing a trial-and-error approach in which ANN are trained with one hidden layer. It should be noted that one hidden layer could approximate any

continuous function, provided that sufficient connection weights are used [18]. Here, the hidden layer node number of ANN model was determined after trying various network structures since there is no theory yet to tell how many hidden units are needed to approximate any given function. In the training stage, same initial weights were used for each ANN networks. The sigmoid activation function was used for the hidden and output nodes.

The parameters considered in the study are the ratio between the critical flow depth and step height (hc/h), channel slope (α) and flow regime. The parameters (hc/h) and α are used as inputs to the ANN for the estimation of flow regime. Three flow regimes, nappe, transition and skimming, are denoted as the numbers 1, 2 and 3, respectively. Of the 126 experimental data sets, the 110 data are used to train the ANN and the remaining data are used for validation. The remaining 16 data sets are randomly selected among the whole data. The model results are evaluated using absolute relative error (ARE) and determination coefficient (R2) statistics.

Before applying the ANN to the data, the training input and output values were normalized using the equation

bxx

xxaminmax

mini +−

− (10)

where xmin and xmax denote the minimum and maximum of the stage and discharge data. Different values can be assigned for the scaling factors a and b. There are no fixed rules as to

118

Page 11: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

Flow Regime Prediction in Stepped Channels Using Neural Computing Technique

which standardization approach should be used in particular circumstances [19]. The a and b were taken as 0.6 and 0.2 herein, respectively.

The ARE statistics of the ANN model in test period are given in Table 4. In the fourth column, the numbers 1, 2 and 3 indicates the flow regimes, nappe, transition and skimming,

respectively. In the fifth column, the ANN (2,6,1) denotes an ANN model comprising 2 input, 6 hidden and 1 output layer neurons. It can be obviously seen from Table 4 that the ANN estimates observed flow regimes with a quite high accuracy. The mean ARE of the ANN estimates is as low as % 0.9.

Table 4. The ARE statistics for the estimated flow regime using ANN model - test period

hc/h (-)

α (deg.)

Flow Regime Observed

Flow Regime Observed

Flow Regime Estimated by ANN (2,6,1)

ARE (%)

1.540 14.48 Skimming 3 3.02 0.54

1.260 18.74 Skimming 3 2.99 0.45

2.020 22.55 Skimming 3 3.01 0.29

2.020 30.00 Skimming 3 3.00 0.09

1.540 40.00 Skimming 3 3.01 0.18

2.440 50.00 Skimming 3 3.01 0.18

0.480 14.48 Nappe 1 0.98 2.24

0.770 18.74 Transition 2 1.97 1.56

0.480 22.55 Nappe 1 1.00 0.40

1.220 30.00 Skimming 3 2.99 0.35

1.220 40.00 Skimming 3 3.01 0.18

0.420 14.48 Nappe 1 0.98 1.86

0.420 18.74 Nappe 1 0.99 0.50

0.513 30.00 Nappe 1 1.00 0.39

0.420 40.00 Nappe 1 1.00 0.33

0.320 50.00 Nappe 1 0.95 4.71 The ANN estimates were compared with

the observed flow regime values in Fig. 5 in the form of hydrograph and scatter plots. As can be seen from these graphs, the ANN estimates catch

the observed values with a high accuracy. The coefficients of the fit line equation, 1.009 and 0.025, are quite close to the 1 and 0, respectively, with a high R2 value of 0.9998.

119

Page 12: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

O. Kisi, M. E. Emiroglu , A. Baylar

0

1

2

3

4

0 2 4 6 8 10 12 14 16 18

Experiment

Flow

regi

me

observed

ANN (2,6,1)

y = 1.009x - 0.025R2 = 0.9998

0

1

2

3

4

0 1 2 3 4

observed

mod

el

Figure 5. The plotting of ANN estimates and observed flow regimes in test period

6. Conclusions In stepped channels, the amount of entrained air is an important design parameter. The amount of entrained air depends on flow condition on stepped channels. Three distinct flow regimes are found on stepped channels, so-called nappe flow, transition flow, and skimming flow.

A three layer neural network technique

was used in estimation of flow regime on stepped channels. The results indicated that the ANN method provided flow condition estimates with a quite high accuracy. Therefore, the ANN can be used to estimate flow regimes in stepped channels.

7. References 1. Baylar, A., & Emiroglu, M. E., (2003). Study of

Aeration Efficiency at Stepped Channels. Proc., Inst. Civ. Engrs. Water and Marit. Engrg., 156(WM3), 257-263.

2. Emiroglu, M. E., & Baylar, A., (2003). An Investigation of Effect of Stepped Chutes with End Sill on Aeration Performance. Water Quality Research Journal of Canada, 38(3), 527-539.

3. Baylar, A., Emiroglu, M. E., & Bagatur T., (2006). An Experimental Investigation of Aeration Performance in Stepped Spillways. Water and Environment Journal, 20(1), 35-42.

4. Baylar, A., Bagatur T., & Emiroglu, M. E., (2007a). Prediction of Oxygen Content of Nappe, Transition, and Skimming Flow Regimes in Stepped-Channel Chutes. Journal of Environmental Engineering and Science, 6(2), 201-208.

5. Baylar, A., Bagatur T., & Emiroglu, M. E., (2007b). Aeration Efficiency with Nappe Flow over Stepped Cascades. Proceedings of the Institution of Civil Engineers-Water Management, 160(1), 43-50.

6. American Society of Civil Engineers (ASCE)

Task Committee on Application of Artificial Neural Networks in Hydrology, (2000). Artificial Neural Networks in Hydrology. J. Hydrological Eng., ASCE, 5(2), 115-137.

7. Kisi, O., (2004a). River Flow Modeling Using Artificial Neural Networks. J. of Hydrologic Engineering, ASCE, 9(1), 60-63.

8. Kisi, O., (2004b). Multi-Layer Perceptions with Levenberg-Marquardt Optimization Algorithm for Suspended Sediment Concentration Prediction and Estimation. Hydrol. Sci. J., 49(6), 1025-1040.

9. Agarwal, A., & Singh, R. D., (2004). Runoff Modelling through Back Propagation Artificial Neural Network with Variable Rainfall-Runoff

Data. Water Resources Management, 18(3), 285-300.

10. Kumar, D. N., Raju, K. S., & Sathish, T., (2004). River Flow Forecasting Using Recurrent Neural Networks. Water Resources Management, 18(2), 143-161.

120

Page 13: Flow regime prediction in stepped channels using neural ...web.firat.edu.tr/ijst/3-1/14_kisi-inş..pdfbelirlemede yapay sinir ağlarının kullanımının çok başarılı sonuçlar

Flow Regime Prediction in Stepped Channels Using Neural Computing Technique

11. Diamantopoulou, M. J., Antonopoulos, V. Z., & Papamichail, D. M., (2007). Cascade Correlation Artificial Neural Networks for Estimating Missing Monthly Values of Water Quality Parameters in Rivers. Water Resources Management, 21(3), 649-662.

12. Chanson, H., (2002). The Hydraulics of Stepped Chutes and Spillways. Balkema, Lisse, The Netherlands.

13. Ohtsu, I., & Yasuda, Y., (1997). Characteristics of Flow Conditions on Stepped Channels. Proc. 27th IAHR Biennial Congress, San Francisco, Theme, D, 583-588.

14. Ohtsu, I., Yasuda, Y., & Takahashi, M., (2001). Discussion of ‘Onset of Skimming Flow on Stepped Spillways’. J. Hydr. Engrg., ASCE, 127(6), 522-524.

15. Lippman, R., (1987). An Introduction to Computing with Neural Nets. IEEE ASSP Mag., 4(2), 4-22.

16. Marquardt, D., (1963). An Algorithm for Least Squares Estimation of Non-Linear Parameters. J. Soc. Ind. Appl. Math., 11(2), 431-441.

17. Hagan, M. T., & Menhaj, M., (1994). Training Feedforward Networks with the Marquardt Algorithm. IEEE Transactions on Neural Networks, 5(6), 989-993.

18. Hornik, K., Stinchcombe, M., & White, H., (1989). Multilayer Feedforward Networks are Universal Approximators. Neural Networks, 2(5), 359-366.

19. Dawson, W. C., & Wilby, R., (1998). An Artificial Neural Network Approach to Rainfall-Runoff Modeling. Hydrol. Sci. J., 43(1), 47-66.

121