Onsite Gas Production for Mining Applications