Application of Hybrid Agents to Smart Energy Management of a Prosumer Node