Text this: Simulation of a novel combined water purification and electricity generation system