v3.8.0.1

Nature of the business, Assets acquired (Details) $ in Thousands |  |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Jul. 20, 2017 USD ($) MW | Feb. 28, 2017 mi | Jan. 07, 2016 USD ($) | Dec. 31, 2017 | Dec. 31, 2016 MW | Aug. 03, 2016 USD ($) | Jul. 30, 2015
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Percentage interest acquired |  |  | 12.50% |  |  |  |  |
Length of transmission lines | mi |  |  | 114 |  |  |  |  |
Peru [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Gross capacity | MW |  | 4 |  |  |  |  |  |
Acquisition purchase price |  | $ 9,000 |  |  |  |  |  |
Honaine [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Ownership interest | [1] |  |  |  | 25.50% |  |  |
Skikda [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Ownership interest | [2] |  |  |  | 34.20% |  |  |
Helioenergy 1/2 [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Ownership interest |  |  |  |  | 100.00% |  |  |
Helios 1/2 [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Ownership interest |  |  |  |  | 100.00% |  |  |
Solnova 1/3/4 [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Ownership interest |  |  |  |  | 100.00% |  |  |
Kaxu [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Percentage interest acquired |  |  |  |  |  |  |  | 51.00%
Ownership interest | [3] |  |  |  | 51.00% |  |  |
Solaben 1/6 [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Ownership interest |  |  |  |  | 100.00% |  |  |
Solacor 1/2 [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Percentage interest acquired |  |  |  | 13.00% |  | 13.00% |  |
Acquisition purchase price |  |  |  | $ 19,923 |  |  |  |
Ownership interest | [4] |  |  |  | 87.00% |  |  |
Seville PV [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Percentage interest acquired |  |  |  |  |  | 80.00% | 80.00% |
Gross capacity | MW |  |  |  |  |  | 1 |  |
Acquisition purchase price |  |  |  |  |  |  | $ 3,214 |
Ownership interest | [5] |  |  |  | 80.00% |  |  |
JGC [Member] | Solacor 1/2 [Member] |  |  |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |  |  |
Ownership interest |  |  |  | 13.00% |  | 13.00% |  |
[1] | Algerian Energy Company, SPA owns 49% of Honaine and Valoriza Agua, S.L. owns the remaining 25.5%.
[2] | Algerian Energy Company, SPA owns 49% of Skikda and Valoriza Agua, S.L. owns the remaining 16.83%.
[3] | Kaxu is owned by the Company (51%), Industrial Development Corporation of South Africa (29%) and Kaxu Community Trust (20%).
[4] | JGC, a Japanese engineering company, holds 13% of the shares in each of Solacor 1 and Solacor 2.
[5] | Instituto para la Diversificacion y Ahorro de la Energia ("Idae"), a Spanish state owned company, holds 20% of the shares in Seville PV.

X
- Definition The maximum, or rated, power generation capacity, in MW, of power facility or group of facilities, without adjusting for the facility's power parasitic consumption. + References No definition available. + Details
Name: | aby_Capacity
Namespace Prefix: | aby_
Data Type: | num:powerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total span, length or measured distance of transmission lines. + References No definition available. + Details
Name: | aby_LengthOfTransmissionLines
Namespace Prefix: | aby_
Data Type: | num:lengthItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The fair value, at acquisition date, of the consideration transferred in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2016-01-13 -Paragraph B64 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2016-03-30&anchor=para_B64_f&doctype=Appendix&seq=2 -URIDate 2016-03-31 + Details
Name: | ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2016-01-13 -Paragraph B64 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2016-03-30&anchor=para_B64_c&doctype=Appendix&seq=2 -URIDate 2016-03-31 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2016-01-13 -Paragraph 17 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=27&date=2016-03-30&anchor=para_17_b_iii&doctype=Standard -URIDate 2016-03-31 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2016-01-13 -Paragraph 16 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=27&date=2016-03-30&anchor=para_16_b_iii&doctype=Standard -URIDate 2016-03-31 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2016-01-13 -Paragraph 19B -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2016-03-30&anchor=para_19B_c&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_PE
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfFinancialAssetsAxis=aby_HonaineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfFinancialAssetsAxis=aby_SkikdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IntangibleAssetsMaterialToEntityAxis=aby_Helioenergy1And2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IntangibleAssetsMaterialToEntityAxis=aby_Helios1And2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IntangibleAssetsMaterialToEntityAxis=aby_Solnova13And4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IntangibleAssetsMaterialToEntityAxis=aby_KaxuMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IntangibleAssetsMaterialToEntityAxis=aby_Solaben1And6Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IntangibleAssetsMaterialToEntityAxis=aby_Solacor1AndSolacor2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_IntangibleAssetsMaterialToEntityAxis=aby_SevillePVMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=aby_JGCCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |