OPTIMIZATION CONFIGURATION METHOD FOR GRID SIDE GRID FORMING ENERGY