AN OPTIMIZATION STUDY ON A TYPICAL RENEWABLE MICROGRID ENERGY SYSTEM