The Impact of the Topology on Cascading Failures in a Power Grid Model