The development of photovoltaic systems and wind turbines reduces the carbon footprint (CFP) of energy generation. However, these systems deteriorate the stability of the national power system (NPS). The important stabilizing element of the Polish NPS are coal-fired power plants. Since the cold startup of these units takes several hours, the stability of the NPS forces the boilers to operate so that the power can be increased quickly. Therefore, it will be impossible to abandon coal-fired units in the next years, and the boilers will be modernized to reduce their CFP. An important option is to replace coal with a fuel with a lower CFP, e.g. biomass. This paper deals with the CFP for different types of biomass. It also considers methane emissions from coal mines. The CFP for coal and biomass was compared with the CFP for green ammonia. Using 0-dimensional calculations of the boiler, the need to modernize the heating surfaces was assessed when replacing 50% and more of coal with biomass. The changed fouling of heating surfaces was taken into account. The problem of reducing harmful phenomena such as corrosion, erosion and slagging associated with such a change of fuel is also discussed.