Reliability-Constrained Optimal Sizing of Energy Storage System in a Microgrid | Synapse