Electrifying the energy system with heat pumps and electric vehicles is a strategy of many countries to reduce CO2 emissions. Large electrification, however, poses several new challenges for the electricity system, particularly in combination with a simultaneous substitution of nuclear power plants by volatile renewables such as photovoltaics. The increasing consumption of electricity and the growing number of installed photovoltaic systems are pushing the existing electrical grid to its limits. Today's grid must be expanded with smart controllers and their components regulated. For this purpose, an understanding of the flexible participants such as boilers, heat pumps and electric vehicles, but also of the new production facilities such as photovoltaic systems must be built up. The aim of this work is to develop an energy model in which the change of these components can be simulated and analysed. To achieve this, data such as weather data, installed boiler capacities, installed photovoltaic capacities, heat pump data and installed vehicle charging stations were collected over the entire municipality. Afterwards, a load profile generator was created, which is supposed to generate a suitable profile over a day for different weather conditions, weekdays and holidays.