A methodology for cooperation between electric utilities and consumers for microgrid utilization based on a systems engineering approach