Hydroelectric Generator for Pipelines