Optimising operational cost of a smart energy hub, the reinforcement learning approach | Synapse