A fitted model predictive control approach for real-time policy making of microgrid energy system