Earthquake collapse analysis of steel frames