In this project, I analyse the potential savings from installing a battery to store excess solar electricity and compare it with purchasing electricity from the grid. The model, created in R, simulates the impact of using a battery to store and disch...