Text this: Modelling of a thermodynamically driven heat engine with application intended for water pumping