Automated determination of organic sulphur in coal