Design And Operation Optimisation Of Community Microgrids Considering Socio-Technical Complexity