Text this: Safety and Reliability Analysis of Reconfigurable Battery Energy Storage System