Application making use of surplus or waste energy for domestic central heating or production of electricity