A method of load‐flow calculations for security control in power systems