Professional Documents
Culture Documents
Question 1
A Unit Hydrograph is a hydrological model that represents the relationship between rainfall
input and resulting runoff output from a drainage basin or watershed. It is a simplified
representation of the hydrological response of a catchment to a unit of rainfall over a specific
duration.
Unit Hydrograph use cases: 1.Flood prediction. 2.Watershed management. 3.Reservoir design.
4.Stormwater management. 5.Environmental impact assessment.
Question 4
1 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
with plt.style.context(['science']):
plt.figure( figsize=(5,5) )
plt.plot(time, flow, marker='o')
plt.xlabel('Time (hours)')
plt.ylabel('Flood (m3/s)')
plt.title('Flood Discharge Hydrograph')
plt.show()
with plt.style.context(['science']):
plt.figure( figsize=(5,5) )
plt.plot(time, drh, marker='o')
plt.xlabel('Time (hours)')
plt.ylabel('DRH (m3/s)')
plt.title('Direct Runoff Hydrograph')
plt.show()
with plt.style.context(['science']):
plt.figure( figsize=(5,5) )
plt.plot(time, uh, marker='o')
plt.xlabel('Time (hours)')
plt.ylabel('UH (m3/s)')
plt.title('Unit Hydrograph')
plt.show()
2 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
3 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
4 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
Question 5
5 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
fig, ax = plt.subplots()
ax.annotate(
os.getcwd().replace('\\', '/'),
xy=(1.0, -0.2),
xycoords='axes fraction',
ha='right',
va='center',
fontsize=5)
# Plot the DRH
plt.plot(time, drh_ordinates)
plt.xlabel('Time (hours)')
plt.ylabel('Discharge (m^3/s)')
plt.title('Direct Runoff Hydrograph (DRH)')
plt.show()
fig, ax = plt.subplots()
ax.annotate(
os.getcwd().replace('\\', '/'),
xy=(1.0, -0.2),
xycoords='axes fraction',
ha='right',
va='center',
fontsize=5)
# Plot the UH
plt.plot(time, uh_ordinates)
plt.xlabel('Time (hours)')
plt.ylabel('Normalized Discharge (m^3/s)')
plt.title('Unit Hydrograph (UH)')
plt.show()
6 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
7 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
In [ ]:
Question 6
8 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
return unit_hydrograph
9 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
In [ ]:
In [ ]:
f = np.convolve(g, h)
print(f)
In [ ]:
Question 9
Case 1
10 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
Case 2
11 of 12 9/24/2023, 12:07 PM
Untitled http://localhost:8888/nbconvert/html/Desktop/Hydrology/Unit%20Hydr...
12 of 12 9/24/2023, 12:07 PM