Distributed Energy Systems and Energy Communities Under Negotiation