a method and system of optimizing microgrid operations is provided . one or more intelligent microgrid coordinators interface with the microgrid such that those microgrid coordinators are able to measure and control all microgrid asset activities . the microgrid coordinator is used to forecast the microgrid &# 39 ; s demanded load more accurately , and assign asset commands so as to optimize microgrid consumption , generation , and storage of load . the method and system incorporate a valuation of dispatchable load in optimization functions . the microgrid coordinator is further used to protect the microgrid assets from over - current situations when the microgrid is connected to the bulk electric system and when islanded . the method and system provide a means to test the microgrid controller prior to implementation on the microgrid in order to assure proper operation .