Smart-grid and smart-districts: Case-study and techno-economic analysis