Optimized Sizing, Selection, and Economic Analysis of Battery