A reinforcement learning approach to dairy farm battery management using Q learning | Synapse