Energy management of microgrid based on day-ahead and short-term optimisation. (5th October 2020)