Optimization- and Rule-based Energy Management Systems at the Canadian Renewable Energy Laboratory microgrid facility. (15th May 2021)