Studies On Electrical Transmission System Contingency Ranking Optimal Power Flow And Security Aspects