NOVELTY - The energy generation system (100) has a galvanic battery (110) that receives waste stream from reverse osmosis device (102) and outputs energy based on reduction-oxidation reaction occurring between metal in galvanic battery and electrolyte present in waste stream. A power distribution system (114) receives energy from galvanic battery. The power storage devices (116) are connected to power distribution system and stores energy generated by galvanic battery. The reverse osmosis device is further connected to power distribution system and receives energy enabling further operation therefrom.    USE - Energy generation system for converting waste stream to energy to provide exportable power from galvanic battery.    ADVANTAGE - Provides compact and easily transportable energy generation system in remote environments by eliminating the need for the sources. Provides self-contained system that is able to purify water, automatically generate the energy necessary for water purification, and additionally generate excess energy that is used to power external devices, all without necessarily relying on generators, fossil fuels and/or renewable energy sources since galvanic battery is configured to translate the waste into energy that is in turn directed back to the reverse osmosis (RO) unit for continued operation. Provides significant weight, cost and logistics demand improvements by adapting to leverage galvanic reaction as energy source instead of fossil fuel, and rely on potentially vast electrolyte to drive the reaction.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is included for a method of converting a waste stream to energy for purifying water.    DESCRIPTION OF DRAWING(S) - The drawing shows a schematic block diagram of the water purification system incorporating an electrolytically-driven galvanic battery.    Energy generation system (100)    Reverse osmosis device (102)    Galvanic battery (110)    Power distribution system (114)    Power storage devices (116)