Text this: Optimisation of Energy Storage to Reduce CO2 Emissions