The invention discloses a
coal rock ash content calculation method and device, equipment and a medium. The method comprises the following steps: firstly, acquiring X-
ray diffraction experiment data of total rock minerals and X-
ray element data of
coal rock at a target position; obtaining the ash content mineral type of the
coal rock according to the total rock mineral X
diffraction experiment data; calculating the
mass fraction of the ash content mineral type by using the
mass fraction of the characteristic element in the ash content mineral and the X-
ray element data; and finally, calculating the ash content data of the coal rock at the target position by using the
mass fraction of the ash content mineral type and the ash content
mineral composition. In the process, the X-ray element data of the coal rock at the target position can be obtained through an element
logging instrument on a drilling site, then a series of element calculation is carried out according to the previously obtained X-ray
diffraction experiment data of the whole rock mineral, and the ash content data of the coal rock at the target position can be obtained, so that the calculation method is simple, and the calculation efficiency is high. And the requirement on timeliness while drilling can be met.