Optimisation models for the design of multiple self-consumption loops in semi-rural areas