Modeling and simulation of Battery Energy Storage System (BESS) used in power system | Synapse