Data analysis of cascading outages using historical data to mitigate blackouts