Gas producers and blast furnaces: theory and methods of calculation.