Optimal Microgrid Sizing using Gradient-based Algorithms with Automatic Differentiation | IEEE Conference Publication | IEEE Xplore