ENERGY SUPPLY CONTROL FOR A HYBRID MICROGRID USING AN