Estuary barrages can be constructed so that the incoming tide passes through turbines generating electricity. The water can then be held in the high tide state upstream of the barrier, until it is needed. It's then released at low tide, flows out through the turbines, again turning them and generating electricity