0 Up votes0 Down votes

1 views9 pagesThis Renewable Energy - Matlab, Manning's Equation, Stream Flow is a sample practical report for application of Matlab and Manning's Equation for stream flow in a channel.

Apr 17, 2019

© © All Rights Reserved

PDF, TXT or read online from Scribd

This Renewable Energy - Matlab, Manning's Equation, Stream Flow is a sample practical report for application of Matlab and Manning's Equation for stream flow in a channel.

© All Rights Reserved

1 views

This Renewable Energy - Matlab, Manning's Equation, Stream Flow is a sample practical report for application of Matlab and Manning's Equation for stream flow in a channel.

© All Rights Reserved

- awdawd
- JAVA PROGRAMMING EXAMPLE BASIC CONCEPTS
- DR
- Untitled
- actualizare tabelul CLIENTI
- Dipolar interaction and the Manning formula
- Boundary Shear Stress in a Trapezoidal Channel
- Open Channel Flow with Variable Bottom Slope
- i18n
- Tugas Prak
- Made Easy Online Test Series
- Code Test Case
- Text
- Exception
- Coding
- koding
- Swift 3 Programming Reference Card
- Line Clipping
- Taller Prog
- hadoop.txt

You are on page 1of 9

1 INTRODUCTION

1.1 Stream Flow Fundamentals

In engineering and scientific areas, or in daily life, stream flow in channels or conduits can be hap-

pening as part of the processes involved or ordinarily without being noticed, respectively. Such fluid

flow can be in a penstock from the dam of a hydro-electric power plant, outlet piping from a gravity

oil tank, or in the garden hose connected to a household elevated water tank.

Closed conduits in engineering applications are mostly of circular or rectangular cross section and

flow in such pipes, tubes or air ducts fluids entirely contact with inner surfaces of the rigid boundaries.

For open-channel flows, boundaries could be a void or nothing at all, not of rigid material or not

entirely solid, or the boundary of flow may be another or the other part of fluid. A significant example

of these open-channel flows are those characterized by irrigation canals, rivers, tidal currents, or those

running water after a rain that travels the ground surface.

The shape and the cross sectional area of the flow can change together the stream in both closed

conduits and open channels with the flows could be varying or unsteady or changing with time. A

Flow is considered uniform or steady, that is, not changing with time, if it does not change with a

cross section or geometry change.

Laminar and turbulent flows in conduits and channels are studied in this practical report that fo-

cuses on steady uniform flow in straight channels. Insights on the various fundamental aspects of fluid

flows in the natural world such as in rivers and in the oceans that are complicated will be simplified

wherein the subject in this study can apply to a varying flow characteristics in conduits and pipes but

would be tackled in fluid dynamics lessons and standard textbooks.

The relationship between relevant parameters in open channels such as flow, channel velocity, flow

area and channel slope is determined using Manning’s equation that will be presented in this practical

report.

1.2 MatLab as Applied in Engineering

Technical computing requirements can be served well by Mathlab, a high-performance language and

development tool that integrates calculations, visualization, and programming that can be an easy-to-

use and features familiar mathematical notation to solve problems. Common application of MatLab

include mathematical computations, algorithm development, and others.

Thousands of Engineers and Scientists around the world make use of this numerical computation

and simulation tool. MatLab can be used as a fully customizable calculator as well as an interpreter

programming language, and do purely numerical calculations particularly matrix manipulations. The

MatLab environment utilizes a so-called ”symbolic” toolbox in achieving computer algebra function-

ality comparable to the computer algebra programs capability of Mathematica or Maple to calculate

with mathematical equations using symbolic operations. As an interpreter programming language,

MatLab’s command interface form has the feel with similar to the popular programming languages

such as C/C++ and implements object-oriented programming support, data structures and cell arrays

in classes construction [1].

Read or pronounced as ”Lah-tech” or ”Lay-tech”, rhymes with ”blech” or ”Bertolt Brecht”, LaTeX,

aside of being a capable document preparation system for high-quality typesetting, is commonly used

for medium-to-large technical or scientific documents. Though not a word processing software, it can

be useful in almost any form of publishing where authors are encouraged to concentrate on getting

the right content and not worry too much about the appearance of their documents.

Features and capabilities of LaTeX include covers: typesetting journal articles, technical reports,

books, and slide presentations; control over large documents containing sectioning, cross-references,

tables and figures; typesetting of complex mathematical formulas; advanced typesetting of mathemat-

