Averaged modeling and control of a single-phase grid-connected two-stage inverter for battery application | IEEE Conference Publication | IEEE Xplore