Inventories
12 Months Ended
Dec. 31, 2016
Inventory Disclosure [Abstract]  
Inventories
5.
Inventories
 
As of December 31,
 
2016
 
2015
Petroleum and related products
$
305,827

 
$
215,048

Asphalt
7,089

 
20,677

Coal
3,149

 
3,713

Natural gas
2,834

 
1,882

Inventories
$
318,899

 
$
241,320


Due to changing market conditions, the Partnership recorded a provision of $1.7 million, $27.9 million and $50.5 million as of December 31, 2016, 2015 and 2014, respectively, to write-down petroleum, natural gas and asphalt inventory to its net realizable value. These charges are included in cost of products sold (exclusive of depreciation and amortization).