As a serious social problem, the environmental pollution has plagues mankind for a long time. In recent years, the environmental problem became more and more serious, so it has been paid more attentions to. The steam power system should be operated under the optimal scheme to meet the varying demand and power from process, to reduce cost and save energy for petrochemical industry. Steam power system is both a major energy-consuming enterprises and at the same time it is also a major source of pollutants. The gases of SO(2), NO(x), CO, CO(2) generated because of combustion of the fuels pollute and damage the environment. In the total of pollution charge standard, it does not include the charge of CO(2). However, this does not mean that CO(2) is not a pollutant. In this paper, a mixed integer linear programming (MILP) model which integrates the maintenance, changeover cost and the cost of pollution of CO(2) etc is developed. A mixed-integer nonlinear programming (MINLP) model including the maintenance of equipment, switching costs and pollution charge of CO(2) etc was established. Consideration of pollution charge of CO(2) etc as part of the total cost, although increasing in the total business operating costs, the human need to resolve the issue of environmental protection and coordinated and sustainable economic and social development has very important significance, but also has the meaning of guidance to improve the charging system of pollution.