Mathematical modeling of a battery energy storage system in grid forming mode | IEEE Conference Publication | IEEE Xplore