The aim of my project is to develop solutions that will allow us to reduce the surge in electricity demand in local distribution systems in the morning and afternoon hours of the day. I deal with the theoretical and practical cooperation of a Stirling engine and high temperature sodium heat pipes with a thermal energy storage system. The aim is to develop a device that can store heat energy and convert it into electricity on demand. By using the Stirling engine, the cooling system, which is combined with the domestic hot water heating system, allows for a significant increase in the efficiency of such a system. The possibility of application of efficient high-temperature sodium heat pipes can significantly simplify all systems and allow implementation in regular homes.