Optimal Control of Power Flows and Energy Local Storages in a Network of Microgrids Modeled as a System of Systems | Synapse