Lessons from microgrids for the COVID-19 crisis