A Relational Network Framework for Interoperability in Distributed Energy Trading