Detailed discrete-time implementation of a battery-supported synchronverter for weak grids | IEEE Conference Publication | IEEE Xplore