The Sapref crude oil refinery , located in Durban , South Africa , and owned by Shell and BP PLC Petroleum , accounted for a total refining capacity of around 170,000 barrels per day as of January 2017 .