A waste-separation process that converts plastic bags into diesel and gasoline using pyrolysis. Two kilograms of plastic raw material can be converted into 1.2 liters of oil, made up of 70% diesel and 30% gasoline. With a raw material cost of 2 baht per kilogram and a production cost of 14 baht per liter, the product can be sold for 20 baht per liter, while waste products can be sold for recycling to generate sustainable income for communities.