Can open-source software prevent the next big blackout?