Optimal energy management for cooperative microgrids with renewable energy resources | Synapse