<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.patternenergy.com/role/AccumulatedOtherComprehensiveLoss" xlink:href="pegi-20170630.xsd#AccumulatedOtherComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AccumulatedOtherComprehensiveLossSummaryOfAccumulatedOtherComprehensiveLossDetail" xlink:href="pegi-20170630.xsd#AccumulatedOtherComprehensiveLossSummaryOfAccumulatedOtherComprehensiveLossDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AccumulatedOtherComprehensiveLossTables" xlink:href="pegi-20170630.xsd#AccumulatedOtherComprehensiveLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AcquisitionAdditionalInformationDetails" xlink:href="pegi-20170630.xsd#AcquisitionAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AcquisitionNotes" xlink:href="pegi-20170630.xsd#AcquisitionNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AcquisitionScheduleOfAmountsIncludedInConsolidatedStatementsOfOperationsDetails" xlink:href="pegi-20170630.xsd#AcquisitionScheduleOfAmountsIncludedInConsolidatedStatementsOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AcquisitionScheduleOfAssetsAcquiredAndLiabiltiesAssumedDetails" xlink:href="pegi-20170630.xsd#AcquisitionScheduleOfAssetsAcquiredAndLiabiltiesAssumedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AcquisitionTables" xlink:href="pegi-20170630.xsd#AcquisitionTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AssetRetirementObligationDetails" xlink:href="pegi-20170630.xsd#AssetRetirementObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AssetRetirementObligationNotes" xlink:href="pegi-20170630.xsd#AssetRetirementObligationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/AssetRetirementObligationTables" xlink:href="pegi-20170630.xsd#AssetRetirementObligationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/CommitmentsAndContingencies" xlink:href="pegi-20170630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:href="pegi-20170630.xsd#CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/CommitmentsAndContingenciesCommitmentsAndContingenciesTables" xlink:href="pegi-20170630.xsd#CommitmentsAndContingenciesCommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/CommitmentsAndContingenciesScheduleOfFutureCommitmentsDetails" xlink:href="pegi-20170630.xsd#CommitmentsAndContingenciesScheduleOfFutureCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:href="pegi-20170630.xsd#ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="pegi-20170630.xsd#ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/ConsolidatedStatementOfStockholdersEquityUnaudited" xlink:href="pegi-20170630.xsd#ConsolidatedStatementOfStockholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="pegi-20170630.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossUnaudited" xlink:href="pegi-20170630.xsd#ConsolidatedStatementsOfComprehensiveIncomeLossUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossUnauditedParenthetical" xlink:href="pegi-20170630.xsd#ConsolidatedStatementsOfComprehensiveIncomeLossUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/ConsolidatedStatementsOfOperationsUnaudited" xlink:href="pegi-20170630.xsd#ConsolidatedStatementsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/Debt" xlink:href="pegi-20170630.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DebtConvertibleSeniorNoteDetails" xlink:href="pegi-20170630.xsd#DebtConvertibleSeniorNoteDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DebtDebtAdditionalInformationDetails" xlink:href="pegi-20170630.xsd#DebtDebtAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DebtScheduleOfDebtDetail" xlink:href="pegi-20170630.xsd#DebtScheduleOfDebtDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DebtScheduleOfReconciliationOfInterestExpenseDetail" xlink:href="pegi-20170630.xsd#DebtScheduleOfReconciliationOfInterestExpenseDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DebtTables" xlink:href="pegi-20170630.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DerivativeInstruments" xlink:href="pegi-20170630.xsd#DerivativeInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DerivativeInstrumentsAdditionalInformationDetail" xlink:href="pegi-20170630.xsd#DerivativeInstrumentsAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DerivativeInstrumentsNotionalAmountsOfOutstandingDerivativeInstrumentsDetails" xlink:href="pegi-20170630.xsd#DerivativeInstrumentsNotionalAmountsOfOutstandingDerivativeInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DerivativeInstrumentsScheduleOfDerivativeInstrumentsClassifiedAsAssetsLiabilitiesDetail" xlink:href="pegi-20170630.xsd#DerivativeInstrumentsScheduleOfDerivativeInstrumentsClassifiedAsAssetsLiabilitiesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DerivativeInstrumentsSummaryOfEffectsOfCashFlowHedgesOnConsolidatedStatementsOfOperationsDetails" xlink:href="pegi-20170630.xsd#DerivativeInstrumentsSummaryOfEffectsOfCashFlowHedgesOnConsolidatedStatementsOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DerivativeInstrumentsSummaryOfEffectsOfUndesignatedDerivativesOnConsolidatedStatementsOfOperationsDetails" xlink:href="pegi-20170630.xsd#DerivativeInstrumentsSummaryOfEffectsOfUndesignatedDerivativesOnConsolidatedStatementsOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DerivativeInstrumentsTables" xlink:href="pegi-20170630.xsd#DerivativeInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/DocumentAndEntityInformation" xlink:href="pegi-20170630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/EarningsLossPerShare" xlink:href="pegi-20170630.xsd#EarningsLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/EarningsLossPerShareComputationsOfClassBasicAndDilutedEarningsLossPerShareDetail" xlink:href="pegi-20170630.xsd#EarningsLossPerShareComputationsOfClassBasicAndDilutedEarningsLossPerShareDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/EarningsLossPerShareTables" xlink:href="pegi-20170630.xsd#EarningsLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FairValueMeasurements" xlink:href="pegi-20170630.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FairValueMeasurementsCarryingAmountsAndFairValuesOfCompanysFinancialLiabilitiesDetail" xlink:href="pegi-20170630.xsd#FairValueMeasurementsCarryingAmountsAndFairValuesOfCompanysFinancialLiabilitiesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FairValueMeasurementsFairValueLevel3InputsQuantitativeInformationDetails" xlink:href="pegi-20170630.xsd#FairValueMeasurementsFairValueLevel3InputsQuantitativeInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FairValueMeasurementsFairValueMeasurementsReconciliationOfContingentConsiderationMeasuredAtFairValueDetail" xlink:href="pegi-20170630.xsd#FairValueMeasurementsFairValueMeasurementsReconciliationOfContingentConsiderationMeasuredAtFairValueDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FairValueMeasurementsFinancialAssetsAndLiabilitiesRequiredFairValueMeasurementOnRecurringBasisDetail" xlink:href="pegi-20170630.xsd#FairValueMeasurementsFinancialAssetsAndLiabilitiesRequiredFairValueMeasurementOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FairValueMeasurementsReconciliationOfEnergyDerivativeContractMeasuredAtFairValueDetail" xlink:href="pegi-20170630.xsd#FairValueMeasurementsReconciliationOfEnergyDerivativeContractMeasuredAtFairValueDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FairValueMeasurementsTables" xlink:href="pegi-20170630.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityAdditionalInformationDetails" xlink:href="pegi-20170630.xsd#FiniteLivedIntangibleAssetAndLiabilityAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityNotes" xlink:href="pegi-20170630.xsd#FiniteLivedIntangibleAssetAndLiabilityNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityScheduleOfEstimatedFutureAmortizationExpenseDetails" xlink:href="pegi-20170630.xsd#FiniteLivedIntangibleAssetAndLiabilityScheduleOfEstimatedFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityScheduleOfMajorComponentsOfFiniteLivedIntangibleAssetsAndLiabilitiesDetails" xlink:href="pegi-20170630.xsd#FiniteLivedIntangibleAssetAndLiabilityScheduleOfMajorComponentsOfFiniteLivedIntangibleAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityTables" xlink:href="pegi-20170630.xsd#FiniteLivedIntangibleAssetAndLiabilityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/Organization" xlink:href="pegi-20170630.xsd#Organization" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/OrganizationAdditionalInformationDetail" xlink:href="pegi-20170630.xsd#OrganizationAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/PropertyPlantAndEquipment" xlink:href="pegi-20170630.xsd#PropertyPlantAndEquipment" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail" xlink:href="pegi-20170630.xsd#PropertyPlantAndEquipmentAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/PropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetail" xlink:href="pegi-20170630.xsd#PropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/PropertyPlantAndEquipmentTables" xlink:href="pegi-20170630.xsd#PropertyPlantAndEquipmentTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/RelatedPartyTransactions" xlink:href="pegi-20170630.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyPurchaseAgreementsDetails" xlink:href="pegi-20170630.xsd#RelatedPartyTransactionsRelatedPartyPurchaseAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyTransactionsAdditionalInformationDetails" xlink:href="pegi-20170630.xsd#RelatedPartyTransactionsRelatedPartyTransactionsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyTransactionsRelatedPartyReceivableAndPayableDetails" xlink:href="pegi-20170630.xsd#RelatedPartyTransactionsRelatedPartyTransactionsRelatedPartyReceivableAndPayableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyTranscationsRelatedPartyTransactionRevenueAndExpensesIncludedInStatementsOfOperationsDetails" xlink:href="pegi-20170630.xsd#RelatedPartyTransactionsRelatedPartyTranscationsRelatedPartyTransactionRevenueAndExpensesIncludedInStatementsOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/RelatedPartyTransactionsTables" xlink:href="pegi-20170630.xsd#RelatedPartyTransactionsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/StockholdersEquity" xlink:href="pegi-20170630.xsd#StockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/StockholdersEquityAdditionalInformationDetails" xlink:href="pegi-20170630.xsd#StockholdersEquityAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/StockholdersEquityStockholdersEquitySummaryOfNoncontrollingInterestBalancesByProjectsDetails" xlink:href="pegi-20170630.xsd#StockholdersEquityStockholdersEquitySummaryOfNoncontrollingInterestBalancesByProjectsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/StockholdersEquitySummaryOfCashDividendsDeclaredOnClassCommonStockDetail" xlink:href="pegi-20170630.xsd#StockholdersEquitySummaryOfCashDividendsDeclaredOnClassCommonStockDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/StockholdersEquitySummaryOfNoncontrollingInterestBalancesDetail" xlink:href="pegi-20170630.xsd#StockholdersEquitySummaryOfNoncontrollingInterestBalancesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/StockholdersEquityTables" xlink:href="pegi-20170630.xsd#StockholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/SubsequentEvents" xlink:href="pegi-20170630.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/SubsequentEventsAdditionalInformationDetail" xlink:href="pegi-20170630.xsd#SubsequentEventsAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="pegi-20170630.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="pegi-20170630.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesReconciliationOfCashCashEquivalentAndRestrictedCashAsPresentedInScfDetails" xlink:href="pegi-20170630.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesReconciliationOfCashCashEquivalentAndRestrictedCashAsPresentedInScfDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTables" xlink:href="pegi-20170630.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/UnconsolidatedInvestments" xlink:href="pegi-20170630.xsd#UnconsolidatedInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/UnconsolidatedInvestmentsAdditionalInformationDetail" xlink:href="pegi-20170630.xsd#UnconsolidatedInvestmentsAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/UnconsolidatedInvestmentsScheduleOfProjectsAccountedUnderEquityMethodOfAccountingDetail" xlink:href="pegi-20170630.xsd#UnconsolidatedInvestmentsScheduleOfProjectsAccountedUnderEquityMethodOfAccountingDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/UnconsolidatedInvestmentsSummarizedOperatingResultsOfUnconsolidatedInvesteesDetail" xlink:href="pegi-20170630.xsd#UnconsolidatedInvestmentsSummarizedOperatingResultsOfUnconsolidatedInvesteesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/UnconsolidatedInvestmentsTables" xlink:href="pegi-20170630.xsd#UnconsolidatedInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/VariableInterestEntities" xlink:href="pegi-20170630.xsd#VariableInterestEntities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/VariableInterestEntitiesScheduleOfVariableInterestEntitiesDetails" xlink:href="pegi-20170630.xsd#VariableInterestEntitiesScheduleOfVariableInterestEntitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.patternenergy.com/role/VariableInterestEntitiesTables" xlink:href="pegi-20170630.xsd#VariableInterestEntitiesTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AccumulatedOtherComprehensiveLoss" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AccumulatedOtherComprehensiveLossSummaryOfAccumulatedOtherComprehensiveLossDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_80870f71-876e-eaaa-f0a4-8338d8e9798b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_80870f71-876e-eaaa-f0a4-8338d8e9798b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_c1323577-e536-9051-1401-d064e7621fd6" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_c1323577-e536-9051-1401-d064e7621fd6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AccumulatedOtherComprehensiveLossTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AcquisitionAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AcquisitionNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AcquisitionScheduleOfAmountsIncludedInConsolidatedStatementsOfOperationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AcquisitionScheduleOfAssetsAcquiredAndLiabiltiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest_4016ff8b-e2b0-58cf-5c7a-8080f6b1f0ce" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest_4016ff8b-e2b0-58cf-5c7a-8080f6b1f0ce" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_5a23735a-10c2-64f7-3d5a-453792d1607d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_5a23735a-10c2-64f7-3d5a-453792d1607d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_95ec2852-df8b-d033-5d13-a8d506cf481d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_95ec2852-df8b-d033-5d13-a8d506cf481d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_31b59b3c-3561-f961-13ba-e3cc74150736" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_31b59b3c-3561-f961-13ba-e3cc74150736" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_5b003f99-1ebc-d424-a2bb-b9c656db2150" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_5b003f99-1ebc-d424-a2bb-b9c656db2150" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedRestrictedCash" xlink:label="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedRestrictedCash_D8684E0B6D94400192B59AB69B0356E1" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedRestrictedCash_D8684E0B6D94400192B59AB69B0356E1" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDeferredFinancingCostsNet" xlink:label="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDeferredFinancingCostsNet_0EB8E49A8CDB8D8C39C89AC77A226EE7" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDeferredFinancingCostsNet_0EB8E49A8CDB8D8C39C89AC77A226EE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_4e5d7007-764c-d3cb-5dbd-3a33b1b3941c" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_4e5d7007-764c-d3cb-5dbd-3a33b1b3941c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_72cc2501-68a2-887c-26e3-e18106a6e94e" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_72cc2501-68a2-887c-26e3-e18106a6e94e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_9481f0ea-bead-3f1d-7474-6ec0c6f5f2a6" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_9481f0ea-bead-3f1d-7474-6ec0c6f5f2a6" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccruedInterest" xlink:label="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccruedInterest_F542E0573B9E348A38BE9ACA3416E937" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccruedInterest_F542E0573B9E348A38BE9ACA3416E937" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_73ac06cd-06ee-ff9c-c853-0c7d466897a7" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_73ac06cd-06ee-ff9c-c853-0c7d466897a7" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccruedConstructionCost" xlink:label="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccruedConstructionCost_6CA4D19A58F1446A82329ACBF5F80813" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccruedConstructionCost_6CA4D19A58F1446A82329ACBF5F80813" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedRelatedPartyPayable" xlink:label="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedRelatedPartyPayable_AE7B7C80329C05BE69939AD4D1B89473" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedRelatedPartyPayable_AE7B7C80329C05BE69939AD4D1B89473" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability_2162af04-034d-7d01-2d38-155998aa2a2e" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability_2162af04-034d-7d01-2d38-155998aa2a2e" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAssetRetirementObligation" xlink:label="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAssetRetirementObligation_06D1EA13F1663A38FAD19AD65B68B43E" xlink:type="locator" />
    <link:calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_pegi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAssetRetirementObligation_06D1EA13F1663A38FAD19AD65B68B43E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_ab45d662-d92f-84fb-2ae9-0e4960fdcc79" xlink:type="locator" />
    <link:calculationArc order="16" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_017de627-23c1-637c-52df-ee2eb736b728" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_ab45d662-d92f-84fb-2ae9-0e4960fdcc79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_1a2775dc-bec6-770c-7ab4-5cb038b02422" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest_4016ff8b-e2b0-58cf-5c7a-8080f6b1f0ce" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_1a2775dc-bec6-770c-7ab4-5cb038b02422" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AcquisitionTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AssetRetirementObligationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AssetRetirementObligationNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/AssetRetirementObligationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/CommitmentsAndContingenciesCommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/CommitmentsAndContingenciesScheduleOfFutureCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_a60bcc29-ea54-d3fe-1b8f-e03a66d7278c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_5046b63b-148e-eb12-dd52-2a1e8f1e69c0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_a60bcc29-ea54-d3fe-1b8f-e03a66d7278c" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_5046b63b-148e-eb12-dd52-2a1e8f1e69c0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentDueInNextTwelveMonths" xlink:label="loc_us-gaap_OtherCommitmentDueInNextTwelveMonths_cf6251cc-e72a-3755-6588-d0e4be6181f4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_a60bcc29-ea54-d3fe-1b8f-e03a66d7278c" xlink:to="loc_us-gaap_OtherCommitmentDueInNextTwelveMonths_cf6251cc-e72a-3755-6588-d0e4be6181f4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInSecondYear" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_7445eab5-4f31-9f8f-4766-e60691a32dba" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_483c5d20-89a2-da39-b56f-2ea722d97042" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInSecondYear_7445eab5-4f31-9f8f-4766-e60691a32dba" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_483c5d20-89a2-da39-b56f-2ea722d97042" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentDueInSecondYear" xlink:label="loc_us-gaap_OtherCommitmentDueInSecondYear_1920aaae-1612-ba86-c023-ae86bfe90d54" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInSecondYear_7445eab5-4f31-9f8f-4766-e60691a32dba" xlink:to="loc_us-gaap_OtherCommitmentDueInSecondYear_1920aaae-1612-ba86-c023-ae86bfe90d54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInThirdYear" xlink:label="loc_us-gaap_ContractualObligationDueInThirdYear_38be66cc-8da9-4a75-a44a-c9d6b2088ae3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_b5a3356e-f555-ddd5-297a-b04afe0bfd5c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInThirdYear_38be66cc-8da9-4a75-a44a-c9d6b2088ae3" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_b5a3356e-f555-ddd5-297a-b04afe0bfd5c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentDueInThirdYear" xlink:label="loc_us-gaap_OtherCommitmentDueInThirdYear_43088721-50cb-f723-5603-4e2c9539e1c0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInThirdYear_38be66cc-8da9-4a75-a44a-c9d6b2088ae3" xlink:to="loc_us-gaap_OtherCommitmentDueInThirdYear_43088721-50cb-f723-5603-4e2c9539e1c0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInFourthYear" xlink:label="loc_us-gaap_ContractualObligationDueInFourthYear_21cf8f3a-fb7f-81dd-a79e-51aa78b44493" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_6818de09-a032-5221-5ee6-896e1c2d0634" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInFourthYear_21cf8f3a-fb7f-81dd-a79e-51aa78b44493" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_6818de09-a032-5221-5ee6-896e1c2d0634" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentDueInFourthYear" xlink:label="loc_us-gaap_OtherCommitmentDueInFourthYear_eef12031-c120-45ce-f9cb-dd19621e864a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInFourthYear_21cf8f3a-fb7f-81dd-a79e-51aa78b44493" xlink:to="loc_us-gaap_OtherCommitmentDueInFourthYear_eef12031-c120-45ce-f9cb-dd19621e864a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInFifthYear" xlink:label="loc_us-gaap_ContractualObligationDueInFifthYear_6ab8da6f-8c32-646b-8b8c-0258d346ddfd" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_56f89e4f-d247-3cf0-a749-00554ab475a6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInFifthYear_6ab8da6f-8c32-646b-8b8c-0258d346ddfd" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_56f89e4f-d247-3cf0-a749-00554ab475a6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentDueInFifthYear" xlink:label="loc_us-gaap_OtherCommitmentDueInFifthYear_5db7ae47-375d-16d6-90d2-015466cdf8f2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueInFifthYear_6ab8da6f-8c32-646b-8b8c-0258d346ddfd" xlink:to="loc_us-gaap_OtherCommitmentDueInFifthYear_5db7ae47-375d-16d6-90d2-015466cdf8f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueAfterFifthYear" xlink:label="loc_us-gaap_ContractualObligationDueAfterFifthYear_243f641b-2fb5-2068-f30a-517594daa2f9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_fb0efb32-4bb1-57d0-236e-d8af81dc125f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueAfterFifthYear_243f641b-2fb5-2068-f30a-517594daa2f9" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_fb0efb32-4bb1-57d0-236e-d8af81dc125f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentDueAfterFifthYear" xlink:label="loc_us-gaap_OtherCommitmentDueAfterFifthYear_0166b876-f979-55b7-4f00-0184a1534b23" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligationDueAfterFifthYear_243f641b-2fb5-2068-f30a-517594daa2f9" xlink:to="loc_us-gaap_OtherCommitmentDueAfterFifthYear_0166b876-f979-55b7-4f00-0184a1534b23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligation" xlink:label="loc_us-gaap_ContractualObligation_b52aa1d2-06d3-63fa-9b38-341f37476ff3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_b52aa1d2-06d3-63fa-9b38-341f37476ff3" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:type="arc" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_5046b63b-148e-eb12-dd52-2a1e8f1e69c0" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_483c5d20-89a2-da39-b56f-2ea722d97042" xlink:type="arc" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_b5a3356e-f555-ddd5-297a-b04afe0bfd5c" xlink:type="arc" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_6818de09-a032-5221-5ee6-896e1c2d0634" xlink:type="arc" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_56f89e4f-d247-3cf0-a749-00554ab475a6" xlink:type="arc" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_fb0efb32-4bb1-57d0-236e-d8af81dc125f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitment" xlink:label="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_b52aa1d2-06d3-63fa-9b38-341f37476ff3" xlink:to="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:type="arc" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:to="loc_us-gaap_OtherCommitmentDueInNextTwelveMonths_cf6251cc-e72a-3755-6588-d0e4be6181f4" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:to="loc_us-gaap_OtherCommitmentDueInSecondYear_1920aaae-1612-ba86-c023-ae86bfe90d54" xlink:type="arc" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:to="loc_us-gaap_OtherCommitmentDueInThirdYear_43088721-50cb-f723-5603-4e2c9539e1c0" xlink:type="arc" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:to="loc_us-gaap_OtherCommitmentDueInFourthYear_eef12031-c120-45ce-f9cb-dd19621e864a" xlink:type="arc" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:to="loc_us-gaap_OtherCommitmentDueInFifthYear_5db7ae47-375d-16d6-90d2-015466cdf8f2" xlink:type="arc" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherCommitment_a029e72a-1448-0635-206e-510bd78b15ed" xlink:to="loc_us-gaap_OtherCommitmentDueAfterFifthYear_0166b876-f979-55b7-4f00-0184a1534b23" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent_6832cb4d-f6a5-2eaf-1607-6c96a65b5d1d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent_6832cb4d-f6a5-2eaf-1607-6c96a65b5d1d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeCollateralObligationToReturnCash" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_8060d50a-80f9-7a72-a6c9-845ee11dfd93" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_8060d50a-80f9-7a72-a6c9-845ee11dfd93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionPayableCurrent" xlink:label="loc_us-gaap_ConstructionPayableCurrent_6a20da75-1410-66ab-0716-6b7a645c43ae" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_ConstructionPayableCurrent_6a20da75-1410-66ab-0716-6b7a645c43ae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestPayableCurrent" xlink:label="loc_us-gaap_InterestPayableCurrent_f399ab19-6853-cf94-a0cf-c511e9e00641" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_InterestPayableCurrent_f399ab19-6853-cf94-a0cf-c511e9e00641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableCurrent" xlink:label="loc_us-gaap_DividendsPayableCurrent_5de08225-2a59-df57-5770-2abc56efe41b" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_DividendsPayableCurrent_5de08225-2a59-df57-5770-2abc56efe41b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_02b1756e-a27a-df0b-cb87-4e42d7ab59c6" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_02b1756e-a27a-df0b-cb87-4e42d7ab59c6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent" xlink:label="loc_us-gaap_LinesOfCreditCurrent_d29327e6-acfb-7ace-2225-529ae21c4595" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_LinesOfCreditCurrent_d29327e6-acfb-7ace-2225-529ae21c4595" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_f61bf97e-c3a5-ba72-7591-eba8e7bb6a44" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_LongTermDebtCurrent_f61bf97e-c3a5-ba72-7591-eba8e7bb6a44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_b4e6cca3-6c62-3e0a-6782-510b974f1199" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_b4e6cca3-6c62-3e0a-6782-510b974f1199" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_822b66ff-44a1-e66b-5e0c-09356970a23d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_822b66ff-44a1-e66b-5e0c-09356970a23d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_3ffd0622-1cf7-dfe7-dae7-2020e36f2f4a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_3ffd0622-1cf7-dfe7-dae7-2020e36f2f4a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_314eb579-3ee1-408c-39f2-e62f2f37befc" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_314eb579-3ee1-408c-39f2-e62f2f37befc" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_FiniteLivedIntangibleLiabilityNet" xlink:label="loc_pegi_FiniteLivedIntangibleLiabilityNet_e28ddfb8-195d-122b-4060-c764f42d10db" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_pegi_FiniteLivedIntangibleLiabilityNet_e28ddfb8-195d-122b-4060-c764f42d10db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyAccrualCarryingValueNoncurrent" xlink:label="loc_us-gaap_LossContingencyAccrualCarryingValueNoncurrent_534f2858-0338-b1f7-37c0-6d7a38fbd862" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_LossContingencyAccrualCarryingValueNoncurrent_534f2858-0338-b1f7-37c0-6d7a38fbd862" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_f234998c-5e05-09d0-d53e-5c44423c97c0" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_f234998c-5e05-09d0-d53e-5c44423c97c0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_058e01e4-b9a1-623e-29f5-1b5c79bf095a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_CommitmentsAndContingencies_058e01e4-b9a1-623e-29f5-1b5c79bf095a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_00443492-92dd-7fc1-13b6-792f3e163e73" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_00443492-92dd-7fc1-13b6-792f3e163e73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_00443492-92dd-7fc1-13b6-792f3e163e73" xlink:to="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_c3f7606a-e7e9-61d5-b60b-b4b059f68b26" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_CommonStockValue_c3f7606a-e7e9-61d5-b60b-b4b059f68b26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_41895068-9590-2880-73df-521995865843" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_41895068-9590-2880-73df-521995865843" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_40678492-c421-af67-b276-f663f9ff2f98" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_TreasuryStockValue_40678492-c421-af67-b276-f663f9ff2f98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_cb565c4d-35c2-d825-4672-f1619e51c133" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_00443492-92dd-7fc1-13b6-792f3e163e73" xlink:to="loc_us-gaap_MinorityInterest_cb565c4d-35c2-d825-4672-f1619e51c133" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashCurrent" xlink:label="loc_us-gaap_RestrictedCashCurrent_2c642bd3-af0e-2712-c577-dff033ad00ba" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_RestrictedCashCurrent_2c642bd3-af0e-2712-c577-dff033ad00ba" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_CashCollateralfromDerivativeCounterparty" xlink:label="loc_pegi_CashCollateralfromDerivativeCounterparty_9a1d5829-fe18-82ad-fd12-c764f5001b4a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_pegi_CashCollateralfromDerivativeCounterparty_9a1d5829-fe18-82ad-fd12-c764f5001b4a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssetsCurrent" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_84c72a40-7d41-ae62-5328-afed8a5c4ed6" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_84c72a40-7d41-ae62-5328-afed8a5c4ed6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_e844b255-713b-0357-7991-a8c78d02cb50" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_e844b255-713b-0357-7991-a8c78d02cb50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_1cb4a384-e314-2300-ad55-c1ed289c8f7a" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_OtherAssetsCurrent_1cb4a384-e314-2300-ad55-c1ed289c8f7a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_acf0c358-a61d-28c6-19f2-2da3c8481104" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_acf0c358-a61d-28c6-19f2-2da3c8481104" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashNoncurrent" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_fb3f4117-3448-7901-1609-fbf2b3e475d2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_fb3f4117-3448-7901-1609-fbf2b3e475d2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_cf3b9d2e-b42f-76bb-8c85-9bcfc4c76505" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_EquityMethodInvestments_cf3b9d2e-b42f-76bb-8c85-9bcfc4c76505" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssetsNoncurrent" xlink:label="loc_us-gaap_DerivativeAssetsNoncurrent_16051231-04bd-ea94-b23d-97f0ca04a36d" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_DerivativeAssetsNoncurrent_16051231-04bd-ea94-b23d-97f0ca04a36d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_85290519-a44c-f686-b107-7681ee65be9b" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_85290519-a44c-f686-b107-7681ee65be9b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsNetNoncurrent_0176d7b6-3703-b24f-2db3-fb35a9f915aa" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_DeferredTaxAssetsNetNoncurrent_0176d7b6-3703-b24f-2db3-fb35a9f915aa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_49187b45-82fd-7060-b114-79ff249a4331" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_49187b45-82fd-7060-b114-79ff249a4331" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/ConsolidatedStatementOfStockholdersEquityUnaudited" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:href="pegi-20170630.xsd#pegi_CashCashEquivAndRestrictedCashPeriodIncreaseDecrease" xlink:label="loc_pegi_CashCashEquivAndRestrictedCashPeriodIncreaseDecrease_72d1ff8f-597e-1601-8579-c764f3d2d9fd" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_CashCashEquivAndRestrictedCashPeriodIncreaseDecrease_72d1ff8f-597e-1601-8579-c764f3d2d9fd" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationAmortizationAndAccretionNet" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_9b039144-dc24-2381-1de5-20fa04e9b091" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_9b039144-dc24-2381-1de5-20fa04e9b091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_88999971-796e-a544-2b43-0669ab932f8e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_88999971-796e-a544-2b43-0669ab932f8e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_e9a2cdf1-6f49-806b-7b55-b9320bcfa87f" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_e9a2cdf1-6f49-806b-7b55-b9320bcfa87f" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_FairValueAdjustmentAmortizationofContractualAgreements" xlink:label="loc_pegi_FairValueAdjustmentAmortizationofContractualAgreements_7ce2925f-b0d5-9292-3d31-c764f3eb12dc" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_pegi_FairValueAdjustmentAmortizationofContractualAgreements_7ce2925f-b0d5-9292-3d31-c764f3eb12dc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_91588d40-6b1c-c6a6-0c2d-43cdc65db077" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_91588d40-6b1c-c6a6-0c2d-43cdc65db077" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_e3eecf87-b290-4567-8a59-5b0a8e27c85b" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_ShareBasedCompensation_e3eecf87-b290-4567-8a59-5b0a8e27c85b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_68e10ff8-b323-b033-86bb-bb6c9af3232f" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_68e10ff8-b323-b033-86bb-bb6c9af3232f" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_NonCashIncomeLossFromEquityMethodInvestments" xlink:label="loc_pegi_NonCashIncomeLossFromEquityMethodInvestments_1b1ba9a9-bb3a-d06d-a76f-c764f4cf2a60" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_pegi_NonCashIncomeLossFromEquityMethodInvestments_1b1ba9a9-bb3a-d06d-a76f-c764f4cf2a60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_88b934f7-92d0-1533-191a-90f7368739a4" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_88b934f7-92d0-1533-191a-90f7368739a4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_334d555b-b9fe-0977-e786-bc2e16922108" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_334d555b-b9fe-0977-e786-bc2e16922108" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseCashCollateralFromCounterparties" xlink:label="loc_us-gaap_IncreaseDecreaseCashCollateralFromCounterparties_87f72ad8-28cb-e295-fc59-e654de40e2fa" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseCashCollateralFromCounterparties_87f72ad8-28cb-e295-fc59-e654de40e2fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_dd4bfa5e-1979-c817-e8a9-371104c0d4f7" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_dd4bfa5e-1979-c817-e8a9-371104c0d4f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_c998cbd2-a633-c2ec-1932-e3bfedecbc9f" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_c998cbd2-a633-c2ec-1932-e3bfedecbc9f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_2dda25d5-7739-c1f6-acbf-76965aaf9644" xlink:type="locator" />
    <link:calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_2dda25d5-7739-c1f6-acbf-76965aaf9644" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_9c014c8e-ef65-6055-d342-3e048173d471" xlink:type="locator" />
    <link:calculationArc order="16" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_9c014c8e-ef65-6055-d342-3e048173d471" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_73e959a8-32b6-697e-66b5-86ef5a29476e" xlink:type="locator" />
    <link:calculationArc order="17" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_73e959a8-32b6-697e-66b5-86ef5a29476e" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_Increasedecreaseinliabilitytoreturncashcollateral" xlink:label="loc_pegi_Increasedecreaseinliabilitytoreturncashcollateral_66db104a-bdad-7e3b-3470-c764f4a1fb6e" xlink:type="locator" />
    <link:calculationArc order="18" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_pegi_Increasedecreaseinliabilitytoreturncashcollateral_66db104a-bdad-7e3b-3470-c764f4a1fb6e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_7c9b8031-2c89-2c7f-60e7-6af976eb8a29" xlink:type="locator" />
    <link:calculationArc order="19" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_7c9b8031-2c89-2c7f-60e7-6af976eb8a29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_cc375194-a38e-33da-b1f1-b2b16c2222e2" xlink:type="locator" />
    <link:calculationArc order="20" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_cc375194-a38e-33da-b1f1-b2b16c2222e2" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_IncreaseDecreaseInLongTermLiabilities" xlink:label="loc_pegi_IncreaseDecreaseInLongTermLiabilities_9333f30f-9b28-e861-464d-c764f4beae51" xlink:type="locator" />
    <link:calculationArc order="21" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_pegi_IncreaseDecreaseInLongTermLiabilities_9333f30f-9b28-e861-464d-c764f4beae51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_5ffad1f9-ed26-c38a-cad9-7d2f16245ec2" xlink:type="locator" />
    <link:calculationArc order="22" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_9ead1b94-5c78-ce9f-379f-74649d16d2bc" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_5ffad1f9-ed26-c38a-cad9-7d2f16245ec2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_CashCashEquivAndRestrictedCashPeriodIncreaseDecrease_72d1ff8f-597e-1601-8579-c764f3d2d9fd" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForCapitalImprovements" xlink:label="loc_us-gaap_PaymentsForCapitalImprovements_62b78093-0139-0cce-4a62-e93480c53ee8" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:to="loc_us-gaap_PaymentsForCapitalImprovements_62b78093-0139-0cce-4a62-e93480c53ee8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_1ae5d9ad-7c85-22bf-cb6d-785e5a91ede1" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_1ae5d9ad-7c85-22bf-cb6d-785e5a91ede1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_5eaab9ea-3795-2871-0d80-72b9662e37e6" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_5eaab9ea-3795-2871-0d80-72b9662e37e6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromProductiveAssets" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_57375985-43e7-7ca6-9fed-64b09729b579" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_57375985-43e7-7ca6-9fed-64b09729b579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_CashCashEquivAndRestrictedCashPeriodIncreaseDecrease_72d1ff8f-597e-1601-8579-c764f3d2d9fd" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_11043fe8-215b-8e23-9bde-984dc82a0339" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_PaymentsOfDividends_11043fe8-215b-8e23-9bde-984dc82a0339" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_f5111bee-d5f6-1852-97c9-8d4d4881d906" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_f5111bee-d5f6-1852-97c9-8d4d4881d906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfFinancingCosts" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_7b8a0794-7d87-21cc-a206-45c556522750" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_7b8a0794-7d87-21cc-a206-45c556522750" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_bce346aa-ba15-aeef-61ad-e8ce13a3f0b4" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_bce346aa-ba15-aeef-61ad-e8ce13a3f0b4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_0e65f67a-86e3-c84f-fab4-e2c0fc4b175d" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_0e65f67a-86e3-c84f-fab4-e2c0fc4b175d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e5f1c7a4-b42a-8461-2001-b1f20e51b257" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e5f1c7a4-b42a-8461-2001-b1f20e51b257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_2b72fe5f-3c0e-d5e0-8e5c-ad01818e58e5" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_2b72fe5f-3c0e-d5e0-8e5c-ad01818e58e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9c4e2a5c-e841-39a2-fcf8-f80cfa44af11" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_ef560d3a-690c-ef17-1fe6-55654352e2f7" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9c4e2a5c-e841-39a2-fcf8-f80cfa44af11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_8629a772-7004-5d77-9980-0f501e29c5c8" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_CashCashEquivAndRestrictedCashPeriodIncreaseDecrease_72d1ff8f-597e-1601-8579-c764f3d2d9fd" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_8629a772-7004-5d77-9980-0f501e29c5c8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dd69e307-3cf6-284a-5315-8fa7ac464283" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dd69e307-3cf6-284a-5315-8fa7ac464283" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dd69e307-3cf6-284a-5315-8fa7ac464283" xlink:to="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dd69e307-3cf6-284a-5315-8fa7ac464283" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_d2d36274-7b68-9103-14a3-617c45cc554c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_d2d36274-7b68-9103-14a3-617c45cc554c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_cc7c59d2-21ac-163e-0898-1c1f212ef02b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_cc7c59d2-21ac-163e-0898-1c1f212ef02b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_6feed690-17e1-a928-d1c5-204f2faa570e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_cc7c59d2-21ac-163e-0898-1c1f212ef02b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_6feed690-17e1-a928-d1c5-204f2faa570e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_aa99f772-8337-cbc2-0b89-25fbb3108271" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_cc7c59d2-21ac-163e-0898-1c1f212ef02b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_aa99f772-8337-cbc2-0b89-25fbb3108271" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_OtherComprehensiveIncomeLossShareEquityMethodInvesteeNetOfTax" xlink:label="loc_pegi_OtherComprehensiveIncomeLossShareEquityMethodInvesteeNetOfTax_8069ea13-3d4c-ea52-4fb7-c764f3da0c90" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_pegi_OtherComprehensiveIncomeLossShareEquityMethodInvesteeNetOfTax_8069ea13-3d4c-ea52-4fb7-c764f3da0c90" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTaxProportionateShareOfEquityInvestee" xlink:label="loc_pegi_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTaxProportionateShareOfEquityInvestee_1fd98c4d-1b11-0c66-36b6-c764f49eec07" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_OtherComprehensiveIncomeLossShareEquityMethodInvesteeNetOfTax_8069ea13-3d4c-ea52-4fb7-c764f3da0c90" xlink:to="loc_pegi_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTaxProportionateShareOfEquityInvestee_1fd98c4d-1b11-0c66-36b6-c764f49eec07" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociOnDerivativesNetOfTaxProportionateShareOfEquityInvestee" xlink:label="loc_pegi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociOnDerivativesNetOfTaxProportionateShareOfEquityInvestee_c5874b53-0274-cd4d-fea2-c764f470cc3a" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_OtherComprehensiveIncomeLossShareEquityMethodInvesteeNetOfTax_8069ea13-3d4c-ea52-4fb7-c764f3da0c90" xlink:to="loc_pegi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociOnDerivativesNetOfTaxProportionateShareOfEquityInvestee_c5874b53-0274-cd4d-fea2-c764f470cc3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_7908f590-67cb-1122-d422-880e24cad7ce" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_7908f590-67cb-1122-d422-880e24cad7ce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_baabbf0a-644b-708a-c310-1211f9af2775" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_7908f590-67cb-1122-d422-880e24cad7ce" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_baabbf0a-644b-708a-c310-1211f9af2775" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPortionAttributableToNoncontrollingInterest_e5236c36-b88c-1ed3-2fc9-6f4f1ea3df36" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_7908f590-67cb-1122-d422-880e24cad7ce" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPortionAttributableToNoncontrollingInterest_e5236c36-b88c-1ed3-2fc9-6f4f1ea3df36" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_OtherComprehensiveIncomeLossUnrealizedGainLossonDerivativesArisingDuringPeriodNetofTaxPortionAttributabletoNoncontrollingInterest" xlink:label="loc_pegi_OtherComprehensiveIncomeLossUnrealizedGainLossonDerivativesArisingDuringPeriodNetofTaxPortionAttributabletoNoncontrollingInterest_824fd6b7-8ea0-a290-f475-c764f41b92c0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPortionAttributableToNoncontrollingInterest_e5236c36-b88c-1ed3-2fc9-6f4f1ea3df36" xlink:to="loc_pegi_OtherComprehensiveIncomeLossUnrealizedGainLossonDerivativesArisingDuringPeriodNetofTaxPortionAttributabletoNoncontrollingInterest_824fd6b7-8ea0-a290-f475-c764f41b92c0" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociOnDerivativesNetOfTaxPortionAttributableToNoncontrollingInterest" xlink:label="loc_pegi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociOnDerivativesNetOfTaxPortionAttributableToNoncontrollingInterest_f444b094-2660-8976-59d7-c764f3b83f4c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPortionAttributableToNoncontrollingInterest_e5236c36-b88c-1ed3-2fc9-6f4f1ea3df36" xlink:to="loc_pegi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociOnDerivativesNetOfTaxPortionAttributableToNoncontrollingInterest_f444b094-2660-8976-59d7-c764f3b83f4c" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/ConsolidatedStatementsOfOperationsUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:to="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a53f52a4-7a54-3283-f734-95683c76ebff" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a53f52a4-7a54-3283-f734-95683c76ebff" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a53f52a4-7a54-3283-f734-95683c76ebff" xlink:to="loc_us-gaap_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" xlink:to="loc_us-gaap_GrossProfit_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_33f76b65-31cf-be04-0849-25af345446d5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" xlink:to="loc_us-gaap_Revenues_33f76b65-31cf-be04-0849-25af345446d5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ElectricUtilityRevenue" xlink:label="loc_us-gaap_ElectricUtilityRevenue_cece45b4-e0c7-5b24-1c35-a87595ddae62" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_33f76b65-31cf-be04-0849-25af345446d5" xlink:to="loc_us-gaap_ElectricUtilityRevenue_cece45b4-e0c7-5b24-1c35-a87595ddae62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherSalesRevenueNet" xlink:label="loc_us-gaap_OtherSalesRevenueNet_e7cc3a47-5261-0c18-da28-7de072dc978b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_33f76b65-31cf-be04-0849-25af345446d5" xlink:to="loc_us-gaap_OtherSalesRevenueNet_e7cc3a47-5261-0c18-da28-7de072dc978b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaap_CostOfRevenue_a2b142e3-b3f3-b7b6-6428-5812971ab980" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" xlink:to="loc_us-gaap_CostOfRevenue_a2b142e3-b3f3-b7b6-6428-5812971ab980" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfServicesEnergyServices" xlink:label="loc_us-gaap_CostOfServicesEnergyServices_f121147b-8382-a54b-d6d8-0f4f47181df7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostOfRevenue_a2b142e3-b3f3-b7b6-6428-5812971ab980" xlink:to="loc_us-gaap_CostOfServicesEnergyServices_f121147b-8382-a54b-d6d8-0f4f47181df7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfTransmission" xlink:label="loc_us-gaap_CostOfTransmission_b48b4c2e-d461-dfc6-fb8b-27404ca9917d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostOfRevenue_a2b142e3-b3f3-b7b6-6428-5812971ab980" xlink:to="loc_us-gaap_CostOfTransmission_b48b4c2e-d461-dfc6-fb8b-27404ca9917d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfServicesDepreciationAndAmortization" xlink:label="loc_us-gaap_CostOfServicesDepreciationAndAmortization_1a567340-2ea2-181e-749b-d1ff3439677e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostOfRevenue_a2b142e3-b3f3-b7b6-6428-5812971ab980" xlink:to="loc_us-gaap_CostOfServicesDepreciationAndAmortization_1a567340-2ea2-181e-749b-d1ff3439677e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" xlink:to="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_87411e46-c979-a1ff-e8b3-f4f75d86b855" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_87411e46-c979-a1ff-e8b3-f4f75d86b855" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_49e19e2a-f939-04a2-6f41-80b24b0a2d1a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_49e19e2a-f939-04a2-6f41-80b24b0a2d1a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a53f52a4-7a54-3283-f734-95683c76ebff" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_dde99a81-dd7e-8567-385b-abc551560117" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_dde99a81-dd7e-8567-385b-abc551560117" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1c520208-bae2-1c51-b4b4-935e91f5fece" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1c520208-bae2-1c51-b4b4-935e91f5fece" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonoperatingGainsLosses" xlink:label="loc_us-gaap_NonoperatingGainsLosses_d80300b5-9f1b-51c8-2d29-0661bee0205d" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_NonoperatingGainsLosses_d80300b5-9f1b-51c8-2d29-0661bee0205d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_250c3b2f-7db5-7088-68cc-1dd831a2c2d7" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_250c3b2f-7db5-7088-68cc-1dd831a2c2d7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_78b7d85e-8366-fe6d-cb1f-faac5a041b79" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_78b7d85e-8366-fe6d-cb1f-faac5a041b79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_baabbf0a-644b-708a-c310-1211f9af2775" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_baabbf0a-644b-708a-c310-1211f9af2775" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/Debt" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DebtConvertibleSeniorNoteDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConvertibleDebt" xlink:label="loc_us-gaap_ConvertibleDebt_67c52d87-20b1-d683-c782-b42969d623a7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_6ad80788-b33d-a947-451d-2eb2f9ddfd4b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ConvertibleDebt_67c52d87-20b1-d683-c782-b42969d623a7" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_6ad80788-b33d-a947-451d-2eb2f9ddfd4b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_73766903-3249-fcaf-da70-d4416c5998dd" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ConvertibleDebt_67c52d87-20b1-d683-c782-b42969d623a7" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_73766903-3249-fcaf-da70-d4416c5998dd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnamortizedDebtIssuanceExpense" xlink:label="loc_us-gaap_UnamortizedDebtIssuanceExpense_13d7a787-6ea5-c9c6-134e-3a38894b08c5" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ConvertibleDebt_67c52d87-20b1-d683-c782-b42969d623a7" xlink:to="loc_us-gaap_UnamortizedDebtIssuanceExpense_13d7a787-6ea5-c9c6-134e-3a38894b08c5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DebtDebtAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DebtScheduleOfDebtDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DebtScheduleOfReconciliationOfInterestExpenseDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DebtTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DerivativeInstruments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DerivativeInstrumentsAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DerivativeInstrumentsNotionalAmountsOfOutstandingDerivativeInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DerivativeInstrumentsScheduleOfDerivativeInstrumentsClassifiedAsAssetsLiabilitiesDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DerivativeInstrumentsSummaryOfEffectsOfCashFlowHedgesOnConsolidatedStatementsOfOperationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DerivativeInstrumentsSummaryOfEffectsOfUndesignatedDerivativesOnConsolidatedStatementsOfOperationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DerivativeInstrumentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/EarningsLossPerShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/EarningsLossPerShareComputationsOfClassBasicAndDilutedEarningsLossPerShareDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/EarningsLossPerShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FairValueMeasurementsCarryingAmountsAndFairValuesOfCompanysFinancialLiabilitiesDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FairValueMeasurementsFairValueLevel3InputsQuantitativeInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FairValueMeasurementsFairValueMeasurementsReconciliationOfContingentConsiderationMeasuredAtFairValueDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FairValueMeasurementsFinancialAssetsAndLiabilitiesRequiredFairValueMeasurementOnRecurringBasisDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FairValueMeasurementsReconciliationOfEnergyDerivativeContractMeasuredAtFairValueDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityScheduleOfEstimatedFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityScheduleOfMajorComponentsOfFiniteLivedIntangibleAssetsAndLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_49187b45-82fd-7060-b114-79ff249a4331" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5d62e128-f1a1-954f-82e2-1936cb67d793" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_49187b45-82fd-7060-b114-79ff249a4331" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5d62e128-f1a1-954f-82e2-1936cb67d793" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c3ed8a56-abe0-6418-c541-e6b647d6318a" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_49187b45-82fd-7060-b114-79ff249a4331" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c3ed8a56-abe0-6418-c541-e6b647d6318a" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_FiniteLivedIntangibleLiabilityNet" xlink:label="loc_pegi_FiniteLivedIntangibleLiabilityNet_e28ddfb8-195d-122b-4060-c764f42d10db" xlink:type="locator" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_FiniteLivedIntangibleLiabilitiesGross" xlink:label="loc_pegi_FiniteLivedIntangibleLiabilitiesGross_66835536-a81d-9f1a-40d5-c764f48f5030" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_FiniteLivedIntangibleLiabilityNet_e28ddfb8-195d-122b-4060-c764f42d10db" xlink:to="loc_pegi_FiniteLivedIntangibleLiabilitiesGross_66835536-a81d-9f1a-40d5-c764f48f5030" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_FiniteLivedIntangibleLiabilityAccumulatedAmortization" xlink:label="loc_pegi_FiniteLivedIntangibleLiabilityAccumulatedAmortization_d863a86b-dea2-635d-41f7-c764f4018871" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pegi_FiniteLivedIntangibleLiabilityNet_e28ddfb8-195d-122b-4060-c764f42d10db" xlink:to="loc_pegi_FiniteLivedIntangibleLiabilityAccumulatedAmortization_d863a86b-dea2-635d-41f7-c764f4018871" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/FiniteLivedIntangibleAssetAndLiabilityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/Organization" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/OrganizationAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/PropertyPlantAndEquipment" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/PropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_fe5a8e8b-5934-3dc5-9dae-7d40983185cf" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_fe5a8e8b-5934-3dc5-9dae-7d40983185cf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5551841b-83e0-4644-fca8-d4027d932c0a" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5551841b-83e0-4644-fca8-d4027d932c0a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/PropertyPlantAndEquipmentTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/RelatedPartyTransactions" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyPurchaseAgreementsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyTransactionsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyTransactionsRelatedPartyReceivableAndPayableDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/RelatedPartyTransactionsRelatedPartyTranscationsRelatedPartyTransactionRevenueAndExpensesIncludedInStatementsOfOperationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/RelatedPartyTransactionsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/StockholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/StockholdersEquityAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/StockholdersEquityStockholdersEquitySummaryOfNoncontrollingInterestBalancesByProjectsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/StockholdersEquitySummaryOfCashDividendsDeclaredOnClassCommonStockDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/StockholdersEquitySummaryOfNoncontrollingInterestBalancesDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/StockholdersEquityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/SubsequentEvents" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/SubsequentEventsAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesReconciliationOfCashCashEquivalentAndRestrictedCashAsPresentedInScfDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashCurrent" xlink:label="loc_us-gaap_RestrictedCashCurrent_2c642bd3-af0e-2712-c577-dff033ad00ba" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:to="loc_us-gaap_RestrictedCashCurrent_2c642bd3-af0e-2712-c577-dff033ad00ba" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashNoncurrent" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_fb3f4117-3448-7901-1609-fbf2b3e475d2" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_fb3f4117-3448-7901-1609-fbf2b3e475d2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/UnconsolidatedInvestments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/UnconsolidatedInvestmentsAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/UnconsolidatedInvestmentsScheduleOfProjectsAccountedUnderEquityMethodOfAccountingDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/UnconsolidatedInvestmentsSummarizedOperatingResultsOfUnconsolidatedInvesteesDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:label="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_65b02ade-87b2-43dc-f091-abfb971737c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:label="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_11ba147f-4c98-a12a-ef66-32cdeee7133b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_65b02ade-87b2-43dc-f091-abfb971737c1" xlink:to="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_11ba147f-4c98-a12a-ef66-32cdeee7133b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCostOfSales" xlink:label="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCostOfSales_9c4ea842-76d8-4570-e04c-11e9064c0694" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_65b02ade-87b2-43dc-f091-abfb971737c1" xlink:to="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCostOfSales_9c4ea842-76d8-4570-e04c-11e9064c0694" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_EquityMethodInvestmentSummarizedFinancialInformationOperatingExpenses" xlink:label="loc_pegi_EquityMethodInvestmentSummarizedFinancialInformationOperatingExpenses_31e38591-c9c1-e6ae-37fc-c764f495e1b0" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_65b02ade-87b2-43dc-f091-abfb971737c1" xlink:to="loc_pegi_EquityMethodInvestmentSummarizedFinancialInformationOperatingExpenses_31e38591-c9c1-e6ae-37fc-c764f495e1b0" xlink:type="arc" />
    <link:loc xlink:href="pegi-20170630.xsd#pegi_EquityMethodInvestmentSummarizedFinancialInformationOtherIncomeExpenses" xlink:label="loc_pegi_EquityMethodInvestmentSummarizedFinancialInformationOtherIncomeExpenses_e4f761f3-b5b6-8c87-a3d1-c764f3a485a6" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_65b02ade-87b2-43dc-f091-abfb971737c1" xlink:to="loc_pegi_EquityMethodInvestmentSummarizedFinancialInformationOtherIncomeExpenses_e4f761f3-b5b6-8c87-a3d1-c764f3a485a6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/UnconsolidatedInvestmentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/VariableInterestEntities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/VariableInterestEntitiesScheduleOfVariableInterestEntitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.patternenergy.com/role/VariableInterestEntitiesTables" xlink:type="extended" />
</link:linkbase>
