Three-Party Energy Management With Distributed Energy Resources in Smart Grid | Synapse