Being dependent on weather, photovoltaic and wind system energy contributions fluctuate and are not continuously available, and sometimes not in the de-sired quantity. To avoid load shedding or blackout in this situation, the estimation-control of energy can be useful to ensure continuity of supply and assist the planning operation of the power system. This study proposes the estimation-control of the flow of energy between two microgrids interconnected via two alternating current tie-lines. Two sources of power generation depending on weather behaviours have been considered. The effectiveness of the pro-posed estimation-control model was shown using the Extended Kalman filter combined with the fmin-con algorithm.