Design of a State Machine for smooth microgrid transition operation | IEEE Conference Publication | IEEE Xplore