Run-of-the-river, or ROR, hydroelectricity is considered ideal for streams or rivers that can sustain a minimum flow or those regulated by a lake or reservoir upstream. A small dam is usually built to create a headpond ensuring that there is enough water entering the penstock pipes that lead to the turbines, which are at a lower elevation.