Predicting geomagnetic disturbances of power systems