XML 66 R51.htm IDEA: XBRL DOCUMENT
v3.8.0.1

SEGMENTS. (Details 1) - USD ($) $ in Thousands | Dec. 31, 2017 | Dec. 31, 2016
--- | --- | ---
Assets | $ 720,296 | $ 708,238
Ethanol Production [Member] |  |
Assets | 583,696 | 542,688
Marketing and Distribution [Member] |  |
Assets | 127,242 | 146,356
Corporate Assets [Member] |  |
Assets | $ 9,358 | $ 19,194

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(12)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(11)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_Assets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=peix_EthanolProductionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=peix_MarketingAndDistributionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=peix_CorporateAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |