Managing microgrids with intermittent resources: A two-layer multi-step optimal control approach | IEEE Conference Publication | IEEE Xplore