XML 107 R81.htm IDEA: XBRL DOCUMENT
v3.6.0.2

13. COMMON STOCK AND WARRANTS (Details Narrative) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Warrant inducements | $ 0 | $ 0 |
Fair value adjustments for warrants | $ 557 | $ (1,641) | $ 35,260
July 2012 Public Offering [Member] |  |  |
Warrants outstanding | 211,000 |  |

X
- Definition Warrant inducements + References No definition available. + Details
Name: | peix_WarrantInducements
Namespace Prefix: | peix_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 25 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=6939902&loc=d3e20148-110875 Reference 2: 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_FairValueAdjustmentOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=peix_PublicOfferingJuly2012Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |