Quarterly report pursuant to Section 13 or 15(d)

5. DEBT (Details-Long term borrowings)

v2.4.1.9
5. DEBT (Details-Long term borrowings) (USD $)
In Thousands, unless otherwise specified
Mar. 31, 2015
Dec. 31, 2014
Long-term borrowings are summarized as follows    
Plant Owner's third-party term debt $ 17,003us-gaap_MediumTermNotes $ 17,003us-gaap_MediumTermNotes
Less short-term portion 0us-gaap_LongTermDebtCurrent 0us-gaap_LongTermDebtCurrent
Long-term debt 17,003us-gaap_LongTermDebtNoncurrent 34,533us-gaap_LongTermDebtNoncurrent
Line of Credit [Member] | Kinergy [Member]    
Long-term borrowings are summarized as follows    
Line of credit 0us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= peix_KinergyMember
/ us-gaap_DebtInstrumentAxis
= us-gaap_LineOfCreditMember
17,530us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= peix_KinergyMember
/ us-gaap_DebtInstrumentAxis
= us-gaap_LineOfCreditMember
Line of credit availability 30,000us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= peix_KinergyMember
/ us-gaap_DebtInstrumentAxis
= us-gaap_LineOfCreditMember
 
Line of Credit [Member] | Plant Owners    
Long-term borrowings are summarized as follows    
Line of credit 0us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= peix_PlantOwnersMember
/ us-gaap_DebtInstrumentAxis
= us-gaap_LineOfCreditMember
0us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= peix_PlantOwnersMember
/ us-gaap_DebtInstrumentAxis
= us-gaap_LineOfCreditMember
Line of credit availability $ 34,473us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= peix_PlantOwnersMember
/ us-gaap_DebtInstrumentAxis
= us-gaap_LineOfCreditMember