This paper presents a battery simulation flow and system to help design engineers to simulate battery arrays, demonstrate their characteristics, their modes of operation and the results of their implementation. As an example application, a reliable battery is presented which consists of battery cells, a cell switching circuit, a battery cell array manager and a system safety manager. This is useful for managing the existing energy infrastructure in an efficient and smart manner such that batteries last for a longer time. The RelBat system is built on a management system which performs its management activities by protecting the battery from operating outside its safe operating area, monitoring its state, calculating data, reporting the data and controlling its environment (modifying the temperature). Related work has focused on a battery model system which adapts to the current profile of the device, while this research focuses on the deployment of smarter batteries to self-manage lifetime.