XML 80 R54.htm IDEA: XBRL DOCUMENT
v3.6.0.2

5. SEGMENTS (Details - Income Statement) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2016 | Mar. 31, 2016 | Dec. 31, 2015 | Sep. 30, 2015 | Jun. 30, 2015 | Mar. 31, 2015 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Total segment revenues |  |  |  |  |  |  |  |  | $ 1,046,976 | $ 710,201 | $ 562,388
Total segment net sales |  |  |  |  |  |  |  |  | 586,980 | 486,237 | 549,010
Revenues |  |  |  |  |  |  |  |  | 1,624,758 | 1,196,438 | 1,107,412
Net sales as reported | $ 441,719 | $ 417,806 | $ 422,860 | $ 342,373 | $ 376,757 | $ 380,622 | $ 227,621 | $ 206,176 | 1,624,758 | 1,191,176 | 1,107,412
Cost of goods sold |  |  |  |  |  |  |  |  | 1,572,926 | 1,183,766 | 998,927
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | 545 | (28,907) | 41,139
Depreciation and amortization |  |  |  |  |  |  |  |  | 35,441 | 23,632 | 13,186
Interest expense |  |  |  |  |  |  |  |  | 22,406 | 12,594 | 9,438
External Customers [Member] |  |  |  |  |  |  |  |  |  |  |
Total segment revenues |  |  |  |  |  |  |  |  | 562,388 | 710,201 | 507,162
Total segment net sales |  |  |  |  |  |  |  |  | 545,024 | 480,975 | 401,275
Intersegment Net Sales [Member] |  |  |  |  |  |  |  |  |  |  |
Total segment revenues |  |  |  |  |  |  |  |  | 1,169 | 0 | 0
Total segment net sales |  |  |  |  |  |  |  |  | 8,029 | 5,262 | 3,986
Intersegment Eliminations [Member] |  |  |  |  |  |  |  |  |  |  |
Revenues |  |  |  |  |  |  |  |  | (9,198) | (5,262) | (3,986)
Cost of goods sold |  |  |  |  |  |  |  |  | (21,176) | (12,477) | (11,681)
Ethanol Production [Member] |  |  |  |  |  |  |  |  |  |  |
Cost of goods sold |  |  |  |  |  |  |  |  | 1,018,181 | 719,833 | 473,598
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | (6,882) | (32,723) | 72,278
Depreciation and amortization |  |  |  |  |  |  |  |  | 34,528 | 23,091 | 12,509
Interest expense |  |  |  |  |  |  |  |  | 20,794 | 11,969 | 7,048
Marketing and Distribution [Member] |  |  |  |  |  |  |  |  |  |  |
Cost of goods sold |  |  |  |  |  |  |  |  | 575,921 | 476,410 | 537,010
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | 4,517 | 3,200 | 6,068
Depreciation and amortization |  |  |  |  |  |  |  |  | 3 | 151 | 551
Interest expense |  |  |  |  |  |  |  |  | 1,404 | 625 | 566
Corporate Activities [Member] |  |  |  |  |  |  |  |  |  |  |
Income (loss) before provision for income taxes |  |  |  |  |  |  |  |  | 2,910 | 616 | (37,207)
Depreciation and amortization |  |  |  |  |  |  |  |  | 910 | 390 | 126
Interest expense |  |  |  |  |  |  |  |  | $ 208 | $ 0 | $ 1,824

X
- Definition Total segment net sales + References No definition available. + Details
Name: | peix_TotalSegmentNetSales
Namespace Prefix: | peix_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total segment revenues + References No definition available. + Details
Name: | peix_TotalSegmentRevenues
Namespace Prefix: | peix_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. + References Reference 1: 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=66902209&loc=d3e3602-108585 + Details
Name: | us-gaap_DepreciationDepletionAndAmortization
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 Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). + 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_Revenues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_SubsegmentsAxis=peix_ExternalCustomersMember
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_ConsolidationItemsAxis=us-gaap_IntersegmentEliminationMember
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_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: |