XML 64 R49.htm IDEA: XBRL DOCUMENT
v3.8.0.1

INTERCOMPANY AGREEMENTS. (Details Narrative) $ / shares in Units, $ in Thousands |  |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Dec. 15, 2016 $ / shares | Jul. 01, 2015 Number $ / shares | Dec. 31, 2016 USD ($) | Dec. 31, 2017 USD ($) | Dec. 31, 2016 USD ($) | Dec. 31, 2015 USD ($)
Affiliate Management Agreement [Member] |  |  |  |  |  |
Agreement term |  | 1 year |  |  |  |
Agreement renewal term |  | 1 year |  |  |  |
Description of agreement termination |  | Pacific Ethanol may terminate the AMA, and any subsidiary may terminate the AMA, at any time by providing at least 90 days prior notice of such termination. |  |  |  |
Revenues from related party |  |  |  | $ 11,904 | $ 12,968 | $ 9,857
Ethanol Marketing Agreement [Member] | Kinergy Marketing LLC [Member] |  |  |  |  |  |
Agreement term |  | 1 year |  |  |  |
Agreement renewal term |  | 1 year |  |  |  |
Number of plants | Number |  | 9 |  |  |  |
Description of agreement terms |  | (i) the estimated purchase price payable by the third-party purchaser of the ethanol, minus (ii) the estimated amount of transportation costs to be incurred, minus (iii) the estimated incentive fee payable to Kinergy, which equals 1% of the aggregate third-party purchase price, provided that the marketing fee shall not be less than $0.015 per gallon and not more than $0.0225 per gallon. |  |  |  |
Revenues from related party |  |  |  | 8,464 | 8,029 | 5,262
Corn Procurement and Handling Agreement [Member] | Pacific Ag. Products, LLC [Member] |  |  |  |  |  |
Agreement term | 1 year |  |  |  |  |
Agreement renewal term | 1 year |  |  |  |  |
Description of agreement terms |  | Each facility appointed PAP as its exclusive agent to solicit, negotiate, enter into and administer, on its behalf, corn supply arrangements to procure the corn necessary to operate its facility. |  |  |  |
Services fees (per bushel) | $ / shares | $ 0.03 | $ 0.045 |  |  |  |
Revenues from related party |  |  |  | 4,245 | 4,386 | 2,910
New Grain Procurement Agreement [Member] | Pacific Aurora [Member] | ACEC [Member] |  |  |  |  |  |
Agreement term | 1 year |  |  |  |  |
Agreement renewal term | 1 year |  |  |  |  |
Services fees (per bushel) | $ / shares | $ 0.03 |  |  |  |  |
Grain procurement expenses |  |  | $ 107 | $ 816 |  |
Distillers Grains Marketing Agreements [Member] | Pacific Ag. Products, LLC [Member] |  |  |  |  |  |
Description of agreement terms |  |  |  | Within ten days after a plant delivers co-products to PAP, the plant is paid an amount equal to (i) the estimated purchase price payable by the third-party purchaser of the co-products, minus (ii) the estimated amount of transportation costs to be incurred, minus (iii) the estimated amount of fees and taxes payable to governmental authorities in connection with the tonnage of the co-products produced or marketed, minus (iv) the estimated incentive fee payable to the Company, which equals (a) 5% of the aggregate third-party purchase price for wet corn gluten feed, wet distillers grains, corn condensed distillers solubles and distillers grains with solubles, or (b) 1% of the aggregate third-party purchase price for corn gluten meal, dry corn gluten feed, dry distillers grains, corn germ and corn oil. Each distillers grains marketing agreement had an initial term of one year and successive one year renewal periods at the option of the individual plant. |  |
Revenues from related party |  |  |  | $ 6,020 | $ 6,047 | $ 4,438

X
- Definition It represents duration of agreement termination terms. + References No definition available. + Details
Name: | peix_AgreementRenewalTerm
Namespace Prefix: | peix_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition It represents duration of agreement terms. + References No definition available. + Details
Name: | peix_AgreementTerm
Namespace Prefix: | peix_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition It represents per bushel price of delivering and processing services fees. + References No definition available. + Details
Name: | peix_DeliveringAndProcessingServicesFeesPerDollar
Namespace Prefix: | peix_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Information realted to agreement termination terms. + References No definition available. + Details
Name: | peix_DescriptionOfAgreementTermination
Namespace Prefix: | peix_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Information realted to agreement terms. + References No definition available. + Details
Name: | peix_DescriptionOfAgreementTerms
Namespace Prefix: | peix_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Grain procurement expenses + References No definition available. + Details
Name: | peix_GrainProcurementExpenses
Namespace Prefix: | peix_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition It represents number of plants. + References No definition available. + Details
Name: | peix_NumberOfPlants
Namespace Prefix: | peix_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + 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(e)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI http://asc.fasb.org/extlink&oid=6488393&loc=d3e606610-122999 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=peix_AffiliateManagementAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=peix_EthanolMarketingAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=peix_KinergyMarketingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=peix_CornProcurementAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=peix_PacificAgProductsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=peix_NewGrainProcurementAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidatedEntitiesAxis=peix_PacificAuroraMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=peix_AuroraCoopElevatorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=peix_DistillersGrainsMarketingAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |