A system for preventing hydrate formation in a pipeline includes a heater housing. The heater housing has an outer diameter sized to travel within the pipeline. A turbine assembly is located within the heater housing. The turbine assembly has a blade that is rotatable by a flow of fluid within the pipeline. An electric heater is located within the heater housing and is electrically connected to the turbine assembly. The electric heater is selectively contacted by the flow of fluid within the pipeline.