Designing the Power Grid