Professional Documents
Culture Documents
figure(2)
plot(Time,h)
axis([0 10 0 10])
xlabel('Storage (in hundreds of thousand ft^3)')
ylabel('Elevation above Spillway Crest (ft)')
title('Storage Capacity of Reservoir')
figure(3)
hold on
plot(time,in)
[AX,H1,H2]=plotyy(t,output,t,storage);
axes(AX(1));ylabel('Inflow Rate and Outflow(ft^3/sec)');
axis([0 10 0 200]);set(gca,'YTick',([0:20:200])),legend('Inflow','Outflow')
axes(AX(2));ylabel('Reservoir Stage (ft)');axis([0 10 0 10]);set(gca,'YTick',
([0:1:10])),legend('Reservoir Stage')
xlabel('Time (hrs)')
title('Effect of Flowrate on Inflow, Resevoir Stage and Discharge')
hold off
figure(4)
for d=[5.0 6.5 8]
AoverK=22.36;
sim('SimulinkFloodProblem')
plot(t,input,t,output);
hold on
end
for AoverK=[13.17 34.16];
d=6.5;
sim('SimulinkFloodProblem')
plot(t,input, t, output);
end
hold off
xlabel('Time (hrs)')
axis([0 10 0 200])
ylabel('Flowrate (ft^3/sec)')
title('Effect of Pipe Size and Depth on System Performance')
%%
figure(5)
hold on
for AoK=[13.17 34.16]
d=6.5;
sim('SimulinkFloodProblem')
plot(t,storage)
end
for d=[5.0 6.5 8]
AoK=22.36;
sim('SimulinkFloodProblem')
plot(t,storage)
end
for d=6.5
AoK=[13.17 34.16]
sim('SimulinkFloodProblem')
plot(t,storage)
end
hold off
xlabel('Time (hrs)')
axis([0 10 0 10])
ylabel('Reservoir Stage (ft)')
title('Effect of Pipe Diameter and Discharge Height on the Reservoir Stage')
d=6.5 ft (36
pipe)
d=8 ft (30
pipe)
d=6.5 ft (30
pipe) d=6.5 ft (30
pipe)
d=6.5 ft (24
pipe)
Figure 5: This graph shows different performances based on pipe size
Discussion of Results:
Graph 1 displays the relationship between the inflow rate for the
reservoir system in regards to time. Near hour 2, there is a heavy inflow rate,
but it decreases rapidly shortly after.
Graph 2 indicates the relationship of storage capacity and the
elevation above the spillway crest. As storage capacity increases, so does
the spillway crest elevation.
Graph 3 shows inflow, reservoir stage, and discharge. Regarding inflow,
the graph showed an instant spike, which decreased rapidly after only 2
hours. The reservoir stage showed a less drastic climb, taking about 3 hours
to reach its maximum flow rate. It also had a slower decrease in flow. The
discharge showed a pattern similar to the inflow regarding its rapid increase.
However, it plateaued around a flow rate of 70 ft^3/sec, and stayed there for
nearly 5 hours, then it rapidly decreased.
Graph 4 demonstrates the relationship between pipe size and flow
rate. As pipe size increases, the flow rate shows a similar trend, as expected.
However, with smaller flow rates, there is a more controlled flow, allowing
flow to continue at a steady rate for a much longer period of time. As shown
with the graph, the 24 inch pipe with a 6.5 foot diameter has the most
steady, constant flow.
Graph 5, though missing two of the functions, shows a similar pattern
to Graph 4. With d=5 for a 30 inch pipe, a larger storage time was
demonstrated. With d=8ft for a 30 inch pipe, it had a slightly lower storage
time. For d=6.5 in a 24 inch pipe, there would be the largest storage time.
Time Base Change:
As given, the rates were in ft^3/second. However, when finding results,
they were to be in cubic feet per hour, which required conversion. Also, the
sheer size of the storage allowed for an additional conversion as follows:
ft 3
3600 s
s
105 ft 3
h 0.036105 ft 3
=
105 ft 3 hour
Equation 1 Assumptions:
1) Water velocity is negligible
2) Surface is horizontal
3) Spillway outlet is 6.5 ft below spillway crest and not submerged
Equation 4 Assumptions and Advantages
1) q increases rapidly with h before it reaches the channel downstream
2) Little water is backed up into the reservoir
These assumptions have many advantages for the flood routing system.
First, this saves storage capacity. With saved storage capacity, this ensures
that water will not overflow during periods of heavy runoff while also making
sure the reservoir never runs out of water.