Annual report pursuant to Section 13 and 15(d)

1. ORGANIZATION AND BASIS OF PRESENTATION (Details Narrative)

v2.4.1.9
1. ORGANIZATION AND BASIS OF PRESENTATION (Details Narrative) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Organization, Consolidation and Presentation of Financial Statements [Abstract]      
Accounts receivable used as collateral $ 28,427us-gaap_PledgedAssetsSeparatelyReportedFinanceReceivablesPledgedAsCollateralAtFairValue $ 27,487us-gaap_PledgedAssetsSeparatelyReportedFinanceReceivablesPledgedAsCollateralAtFairValue  
Allowance for doubtful accounts 6us-gaap_AllowanceForDoubtfulAccountsReceivable 187us-gaap_AllowanceForDoubtfulAccountsReceivable  
Bad debt recoveries (42)us-gaap_ProvisionForDoubtfulAccounts 169us-gaap_ProvisionForDoubtfulAccounts (6)us-gaap_ProvisionForDoubtfulAccounts
Amortization of deferred financing costs 779us-gaap_AmortizationOfFinancingCosts 2,009us-gaap_AmortizationOfFinancingCosts 736us-gaap_AmortizationOfFinancingCosts
Unamortized deferred financing costs 356us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet    
Reduction in costs related to government payments $ 1,878peix_ReductionInCostsRelatedToGovernmentPayments $ 122peix_ReductionInCostsRelatedToGovernmentPayments $ 0peix_ReductionInCostsRelatedToGovernmentPayments
Potentially dilutive shares from convertible securities outstanding 660,000us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 1,357,000us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 246,000us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount