XML 58 R43.htm IDEA: XBRL DOCUMENT
v3.8.0.1

ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Details 3) | 12 Months Ended
--- | ---
Dec. 31, 2017
Building [Member] |
Estimated useful lives | P40Y
Facilities and plant equipment [Member] | Minimum [Member] |
Estimated useful lives | P10Y
Facilities and plant equipment [Member] | Maximum [Member] |
Estimated useful lives | P25Y
Other equipment, vehicles and furniture [Member] | Minimum [Member] |
Estimated useful lives | P5Y
Other equipment, vehicles and furniture [Member] | Maximum [Member] |
Estimated useful lives | P10Y

X
- Definition Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 35 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=68071081&loc=d3e1205-110223 + Details
Name: | us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=peix_FacilitiesAndPlanEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_OtherMachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |