The role of the off-grid energy storage system is to store surplus energy during periods of high solar generation and supply it during periods of low generation or high electricity demand. This allows homeowners to reduce their reliance on the grid and achieve energy independence.