Optimal energy management for grid connected microgrid by using dynamic programming method | IEEE Conference Publication | IEEE Xplore