Quarterly report pursuant to Section 13 or 15(d)

8. FAIR VALUE MEASUREMENTS (Details-Significant Assumptions and Fair Value)

v2.4.1.9
8. FAIR VALUE MEASUREMENTS (Details-Significant Assumptions and Fair Value) (USD $)
3 Months Ended 12 Months Ended
Mar. 31, 2015
Dec. 31, 2014
Significant assumptions used in the valuations    
Fair value (in dollars) $ 2,120,000us-gaap_WarrantsAndRightsOutstanding $ 1,986,000us-gaap_WarrantsAndRightsOutstanding
Original Issuance 09/26/2012    
Significant assumptions used in the valuations    
Exercise price $ 8.85us-gaap_FairValueAssumptionsExercisePrice
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
$ 8.85us-gaap_FairValueAssumptionsExercisePrice
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
Volatility 54.60%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
51.00%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
Risk free interest rate 0.20%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
0.19%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
Term (years) 5 months 26 days 8 months 26 days
Discount for Marketability restrictions 32.00%peix_FairValueAssumptionsMarketabilityDiscount
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
37.00%peix_FairValueAssumptionsMarketabilityDiscount
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
Warrants Outstanding 452,000us-gaap_ClassOfWarrantOrRightOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
473,000us-gaap_ClassOfWarrantOrRightOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
Fair value (in dollars) 815,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
748,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssued20120926Member
Original issuance 7/3/2012    
Significant assumptions used in the valuations    
Exercise price $ 6.09us-gaap_FairValueAssumptionsExercisePrice
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
$ 6.09us-gaap_FairValueAssumptionsExercisePrice
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
Volatility 53.90%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
56.10%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
Risk free interest rate 0.56%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
0.89%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
Term (years) 2 years 3 months 4 days 2 years 6 months 4 days
Discount for Marketability restrictions 30.60%peix_FairValueAssumptionsMarketabilityDiscount
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
32.80%peix_FairValueAssumptionsMarketabilityDiscount
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
Warrants Outstanding 211,000us-gaap_ClassOfWarrantOrRightOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
211,000us-gaap_ClassOfWarrantOrRightOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
Fair value (in dollars) 855,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
811,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirdJulyTwoThousandTwelveMember
Original issuance 12/13/2011    
Significant assumptions used in the valuations    
Exercise price $ 8.43us-gaap_FairValueAssumptionsExercisePrice
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
$ 8.43us-gaap_FairValueAssumptionsExercisePrice
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
Volatility 54.80%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
54.30%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
Risk free interest rate 0.56%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
0.67%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
Term (years) 1 year 8 months 16 days 1 year 11 months 12 days
Discount for Marketability restrictions 27.30%peix_FairValueAssumptionsMarketabilityDiscount
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
28.70%peix_FairValueAssumptionsMarketabilityDiscount
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
Warrants Outstanding 138,000us-gaap_ClassOfWarrantOrRightOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
138,000us-gaap_ClassOfWarrantOrRightOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
Fair value (in dollars) $ 450,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember
$ 427,000us-gaap_WarrantsAndRightsOutstanding
/ us-gaap_FinancialInstrumentAxis
= peix_WarrantIssuedOnThirteenDecemberTwoThousandTwelveMember