XML 65 R50.htm IDEA: XBRL DOCUMENT
v3.8.0.1

SEGMENTS. (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2016 | Mar. 31, 2016 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Net Sales | $ 395,271 | $ 445,442 | $ 405,202 | $ 386,340 | $ 441,719 | $ 417,806 | $ 422,860 | $ 342,373 | $ 1,632,255 | $ 1,624,758 | $ 1,191,176
Cost of goods sold |  |  |  |  |  |  |  |  | 1,626,324 | 1,570,400 | 1,180,810
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | (38,395) | 545 | (28,907)
Depreciation and amortization |  |  |  |  |  |  |  |  | 38,651 | 35,441 | 23,632
Interest expense |  |  |  |  |  |  |  |  | 12,938 | 22,406 | 12,594
Intersubsegment Eliminations [Member] |  |  |  |  |  |  |  |  |  |  |
Net Sales |  |  |  |  |  |  |  |  | (10,362) | (9,198) | (5,262)
Cost of goods sold |  |  |  |  |  |  |  |  | (7,685) | (21,176) | (12,477)
Ethanol Production [Member] |  |  |  |  |  |  |  |  |  |  |
Net Sales |  |  |  |  |  |  |  |  | 1,104,620 | 1,046,976 | 710,201
Cost of goods sold |  |  |  |  |  |  |  |  | 1,098,977 | 1,015,655 | 716,877
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | (27,458) | (6,882) | (32,723)
Depreciation and amortization |  |  |  |  |  |  |  |  | 37,637 | 34,528 | 23,091
Interest expense |  |  |  |  |  |  |  |  | 5,887 | 20,794 | 11,969
Ethanol Production [Member] | Intersegment Net Sales [Member] |  |  |  |  |  |  |  |  |  |  |
Net Sales |  |  |  |  |  |  |  |  | 1,898 | 1,169 |
Ethanol Production [Member] | External Customers [Member] |  |  |  |  |  |  |  |  |  |  |
Net Sales |  |  |  |  |  |  |  |  | 1,102,722 | 1,045,807 | 710,201
Marketing and Distribution [Member] |  |  |  |  |  |  |  |  |  |  |
Net Sales |  |  |  |  |  |  |  |  | 537,997 | 586,980 | 486,237
Cost of goods sold |  |  |  |  |  |  |  |  | 535,032 | 575,921 | 476,410
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | (2,463) | 4,517 | 3,200
Depreciation and amortization |  |  |  |  |  |  |  |  |  | 3 | 151
Interest expense |  |  |  |  |  |  |  |  | 1,271 | 1,404 | 625
Marketing and Distribution [Member] | Intersegment Net Sales [Member] |  |  |  |  |  |  |  |  |  |  |
Net Sales |  |  |  |  |  |  |  |  | 8,464 | 8,029 | 5,262
Marketing and Distribution [Member] | External Customers [Member] |  |  |  |  |  |  |  |  |  |  |
Net Sales |  |  |  |  |  |  |  |  | 529,533 | 578,951 | 480,975
Corporate Activities [Member] |  |  |  |  |  |  |  |  |  |  |
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | (8,474) | 2,910 | 616
Depreciation and amortization |  |  |  |  |  |  |  |  | 1,014 | 910 | 390
Interest expense |  |  |  |  |  |  |  |  | $ 5,780 | $ 208 |

X
- Definition Total costs related to goods produced and sold during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2(a)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + Details
Name: | us-gaap_DepreciationAndAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 20 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(10)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(15)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(8)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.9) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_InterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_SalesRevenueNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_SubsegmentsConsolidationItemsAxis=us-gaap_IntersubsegmentEliminationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=peix_EthanolProductionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsegmentsAxis=peix_IntersegmentNetSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsegmentsAxis=peix_ExternalCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=peix_MarketingAndDistributionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=peix_CorporateActivitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |