SMART CONTROL SYSTEMS FOR WIND SOLAR AND ENERGY STORAGE MICROGRIDS