Smart Grid Computing by Design