Dams are human inventions to control the intense flow of water. Prevent damages from flood disasters that can wash away…