<?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.sunrun.com/role/AccruedExpensesAndOtherLiabilities" xlink:href="run-20180331.xsd#AccruedExpensesAndOtherLiabilities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/AccruedExpensesAndOtherLiabilitiesDetails" xlink:href="run-20180331.xsd#AccruedExpensesAndOtherLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/AccruedExpensesAndOtherLiabilitiesTables" xlink:href="run-20180331.xsd#AccruedExpensesAndOtherLiabilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/CommitmentsAndContingencies" xlink:href="run-20180331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="run-20180331.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/CommitmentsAndContingenciesComponentsOfLeaseExpenseDetails" xlink:href="run-20180331.xsd#CommitmentsAndContingenciesComponentsOfLeaseExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:href="run-20180331.xsd#CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetailsCalc2" xlink:href="run-20180331.xsd#CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetailsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/CommitmentsAndContingenciesOtherInformationRelatedToLeasesDetails" xlink:href="run-20180331.xsd#CommitmentsAndContingenciesOtherInformationRelatedToLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/CommitmentsAndContingenciesTables" xlink:href="run-20180331.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="run-20180331.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:href="run-20180331.xsd#ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="run-20180331.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:href="run-20180331.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedStatementsOfOperationsUnaudited" xlink:href="run-20180331.xsd#ConsolidatedStatementsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/Derivatives" xlink:href="run-20180331.xsd#Derivatives" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/DerivativesAdditionalInformationDetails" xlink:href="run-20180331.xsd#DerivativesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/DerivativesSummaryOfDerivativeInstrumentsDetails" xlink:href="run-20180331.xsd#DerivativesSummaryOfDerivativeInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/DerivativesTables" xlink:href="run-20180331.xsd#DerivativesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/DocumentAndEntityInformation" xlink:href="run-20180331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/EarningsPerShare" xlink:href="run-20180331.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/EarningsPerShareComputationOfBasicAndDilutedNetIncomePerShareDetails" xlink:href="run-20180331.xsd#EarningsPerShareComputationOfBasicAndDilutedNetIncomePerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/EarningsPerShareScheduleOfSharesExcludedFromComputationOfDilutedNetIncomePerShareDetails" xlink:href="run-20180331.xsd#EarningsPerShareScheduleOfSharesExcludedFromComputationOfDilutedNetIncomePerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/EarningsPerShareTables" xlink:href="run-20180331.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/FairValueMeasurement" xlink:href="run-20180331.xsd#FairValueMeasurement" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/FairValueMeasurementScheduleOfCarryingValuesAndFairValuesOfDebtInstrumentsDetails" xlink:href="run-20180331.xsd#FairValueMeasurementScheduleOfCarryingValuesAndFairValuesOfDebtInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/FairValueMeasurementScheduleOfFairValueFinancialInstrumentsMeasuredOnRecurringBasisDetails" xlink:href="run-20180331.xsd#FairValueMeasurementScheduleOfFairValueFinancialInstrumentsMeasuredOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/FairValueMeasurementTables" xlink:href="run-20180331.xsd#FairValueMeasurementTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/IncomeTaxes" xlink:href="run-20180331.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/IncomeTaxesAdditionalInformationDetails" xlink:href="run-20180331.xsd#IncomeTaxesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/Indebtedness" xlink:href="run-20180331.xsd#Indebtedness" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/IndebtednessAdditionalInformationDetails" xlink:href="run-20180331.xsd#IndebtednessAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/IndebtednessScheduleOfDebtDetails" xlink:href="run-20180331.xsd#IndebtednessScheduleOfDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/IndebtednessTables" xlink:href="run-20180331.xsd#IndebtednessTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/Inventories" xlink:href="run-20180331.xsd#Inventories" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/InventoriesScheduleOfInventoriesDetails" xlink:href="run-20180331.xsd#InventoriesScheduleOfInventoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/InventoriesTables" xlink:href="run-20180331.xsd#InventoriesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/Organization" xlink:href="run-20180331.xsd#Organization" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/OrganizationAdditionalInformationDetails" xlink:href="run-20180331.xsd#OrganizationAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/OtherAssets" xlink:href="run-20180331.xsd#OtherAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/OtherAssetsDetails" xlink:href="run-20180331.xsd#OtherAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/OtherAssetsTables" xlink:href="run-20180331.xsd#OtherAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/PassThroughFinancingObligations" xlink:href="run-20180331.xsd#PassThroughFinancingObligations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/PassThroughFinancingObligationsAdditionalInformationDetails" xlink:href="run-20180331.xsd#PassThroughFinancingObligationsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/RedeemableNoncontrollingInterestsAndEquity" xlink:href="run-20180331.xsd#RedeemableNoncontrollingInterestsAndEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/RedeemableNoncontrollingInterestsAndEquityScheduleOfChangesInRedeemableNoncontrollingInteresttotalStockholdersEquityAndNoncontrollingInterestsDetails" xlink:href="run-20180331.xsd#RedeemableNoncontrollingInterestsAndEquityScheduleOfChangesInRedeemableNoncontrollingInteresttotalStockholdersEquityAndNoncontrollingInterestsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/RedeemableNoncontrollingInterestsAndEquityTables" xlink:href="run-20180331.xsd#RedeemableNoncontrollingInterestsAndEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SolarEnergySystemsNet" xlink:href="run-20180331.xsd#SolarEnergySystemsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SolarEnergySystemsNetAdditionalInformationDetails" xlink:href="run-20180331.xsd#SolarEnergySystemsNetAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SolarEnergySystemsNetDetails" xlink:href="run-20180331.xsd#SolarEnergySystemsNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SolarEnergySystemsNetTables" xlink:href="run-20180331.xsd#SolarEnergySystemsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/StockBasedCompensation" xlink:href="run-20180331.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:href="run-20180331.xsd#StockBasedCompensationAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/StockBasedCompensationSummaryOfActivityForAllRestrictedStockUnitsRsusDetails" xlink:href="run-20180331.xsd#StockBasedCompensationSummaryOfActivityForAllRestrictedStockUnitsRsusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseAdditionalDetailsDetails" xlink:href="run-20180331.xsd#StockBasedCompensationSummaryOfStockBasedCompensationExpenseAdditionalDetailsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:href="run-20180331.xsd#StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:href="run-20180331.xsd#StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/StockBasedCompensationTables" xlink:href="run-20180331.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAccountsReceivableDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesAccountsReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842BalanceSheetDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842BalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842CashFlowsDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842CashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842StatementOfOperationsDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842StatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesCashAndRestrictedCashDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesCashAndRestrictedCashDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesDeferredRevenueDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesDeferredRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenuesFromExternalCustomersDetails" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesScheduleOfRevenuesFromExternalCustomersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="run-20180331.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/VieArrangements" xlink:href="run-20180331.xsd#VieArrangements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/VieArrangementsCarryingAmountsAndClassificationOfViesAssetsAndLiabilitiesIncludedInConsolidatedBalanceSheetsDetails" xlink:href="run-20180331.xsd#VieArrangementsCarryingAmountsAndClassificationOfViesAssetsAndLiabilitiesIncludedInConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sunrun.com/role/VieArrangementsTables" xlink:href="run-20180331.xsd#VieArrangementsTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/AccruedExpensesAndOtherLiabilities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/AccruedExpensesAndOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedEmployeeBenefitsCurrent" xlink:label="loc_us-gaap_AccruedEmployeeBenefitsCurrent_c7f7eb62-cfa0-f151-36ae-c1d591e39819" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" xlink:to="loc_us-gaap_AccruedEmployeeBenefitsCurrent_c7f7eb62-cfa0-f151-36ae-c1d591e39819" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_9971afa9-a425-6ec5-0b0e-1ed715222b5f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_9971afa9-a425-6ec5-0b0e-1ed715222b5f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositLiabilitiesAccruedInterest" xlink:label="loc_us-gaap_DepositLiabilitiesAccruedInterest_98cafd8d-5801-5b1c-9052-f642cd7e38f4" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" xlink:to="loc_us-gaap_DepositLiabilitiesAccruedInterest_98cafd8d-5801-5b1c-9052-f642cd7e38f4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedProfessionalFeesCurrent" xlink:label="loc_us-gaap_AccruedProfessionalFeesCurrent_98d31a39-575d-6ddd-42a2-18a0e94f1b32" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" xlink:to="loc_us-gaap_AccruedProfessionalFeesCurrent_98d31a39-575d-6ddd-42a2-18a0e94f1b32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_00b000cf-7f1d-4891-7244-daf9f6335db0" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_00b000cf-7f1d-4891-7244-daf9f6335db0" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/AccruedExpensesAndOtherLiabilitiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/CommitmentsAndContingenciesComponentsOfLeaseExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost_2c458fb6-1579-cbe0-fa49-ac8c90fa335a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_0c1bcc61-7804-dcf5-dd47-a9300776192f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_2c458fb6-1579-cbe0-fa49-ac8c90fa335a" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_0c1bcc61-7804-dcf5-dd47-a9300776192f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinanceLeaseInterestExpense" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_e9f4bb5f-aafb-2af3-1e31-d861ee2463b7" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_2c458fb6-1579-cbe0-fa49-ac8c90fa335a" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_e9f4bb5f-aafb-2af3-1e31-d861ee2463b7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseExpense" xlink:label="loc_us-gaap_OperatingLeaseExpense_04418663-b356-48c8-7010-6b0d6142f419" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_2c458fb6-1579-cbe0-fa49-ac8c90fa335a" xlink:to="loc_us-gaap_OperatingLeaseExpense_04418663-b356-48c8-7010-6b0d6142f419" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShortTermLeaseCost" xlink:label="loc_us-gaap_ShortTermLeaseCost_75d81425-8873-89ef-dc91-39c256e67d0d" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_2c458fb6-1579-cbe0-fa49-ac8c90fa335a" xlink:to="loc_us-gaap_ShortTermLeaseCost_75d81425-8873-89ef-dc91-39c256e67d0d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableLeaseCost" xlink:label="loc_us-gaap_VariableLeaseCost_aa3d7207-63b7-41f9-d02f-e7cabf383590" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_2c458fb6-1579-cbe0-fa49-ac8c90fa335a" xlink:to="loc_us-gaap_VariableLeaseCost_aa3d7207-63b7-41f9-d02f-e7cabf383590" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_daf826cc-ddab-c5d4-b68e-bebddaaf3fd6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_daf826cc-ddab-c5d4-b68e-bebddaaf3fd6" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear_79456496-c446-5605-f357-138516273868" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear_79456496-c446-5605-f357-138516273868" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_729f77b8-2a9e-0142-52d3-9a6513fc6787" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_729f77b8-2a9e-0142-52d3-9a6513fc6787" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_585c4efd-47a1-e7a2-64da-ace6ee154ecd" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_585c4efd-47a1-e7a2-64da-ace6ee154ecd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_64c5f922-1f5f-cc1d-b281-f412a1fd922a" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_64c5f922-1f5f-cc1d-b281-f412a1fd922a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_01dc36ce-445b-7f61-af51-1e46c58f3dee" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_01dc36ce-445b-7f61-af51-1e46c58f3dee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_246b6201-33fc-c9d3-a60d-777ab787073b" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_d42a3dad-23e9-d83e-cd05-0b20e0cdbc1f" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_246b6201-33fc-c9d3-a60d-777ab787073b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_290724c0-9ba2-b62f-87b3-fb34ea77382b" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_daf826cc-ddab-c5d4-b68e-bebddaaf3fd6" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_290724c0-9ba2-b62f-87b3-fb34ea77382b" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments" xlink:label="loc_run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments_ff2110be-465b-e1d9-166c-41fd94fb5d12" 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_run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments_ff2110be-465b-e1d9-166c-41fd94fb5d12" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_e7ae0c4b-54d0-1d15-1541-1fb5329d750c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_2a03e078-acdc-ce26-bc2c-c1c04ab9fd4f" xlink:type="locator" />
    <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_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_2a03e078-acdc-ce26-bc2c-c1c04ab9fd4f" xlink:type="arc" />
    <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="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: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="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: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="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: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="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: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="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="run-20180331.xsd#run_OperatingLeasesFutureMinimumPaymentsInterestIncludedinPayments" xlink:label="loc_run_OperatingLeasesFutureMinimumPaymentsInterestIncludedinPayments_190aea99-7caf-f3fa-378a-41fd93851037" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments_ff2110be-465b-e1d9-166c-41fd94fb5d12" xlink:to="loc_run_OperatingLeasesFutureMinimumPaymentsInterestIncludedinPayments_190aea99-7caf-f3fa-378a-41fd93851037" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetailsCalc2" xlink:type="extended">
    <link:loc xlink:href="run-20180331.xsd#run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments" xlink:label="loc_run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments_D7830465EB69DC51D79341FF18F407C9_ff2110be-465b-e1d9-166c-41fd94fb5d12" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_D7830465EB69DC51D79341FF18F407C9_9971afa9-a425-6ec5-0b0e-1ed715222b5f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments_D7830465EB69DC51D79341FF18F407C9_ff2110be-465b-e1d9-166c-41fd94fb5d12" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_D7830465EB69DC51D79341FF18F407C9_9971afa9-a425-6ec5-0b0e-1ed715222b5f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_D7830465EB69DC51D79341FF18F407C9_fd16098c-3ebc-d175-5e36-fded42c959be" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_run_OperatingLeasesFutureMinimumPaymentsPresentValueofNetMinimumPayments_D7830465EB69DC51D79341FF18F407C9_ff2110be-465b-e1d9-166c-41fd94fb5d12" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_D7830465EB69DC51D79341FF18F407C9_fd16098c-3ebc-d175-5e36-fded42c959be" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_D7830465EB69DC51D79341FF18F407C9_daf826cc-ddab-c5d4-b68e-bebddaaf3fd6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeaseObligationsCurrent" xlink:label="loc_us-gaap_CapitalLeaseObligationsCurrent_D7830465EB69DC51D79341FF18F407C9_76865e4e-2049-cac6-edec-da1c3f948f32" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_D7830465EB69DC51D79341FF18F407C9_daf826cc-ddab-c5d4-b68e-bebddaaf3fd6" xlink:to="loc_us-gaap_CapitalLeaseObligationsCurrent_D7830465EB69DC51D79341FF18F407C9_76865e4e-2049-cac6-edec-da1c3f948f32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeaseObligationsNoncurrent" xlink:label="loc_us-gaap_CapitalLeaseObligationsNoncurrent_D7830465EB69DC51D79341FF18F407C9_efe2512e-d4d4-64d6-9c0d-99078496415f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_D7830465EB69DC51D79341FF18F407C9_daf826cc-ddab-c5d4-b68e-bebddaaf3fd6" xlink:to="loc_us-gaap_CapitalLeaseObligationsNoncurrent_D7830465EB69DC51D79341FF18F407C9_efe2512e-d4d4-64d6-9c0d-99078496415f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/CommitmentsAndContingenciesOtherInformationRelatedToLeasesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.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_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_7a72b51a-735c-1ad4-bd3f-d9bcf2d6a26d" 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_AccountsPayableCurrent_7a72b51a-735c-1ad4-bd3f-d9bcf2d6a26d" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_DistributionsPayableToNoncontrollingInterestsAndRedeemableNoncontrollingInterests" xlink:label="loc_run_DistributionsPayableToNoncontrollingInterestsAndRedeemableNoncontrollingInterests_27885ac2-2511-e15c-b1af-d904916aa7e9" 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_run_DistributionsPayableToNoncontrollingInterestsAndRedeemableNoncontrollingInterests_27885ac2-2511-e15c-b1af-d904916aa7e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" 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_AccruedLiabilitiesAndOtherLiabilities_29766439-8b87-9812-7936-6bf8074f7891" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_98f473f8-2d19-99d7-6142-37f86ccd14ec" 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_DeferredRevenueCurrent_98f473f8-2d19-99d7-6142-37f86ccd14ec" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_DeferredGrantCurrentPortion" xlink:label="loc_run_DeferredGrantCurrentPortion_ff86ec2a-247d-5894-ed79-d904921c7f2a" 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_run_DeferredGrantCurrentPortion_ff86ec2a-247d-5894-ed79-d904921c7f2a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeaseObligationsCurrent" xlink:label="loc_us-gaap_CapitalLeaseObligationsCurrent_76865e4e-2049-cac6-edec-da1c3f948f32" 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_CapitalLeaseObligationsCurrent_76865e4e-2049-cac6-edec-da1c3f948f32" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_NonRecourseDebtCurrent" xlink:label="loc_run_NonRecourseDebtCurrent_a7998c1b-6998-6976-d520-d9049230f55e" 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_run_NonRecourseDebtCurrent_a7998c1b-6998-6976-d520-d9049230f55e" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_LeasePassThroughFinancingObligationCurrentPortion" xlink:label="loc_run_LeasePassThroughFinancingObligationCurrentPortion_bc769ed5-4a5d-9c07-a51b-d904904f5498" 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_run_LeasePassThroughFinancingObligationCurrentPortion_bc769ed5-4a5d-9c07-a51b-d904904f5498" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_11e98ceb-5737-f44d-6a16-2d8b64b1228d" 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_DeferredRevenueNoncurrent_11e98ceb-5737-f44d-6a16-2d8b64b1228d" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_DeferredGrantIncomeNoncurrent" xlink:label="loc_run_DeferredGrantIncomeNoncurrent_2b711f4a-5a99-8d10-9505-d904918a2996" 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_run_DeferredGrantIncomeNoncurrent_2b711f4a-5a99-8d10-9505-d904918a2996" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeaseObligationsNoncurrent" xlink:label="loc_us-gaap_CapitalLeaseObligationsNoncurrent_efe2512e-d4d4-64d6-9c0d-99078496415f" 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_CapitalLeaseObligationsNoncurrent_efe2512e-d4d4-64d6-9c0d-99078496415f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_c78bc05d-b19b-ac91-0020-0d2031650dcf" 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_us-gaap_LineOfCredit_c78bc05d-b19b-ac91-0020-0d2031650dcf" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_NonRecourseDebtNoncurrent" xlink:label="loc_run_NonRecourseDebtNoncurrent_67e2bcb2-c3b8-4f80-b830-d904904db803" 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_run_NonRecourseDebtNoncurrent_67e2bcb2-c3b8-4f80-b830-d904904db803" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_LeasePassThroughFinancingObligationNetOfCurrentPortion" xlink:label="loc_run_LeasePassThroughFinancingObligationNetOfCurrentPortion_23aea9f7-3c78-901a-f91b-d904914794fa" 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_run_LeasePassThroughFinancingObligationNetOfCurrentPortion_23aea9f7-3c78-901a-f91b-d904914794fa" 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="8" 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_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_314eb579-3ee1-408c-39f2-e62f2f37befc" xlink:type="locator" />
    <link:calculationArc order="9" 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="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_RedeemableNoncontrollingInterestEquityCarryingAmount" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_c3b9426a-456e-2e20-8220-9338acf9491e" 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_RedeemableNoncontrollingInterestEquityCarryingAmount_c3b9426a-456e-2e20-8220-9338acf9491e" 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="4" 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_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" 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_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" 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="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_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_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_2d1b9d27-8b19-82d9-2843-5b3d292b7fbb" 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_AdditionalPaidInCapital_2d1b9d27-8b19-82d9-2843-5b3d292b7fbb" 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_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" 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_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_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_Cash" xlink:label="loc_us-gaap_Cash_94c137c7-bb31-5444-c8e6-a4a41bb54d97" 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_Cash_94c137c7-bb31-5444-c8e6-a4a41bb54d97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash_6ca3aa42-f0d5-509c-b821-d5eb1dfd1999" 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_RestrictedCash_6ca3aa42-f0d5-509c-b821-d5eb1dfd1999" 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="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_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_StateTaxCreditsReceivableCurrent" xlink:label="loc_run_StateTaxCreditsReceivableCurrent_41a747fb-1359-b802-7092-d9049173684d" 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_run_StateTaxCreditsReceivableCurrent_41a747fb-1359-b802-7092-d9049173684d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" 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_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2294e6a2-7bab-43ed-d02c-bdf73b8fa561" 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_PrepaidExpenseAndOtherAssetsCurrent_2294e6a2-7bab-43ed-d02c-bdf73b8fa561" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_ffecafea-37c9-5116-f0f9-6df0dbffc0f2" 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_PropertySubjectToOrAvailableForOperatingLeaseNet_ffecafea-37c9-5116-f0f9-6df0dbffc0f2" 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_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_49187b45-82fd-7060-b114-79ff249a4331" 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_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_Goodwill" xlink:label="loc_us-gaap_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" 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_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" 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="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_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" 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_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" 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_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" 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_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f75d01b7-d271-b07d-c4a7-6ae60293303d" 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_DeferredIncomeTaxExpenseBenefit_f75d01b7-d271-b07d-c4a7-6ae60293303d" 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="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_ShareBasedCompensation_e3eecf87-b290-4567-8a59-5b0a8e27c85b" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_InterestOnLeaseFinancing" xlink:label="loc_run_InterestOnLeaseFinancing_bf2bf064-f86e-903d-0428-d90491fe197e" 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_run_InterestOnLeaseFinancing_bf2bf064-f86e-903d-0428-d90491fe197e" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_ReductionInLeasePassThroughFinancingObligations" xlink:label="loc_run_ReductionInLeasePassThroughFinancingObligations_b85d46b9-9152-76e2-2268-d904922a5341" 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_run_ReductionInLeasePassThroughFinancingObligations_b85d46b9-9152-76e2-2268-d904922a5341" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNoncashExpense" xlink:label="loc_us-gaap_OtherNoncashExpense_3943ec30-15aa-3a14-5596-f901a0dae382" 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_OtherNoncashExpense_3943ec30-15aa-3a14-5596-f901a0dae382" 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="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_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_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_bf3f9720-ba63-7ecd-52ae-e754a6f349db" 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_us-gaap_IncreaseDecreaseInInventories_bf3f9720-ba63-7ecd-52ae-e754a6f349db" 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="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_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_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_a8b6fe35-4809-bddf-7ef6-3144a6c89165" 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_IncreaseDecreaseInAccountsPayable_a8b6fe35-4809-bddf-7ef6-3144a6c89165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_06dd9f1c-1525-26ac-8777-af6cdc28e5fc" 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_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_06dd9f1c-1525-26ac-8777-af6cdc28e5fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_91397648-589d-3b53-47c8-16b8909c78f4" 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_IncreaseDecreaseInDeferredRevenue_91397648-589d-3b53-47c8-16b8909c78f4" 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_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2be04cf9-8ceb-0f9e-f8fc-88519ffff574" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_PaymentsForCostOfSolarEnergySystemsToBeLeased" xlink:label="loc_run_PaymentsForCostOfSolarEnergySystemsToBeLeased_53b7fb4c-c537-6bf4-ac46-d9049186c1dc" 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_run_PaymentsForCostOfSolarEnergySystemsToBeLeased_53b7fb4c-c537-6bf4-ac46-d9049186c1dc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_fee12b15-6b42-6245-2e2f-ff030b98332c" 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_PaymentsToAcquirePropertyPlantAndEquipment_fee12b15-6b42-6245-2e2f-ff030b98332c" 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_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" 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_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_f19a6911-0ca9-0f7f-0ae8-f18c6d766244" 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_PaymentsOfDebtIssuanceCosts_f19a6911-0ca9-0f7f-0ae8-f18c6d766244" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_ProceedsFromLeasePassThroughFinancingObligations" xlink:label="loc_run_ProceedsFromLeasePassThroughFinancingObligations_6fb9f564-2e23-e035-9868-d904915f7923" 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_run_ProceedsFromLeasePassThroughFinancingObligations_6fb9f564-2e23-e035-9868-d904915f7923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromMinorityShareholders" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_6a660996-9291-b132-478c-dc07edd8fb2c" 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_ProceedsFromMinorityShareholders_6a660996-9291-b132-478c-dc07edd8fb2c" 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="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_PaymentsToMinorityShareholders_f5111bee-d5f6-1852-97c9-8d4d4881d906" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_ProceedsPaymentsFromStockOptionsExercisedAndIssuanceOfSharesInConnectionWithEmployeeStockPurchasePlan" xlink:label="loc_run_ProceedsPaymentsFromStockOptionsExercisedAndIssuanceOfSharesInConnectionWithEmployeeStockPurchasePlan_57c2d8e6-da4d-bd2b-9ba2-d90491744580" 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_run_ProceedsPaymentsFromStockOptionsExercisedAndIssuanceOfSharesInConnectionWithEmployeeStockPurchasePlan_57c2d8e6-da4d-bd2b-9ba2-d90491744580" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_8f563464-80d3-5024-06bd-d0b7c03ce96e" 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_RepaymentsOfLongTermCapitalLeaseObligations_8f563464-80d3-5024-06bd-d0b7c03ce96e" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_ProceedsFromStateTaxCreditsNetOfRecapture" xlink:label="loc_run_ProceedsFromStateTaxCreditsNetOfRecapture_a5a11896-6d94-a9d4-e3ca-d904919324a6" 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_run_ProceedsFromStateTaxCreditsNetOfRecapture_a5a11896-6d94-a9d4-e3ca-d904919324a6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_2648fb49-ac2e-6969-ad2b-f3869ac97490" 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_ProceedsFromIssuanceOfDebt_2648fb49-ac2e-6969-ad2b-f3869ac97490" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_6d9b7dce-39b9-34d3-9e48-3b74a3681093" xlink:type="locator" />
    <link:calculationArc order="9" 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_RepaymentsOfDebt_6d9b7dce-39b9-34d3-9e48-3b74a3681093" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" 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_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" 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_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" 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="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_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="3" 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_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_aa99f772-8337-cbc2-0b89-25fbb3108271" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.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_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_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" 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_OperatingLeasesIncomeStatementLeaseRevenue" xlink:label="loc_us-gaap_OperatingLeasesIncomeStatementLeaseRevenue_41d57190-b999-7974-acdb-3efcad0bc4b9" 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_OperatingLeasesIncomeStatementLeaseRevenue_41d57190-b999-7974-acdb-3efcad0bc4b9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_318cebec-2b05-42bf-a988-02b2e99cecfb" 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_SalesRevenueGoodsNet_318cebec-2b05-42bf-a988-02b2e99cecfb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostsAndExpenses" xlink:label="loc_us-gaap_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" 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_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_CostOfRevenueForOperatingLeasesAndIncentives" xlink:label="loc_run_CostOfRevenueForOperatingLeasesAndIncentives_e045ac48-5f75-6466-2086-d90490d156a6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" xlink:to="loc_run_CostOfRevenueForOperatingLeasesAndIncentives_e045ac48-5f75-6466-2086-d90490d156a6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_53981114-ea4f-c85d-1ee7-90421fdccca2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_53981114-ea4f-c85d-1ee7-90421fdccca2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_460c4e45-6b19-c446-6991-97e38cf5aa17" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" xlink:to="loc_us-gaap_SellingAndMarketingExpense_460c4e45-6b19-c446-6991-97e38cf5aa17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_25ae5ce2-b413-b975-9a84-c7503d2496cf" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_25ae5ce2-b413-b975-9a84-c7503d2496cf" 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="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" 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_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_ae796c5c-1c01-d654-6a3c-3b5dd2c89517" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_0d9ff7d0-e871-5bdf-adbd-21d7dbf57556" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_ae796c5c-1c01-d654-6a3c-3b5dd2c89517" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_b45ea963-e439-fc81-a491-c6c695e6ceb3" 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_InterestIncomeExpenseNonoperatingNet_b45ea963-e439-fc81-a491-c6c695e6ceb3" 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="3" 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_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.sunrun.com/role/Derivatives" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/DerivativesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/DerivativesSummaryOfDerivativeInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/DerivativesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/EarningsPerShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/EarningsPerShareComputationOfBasicAndDilutedNetIncomePerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_86e61cf2-b7b2-e230-65f1-5a2b152f3a30" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_86e61cf2-b7b2-e230-65f1-5a2b152f3a30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_7b1369dd-f813-fe00-b292-96e275568f1b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_7b1369dd-f813-fe00-b292-96e275568f1b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/EarningsPerShareScheduleOfSharesExcludedFromComputationOfDilutedNetIncomePerShareDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/FairValueMeasurement" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/FairValueMeasurementScheduleOfCarryingValuesAndFairValuesOfDebtInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/FairValueMeasurementScheduleOfFairValueFinancialInstrumentsMeasuredOnRecurringBasisDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/FairValueMeasurementTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/IncomeTaxes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/Indebtedness" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/IndebtednessAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/IndebtednessScheduleOfDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:type="locator" />
    <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="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_7e14882f-7ab9-8302-20ff-24c510ab8806" 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_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_LongTermDebt_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_822b66ff-44a1-e66b-5e0c-09356970a23d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/IndebtednessTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/Inventories" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/InventoriesScheduleOfInventoriesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_d8866e11-7330-6a9a-9ba0-56d88707d8ec" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_d8866e11-7330-6a9a-9ba0-56d88707d8ec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_a3451b87-a72a-9fff-128b-969b95aecb3a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_a3451b87-a72a-9fff-128b-969b95aecb3a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/InventoriesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/Organization" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/OrganizationAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/OtherAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/OtherAssetsDetails" xlink:type="extended">
    <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:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedContractCostGross" xlink:label="loc_us-gaap_CapitalizedContractCostGross_d25e888a-0671-35f0-dd51-cc71d41fa3b0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:to="loc_us-gaap_CapitalizedContractCostGross_d25e888a-0671-35f0-dd51-cc71d41fa3b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedContractCostAccumulatedAmortization" xlink:label="loc_us-gaap_CapitalizedContractCostAccumulatedAmortization_57af1d60-d10a-c4d1-753d-4664d43ea0f1" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:to="loc_us-gaap_CapitalizedContractCostAccumulatedAmortization_57af1d60-d10a-c4d1-753d-4664d43ea0f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_251ab07b-3111-49c5-5722-d8e11b3ce593" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_251ab07b-3111-49c5-5722-d8e11b3ce593" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_ee9e85f0-05da-4047-53be-09ca681d9b98" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_ee9e85f0-05da-4047-53be-09ca681d9b98" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/OtherAssetsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/PassThroughFinancingObligations" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/PassThroughFinancingObligationsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/RedeemableNoncontrollingInterestsAndEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/RedeemableNoncontrollingInterestsAndEquityScheduleOfChangesInRedeemableNoncontrollingInteresttotalStockholdersEquityAndNoncontrollingInterestsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/RedeemableNoncontrollingInterestsAndEquityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SolarEnergySystemsNet" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SolarEnergySystemsNetAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SolarEnergySystemsNetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_ffecafea-37c9-5116-f0f9-6df0dbffc0f2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross_4478f9ed-eb1f-23ec-354b-9cba0d103601" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_ffecafea-37c9-5116-f0f9-6df0dbffc0f2" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross_4478f9ed-eb1f-23ec-354b-9cba0d103601" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation_e6b66369-129d-fcf2-c2bb-c41abca48016" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_ffecafea-37c9-5116-f0f9-6df0dbffc0f2" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation_e6b66369-129d-fcf2-c2bb-c41abca48016" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressGross" xlink:label="loc_us-gaap_ConstructionInProgressGross_594f8c62-c8c5-bd85-818c-71da6f0408d7" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_ffecafea-37c9-5116-f0f9-6df0dbffc0f2" xlink:to="loc_us-gaap_ConstructionInProgressGross_594f8c62-c8c5-bd85-818c-71da6f0408d7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SolarEnergySystemsNetTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/StockBasedCompensationSummaryOfActivityForAllRestrictedStockUnitsRsusDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseAdditionalDetailsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAccountsReceivableDetails" xlink:type="extended">
    <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:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerAssetGrossCurrent" xlink:label="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_3ac523c4-cf35-4d81-e55d-363af78ec8ed" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:to="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_3ac523c4-cf35-4d81-e55d-363af78ec8ed" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnbilledReceivablesCurrent" xlink:label="loc_us-gaap_UnbilledReceivablesCurrent_0af4cf4f-dd4e-4a27-50f3-b3447f0d9b89" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:to="loc_us-gaap_UnbilledReceivablesCurrent_0af4cf4f-dd4e-4a27-50f3-b3447f0d9b89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherReceivablesGrossCurrent" xlink:label="loc_us-gaap_OtherReceivablesGrossCurrent_2e5e3edc-0731-aac2-5e90-812cc6a67309" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:to="loc_us-gaap_OtherReceivablesGrossCurrent_2e5e3edc-0731-aac2-5e90-812cc6a67309" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_RebatesReceivableCurrentGross" xlink:label="loc_run_RebatesReceivableCurrentGross_ef69e012-3215-8b66-521e-41fd951648a3" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:to="loc_run_RebatesReceivableCurrentGross_ef69e012-3215-8b66-521e-41fd951648a3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_98ae2a02-ad2a-749c-0963-d2d6767543d9" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_98ae2a02-ad2a-749c-0963-d2d6767543d9" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842BalanceSheetDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842CashFlowsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfTopic606AndAsc842StatementOfOperationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesCashAndRestrictedCashDetails" 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_Cash" xlink:label="loc_us-gaap_Cash_94c137c7-bb31-5444-c8e6-a4a41bb54d97" 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_Cash_94c137c7-bb31-5444-c8e6-a4a41bb54d97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash_6ca3aa42-f0d5-509c-b821-d5eb1dfd1999" 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_RestrictedCash_6ca3aa42-f0d5-509c-b821-d5eb1dfd1999" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesDeferredRevenueDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenuesFromExternalCustomersDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesIncomeStatementLeaseRevenue" xlink:label="loc_us-gaap_OperatingLeasesIncomeStatementLeaseRevenue_41d57190-b999-7974-acdb-3efcad0bc4b9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesIncomeStatementMinimumLeaseRevenue" xlink:label="loc_us-gaap_OperatingLeasesIncomeStatementMinimumLeaseRevenue_75174ea2-4184-425f-eb02-ab7701def29f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesIncomeStatementLeaseRevenue_41d57190-b999-7974-acdb-3efcad0bc4b9" xlink:to="loc_us-gaap_OperatingLeasesIncomeStatementMinimumLeaseRevenue_75174ea2-4184-425f-eb02-ab7701def29f" xlink:type="arc" />
    <link:loc xlink:href="run-20180331.xsd#run_GovernmentTaxRebatesAndOtherIncentives" xlink:label="loc_run_GovernmentTaxRebatesAndOtherIncentives_1edd674f-9382-7e62-0d42-d9049234a5f1" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesIncomeStatementLeaseRevenue_41d57190-b999-7974-acdb-3efcad0bc4b9" xlink:to="loc_run_GovernmentTaxRebatesAndOtherIncentives_1edd674f-9382-7e62-0d42-d9049234a5f1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/VieArrangements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/VieArrangementsCarryingAmountsAndClassificationOfViesAssetsAndLiabilitiesIncludedInConsolidatedBalanceSheetsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sunrun.com/role/VieArrangementsTables" xlink:type="extended" />
</link:linkbase>


