<XBRL>
<?xml version="1.0" encoding="us-ascii"?>
<!--Generated by EDGARfilings PROfile 5.0.0.0 Broadridge-->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:xbrli="http://www.xbrl.org/2003/instance">
  <link:roleRef roleURI="http://atlanticayield.com/role/OtherOperatingIncomeAndExpensesDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#OtherOperatingIncomeAndExpensesDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/FinancialIncomeAndExpensesDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#FinancialIncomeAndExpensesDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/TradePayablesAndOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#TradePayablesAndOtherCurrentLiabilitiesDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/GrantsAndOtherLiabilitiesDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#GrantsAndOtherLiabilitiesDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/ProjectDebtDetailsOfProjectDebtDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#ProjectDebtDetailsOfProjectDebtDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/CorporateDebtBreakdownOfCorporateDebtDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#CorporateDebtBreakdownOfCorporateDebtDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/ClientsAndOtherReceivableDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#ClientsAndOtherReceivableDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/RelatedPartiesDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#RelatedPartiesDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/FinancialInvestmentsDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#FinancialInvestmentsDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/FinancialInformationBySegmentReconciliationOfSegmentFurtherAdjustedEbitdaDetails" xlink:type="simple" xlink:href="aby-20180930.xsd#FinancialInformationBySegmentReconciliationOfSegmentFurtherAdjustedEbitdaDetails" />
  <link:roleRef roleURI="http://atlanticayield.com/role/ConsolidatedCondensedCashFlowStatements" xlink:type="simple" xlink:href="aby-20180930.xsd#ConsolidatedCondensedCashFlowStatements" />
  <link:roleRef roleURI="http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfChangesInEquity" xlink:type="simple" xlink:href="aby-20180930.xsd#ConsolidatedCondensedStatementsOfChangesInEquity" />
  <link:roleRef roleURI="http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfComprehensiveIncome" xlink:type="simple" xlink:href="aby-20180930.xsd#ConsolidatedCondensedStatementsOfComprehensiveIncome" />
  <link:roleRef roleURI="http://atlanticayield.com/role/ConsolidatedCondensedIncomeStatements" xlink:type="simple" xlink:href="aby-20180930.xsd#ConsolidatedCondensedIncomeStatements" />
  <link:roleRef roleURI="http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfFinancialPosition" xlink:type="simple" xlink:href="aby-20180930.xsd#ConsolidatedCondensedStatementsOfFinancialPosition" />
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfFinancialPosition">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_Assets" xlink:label="Assets" xlink:title="Assets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentAssets" xlink:label="CurrentAssets" xlink:title="CurrentAssets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TradeAndOtherCurrentReceivables" xlink:label="TradeAndOtherCurrentReceivables" xlink:title="TradeAndOtherCurrentReceivables" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentAssets" xlink:to="TradeAndOtherCurrentReceivables" xlink:title="calculation: CurrentAssets to TradeAndOtherCurrentReceivables" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CashAndCashEquivalents" xlink:label="CashAndCashEquivalents" xlink:title="CashAndCashEquivalents" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentAssets" xlink:to="CashAndCashEquivalents" xlink:title="calculation: CurrentAssets to CashAndCashEquivalents" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_Inventories" xlink:label="Inventories" xlink:title="Inventories" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentAssets" xlink:to="Inventories" xlink:title="calculation: CurrentAssets to Inventories" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentFinancialAssets" xlink:label="CurrentFinancialAssets" xlink:title="CurrentFinancialAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentAssets" xlink:to="CurrentFinancialAssets" xlink:title="calculation: CurrentAssets to CurrentFinancialAssets" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="CurrentAssets" xlink:title="calculation: Assets to CurrentAssets" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentAssets" xlink:label="NoncurrentAssets" xlink:title="NoncurrentAssets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_DeferredTaxAssets" xlink:label="DeferredTaxAssets" xlink:title="DeferredTaxAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentAssets" xlink:to="DeferredTaxAssets" xlink:title="calculation: NoncurrentAssets to DeferredTaxAssets" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentFinancialAssets" xlink:label="NoncurrentFinancialAssets" xlink:title="NoncurrentFinancialAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentAssets" xlink:to="NoncurrentFinancialAssets" xlink:title="calculation: NoncurrentAssets to NoncurrentFinancialAssets" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_InvestmentAccountedForUsingEquityMethod" xlink:label="InvestmentAccountedForUsingEquityMethod" xlink:title="InvestmentAccountedForUsingEquityMethod" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentAssets" xlink:to="InvestmentAccountedForUsingEquityMethod" xlink:title="calculation: NoncurrentAssets to InvestmentAccountedForUsingEquityMethod" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_ContractedConcessionalAssets" xlink:label="ContractedConcessionalAssets" xlink:title="ContractedConcessionalAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentAssets" xlink:to="ContractedConcessionalAssets" xlink:title="calculation: NoncurrentAssets to ContractedConcessionalAssets" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="NoncurrentAssets" xlink:title="calculation: Assets to NoncurrentAssets" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_EquityAndLiabilities" xlink:label="EquityAndLiabilities" xlink:title="EquityAndLiabilities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentLiabilities" xlink:label="CurrentLiabilities" xlink:title="CurrentLiabilities" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_CurrentProjectDebt" xlink:label="CurrentProjectDebt" xlink:title="CurrentProjectDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentLiabilities" xlink:to="CurrentProjectDebt" xlink:title="calculation: CurrentLiabilities to CurrentProjectDebt" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentTaxLiabilitiesCurrent" xlink:label="CurrentTaxLiabilitiesCurrent" xlink:title="CurrentTaxLiabilitiesCurrent" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentLiabilities" xlink:to="CurrentTaxLiabilitiesCurrent" xlink:title="calculation: CurrentLiabilities to CurrentTaxLiabilitiesCurrent" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TradeAndOtherCurrentPayables" xlink:label="TradeAndOtherCurrentPayables" xlink:title="TradeAndOtherCurrentPayables" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentLiabilities" xlink:to="TradeAndOtherCurrentPayables" xlink:title="calculation: CurrentLiabilities to TradeAndOtherCurrentPayables" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" xlink:label="CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" xlink:title="CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentLiabilities" xlink:to="CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" xlink:title="calculation: CurrentLiabilities to CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="EquityAndLiabilities" xlink:to="CurrentLiabilities" xlink:title="calculation: EquityAndLiabilities to CurrentLiabilities" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentLiabilities" xlink:label="NoncurrentLiabilities" xlink:title="NoncurrentLiabilities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_DeferredTaxLiabilities" xlink:label="DeferredTaxLiabilities" xlink:title="DeferredTaxLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentLiabilities" xlink:to="DeferredTaxLiabilities" xlink:title="calculation: NoncurrentLiabilities to DeferredTaxLiabilities" order="7.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" xlink:label="NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" xlink:title="NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentLiabilities" xlink:to="NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" xlink:title="calculation: NoncurrentLiabilities to NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" xlink:label="NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" xlink:title="NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentLiabilities" xlink:to="NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" xlink:title="calculation: NoncurrentLiabilities to NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NoncurrentPortionOfNoncurrentProjectDebt" xlink:label="NoncurrentPortionOfNoncurrentProjectDebt" xlink:title="NoncurrentPortionOfNoncurrentProjectDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentLiabilities" xlink:to="NoncurrentPortionOfNoncurrentProjectDebt" xlink:title="calculation: NoncurrentLiabilities to NoncurrentPortionOfNoncurrentProjectDebt" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentPayablesToRelatedParties" xlink:label="NoncurrentPayablesToRelatedParties" xlink:title="NoncurrentPayablesToRelatedParties" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentLiabilities" xlink:to="NoncurrentPayablesToRelatedParties" xlink:title="calculation: NoncurrentLiabilities to NoncurrentPayablesToRelatedParties" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentDerivativeFinancialLiabilities" xlink:label="NoncurrentDerivativeFinancialLiabilities" xlink:title="NoncurrentDerivativeFinancialLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentLiabilities" xlink:to="NoncurrentDerivativeFinancialLiabilities" xlink:title="calculation: NoncurrentLiabilities to NoncurrentDerivativeFinancialLiabilities" order="6.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="EquityAndLiabilities" xlink:to="NoncurrentLiabilities" xlink:title="calculation: EquityAndLiabilities to NoncurrentLiabilities" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_Equity" xlink:label="Equity" xlink:title="Equity" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ReserveOfExchangeDifferencesOnTranslation" xlink:label="ReserveOfExchangeDifferencesOnTranslation" xlink:title="ReserveOfExchangeDifferencesOnTranslation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Equity" xlink:to="ReserveOfExchangeDifferencesOnTranslation" xlink:title="calculation: Equity to ReserveOfExchangeDifferencesOnTranslation" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_ParentCompanyReserves" xlink:label="ParentCompanyReserves" xlink:title="ParentCompanyReserves" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Equity" xlink:to="ParentCompanyReserves" xlink:title="calculation: Equity to ParentCompanyReserves" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncontrollingInterests" xlink:label="NoncontrollingInterests" xlink:title="NoncontrollingInterests" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Equity" xlink:to="NoncontrollingInterests" xlink:title="calculation: Equity to NoncontrollingInterests" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_IssuedCapital" xlink:label="IssuedCapital" xlink:title="IssuedCapital" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Equity" xlink:to="IssuedCapital" xlink:title="calculation: Equity to IssuedCapital" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_RetainedEarnings" xlink:label="RetainedEarnings" xlink:title="RetainedEarnings" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Equity" xlink:to="RetainedEarnings" xlink:title="calculation: Equity to RetainedEarnings" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ReserveOfCashFlowHedges" xlink:label="ReserveOfCashFlowHedges" xlink:title="ReserveOfCashFlowHedges" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Equity" xlink:to="ReserveOfCashFlowHedges" xlink:title="calculation: Equity to ReserveOfCashFlowHedges" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="EquityAndLiabilities" xlink:to="Equity" xlink:title="calculation: EquityAndLiabilities to Equity" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/ConsolidatedCondensedIncomeStatements">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLoss" xlink:label="ProfitLoss" xlink:title="ProfitLoss" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_IncomeTaxExpenseContinuingOperations" xlink:label="IncomeTaxExpenseContinuingOperations" xlink:title="IncomeTaxExpenseContinuingOperations" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLoss" xlink:to="IncomeTaxExpenseContinuingOperations" xlink:title="calculation: ProfitLoss to IncomeTaxExpenseContinuingOperations" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLossBeforeTax" xlink:label="ProfitLossBeforeTax" xlink:title="ProfitLossBeforeTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:label="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:title="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossBeforeTax" xlink:to="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:title="calculation: ProfitLossBeforeTax to ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLossFromOperatingActivities" xlink:label="ProfitLossFromOperatingActivities" xlink:title="ProfitLossFromOperatingActivities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_RawMaterialsAndConsumablesUsed" xlink:label="RawMaterialsAndConsumablesUsed" xlink:title="RawMaterialsAndConsumablesUsed" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossFromOperatingActivities" xlink:to="RawMaterialsAndConsumablesUsed" xlink:title="calculation: ProfitLossFromOperatingActivities to RawMaterialsAndConsumablesUsed" order="4.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_EmployeeBenefitsExpense" xlink:label="EmployeeBenefitsExpense" xlink:title="EmployeeBenefitsExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossFromOperatingActivities" xlink:to="EmployeeBenefitsExpense" xlink:title="calculation: ProfitLossFromOperatingActivities to EmployeeBenefitsExpense" order="5.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherExpenseByNature" xlink:label="OtherExpenseByNature" xlink:title="OtherExpenseByNature" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossFromOperatingActivities" xlink:to="OtherExpenseByNature" xlink:title="calculation: ProfitLossFromOperatingActivities to OtherExpenseByNature" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" xlink:label="DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" xlink:title="DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossFromOperatingActivities" xlink:to="DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" xlink:title="calculation: ProfitLossFromOperatingActivities to DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" order="0.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherIncome" xlink:label="OtherIncome" xlink:title="OtherIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossFromOperatingActivities" xlink:to="OtherIncome" xlink:title="calculation: ProfitLossFromOperatingActivities to OtherIncome" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_Revenue" xlink:label="Revenue" xlink:title="Revenue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossFromOperatingActivities" xlink:to="Revenue" xlink:title="calculation: ProfitLossFromOperatingActivities to Revenue" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossBeforeTax" xlink:to="ProfitLossFromOperatingActivities" xlink:title="calculation: ProfitLossBeforeTax to ProfitLossFromOperatingActivities" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_FinancialExpenseIncomeNet" xlink:label="FinancialExpenseIncomeNet" xlink:title="FinancialExpenseIncomeNet" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_FinanceCosts" xlink:label="FinanceCosts" xlink:title="FinanceCosts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinancialExpenseIncomeNet" xlink:to="FinanceCosts" xlink:title="calculation: FinancialExpenseIncomeNet to FinanceCosts" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_FinanceIncome" xlink:label="FinanceIncome" xlink:title="FinanceIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinancialExpenseIncomeNet" xlink:to="FinanceIncome" xlink:title="calculation: FinancialExpenseIncomeNet to FinanceIncome" order="0.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss" xlink:label="GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss" xlink:title="GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinancialExpenseIncomeNet" xlink:to="GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss" xlink:title="calculation: FinancialExpenseIncomeNet to GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherFinanceIncomeCost" xlink:label="OtherFinanceIncomeCost" xlink:title="OtherFinanceIncomeCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinancialExpenseIncomeNet" xlink:to="OtherFinanceIncomeCost" xlink:title="calculation: FinancialExpenseIncomeNet to OtherFinanceIncomeCost" order="2.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLossBeforeTax" xlink:to="FinancialExpenseIncomeNet" xlink:title="calculation: ProfitLossBeforeTax to FinancialExpenseIncomeNet" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ProfitLoss" xlink:to="ProfitLossBeforeTax" xlink:title="calculation: ProfitLoss to ProfitLossBeforeTax" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfComprehensiveIncome">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherComprehensiveIncome" xlink:label="OtherComprehensiveIncome" xlink:title="OtherComprehensiveIncome" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:label="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:title="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax" xlink:label="GainsLossesOnCashFlowHedgesBeforeTax" xlink:title="GainsLossesOnCashFlowHedgesBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:to="GainsLossesOnCashFlowHedgesBeforeTax" xlink:title="calculation: OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax to GainsLossesOnCashFlowHedgesBeforeTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" xlink:label="IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" xlink:title="IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:to="IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" xlink:title="calculation: OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax to IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncome" xlink:to="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:title="calculation: OtherComprehensiveIncome to OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:label="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:title="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_OtherComprehensiveIncomeBeforeTaxGainsLossesOnCashFlowHedges" xlink:label="OtherComprehensiveIncomeBeforeTaxGainsLossesOnCashFlowHedges" xlink:title="OtherComprehensiveIncomeBeforeTaxGainsLossesOnCashFlowHedges" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:to="OtherComprehensiveIncomeBeforeTaxGainsLossesOnCashFlowHedges" xlink:title="calculation: OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax to OtherComprehensiveIncomeBeforeTaxGainsLossesOnCashFlowHedges" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" xlink:label="GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" xlink:title="GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:to="GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" xlink:title="calculation: OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax to GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:label="IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:title="IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:to="IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:title="calculation: OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax to IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" order="0.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncome" xlink:to="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:title="calculation: OtherComprehensiveIncome to OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent" xlink:label="ComprehensiveIncomeAttributableToOwnersOfParent" xlink:title="ComprehensiveIncomeAttributableToOwnersOfParent" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:label="ComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:title="ComprehensiveIncomeAttributableToNoncontrollingInterests" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncomeAttributableToOwnersOfParent" xlink:to="ComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:title="calculation: ComprehensiveIncomeAttributableToOwnersOfParent to ComprehensiveIncomeAttributableToNoncontrollingInterests" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ComprehensiveIncome" xlink:label="ComprehensiveIncome" xlink:title="ComprehensiveIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncome" xlink:to="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:title="calculation: ComprehensiveIncome to OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLoss" xlink:label="ProfitLoss" xlink:title="ProfitLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncome" xlink:to="ProfitLoss" xlink:title="calculation: ComprehensiveIncome to ProfitLoss" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncome" xlink:to="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:title="calculation: ComprehensiveIncome to OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncomeAttributableToOwnersOfParent" xlink:to="ComprehensiveIncome" xlink:title="calculation: ComprehensiveIncomeAttributableToOwnersOfParent to ComprehensiveIncome" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfChangesInEquity">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ComprehensiveIncome" xlink:label="ComprehensiveIncome" xlink:title="ComprehensiveIncome" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLoss" xlink:label="ProfitLoss" xlink:title="ProfitLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncome" xlink:to="ProfitLoss" xlink:title="calculation: ComprehensiveIncome to ProfitLoss" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherComprehensiveIncome" xlink:label="OtherComprehensiveIncome" xlink:title="OtherComprehensiveIncome" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" xlink:label="GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" xlink:title="GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncome" xlink:to="GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" xlink:title="calculation: OtherComprehensiveIncome to GainsLossesOnExchangeDifferencesOnTranslationBeforeTax" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_IncomeTaxRelatingToIncreaseDecreaseInFairValueOfCashFlowHedges" xlink:label="IncomeTaxRelatingToIncreaseDecreaseInFairValueOfCashFlowHedges" xlink:title="IncomeTaxRelatingToIncreaseDecreaseInFairValueOfCashFlowHedges" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncome" xlink:to="IncomeTaxRelatingToIncreaseDecreaseInFairValueOfCashFlowHedges" xlink:title="calculation: OtherComprehensiveIncome to IncomeTaxRelatingToIncreaseDecreaseInFairValueOfCashFlowHedges" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_IncreaseDecreaseInFairValueOfCashFlowHedges" xlink:label="IncreaseDecreaseInFairValueOfCashFlowHedges" xlink:title="IncreaseDecreaseInFairValueOfCashFlowHedges" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncome" xlink:to="IncreaseDecreaseInFairValueOfCashFlowHedges" xlink:title="calculation: OtherComprehensiveIncome to IncreaseDecreaseInFairValueOfCashFlowHedges" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncome" xlink:to="ProfitLoss" xlink:title="calculation: OtherComprehensiveIncome to ProfitLoss" order="1.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncome" xlink:to="OtherComprehensiveIncome" xlink:title="calculation: ComprehensiveIncome to OtherComprehensiveIncome" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/ConsolidatedCondensedCashFlowStatements">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges" xlink:label="IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges" xlink:title="IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:label="CashFlowsFromUsedInInvestingActivities" xlink:title="CashFlowsFromUsedInInvestingActivities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities" xlink:label="OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities" xlink:title="OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInInvestingActivities" xlink:to="OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities" xlink:title="calculation: CashFlowsFromUsedInInvestingActivities to OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_PaymentsForDevelopmentProjectExpenditure" xlink:label="PaymentsForDevelopmentProjectExpenditure" xlink:title="PaymentsForDevelopmentProjectExpenditure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInInvestingActivities" xlink:to="PaymentsForDevelopmentProjectExpenditure" xlink:title="calculation: CashFlowsFromUsedInInvestingActivities to PaymentsForDevelopmentProjectExpenditure" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_PurchaseOfProceedsFromSalesOfOtherNoncurrentFinancialAssetsAndLiabilities" xlink:label="PurchaseOfProceedsFromSalesOfOtherNoncurrentFinancialAssetsAndLiabilities" xlink:title="PurchaseOfProceedsFromSalesOfOtherNoncurrentFinancialAssetsAndLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInInvestingActivities" xlink:to="PurchaseOfProceedsFromSalesOfOtherNoncurrentFinancialAssetsAndLiabilities" xlink:title="calculation: CashFlowsFromUsedInInvestingActivities to PurchaseOfProceedsFromSalesOfOtherNoncurrentFinancialAssetsAndLiabilities" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" xlink:label="CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" xlink:title="CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInInvestingActivities" xlink:to="CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" xlink:title="calculation: CashFlowsFromUsedInInvestingActivities to CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" order="4.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_DividendsReceivedFromInvestmentsAccountedForUsingEquityMethodClassifiedAsInvestingActivities" xlink:label="DividendsReceivedFromInvestmentsAccountedForUsingEquityMethodClassifiedAsInvestingActivities" xlink:title="DividendsReceivedFromInvestmentsAccountedForUsingEquityMethodClassifiedAsInvestingActivities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInInvestingActivities" xlink:to="DividendsReceivedFromInvestmentsAccountedForUsingEquityMethodClassifiedAsInvestingActivities" xlink:title="calculation: CashFlowsFromUsedInInvestingActivities to DividendsReceivedFromInvestmentsAccountedForUsingEquityMethodClassifiedAsInvestingActivities" order="6.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges" xlink:to="CashFlowsFromUsedInInvestingActivities" xlink:title="calculation: IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges to CashFlowsFromUsedInInvestingActivities" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:label="CashFlowsFromUsedInFinancingActivities" xlink:title="CashFlowsFromUsedInFinancingActivities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities" xlink:label="ProceedsFromBorrowingsClassifiedAsFinancingActivities" xlink:title="ProceedsFromBorrowingsClassifiedAsFinancingActivities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInFinancingActivities" xlink:to="ProceedsFromBorrowingsClassifiedAsFinancingActivities" xlink:title="calculation: CashFlowsFromUsedInFinancingActivities to ProceedsFromBorrowingsClassifiedAsFinancingActivities" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities" xlink:label="RepaymentsOfBorrowingsClassifiedAsFinancingActivities" xlink:title="RepaymentsOfBorrowingsClassifiedAsFinancingActivities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInFinancingActivities" xlink:to="RepaymentsOfBorrowingsClassifiedAsFinancingActivities" xlink:title="calculation: CashFlowsFromUsedInFinancingActivities to RepaymentsOfBorrowingsClassifiedAsFinancingActivities" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_DividendsPaidToEquityHoldersOfParentClassifiedAsFinancingActivities" xlink:label="DividendsPaidToEquityHoldersOfParentClassifiedAsFinancingActivities" xlink:title="DividendsPaidToEquityHoldersOfParentClassifiedAsFinancingActivities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInFinancingActivities" xlink:to="DividendsPaidToEquityHoldersOfParentClassifiedAsFinancingActivities" xlink:title="calculation: CashFlowsFromUsedInFinancingActivities to DividendsPaidToEquityHoldersOfParentClassifiedAsFinancingActivities" order="2.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges" xlink:to="CashFlowsFromUsedInFinancingActivities" xlink:title="calculation: IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges to CashFlowsFromUsedInFinancingActivities" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities" xlink:label="CashFlowsFromUsedInOperatingActivities" xlink:title="CashFlowsFromUsedInOperatingActivities" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NetInterestAndIncomeTaxPaid" xlink:label="NetInterestAndIncomeTaxPaid" xlink:title="NetInterestAndIncomeTaxPaid" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInOperatingActivities" xlink:to="NetInterestAndIncomeTaxPaid" xlink:title="calculation: CashFlowsFromUsedInOperatingActivities to NetInterestAndIncomeTaxPaid" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_IncreaseDecreaseInWorkingCapital" xlink:label="IncreaseDecreaseInWorkingCapital" xlink:title="IncreaseDecreaseInWorkingCapital" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInOperatingActivities" xlink:to="IncreaseDecreaseInWorkingCapital" xlink:title="calculation: CashFlowsFromUsedInOperatingActivities to IncreaseDecreaseInWorkingCapital" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital" xlink:label="CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital" xlink:title="CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherAdjustmentsToReconcileProfitLoss" xlink:label="OtherAdjustmentsToReconcileProfitLoss" xlink:title="OtherAdjustmentsToReconcileProfitLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital" xlink:to="OtherAdjustmentsToReconcileProfitLoss" xlink:title="calculation: CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital to OtherAdjustmentsToReconcileProfitLoss" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLoss" xlink:label="ProfitLoss" xlink:title="ProfitLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital" xlink:to="ProfitLoss" xlink:title="calculation: CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital to ProfitLoss" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashFlowsFromUsedInOperatingActivities" xlink:to="CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital" xlink:title="calculation: CashFlowsFromUsedInOperatingActivities to CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges" xlink:to="CashFlowsFromUsedInOperatingActivities" xlink:title="calculation: IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges to CashFlowsFromUsedInOperatingActivities" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/FinancialInformationBySegmentReconciliationOfSegmentFurtherAdjustedEbitdaDetails">
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_FurtherAdjustedEBITDA" xlink:label="FurtherAdjustedEBITDA" xlink:title="FurtherAdjustedEBITDA" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLossAttributableToOwnersOfParent" xlink:label="ProfitLossAttributableToOwnersOfParent" xlink:title="ProfitLossAttributableToOwnersOfParent" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FurtherAdjustedEBITDA" xlink:to="ProfitLossAttributableToOwnersOfParent" xlink:title="calculation: FurtherAdjustedEBITDA to ProfitLossAttributableToOwnersOfParent" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfitLossAttributableToNoncontrollingInterests" xlink:label="ProfitLossAttributableToNoncontrollingInterests" xlink:title="ProfitLossAttributableToNoncontrollingInterests" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FurtherAdjustedEBITDA" xlink:to="ProfitLossAttributableToNoncontrollingInterests" xlink:title="calculation: FurtherAdjustedEBITDA to ProfitLossAttributableToNoncontrollingInterests" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_FinancialExpenseIncomeNet" xlink:label="FinancialExpenseIncomeNet" xlink:title="FinancialExpenseIncomeNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FurtherAdjustedEBITDA" xlink:to="FinancialExpenseIncomeNet" xlink:title="calculation: FurtherAdjustedEBITDA to FinancialExpenseIncomeNet" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_DividendIncomeCompensationPreferredEquityInvestment" xlink:label="DividendIncomeCompensationPreferredEquityInvestment" xlink:title="DividendIncomeCompensationPreferredEquityInvestment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FurtherAdjustedEBITDA" xlink:to="DividendIncomeCompensationPreferredEquityInvestment" xlink:title="calculation: FurtherAdjustedEBITDA to DividendIncomeCompensationPreferredEquityInvestment" order="6.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" xlink:label="DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" xlink:title="DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FurtherAdjustedEBITDA" xlink:to="DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" xlink:title="calculation: FurtherAdjustedEBITDA to DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss" order="5.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:label="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:title="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FurtherAdjustedEBITDA" xlink:to="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:title="calculation: FurtherAdjustedEBITDA to ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_IncomeTaxExpenseContinuingOperations" xlink:label="IncomeTaxExpenseContinuingOperations" xlink:title="IncomeTaxExpenseContinuingOperations" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FurtherAdjustedEBITDA" xlink:to="IncomeTaxExpenseContinuingOperations" xlink:title="calculation: FurtherAdjustedEBITDA to IncomeTaxExpenseContinuingOperations" order="2.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/FinancialInvestmentsDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentFinancialAssets" xlink:label="CurrentFinancialAssets" xlink:title="CurrentFinancialAssets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:label="CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentFinancialAssets" xlink:to="CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="calculation: CurrentFinancialAssets to CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_CurrentContractedConcessionalFinancialAssets" xlink:label="CurrentContractedConcessionalFinancialAssets" xlink:title="CurrentContractedConcessionalFinancialAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentFinancialAssets" xlink:to="CurrentContractedConcessionalFinancialAssets" xlink:title="calculation: CurrentFinancialAssets to CurrentContractedConcessionalFinancialAssets" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentFinancialAssetsAtAmortisedCost" xlink:label="CurrentFinancialAssetsAtAmortisedCost" xlink:title="CurrentFinancialAssetsAtAmortisedCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CurrentFinancialAssets" xlink:to="CurrentFinancialAssetsAtAmortisedCost" xlink:title="calculation: CurrentFinancialAssets to CurrentFinancialAssetsAtAmortisedCost" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentFinancialAssets" xlink:label="NoncurrentFinancialAssets" xlink:title="NoncurrentFinancialAssets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherNoncurrentReceivables" xlink:label="OtherNoncurrentReceivables" xlink:title="OtherNoncurrentReceivables" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentFinancialAssets" xlink:to="OtherNoncurrentReceivables" xlink:title="calculation: NoncurrentFinancialAssets to OtherNoncurrentReceivables" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:label="NoncurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="NoncurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentFinancialAssets" xlink:to="NoncurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="calculation: NoncurrentFinancialAssets to NoncurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentDerivativeFinancialAssets" xlink:label="NoncurrentDerivativeFinancialAssets" xlink:title="NoncurrentDerivativeFinancialAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentFinancialAssets" xlink:to="NoncurrentDerivativeFinancialAssets" xlink:title="calculation: NoncurrentFinancialAssets to NoncurrentDerivativeFinancialAssets" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/RelatedPartiesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentPayablesToRelatedParties" xlink:label="NoncurrentPayablesToRelatedParties" xlink:title="NoncurrentPayablesToRelatedParties" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NonCurrentCreditPayablesToRelatedParties" xlink:label="NonCurrentCreditPayablesToRelatedParties" xlink:title="NonCurrentCreditPayablesToRelatedParties" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentPayablesToRelatedParties" xlink:to="NonCurrentCreditPayablesToRelatedParties" xlink:title="calculation: NoncurrentPayablesToRelatedParties to NonCurrentCreditPayablesToRelatedParties" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TradeAndOtherCurrentPayablesToRelatedParties" xlink:label="TradeAndOtherCurrentPayablesToRelatedParties" xlink:title="TradeAndOtherCurrentPayablesToRelatedParties" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_CurrentTradePayablesToRelatedParties" xlink:label="CurrentTradePayablesToRelatedParties" xlink:title="CurrentTradePayablesToRelatedParties" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentPayablesToRelatedParties" xlink:to="CurrentTradePayablesToRelatedParties" xlink:title="calculation: TradeAndOtherCurrentPayablesToRelatedParties to CurrentTradePayablesToRelatedParties" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TradeAndOtherCurrentReceivablesDueFromRelatedParties" xlink:label="TradeAndOtherCurrentReceivablesDueFromRelatedParties" xlink:title="TradeAndOtherCurrentReceivablesDueFromRelatedParties" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_CurrentCreditReceivablesDueFromRelatedParties" xlink:label="CurrentCreditReceivablesDueFromRelatedParties" xlink:title="CurrentCreditReceivablesDueFromRelatedParties" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentReceivablesDueFromRelatedParties" xlink:to="CurrentCreditReceivablesDueFromRelatedParties" xlink:title="calculation: TradeAndOtherCurrentReceivablesDueFromRelatedParties to CurrentCreditReceivablesDueFromRelatedParties" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/ClientsAndOtherReceivableDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TradeAndOtherCurrentReceivables" xlink:label="TradeAndOtherCurrentReceivables" xlink:title="TradeAndOtherCurrentReceivables" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentTradeReceivables" xlink:label="CurrentTradeReceivables" xlink:title="CurrentTradeReceivables" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentReceivables" xlink:to="CurrentTradeReceivables" xlink:title="calculation: TradeAndOtherCurrentReceivables to CurrentTradeReceivables" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentPrepayments" xlink:label="CurrentPrepayments" xlink:title="CurrentPrepayments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentReceivables" xlink:to="CurrentPrepayments" xlink:title="calculation: TradeAndOtherCurrentReceivables to CurrentPrepayments" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentReceivablesFromTaxesOtherThanIncomeTax" xlink:label="CurrentReceivablesFromTaxesOtherThanIncomeTax" xlink:title="CurrentReceivablesFromTaxesOtherThanIncomeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentReceivables" xlink:to="CurrentReceivablesFromTaxesOtherThanIncomeTax" xlink:title="calculation: TradeAndOtherCurrentReceivables to CurrentReceivablesFromTaxesOtherThanIncomeTax" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherCurrentReceivables" xlink:label="OtherCurrentReceivables" xlink:title="OtherCurrentReceivables" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentReceivables" xlink:to="OtherCurrentReceivables" xlink:title="calculation: TradeAndOtherCurrentReceivables to OtherCurrentReceivables" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/CorporateDebtBreakdownOfCorporateDebtDetails">
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_LongTermAndShortTermCorporateDebt" xlink:label="LongTermAndShortTermCorporateDebt" xlink:title="LongTermAndShortTermCorporateDebt" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" xlink:label="NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" xlink:title="NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LongTermAndShortTermCorporateDebt" xlink:to="NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" xlink:title="calculation: LongTermAndShortTermCorporateDebt to NonCurrentPortionOfCreditFacilitiesNotesAndBondsReceived" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" xlink:label="CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" xlink:title="CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LongTermAndShortTermCorporateDebt" xlink:to="CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" xlink:title="calculation: LongTermAndShortTermCorporateDebt to CurrentPortionOfNoncurrentCreditFacilitiesNotesAndBondsReceived" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/ProjectDebtDetailsOfProjectDebtDetails">
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_LongTermAndShortTermProjectDebt" xlink:label="LongTermAndShortTermProjectDebt" xlink:title="LongTermAndShortTermProjectDebt" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NoncurrentPortionOfNoncurrentProjectDebt" xlink:label="NoncurrentPortionOfNoncurrentProjectDebt" xlink:title="NoncurrentPortionOfNoncurrentProjectDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LongTermAndShortTermProjectDebt" xlink:to="NoncurrentPortionOfNoncurrentProjectDebt" xlink:title="calculation: LongTermAndShortTermProjectDebt to NoncurrentPortionOfNoncurrentProjectDebt" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_CurrentProjectDebt" xlink:label="CurrentProjectDebt" xlink:title="CurrentProjectDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LongTermAndShortTermProjectDebt" xlink:to="CurrentProjectDebt" xlink:title="calculation: LongTermAndShortTermProjectDebt to CurrentProjectDebt" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/GrantsAndOtherLiabilitiesDetails">
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" xlink:label="NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" xlink:title="NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherNoncurrentLiabilities" xlink:label="OtherNoncurrentLiabilities" xlink:title="OtherNoncurrentLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" xlink:to="OtherNoncurrentLiabilities" xlink:title="calculation: NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities to OtherNoncurrentLiabilities" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_NoncurrentGovernmentGrants" xlink:label="NoncurrentGovernmentGrants" xlink:title="NoncurrentGovernmentGrants" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities" xlink:to="NoncurrentGovernmentGrants" xlink:title="calculation: NoncurrentGovernmentGrantsAndOtherNoncurrentFinancialLiabilities to NoncurrentGovernmentGrants" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/TradePayablesAndOtherCurrentLiabilitiesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TradeAndOtherCurrentPayables" xlink:label="TradeAndOtherCurrentPayables" xlink:title="TradeAndOtherCurrentPayables" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers" xlink:label="TradeAndOtherCurrentPayablesToTradeSuppliers" xlink:title="TradeAndOtherCurrentPayablesToTradeSuppliers" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentPayables" xlink:to="TradeAndOtherCurrentPayablesToTradeSuppliers" xlink:title="calculation: TradeAndOtherCurrentPayables to TradeAndOtherCurrentPayablesToTradeSuppliers" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherCurrentPayables" xlink:label="OtherCurrentPayables" xlink:title="OtherCurrentPayables" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentPayables" xlink:to="OtherCurrentPayables" xlink:title="calculation: TradeAndOtherCurrentPayables to OtherCurrentPayables" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_CurrentDepositsFromCustomers" xlink:label="CurrentDepositsFromCustomers" xlink:title="CurrentDepositsFromCustomers" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TradeAndOtherCurrentPayables" xlink:to="CurrentDepositsFromCustomers" xlink:title="calculation: TradeAndOtherCurrentPayables to CurrentDepositsFromCustomers" order="4.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/FinancialIncomeAndExpensesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_FinanceCosts" xlink:label="FinanceCosts" xlink:title="FinanceCosts" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_InterestExpenseOnBorrowings" xlink:label="InterestExpenseOnBorrowings" xlink:title="InterestExpenseOnBorrowings" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinanceCosts" xlink:to="InterestExpenseOnBorrowings" xlink:title="calculation: FinanceCosts to InterestExpenseOnBorrowings" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_LossesOnChangeInFairValueOfDerivatives" xlink:label="LossesOnChangeInFairValueOfDerivatives" xlink:title="LossesOnChangeInFairValueOfDerivatives" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinanceCosts" xlink:to="LossesOnChangeInFairValueOfDerivatives" xlink:title="calculation: FinanceCosts to LossesOnChangeInFairValueOfDerivatives" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_InterestExpenseOnDebtInstrumentsIssued" xlink:label="InterestExpenseOnDebtInstrumentsIssued" xlink:title="InterestExpenseOnDebtInstrumentsIssued" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinanceCosts" xlink:to="InterestExpenseOnDebtInstrumentsIssued" xlink:title="calculation: FinanceCosts to InterestExpenseOnDebtInstrumentsIssued" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_FinanceIncome" xlink:label="FinanceIncome" xlink:title="FinanceIncome" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_RevenueFromInterest" xlink:label="RevenueFromInterest" xlink:title="RevenueFromInterest" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinanceIncome" xlink:to="RevenueFromInterest" xlink:title="calculation: FinanceIncome to RevenueFromInterest" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_GainsOnChangeInFairValueOfDerivatives" xlink:label="GainsOnChangeInFairValueOfDerivatives" xlink:title="GainsOnChangeInFairValueOfDerivatives" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FinanceIncome" xlink:to="GainsOnChangeInFairValueOfDerivatives" xlink:title="calculation: FinanceIncome to GainsOnChangeInFairValueOfDerivatives" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherFinanceIncomeCost" xlink:label="OtherFinanceIncomeCost" xlink:title="OtherFinanceIncomeCost" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_DividendIncomeCompensationPreferredEquityInvestment" xlink:label="DividendIncomeCompensationPreferredEquityInvestment" xlink:title="DividendIncomeCompensationPreferredEquityInvestment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherFinanceIncomeCost" xlink:to="DividendIncomeCompensationPreferredEquityInvestment" xlink:title="calculation: OtherFinanceIncomeCost to DividendIncomeCompensationPreferredEquityInvestment" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherFinanceIncome" xlink:label="OtherFinanceIncome" xlink:title="OtherFinanceIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherFinanceIncomeCost" xlink:to="OtherFinanceIncome" xlink:title="calculation: OtherFinanceIncomeCost to OtherFinanceIncome" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherGainsLosses" xlink:label="OtherGainsLosses" xlink:title="OtherGainsLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherFinanceIncomeCost" xlink:to="OtherGainsLosses" xlink:title="calculation: OtherFinanceIncomeCost to OtherGainsLosses" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://atlanticayield.com/role/OtherOperatingIncomeAndExpensesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherExpenseByNature" xlink:label="OtherExpenseByNature" xlink:title="OtherExpenseByNature" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_ProfessionalFeesExpense" xlink:label="ProfessionalFeesExpense" xlink:title="ProfessionalFeesExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherExpenseByNature" xlink:to="ProfessionalFeesExpense" xlink:title="calculation: OtherExpenseByNature to ProfessionalFeesExpense" order="6.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_GeneralAndAdministrativeExpense" xlink:label="GeneralAndAdministrativeExpense" xlink:title="GeneralAndAdministrativeExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherExpenseByNature" xlink:to="GeneralAndAdministrativeExpense" xlink:title="calculation: OtherExpenseByNature to GeneralAndAdministrativeExpense" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_MiscellaneousOtherOperatingExpense" xlink:label="MiscellaneousOtherOperatingExpense" xlink:title="MiscellaneousOtherOperatingExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherExpenseByNature" xlink:to="MiscellaneousOtherOperatingExpense" xlink:title="calculation: OtherExpenseByNature to MiscellaneousOtherOperatingExpense" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_LeaseAndSubleasePaymentsRecognisedAsExpense" xlink:label="LeaseAndSubleasePaymentsRecognisedAsExpense" xlink:title="LeaseAndSubleasePaymentsRecognisedAsExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherExpenseByNature" xlink:to="LeaseAndSubleasePaymentsRecognisedAsExpense" xlink:title="calculation: OtherExpenseByNature to LeaseAndSubleasePaymentsRecognisedAsExpense" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_InsuranceExpense" xlink:label="InsuranceExpense" xlink:title="InsuranceExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherExpenseByNature" xlink:to="InsuranceExpense" xlink:title="calculation: OtherExpenseByNature to InsuranceExpense" order="7.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_RepairsAndMaintenanceExpense" xlink:label="RepairsAndMaintenanceExpense" xlink:title="RepairsAndMaintenanceExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherExpenseByNature" xlink:to="RepairsAndMaintenanceExpense" xlink:title="calculation: OtherExpenseByNature to RepairsAndMaintenanceExpense" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_TaxExpenseOtherThanIncomeTaxExpense" xlink:label="TaxExpenseOtherThanIncomeTaxExpense" xlink:title="TaxExpenseOtherThanIncomeTaxExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherExpenseByNature" xlink:to="TaxExpenseOtherThanIncomeTaxExpense" xlink:title="calculation: OtherExpenseByNature to TaxExpenseOtherThanIncomeTaxExpense" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_OtherIncome" xlink:label="OtherIncome" xlink:title="OtherIncome" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_GainOnSettlementOfLongTermOperationAndMaintenancePayable" xlink:label="GainOnSettlementOfLongTermOperationAndMaintenancePayable" xlink:title="GainOnSettlementOfLongTermOperationAndMaintenancePayable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherIncome" xlink:to="GainOnSettlementOfLongTermOperationAndMaintenancePayable" xlink:title="calculation: OtherIncome to GainOnSettlementOfLongTermOperationAndMaintenancePayable" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="aby-20180930.xsd#aby_RevenueFromRenderingOfServicesAndIncomeArisingFromInsuranceContracts" xlink:label="RevenueFromRenderingOfServicesAndIncomeArisingFromInsuranceContracts" xlink:title="RevenueFromRenderingOfServicesAndIncomeArisingFromInsuranceContracts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherIncome" xlink:to="RevenueFromRenderingOfServicesAndIncomeArisingFromInsuranceContracts" xlink:title="calculation: OtherIncome to RevenueFromRenderingOfServicesAndIncomeArisingFromInsuranceContracts" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.ifrs.org/taxonomy/2018-03-16/full_ifrs/full_ifrs-cor_2018-03-16.xsd#ifrs-full_RevenueFromGovernmentGrants" xlink:label="RevenueFromGovernmentGrants" xlink:title="RevenueFromGovernmentGrants" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherIncome" xlink:to="RevenueFromGovernmentGrants" xlink:title="calculation: OtherIncome to RevenueFromGovernmentGrants" order="0.0" weight="1.0" />
  </link:calculationLink>
</link:linkbase>
</XBRL>