ics with AMS-LaTeX; automatic generation of bibliographies and indexes; multi-lingual typesetting;

inclusion of artwork, and process or spot colour, and; using PostScript or Metafont fonts [5].

In creating this practical activity report, MIKTEX and TeXnicCenter that are freely available

LaTeX distribution for the Windows desktop environment have been used. An editable LaTex .tex

file is created as well as the .pdf file that can be opened using any PDF viewer.

2 BACKGROUND THEORY

2.1 Manning’s Equation

The Manning’s equation is an empirical equation that applies to uniform flow in open channels. This

flow is a function of the channel velocity, flow area and channel slope. Manning formula was introduced

by the Irish Engineer Robert Manning in 1889 [4] and stated as:

k 2/3 1/2

V = Rh So (1)

n

Where V is the cross-sectional average velocity, n the Manning’s coefficient which is not dimen-

sionless having certain unit of measurement, Rh is the hydraulic radius, So slope of the hydraulic grade

line or the linear hydraulic head loss which is equal to the channel bed slope when the water depth is

constant, and k being the conversion factor between SI and English units.

2

2.2 Environmental Protection Agency (EPA)

The Environmental Protection Agency is the leading environmental protection and policing oversight

agency in Ireland ensuring that country’s environment is protected, environmental changes or trends

monitored to detect early warning signs of neglect or deterioration, working with a number of organi-

zations that carry out specific environmental function derive our mandate are the Waste Management

Act, 1996, and the Protection of the Environment Act, 2003 and Radiological Protection (Miscella-

neous Provisions) Act 2014 [2].

The EPA HydroNet site provides access to hydrometric data collected at the network of Local

Authority hydrometric stations and processed by EPA. The EPA also maintains the Register of Hy-

drometric Stations In Ireland, which is available to download from HydroNet website.

The hydrometric data available from the HydroNet website will be used in determining the power

generation prospect for a particular site in Ireland. The head of a stream is the source of power in

hydro-electric generation and it is a challenging task to determine for specific watercourse sites [7].

This potential energy can be converted to power according to the equation:

P = Q · Hg · γ (2)

Where P is the power in kW lost by the water that can be converted to electricity, Q is the flow

in m3 /s, Hg is the gross head in m, and γ is the specific weight of water equal to 9.81 kN/m3 .

3.1 Rectangular Channel

Using Manning formula, the flow in a rectangular channel has a given hydraulic gradient S=0.001, and

Manning’s coefficient n=0.014. The top width of the channel T is 6m. This report gives the plot for the

chart of flow based on the variation of depth of the channel from 4m to 0.5m determined using MatLab.

Using the MatLab Script 1 a rectangular channel has resulted to an almost straight line as shown

in the plotted graph of Figure 1 implying that the relationship is uniform.

Trapezoidal open channel flow chart plot showing its variation with varying depth from 4m to 0.5m

using Manning formula and MatLab will be determined. The trapezoidal open channel which is to

be used as a power conveyance system in a hydro-power scheme has a bottom width of 3m and side

slopes with inclination of 1.5:1.

Running the MatLab Script 2, for an open trapezoidal channel with specification above Figure 2

results. It can be observed that as the depth increases, flow rate is not uniformly increasing as shown

in the curve plotted.

Power available based on a given head and flow obtained from a hydrometric data will be calculated

using MatLab and the result plotted. The EPA HydroNet site provides access to needed hydrometric

data, where assumed net head is 12 m. The hydrometric data covers 3-month time period flow rate

3

Figure 1: Rectangular Channel Flow Plot

4

Figure3:EPAHydronetSitePowerPlot,StationNo.090

as indicated. With no specific site being required, this Practical No. 1 will select the hydrometric

datafromanactiveEPAstationinIreland,StationNo.09providingriver

discharge in the period 09/08/2018 to 08/11/2018 [2].

As seen in Figure 3 for the plotted chart, availability of power resulting from varying flow is also

not uniform. This is from the fact that the hydrometric data is having variations and fluctuations

in the period covered. Plot produced using the MatLab Script 3 that mines data from an comma-

separated-values (csv) file.

Stream flow determination in a rectangular channel and an open trapezoidal channel is possible

through the use of Manning formula with the aid of MatLab as an indispensable tool. The Manning’s

coefficient would matter in the result as this is different between materials. The formula is applicable

only to channels with a flat bottom [7].

