Studies on the chemistry of thermal drying of lignite in inert atmosphere