XML 51 R36.htm IDEA: XBRL DOCUMENT
v3.8.0.1

COMMITMENTS AND CONTINGENCIES. (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2017
Commitments and Contingencies Disclosure [Abstract] |
Schedule of future minimum lease payments - Capital and Operating Leases | Future minimum lease payments required by non-cancelable leases in effect at December 31, 2017 were as follows (in thousands):
Years Ended December 31, |  | Capital Leases |  | Operating Leases |
2018 |  | $ | 613 |  | $ | 11,841 |
2019 |  |  | 45 |  |  | 9,236 |
2020 |  |  | 45 |  |  | 7,042 |
2021 |  |  | 34 |  |  | 4,074 |
2022 |  |  | — |  |  | 3,894 |
Thereafter |  |  | — |  |  | 5,530 |
Total minimum payments |  |  | 737 |  | $ | 41,617 |
Amount representing interest |  |  | (22 | ) |  |  |
Obligations under capital leases |  |  | 715 |  |  |  |
Obligations due within one year |  |  | (592 | ) |  |  |
Long-term obligations under capital leases |  | $ | 123 |  |  |  |

X
- Definition Schedule of future minimum lease payments - Capital and Operating Leases [Table Text Block] + References No definition available. + Details
Name: | peix_ScheduleOfFutureMinimumLeasePaymentsCapitalAndOperatingLeasesTableTextBlock
Namespace Prefix: | peix_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CommitmentsAndContingenciesDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration