E-ISSN 2705-3954 | ISSN 0794-4756
 

Original Research 


Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.

Aliyu Nabage, Muyideen Oyebode, Habibu Ismail.


Abstract
Normal and critical depths are two important parameters in open-channel design for irrigation and drainage channels. This research is motivated by the lack of analytical solutions to directly compute these depths for most channels, leading to the use of tedious iterative techniques or less accurate approximation methods. This paper presents a computer model to calculate normal and critical depths in trapezoidal, circular, rectangular, and triangular open channels using explicit equations and the Python programming language. The developed model utilized improved explicit equations to provide fast and highly accurate solutions for a range of channel geometries, unlike existing solutions that are limited to certain cross-sections or requires subscription fees. Results demonstrate the model's high precision and stability across multiple channel geometries with maximum relative error (MRE) ≤ 3%, Nash-Sutcliffe Efficiency (NSE) ≥ 0.9873, mean absolute error (MAE) ≤ 0.0143m, and root mean square error (RMSE) ≤ 0.0223m, confirming almost perfect alignment with benchmark solutions. The use of Python makes the model user-friendly, reducing the need for manual calculations and minimizing errors. The model also includes visualizations of the channels to enhance the user experience. Overall, the study provides a practical tool for hydraulic designers and engineers to efficiently determine critical and normal depths in open channel flows.

Key words: Critical depth, normal depth, open channel flows, python, software development.


 
ARTICLE TOOLS
Abstract
PDF Fulltext
How to cite this articleHow to cite this article
Citation Tools
Related Records
 Articles by Aliyu Nabage
Articles by muyideen Oyebode
Articles by habibu Ismail
on Google
on Google Scholar

How to Cite this Article
Pubmed Style

Nabage A, Oyebode M, Ismail H. Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.. NJE. 2025; 32(2): 33-39.


Web Style

Nabage A, Oyebode M, Ismail H. Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.. https://www.njeabu.com.ng/?mno=227655 [Access: October 07, 2025].


AMA (American Medical Association) Style

Nabage A, Oyebode M, Ismail H. Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.. NJE. 2025; 32(2): 33-39.



Vancouver/ICMJE Style

Nabage A, Oyebode M, Ismail H. Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.. NJE. (2025), [cited October 07, 2025]; 32(2): 33-39.



Harvard Style

Nabage, A., Oyebode, . M. & Ismail, . H. (2025) Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.. NJE, 32 (2), 33-39.



Turabian Style

Nabage, Aliyu, Muyideen Oyebode, and Habibu Ismail. 2025. Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.. Nigerian Journal of Engineering, 32 (2), 33-39.



Chicago Style

Nabage, Aliyu, Muyideen Oyebode, and Habibu Ismail. "Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.." Nigerian Journal of Engineering 32 (2025), 33-39.



MLA (The Modern Language Association) Style

Nabage, Aliyu, Muyideen Oyebode, and Habibu Ismail. "Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.." Nigerian Journal of Engineering 32.2 (2025), 33-39. Print.



APA (American Psychological Association) Style

Nabage, A., Oyebode, . M. & Ismail, . H. (2025) Development of a Python-based Model for Normal and Critical Depths Computations In Open Channel Flows.. Nigerian Journal of Engineering, 32 (2), 33-39.