With analysis of natural watercourses more complex but the formulae can be applied for initial

approximations [7]. The learning in this activity can be of use in hydraulic engineering practically

applicable on hydro-power studies. Such initial approximation can be useful in analysing, for example,

any of the 3,446 sites that were already inspected or identified in Ireland [6].

4 THE MATLAB CODE

4.1 MatLab Scripts Used

ThecodesshownbelowcoversalltheMatLabscriptsusedinthisPracticalActivityReport

MatLab Script 1 calculates and plots fluid flow for the rectangular channel, Script 2 for the trapezoidal

open channel while Script 3 plots the power resulting from hydrometric data downloaded from the

EPA HydroNet site.

%For rectangular open channel flow calculation and plotting using Manning

%formula to show how the flow varies as the depth of the channel change

%from 4m to 0.5m

%Manning's Coefficient n

n= 0.014;

S=0.001;

b=6.0;

t=b;

y0=0.1

for I=1:40

y(I)=y0+(I−1)*.1;

A(I)=b*y(I);

P(I)=b+2*y(I);

R(I)=A(I)/P(I);

Q(I)=(1/n)*A(I)*(R(I)ˆ(2/3))*(Sˆ(1/2));

end

figure (1)

plot(y,Q,'rx−','linewidth',2);

legend('Plot where n − 0.014, S = 0.001, and T = 6');

title('Rectangular Channel Flow Based on Manning''s Equation');

xlabel('Depth (m)');

ylabel('Flow mˆ3/s');

fn2=strcat('Rect Channel graph','');

\',fn2);

