XML 57 R64.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

DERIVATIVES. (Details) - Non Designated Derivative Instruments [Member] - USD ($) $ in Thousands | Sep. 30, 2019 | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | --- | ---
Cash Collateral Balance [Member] |  |  |
Derivative assets | $ 2,400 | $ 8,479 | $ 3,813
Commodity Contracts [Member] |  |  |
Derivative assets | 2,790 | 1,765 | 998
Derivative liabilities | $ 3,619 | $ 6,309 | $ 2,307

X
- Definition Fair value as of the balance sheet date of derivative instrument not designated as hedging instrument and classified as an asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value as of the balance sheet date of derivative instrument not designated as hedging instrument and classified as a liability. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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