Text this: Optimal energy management for a grid-tied solar PV-battery microgrid: A reinforcement learning approach