Microgrids more reliable and hacker safe