Concept of dynamic foaming index and its application to control of slag foaming in electric arc furnace steelmaking