Battery for off-grid solar systems