This thesis introduces a novel framework for the fundamental design of energy systems for neighbourhoods. The framework is based on the sequential integration of three software tools: QGIS, City Energy Analyst (CEA) and Urbio. QGIS is used to build the buildings database (construction standards, occupancy types and schedules). CEA is used to model the neighbourhood energy services (heating, cooling, domestic hot water and electricity for other uses, including EVs). Urbio is used to design in an optimized manner the energy infrastructure that supplies the neighbourhood. This framework was successfully used in the case study of the Vale de Santo António, a neighbourhood to be built by the Municipality of Lisbon within the scope of the Renda Acessível (Affordable Rent) program. The results show that the different software can be easily combined, thus demonstrating a flexible approach for planning neighbourhood energy infrastructures.