REAL TIME OPTIMAL CONTROL AND DISPATCHING STRATEGY OF MULTI MICROGRID