Researchers found the algorithms that rank pages in internet searches also can help planners understand how to prevent failures in electrical systems.