DESIGN AND OPTIMIZATION OF INTEGRATED DISTRIBUTED ENERGY SYSTEMS FOR