Guidelines for Modeling of Energy Storage Devices