A techno-economic analysis of an optimal self-sufficient district. (15th May 2021)