A hydroelectric power generation plant comprises a turbine (4), a penstock ( 8) upstream of the turbine and a tailrace (10) downstream of the turbine. The penstock (8) and/or the tailrace (10) comprise(s) a tubular portion curving in three dimensions. Such a tubular portion may also be used as the inlet and/or the outlet to a pump.