On-line dynamic security control in large scale power system