Categories for Energy Storage