| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" standalone="no" encoding="windows-1252"?> |
<!-- Field: Doc-Info; Name: Generator; Value: GoXBRL; Version: 5.3a --> |
<!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co --> |
<!-- Field: Doc-Info; Name: Source; Value: peix%2D20191231.xfr; Date: 2020%2D03%2D30T04:56:24Z --> |
<!-- Field: Doc-Info; Name: Status; Value: 0x00000000 --> |
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"> |
| <link:roleRef roleURI="http://pacificethanol.net/role/DocumentAndEntityInformation" xlink:href="peix-20191231.xsd#DocumentAndEntityInformation" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ConsolidatedBalanceSheets" xlink:href="peix-20191231.xsd#ConsolidatedBalanceSheets" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="peix-20191231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ConsolidatedStatementsOfOperations" xlink:href="peix-20191231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ConsolidatedStatementsOfComprehensiveLoss" xlink:href="peix-20191231.xsd#ConsolidatedStatementsOfComprehensiveLoss" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="peix-20191231.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ConsolidatedStatementsOfCashFlows" xlink:href="peix-20191231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies." xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PacificEthanolPlants." xlink:href="peix-20191231.xsd#PacificEthanolPlants." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IntercompanyAgreements." xlink:href="peix-20191231.xsd#IntercompanyAgreements." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Segments." xlink:href="peix-20191231.xsd#Segments." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PropertyAndEquipment." xlink:href="peix-20191231.xsd#PropertyAndEquipment." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IntangibleAsset." xlink:href="peix-20191231.xsd#IntangibleAsset." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Derivatives." xlink:href="peix-20191231.xsd#Derivatives." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Debt." xlink:href="peix-20191231.xsd#Debt." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Leases." xlink:href="peix-20191231.xsd#Leases." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans." xlink:href="peix-20191231.xsd#PensionPlans." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes." xlink:href="peix-20191231.xsd#IncomeTaxes." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PreferredStock." xlink:href="peix-20191231.xsd#PreferredStock." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/CommonStockAndWarrants." xlink:href="peix-20191231.xsd#CommonStockAndWarrants." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Stock-basedCompensation." xlink:href="peix-20191231.xsd#Stock-basedCompensation." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/CommitmentsAndContingencies." xlink:href="peix-20191231.xsd#CommitmentsAndContingencies." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/FairValueMeasurements." xlink:href="peix-20191231.xsd#FairValueMeasurements." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ParentCompanyFinancials." xlink:href="peix-20191231.xsd#ParentCompanyFinancials." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/QuarterlyFinancialDataUnaudited." xlink:href="peix-20191231.xsd#QuarterlyFinancialDataUnaudited." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/SubsequentEvent." xlink:href="peix-20191231.xsd#SubsequentEvent." xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Policies" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.Policies" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Tables" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PacificEthanolPlants.Tables" xlink:href="peix-20191231.xsd#PacificEthanolPlants.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Segments.Tables" xlink:href="peix-20191231.xsd#Segments.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PropertyAndEquipment.Tables" xlink:href="peix-20191231.xsd#PropertyAndEquipment.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Derivatives.Tables" xlink:href="peix-20191231.xsd#Derivatives.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Debt.Tables" xlink:href="peix-20191231.xsd#Debt.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Leases.Tables" xlink:href="peix-20191231.xsd#Leases.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans.Tables" xlink:href="peix-20191231.xsd#PensionPlans.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.Tables" xlink:href="peix-20191231.xsd#IncomeTaxes.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/CommonStockAndWarrants.Tables" xlink:href="peix-20191231.xsd#CommonStockAndWarrants.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Stock-basedCompensation.Tables" xlink:href="peix-20191231.xsd#Stock-basedCompensation.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/FairValueMeasurements.Tables" xlink:href="peix-20191231.xsd#FairValueMeasurements.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ParentCompanyFinancials.Tables" xlink:href="peix-20191231.xsd#ParentCompanyFinancials.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/QuarterlyFinancialDataUnaudited.Tables" xlink:href="peix-20191231.xsd#QuarterlyFinancialDataUnaudited.Tables" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details1" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details2" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.Details2" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details3" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.Details3" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details4" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.Details4" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.DetailsNarrative" xlink:href="peix-20191231.xsd#OrganizationAndSignificantAccountingPolicies.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PacificEthanolPlants.Details" xlink:href="peix-20191231.xsd#PacificEthanolPlants.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PacificEthanolPlants.DetailsNarrative" xlink:href="peix-20191231.xsd#PacificEthanolPlants.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IntercompanyAgreements.DetailsNarrative" xlink:href="peix-20191231.xsd#IntercompanyAgreements.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Segments.Details" xlink:href="peix-20191231.xsd#Segments.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Segments.Details1" xlink:href="peix-20191231.xsd#Segments.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Segments.DetailsNarrative" xlink:href="peix-20191231.xsd#Segments.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PropertyAndEquipment.Details" xlink:href="peix-20191231.xsd#PropertyAndEquipment.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PropertyAndEquipment.DetailsNarrative" xlink:href="peix-20191231.xsd#PropertyAndEquipment.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IntangibleAsset.DetailsNarrative" xlink:href="peix-20191231.xsd#IntangibleAsset.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Derivatives.Details" xlink:href="peix-20191231.xsd#Derivatives.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Derivatives.Details1" xlink:href="peix-20191231.xsd#Derivatives.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Derivatives.DetailsNarrative" xlink:href="peix-20191231.xsd#Derivatives.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Debt.Details" xlink:href="peix-20191231.xsd#Debt.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Debt.Details1" xlink:href="peix-20191231.xsd#Debt.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Debt.DetailsNarrative" xlink:href="peix-20191231.xsd#Debt.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Leases.Details" xlink:href="peix-20191231.xsd#Leases.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Leases.DetailsNarrative" xlink:href="peix-20191231.xsd#Leases.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans.Details" xlink:href="peix-20191231.xsd#PensionPlans.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans.Details1" xlink:href="peix-20191231.xsd#PensionPlans.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans.Details2" xlink:href="peix-20191231.xsd#PensionPlans.Details2" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans.Details3" xlink:href="peix-20191231.xsd#PensionPlans.Details3" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans.Details4" xlink:href="peix-20191231.xsd#PensionPlans.Details4" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PensionPlans.DetailsNarrative" xlink:href="peix-20191231.xsd#PensionPlans.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.Details" xlink:href="peix-20191231.xsd#IncomeTaxes.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.Details1" xlink:href="peix-20191231.xsd#IncomeTaxes.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.Details2" xlink:href="peix-20191231.xsd#IncomeTaxes.Details2" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.Details3" xlink:href="peix-20191231.xsd#IncomeTaxes.Details3" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.Details4" xlink:href="peix-20191231.xsd#IncomeTaxes.Details4" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.Details5" xlink:href="peix-20191231.xsd#IncomeTaxes.Details5" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/IncomeTaxes.DetailsNarrative" xlink:href="peix-20191231.xsd#IncomeTaxes.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/PreferredStock.DetailsNarrative" xlink:href="peix-20191231.xsd#PreferredStock.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/CommonStockAndWarrants.Details" xlink:href="peix-20191231.xsd#CommonStockAndWarrants.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/CommonStockAndWarrants.DetailsNarrative" xlink:href="peix-20191231.xsd#CommonStockAndWarrants.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Stock-basedCompensation.Details" xlink:href="peix-20191231.xsd#Stock-basedCompensation.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Stock-basedCompensation.Details1" xlink:href="peix-20191231.xsd#Stock-basedCompensation.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Stock-basedCompensation.Details2" xlink:href="peix-20191231.xsd#Stock-basedCompensation.Details2" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Stock-basedCompensation.Details3" xlink:href="peix-20191231.xsd#Stock-basedCompensation.Details3" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/Stock-basedCompensation.DetailsNarrative" xlink:href="peix-20191231.xsd#Stock-basedCompensation.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/CommitmentsAndContingencies.DetailsNarrative" xlink:href="peix-20191231.xsd#CommitmentsAndContingencies.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/FairValueMeasurements.Details" xlink:href="peix-20191231.xsd#FairValueMeasurements.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/FairValueMeasurements.Details1" xlink:href="peix-20191231.xsd#FairValueMeasurements.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/FairValueMeasurements.DetailsTextual" xlink:href="peix-20191231.xsd#FairValueMeasurements.DetailsTextual" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ParentCompanyFinancials.Details" xlink:href="peix-20191231.xsd#ParentCompanyFinancials.Details" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ParentCompanyFinancials.Details1" xlink:href="peix-20191231.xsd#ParentCompanyFinancials.Details1" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ParentCompanyFinancials.Details2" xlink:href="peix-20191231.xsd#ParentCompanyFinancials.Details2" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/ParentCompanyFinancials.DetailsNarrative" xlink:href="peix-20191231.xsd#ParentCompanyFinancials.DetailsNarrative" xlink:type="simple"/> |
| <link:roleRef roleURI="http://pacificethanol.net/role/QuarterlyFinancialDataUnaudited.Details" xlink:href="peix-20191231.xsd#QuarterlyFinancialDataUnaudited.Details" xlink:type="simple"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ConsolidatedBalanceSheets" xlink:title="00000002 - Statement - CONSOLIDATED BALANCE SHEETS"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAccountsReceivableNetCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapInventoryNet" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssetsCurrent" xlink:label="loc_us-gaapDerivativeAssetsCurrent"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapDerivativeAssetsCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrentOther" xlink:label="loc_us-gaapAssetsHeldForSaleNotPartOfDisposalGroupCurrentOther"/> |
| | <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAssetsHeldForSaleNotPartOfDisposalGroupCurrentOther" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaapOtherAssetsCurrent"/> |
| | <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapOtherAssetsCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaapOtherAssets"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssets" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetExcludingGoodwill"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssets" xlink:to="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaapOtherAssetsNoncurrent"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssets" xlink:to="loc_us-gaapOtherAssetsNoncurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:label="loc_us-gaapAssetsHeldForSaleNotPartOfDisposalGroupCurrent"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssets" xlink:to="loc_us-gaapAssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAssetsCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:type="arc" weight="1"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapOtherAssets" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableTradeCurrent" xlink:label="loc_us-gaapAccountsPayableTradeCurrent"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableTradeCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrent"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedLiabilitiesCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CapitalLeaseObligationsCurrent" xlink:label="loc_us-gaapCapitalLeaseObligationsCurrent"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapCapitalLeaseObligationsCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaapLongTermDebtCurrent"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapLongTermDebtCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgesLiabilities" xlink:label="loc_us-gaapDerivativeInstrumentsAndHedgesLiabilities"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapDerivativeInstrumentsAndHedgesLiabilities" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_LiabilitiesHeldforsale" xlink:label="loc_peixLiabilitiesHeldforsale"/> |
| | <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_peixLiabilitiesHeldforsale" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaapOtherLiabilitiesCurrent"/> |
| | <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapOtherLiabilitiesCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaapLiabilities"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLiabilitiesCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLongTermDebtNoncurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityCurrent"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapOperatingLeaseLiabilityCurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaapOtherLiabilitiesNoncurrent"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapOtherLiabilitiesNoncurrent" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaapPreferredStockValue"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapPreferredStockValue" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapCommonStockValue" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_NonvotingCommonStockValue" xlink:label="loc_peixNonvotingCommonStockValue"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_peixNonvotingCommonStockValue" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaapAdditionalPaidInCapital"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAdditionalPaidInCapital" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit"/> |
| | <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapStockholdersEquity" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaapMinorityInterest"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapMinorityInterest" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilities" xlink:type="arc" weight="1"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1"/> |
| | </link:calculationLink> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ConsolidatedBalanceSheetsParenthetical" xlink:title="00000003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ConsolidatedStatementsOfOperations" xlink:title="00000004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaapGrossProfit"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaapRevenueFromContractWithCustomerIncludingAssessedTax"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapRevenueFromContractWithCustomerIncludingAssessedTax" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaapCostOfGoodsAndServicesSold"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapCostOfGoodsAndServicesSold" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapGrossProfit" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaapSellingGeneralAndAdministrativeExpense"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapSellingGeneralAndAdministrativeExpense" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaapAssetImpairmentCharges"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapAssetImpairmentCharges" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapOperatingIncomeLoss" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaapGainsLossesOnExtinguishmentOfDebt"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapGainsLossesOnExtinguishmentOfDebt" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapInterestExpense" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherOperatingIncomeExpenseNet" xlink:label="loc_us-gaapOtherOperatingIncomeExpenseNet"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapOtherOperatingIncomeExpenseNet" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeTaxExpenseBenefit" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapNetIncomeLossAttributableToNoncontrollingInterest"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapNetIncomeLossAttributableToNoncontrollingInterest" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaapNetIncomeLossAvailableToCommonStockholdersBasic"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="loc_us-gaapNetIncomeLoss" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPreferredStock" xlink:label="loc_us-gaapDividendsPreferredStock"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="loc_us-gaapDividendsPreferredStock" xlink:type="arc" weight="-1"/> |
| | </link:calculationLink> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ConsolidatedStatementsOfComprehensiveLoss" xlink:title="00000005 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTax"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:type="arc" weight="-1"/> |
| | </link:calculationLink> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ConsolidatedStatementsOfStockholdersEquity" xlink:title="00000006 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ConsolidatedStatementsOfCashFlows" xlink:title="00000007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivities"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaapDepreciationAndAmortization"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDepreciationAndAmortization" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_AssetImpairment" xlink:label="loc_peixAssetImpairment"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_peixAssetImpairment" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_LossOnDebtExtinguishment" xlink:label="loc_peixLossOnDebtExtinguishment"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_peixLossOnDebtExtinguishment" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapDeferredIncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDeferredIncomeTaxExpenseBenefit" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaapInventoryWriteDown"/> |
| | <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapInventoryWriteDown" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="loc_us-gaapUnrealizedGainLossOnDerivatives"/> |
| | <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapUnrealizedGainLossOnDerivatives" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaapAmortizationOfFinancingCostsAndDiscounts"/> |
| | <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfFinancingCostsAndDiscounts" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="loc_us-gaapAmortizationOfDebtDiscountPremium"/> |
| | <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfDebtDiscountPremium" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation"/> |
| | <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapShareBasedCompensation" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaapProvisionForDoubtfulAccounts"/> |
| | <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapProvisionForDoubtfulAccounts" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_InterestExpenseAddedToSeniorNotes" xlink:label="loc_peixInterestExpenseAddedToSeniorNotes"/> |
| | <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_peixInterestExpenseAddedToSeniorNotes" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsReceivable"/> |
| | <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsReceivable" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories"/> |
| | <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInInventories" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/> |
| | <link:calculationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidExpensesOther" xlink:label="loc_us-gaapIncreaseDecreaseInPrepaidExpensesOther"/> |
| | <link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInPrepaidExpensesOther" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasePayments" xlink:label="loc_us-gaapOperatingLeasePayments"/> |
| | <link:calculationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapOperatingLeasePayments" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/> |
| | <link:calculationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivities"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivities"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaapProceedsFromIssuanceOfCommonStock"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceOfCommonStock" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromDivestitureOfInterestInJointVenture" xlink:label="loc_us-gaapProceedsFromDivestitureOfInterestInJointVenture"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromDivestitureOfInterestInJointVenture" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_ProceedsFromAssessmentFinancing" xlink:label="loc_peixProceedsFromAssessmentFinancing"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_peixProceedsFromAssessmentFinancing" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_PaymentsOnAssessmentFinancing" xlink:label="loc_peixPaymentsOnAssessmentFinancing"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_peixPaymentsOnAssessmentFinancing" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit" xlink:label="loc_us-gaapProceedsFromRepaymentsOfLinesOfCredit"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromRepaymentsOfLinesOfCredit" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfOtherDebt" xlink:label="loc_us-gaapRepaymentsOfOtherDebt"/> |
| | <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfOtherDebt" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfSeniorDebt" xlink:label="loc_us-gaapRepaymentsOfSeniorDebt"/> |
| | <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfSeniorDebt" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock" xlink:label="loc_us-gaapPaymentsOfDividendsPreferredStockAndPreferenceStock"/> |
| | <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapPaymentsOfDividendsPreferredStockAndPreferenceStock" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaapRepaymentsOfDebtAndCapitalLeaseObligations"/> |
| | <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfDebtAndCapitalLeaseObligations" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaapPaymentsOfDebtIssuanceCosts"/> |
| | <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapPaymentsOfDebtIssuanceCosts" xlink:type="arc" weight="-1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:type="arc" weight="1"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:type="arc" weight="1"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:type="arc" weight="1"/> |
| | </link:calculationLink> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies." xlink:title="00000008 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PacificEthanolPlants." xlink:title="00000009 - Disclosure - PACIFIC ETHANOL PLANTS."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IntercompanyAgreements." xlink:title="00000010 - Disclosure - INTERCOMPANY AGREEMENTS."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Segments." xlink:title="00000011 - Disclosure - SEGMENTS."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PropertyAndEquipment." xlink:title="00000012 - Disclosure - PROPERTY AND EQUIPMENT."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IntangibleAsset." xlink:title="00000013 - Disclosure - INTANGIBLE ASSET."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Derivatives." xlink:title="00000014 - Disclosure - DERIVATIVES."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Debt." xlink:title="00000015 - Disclosure - DEBT."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Leases." xlink:title="00000016 - Disclosure - LEASES."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans." xlink:title="00000017 - Disclosure - PENSION PLANS."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes." xlink:title="00000018 - Disclosure - INCOME TAXES."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PreferredStock." xlink:title="00000019 - Disclosure - PREFERRED STOCK."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/CommonStockAndWarrants." xlink:title="00000020 - Disclosure - COMMON STOCK AND WARRANTS."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Stock-basedCompensation." xlink:title="00000021 - Disclosure - STOCK-BASED COMPENSATION."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/CommitmentsAndContingencies." xlink:title="00000022 - Disclosure - COMMITMENTS AND CONTINGENCIES."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/FairValueMeasurements." xlink:title="00000023 - Disclosure - FAIR VALUE MEASUREMENTS."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ParentCompanyFinancials." xlink:title="00000024 - Disclosure - PARENT COMPANY FINANCIALS."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/QuarterlyFinancialDataUnaudited." xlink:title="00000025 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED)."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/SubsequentEvent." xlink:title="00000026 - Disclosure - SUBSEQUENT EVENT."/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Policies" xlink:title="00000027 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Policies)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Tables" xlink:title="00000028 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PacificEthanolPlants.Tables" xlink:title="00000029 - Disclosure - PACIFIC ETHANOL PLANTS. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Segments.Tables" xlink:title="00000030 - Disclosure - SEGMENTS. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PropertyAndEquipment.Tables" xlink:title="00000031 - Disclosure - PROPERTY AND EQUIPMENT. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Derivatives.Tables" xlink:title="00000032 - Disclosure - DERIVATIVES. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Debt.Tables" xlink:title="00000033 - Disclosure - DEBT. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Leases.Tables" xlink:title="00000034 - Disclosure - LEASES. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans.Tables" xlink:title="00000035 - Disclosure - PENSION PLANS. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.Tables" xlink:title="00000036 - Disclosure - INCOME TAXES. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/CommonStockAndWarrants.Tables" xlink:title="00000037 - Disclosure - COMMON STOCK AND WARRANTS. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Stock-basedCompensation.Tables" xlink:title="00000038 - Disclosure - STOCK-BASED COMPENSATION. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/FairValueMeasurements.Tables" xlink:title="00000039 - Disclosure - FAIR VALUE MEASUREMENTS. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ParentCompanyFinancials.Tables" xlink:title="00000040 - Disclosure - PARENT COMPANY FINANCIALS. (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/QuarterlyFinancialDataUnaudited.Tables" xlink:title="00000041 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED). (Tables)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details" xlink:title="00000042 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details1" xlink:title="00000043 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Details 1)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details2" xlink:title="00000044 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Details 2)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaapInventoryFinishedGoodsNetOfReserves"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryFinishedGoodsNetOfReserves" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaapInventoryWorkInProcessNetOfReserves"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryWorkInProcessNetOfReserves" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves" xlink:label="loc_us-gaapInventoryRawMaterialsNetOfReserves"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryRawMaterialsNetOfReserves" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_InventoryLowcarbonAndRinCreditsNetOfReserves" xlink:label="loc_peixInventoryLowcarbonAndRinCreditsNetOfReserves"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_peixInventoryLowcarbonAndRinCreditsNetOfReserves" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherInventoryNetOfReserves" xlink:label="loc_us-gaapOtherInventoryNetOfReserves"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapOtherInventoryNetOfReserves" xlink:type="arc" weight="1"/> |
| | </link:calculationLink> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details3" xlink:title="00000045 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Details 3)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.Details4" xlink:title="00000046 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Details 4)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/OrganizationAndSignificantAccountingPolicies.DetailsNarrative" xlink:title="00000047 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PacificEthanolPlants.Details" xlink:title="00000048 - Disclosure - PACIFIC ETHANOL PLANTS. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PacificEthanolPlants.DetailsNarrative" xlink:title="00000049 - Disclosure - PACIFIC ETHANOL PLANTS. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IntercompanyAgreements.DetailsNarrative" xlink:title="00000050 - Disclosure - INTERCOMPANY AGREEMENTS. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Segments.Details" xlink:title="00000051 - Disclosure - SEGMENTS. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Segments.Details1" xlink:title="00000052 - Disclosure - SEGMENTS. (Details 1)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Segments.DetailsNarrative" xlink:title="00000053 - Disclosure - SEGMENTS. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PropertyAndEquipment.Details" xlink:title="00000054 - Disclosure - PROPERTY AND EQUIPMENT. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PropertyAndEquipment.DetailsNarrative" xlink:title="00000055 - Disclosure - PROPERTY AND EQUIPMENT. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IntangibleAsset.DetailsNarrative" xlink:title="00000056 - Disclosure - INTANGIBLE ASSET. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Derivatives.Details" xlink:title="00000057 - Disclosure - DERIVATIVES. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Derivatives.Details1" xlink:title="00000058 - Disclosure - DERIVATIVES. (Details 1)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Derivatives.DetailsNarrative" xlink:title="00000059 - Disclosure - DERIVATIVES. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Debt.Details" xlink:title="00000060 - Disclosure - DEBT. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Debt.Details1" xlink:title="00000061 - Disclosure - DEBT. (Details 1)"> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearSix" xlink:label="loc_peixLongTermDebtMaturitiesRepaymentsOfPrincipalInYearSix"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_peixLongTermDebtMaturitiesRepaymentsOfPrincipalInYearSix" xlink:type="arc" weight="1"/> |
| | </link:calculationLink> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Debt.DetailsNarrative" xlink:title="00000062 - Disclosure - DEBT. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Leases.Details" xlink:title="00000063 - Disclosure - LEASES. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Leases.DetailsNarrative" xlink:title="00000064 - Disclosure - LEASES. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans.Details" xlink:title="00000065 - Disclosure - PENSION PLANS. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans.Details1" xlink:title="00000066 - Disclosure - PENSION PLANS. (Details 1)"> |
| | <link:loc xlink:type="locator" xlink:href="peix-20191231.xsd#peix_TotalExpectedBenefitPayments" xlink:label="loc_peixTotalExpectedBenefitPayments"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths" xlink:label="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths"/> |
| | <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_peixTotalExpectedBenefitPayments" xlink:to="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo" xlink:label="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo"/> |
| | <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_peixTotalExpectedBenefitPayments" xlink:to="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree" xlink:label="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree"/> |
| | <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_peixTotalExpectedBenefitPayments" xlink:to="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour" xlink:label="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour"/> |
| | <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_peixTotalExpectedBenefitPayments" xlink:to="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive" xlink:label="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive"/> |
| | <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_peixTotalExpectedBenefitPayments" xlink:to="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive" xlink:type="arc" weight="1"/> |
| | <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter" xlink:label="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter"/> |
| | <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_peixTotalExpectedBenefitPayments" xlink:to="loc_us-gaapDefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter" xlink:type="arc" weight="1"/> |
| | </link:calculationLink> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans.Details2" xlink:title="00000067 - Disclosure - PENSION PLANS. (Details 2)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans.Details3" xlink:title="00000068 - Disclosure - PENSION PLANS. (Details 3)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans.Details4" xlink:title="00000069 - Disclosure - PENSION PLANS. (Details 4)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PensionPlans.DetailsNarrative" xlink:title="00000070 - Disclosure - PENSION PLANS. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.Details" xlink:title="00000071 - Disclosure - INCOME TAXES. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.Details1" xlink:title="00000072 - Disclosure - INCOME TAXES. (Details 1)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.Details2" xlink:title="00000073 - Disclosure - INCOME TAXES. (Details 2)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.Details3" xlink:title="00000074 - Disclosure - INCOME TAXES. (Details 3)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.Details4" xlink:title="00000075 - Disclosure - INCOME TAXES. (Details 4)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.Details5" xlink:title="00000076 - Disclosure - INCOME TAXES. (Details 5)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/IncomeTaxes.DetailsNarrative" xlink:title="00000077 - Disclosure - INCOME TAXES. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/PreferredStock.DetailsNarrative" xlink:title="00000078 - Disclosure - PREFERRED STOCK. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/CommonStockAndWarrants.Details" xlink:title="00000079 - Disclosure - COMMON STOCK AND WARRANTS. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/CommonStockAndWarrants.DetailsNarrative" xlink:title="00000080 - Disclosure - COMMON STOCK AND WARRANTS. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Stock-basedCompensation.Details" xlink:title="00000081 - Disclosure - STOCK-BASED COMPENSATION. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Stock-basedCompensation.Details1" xlink:title="00000082 - Disclosure - STOCK-BASED COMPENSATION. (Details 1)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Stock-basedCompensation.Details2" xlink:title="00000083 - Disclosure - STOCK-BASED COMPENSATION. (Details 2)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Stock-basedCompensation.Details3" xlink:title="00000084 - Disclosure - STOCK-BASED COMPENSATION. (Details 3)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/Stock-basedCompensation.DetailsNarrative" xlink:title="00000085 - Disclosure - STOCK-BASED COMPENSATION. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/CommitmentsAndContingencies.DetailsNarrative" xlink:title="00000086 - Disclosure - COMMITMENTS AND CONTINGENCIES. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/FairValueMeasurements.Details" xlink:title="00000087 - Disclosure - FAIR VALUE MEASUREMENTS. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/FairValueMeasurements.Details1" xlink:title="00000088 - Disclosure - FAIR VALUE MEASUREMENTS. (Details 1)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/FairValueMeasurements.DetailsTextual" xlink:title="00000089 - Disclosure - FAIR VALUE MEASUREMENTS. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ParentCompanyFinancials.Details" xlink:title="00000090 - Disclosure - PARENT COMPANY FINANCIALS. (Details)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ParentCompanyFinancials.Details1" xlink:title="00000091 - Disclosure - PARENT COMPANY FINANCIALS. (Details 1)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ParentCompanyFinancials.Details2" xlink:title="00000092 - Disclosure - PARENT COMPANY FINANCIALS. (Details 2)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/ParentCompanyFinancials.DetailsNarrative" xlink:title="00000093 - Disclosure - PARENT COMPANY FINANCIALS. (Details Narrative)"/> |
| <link:calculationLink xlink:type="extended" xlink:role="http://pacificethanol.net/role/QuarterlyFinancialDataUnaudited.Details" xlink:title="00000094 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED). (Details)"/> |
| </link:linkbase> |