Modern power system analysis