New distributed energy resources (DER) are rapidly replacing centralized power generation due to their environmental, economic and resiliency benefits. Previous analyses of DER systems have been limited in their ability to account for socio-technical complexities, such as intermittent supply, heterogeneous demand and balance-of-system cost dynamics. Here we develop ReMatch, an interdisciplinary modelling framework, spanning engineering, consumer behaviour and data science, and apply it to 10,000 consumers in California, USA. Our results show that deploying DER would yield nearly a 50% reduction in the levelized cost of electricity (LCOE) over the status quo even after accounting for socio-technical complexities. We abstract a detailed matching of consumers to DER infrastructure from our results and discuss how this matching can facilitate the development of smart and targeted renewable energy policies, programmes and incentives. Our findings point to the large-scale economic and technical feasibility of DER and underscore the pertinent role DER can play in achieving sustainable energy goals.