OPTIMIZED DESIGN AND ANALYSIS OF SINGLE PHASE AND