They don't need a dam. Since they are on a mountain all they need to do is consolidate the flows from all the pipes into one and feed it down the mountain into the hydro generator. I presume they would need to make sure the water can not back up, as the existing pipes are probably draining away excess water.