Evaluation of Power Losses and their Impact on Battery Life in AC, DC, and Hybrid Microgrids | Synapse