Risk Analysis and Optimal Model for Efficiency of Reengineering the Independent Power Grids