Coal remains one of the major energy sources for the world. A fast and accurate check of ash content and the mineral matter in coal enables the early recognition of coal quality and makes fast counteractions possible.  Also, some types of mineral matter can have adverse effects on the milling equipment used to grind coal, and XRD can monitor these minerals and the ratio of minerals, which affects wear of milling equipment.