fn1=strcat('D:\

saveas(gcf,fn1,'png');

%Script for trapezoidal open channel flow program using Manning formula

%to show how the flow varies as the depth of the channel change

6

%from 4m to 0.5m at bottom width of 3m and side slopes inclination of 1.5:1.

n=0.014;

%s=slope

s=0.001;

%side slope

z=1.5;

%b=width of channel

b=3.0;

%iteration programme part

yO=0.1;

for i=1:100

y(i)=yO+(i−1)*.1;

a(i)=(b+z*y(i))*y(i);

p(i)=b+2*y(i)*((1+zˆ2)ˆ(1/2));

r(i)=a(i)/p(i);

q(i)=(1/n)*a(i)*(r(i)ˆ(2/3))*(sˆ(1/2));

end

figure (2)

plot (y,q,'rx−','linewidth',2);

legend('Plot where n − 0.014, S = 0.001, z = 1.5 and b = 3');

title('Trapezoidal Open Channel Flow Based on Manning''s Equation');

xlabel ('Depth (m)');

ylabel ('Flow mˆ3/s');

fn2=strcat('Trape Channel

, graph' '');

fn1=strcat('D:\\ ',fn2);

saveas(gcf,fn1,'png');

% This script reads in a csv file as downloaded from the hydronet tool.

% The file contains flow rate data in mˆ3/s and time stamps. Once run,

% the time stamps are saved in a vector called 'date', and the corresponing

% flow rates are saved in a vector called 'flow'. Any gaps in the data are

% given a flow of zero. Used on the 3−month data from Station number

% 09010, Station Name − on the period 09/08/2018− 08/11/2018

% using MATLAB. It may require adjiustment for other stations and/or

% time periods depending on the csv format.

% 08/11/2018

% clc % Clears the MATLAB command window

% close all % Closes any open plots

\ 3 months.csv');

file id = fopen('D:\ % Opens the file with the data,

% change path and filename to

% suit actual file

% This loop esentially jumps over the first 7 lines of text so that only

% lines with data and data are to be considered

for cnt = 1:7

mydummy = fgetl(file id);

end

% This loop reads in lines from the data file until the end of the file is

% reaached

line = 1;

while 1 == 1

myvar = fgetl(file id);

if myvar ==−1

break;

7

else

% The next line sets the date equal to the time stamp

% but csv file has yyyy−mm−dd hh:mm:ss format

% need to change to mm/dd/yyy format

yyyy = myvar(1:4);

mm = myvar(6:7);

dd = myvar(9:10);

hh = myvar(12:13);

mi = myvar(15:16);

ss = myvar(18:19);

siteflow = myvar(21:25);

mydatestr = [mm,'/', dd, '/', yyyy, ' ', hh, ':', mi, ':', ss];

date{line} = datenum(mydatestr);

% This if−else statements eoither sets the flow to zero if the entry is

% empty, or sets it equal to the value in the file

len = length(myvar);

if len<=21

flow(line) = 0;

else

flow(line) = str2num(siteflow);

end

head = 12;

line = line+1;

if line > 8107 % 8107 used due to having error when exceeding arrays index

break;

end

end

end

%This is a quick plot of the flow against the date, please improve upon it.

figure(3)

%Set Latex as default text interperater

% set(figure(3),'defaulttextinterpreter','latex');

plot(flow,'rx−','linewidth',2);

% set(gca,'Xtick',[1 length(date)],'XTickLabel',{datestr(date(2)), datestr(date(end))});

xlabel('Hydrometric Data (09 Aug 2018 − 08 Nov 2018)');

%Title on the Y axis

ylabel('Flow (mˆ3/s)');

%Choose file type and save location

fn2=strcat(' Flow graph','');

\ ',fn2);

fn1=strcat('D:\

saveas(gcf,fn1,'png');

figure(4)

%Set Latex as default text interperater

% set(figure(4),'defaulttextinterpreter','latex');

% plot(date, Pow,'rx−','linewidth',2);

plot(Pow,'rx−','linewidth',2);

8

title('River Discharge (Power) for 3−Month Period','Fontsize',15);

% set(gca,'Xtick',[1 length(date)],'XTickLabel',{datestr(date(2)), datestr(date(end))});

%Title on the Y axis

ylabel('Power (kW)');

xlabel('Hydrometric Data (09 Aug 2018 − 08 Nov 2018)');

%Choose file type and save location

fn2=strcat(' Power graph','');

\ ',fn2);

fn1=strcat('D:\

saveas(gcf,fn1,'png');

References

[1] Dooley, T. (2016) Why MATLAB? A Short Introduction. [pdf] DkIT School of Engineering

(Accessed: November 2018)

November 2018)

8 Hydraulic Reference/Manning s Equation.htm (Accessed: November 2018)

[4] Oetiker, T., Partl, H., Hyna, I. and Schlegl, E. (2018). The Not So Short Introduction to LaTeX.

[pdf] Tobias Oetiker and Contributors. Available at: https://tobi.oetiker.ch/lshort/lshort.pdf

(Accessed: November 2018)

[5] Thematic Network on Small Hydropower.(2004). Guide on How to Develop a Small Hydropower

Plant. European Small Hydropower Association

- awdawdUploaded byJude Albania
- JAVA PROGRAMMING EXAMPLE BASIC CONCEPTSUploaded bynoeldtan
- DRUploaded byratulray2006
- UntitledUploaded byfuhu18
- actualizare tabelul CLIENTIUploaded byAlexiuc Bianca Diana
- Dipolar interaction and the Manning formulaUploaded byAnonymous 7VPPkWS8O
- Boundary Shear Stress in a Trapezoidal ChannelUploaded byjavid_cen
- Open Channel Flow with Variable Bottom SlopeUploaded byLászló Arany
- i18nUploaded byHuy Huy
- Tugas PrakUploaded byRizky Nogami
- Made Easy Online Test SeriesUploaded byDeepak Raina
- Code Test CaseUploaded bykhushboo_khanna
- TextUploaded bySrinivasa Reddy PolamReddy
- ExceptionUploaded bySalai Sukumar
- CodingUploaded byLia Ade Putri
- kodingUploaded byFuji M. Ullum
- Swift 3 Programming Reference CardUploaded byHamid Jahangir
- Line ClippingUploaded byRama Prasath
- Taller ProgUploaded byNoticias y Eventos TIC Tecnología
- hadoop.txtUploaded bybalaji vignesh.k
- CHAPTER 5.pdfUploaded byhalina
- JavaUploaded byArpan Kumar
- Create Worker Order FunfaUploaded byJean Carlos
- DrainageUploaded byHassan Muhammad Tunde
- Frm Clientes.designer PROYECTOUploaded byAlex Motecua Pinilla
- Assign TempletesUploaded byMena kamel
- SOLUCIÓN FINAL 17-II.docxUploaded byCesar Maza Olivares
- Student informationUploaded byMaraon Xian Manny
- Problem Set Part 2 Ready to Print CE PaperUploaded byJeffward Jaguio
- DatesInDateRange.docxUploaded bypatel saurabh

- 64 Interview QuestionsUploaded byshivakumar N
- 25 Optical Illusions That Will Make Your Brain HurtUploaded byJoeDabid
- Sample Engg Research Project Writing.pdfUploaded byJoeDabid
- Sample CV Writing 2.pdfUploaded byJoeDabid
- The Leader Who Had No Title- A Modern Fable on Real Success in Business and in Life (Book Description)Uploaded byJoeDabid
- Speaking Effectively by Dale CarnegieUploaded byLavinia Ioana Udrea
- Energy Audit for BuildingsUploaded bysubharth saha
- 52507.pdfUploaded byJoeDabid
- How to Talk So Kids Will Listen & Listen So Kids Will Talk (Excerpt, 2004)Uploaded byJoeDabid
- The Creativity Challenge -Media Confluence and Its Effects on the Evolving Advertising Industry (Paper, 2009)Uploaded byJoeDabid
- 1aDomainNames_GoDaddy.pdfUploaded byJoeDabid
- U.S. Standard Bolt Torques for Bus ConnectionsUploaded byJoeDabid
- Wiring Diagrams for Outdoor and Ceiling-mounted Motion DetectorsUploaded byJoeDabid
- How to Build Dark Activated Terrace Lamp - Circuit DiagramUploaded byJoeDabid
- UL 248 CSA - Mersen Electric.pdfUploaded byJoeDabid
- UL 486A-1995.pdfUploaded byJoeDabid
- IEC 61000-4-13-16-19 Immunity to hrmnics, inter-hrmnics and voltg Ripples in Public Power Grids- Seminar IEEE Schaffner 20151119.pdfUploaded byJoeDabid
- ERC_Res_No._16_S2011.pdfUploaded byJoeDabid
- EPIRA LAW 2001Uploaded byeuroaccess
- Technical Standards for Id (Referral Code) Final Mar31_2008Uploaded byJesse Tud
- DO_088_s2017.pdfUploaded byJoeDabid
- Construction Safety Guidelines - DOLE DAO 13.pdfUploaded byJoeDabid
- PhilDistCode.pdfUploaded byJoeDabid
- Acoustic Amplification - the Newbie''s GuideUploaded byJoeDabid
- How to Give Academic Job TalksUploaded bycharles_j_gomez

- SPE-873-G.pdfUploaded byJessica King
- Mini Hydro ThesisUploaded byAshiteru Best
- Stream Flow MeasurementsUploaded byJohn Reymer V. Saplan
- Drainage System Calculation MASMAUploaded byAsyraf Malik
- Reference Manual Du FlowUploaded byKurnia Zakiy
- 7-4 Open Channel DesignUploaded bydliu88
- chap4_final.pdfUploaded bytsehay asrat
- RC Pipes Culvert HandbookUploaded byvalerie05
- READ. mikes_civil_pe_exam_guide_-_book_sample.pdfUploaded byTABIBI11
- Simplifed Manning Formula TableUploaded byAnonymous Of0C4d
- Street Floods JESUploaded byChristian Agano
- 9 WatershedModeling-TimeConcAndCNUploaded bysuhaimitmie
- Open Channel Flow.docxUploaded byNjuguna Waweru
- Hopper Design Hand BookUploaded byAnonymous z4Fe39j
- CMP Design Guide WebUploaded byaapennsylvania
- M7-AFT-ENG.pdfUploaded byWindy Nainggolan
- 2nd Year Civil Engineering Course Detail of IOE, TU NepalUploaded bySunil Kharbuja
- Civil Breadth Mor Question 2(Some Pages)Uploaded byPedro Garcia
- chap 10 fluid mechanicsUploaded byMustafa Hyali
- Design and Estimation of Roadside DrainageUploaded byparthiv
- Chezy FormulaUploaded byMac Shaik
- Hydraulic Reference Manual IberUploaded byचन्द्र प्रकाश
- Bernoulli (1).pptUploaded bySenthilkumar Veeraiah
- 15 Gravity Sewer SpreadsheetUploaded byShashank Yadav
- Time of Concentration (NRCS)Uploaded byMuhammad Naufal
- Concrete Pipes and Portal Culverts HandbookUploaded byKenya Ayallew Asmare
- r5320102 Environmental Engineering iUploaded bysivabharathamurthy
- Earthen Channel DesignUploaded byAbrar Afzal
- file.pdfUploaded byBart Kwan
- FHWA Basics HydraulicsHDS4_608Uploaded byHelmer Edgardo Monroy González

## Much more than documents.

Discover everything Scribd has to offer, including books and audiobooks from major publishers.

Cancel anytime.