Microgrids feature Artificial Intelligence Based Controllers Enabling Energy Resource and Demand Forecasting