Deliverable 4.1 (D13)_Global Model_Annex1.pdf

417
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 691287 EU Framework Program for Research and Innovation actions (H2020 LCE-21-2015) Project Nr: 691287 Guiding European Policy toward a low-carbon economy. Modelling sustainable Energy system Development under Environmental And Socioeconomic constraints D4.1(D13) Annex1: Variables Report of MEDEAS Global (World) Model Version 3.0.0 Due date of deliverable: 30/06/2017 Actual submission date: 30/06/2017

Transcript of Deliverable 4.1 (D13)_Global Model_Annex1.pdf

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

EUFrameworkProgramforResearchandInnovationactions(H2020LCE-21-2015)

ProjectNr:691287

GuidingEuropeanPolicytowardalow-carboneconomy.ModellingsustainableEnergy

systemDevelopmentunderEnvironmentalAndSocioeconomicconstraints

D4.1(D13)Annex1:VariablesReportofMEDEASGlobal(World)Model

Version3.0.0

Duedateofdeliverable: 30/06/2017 Actualsubmissiondate: 30/06/2017

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

2

DisclaimerofwarrantiesandlimitationofliabilitiesThisdocumenthasbeenpreparedbyMEDEASprojectpartnersasanaccountofworkcarriedoutwithintheframeworkoftheEC-GAcontractno691287.

NeitherProjectCoordinator,noranysignatorypartyofMEDEASProjectConsortiumAgreement,noranypersonactingonbehalfofanyofthem:

(a) makesanywarrantyorrepresentationwhatsoever,expressorimplied,

(i). withrespecttotheuseofanyinformation,apparatus,method,process,orsimilar

item disclosed in this document, including merchantability and fitness for a

particularpurpose,or

(ii). thatsuchusedoesnotinfringeonorinterferewithprivatelyownedrights,including

anyparty'sintellectualproperty,or

(iii). thatthisdocumentissuitabletoanyparticularuser'scircumstance;or

(b) assumes responsibility for any damages or other liability whatsoever (including any

consequential damages, even if Project Coordinator or any representativeof a signatory

partyoftheMEDEASProjectConsortiumAgreement,hasbeenadvisedofthepossibilityof

suchdamages)resultingfromyourselectionoruseofthisdocumentorany information,

apparatus,method,process,orsimilaritemdisclosedinthisdocument.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

3

DocumentinfosheetLeadBeneficiary:UniversityofValladolid

WP:4,Modelbuildingandmodelsimplementation

Task:4.1,MEDEASModelandIOAimplementationatglobalgeographicallevel

Authors:

UVa: IñigoCapellán-Pérez (ICM-CSIC), Ignacio deBlas, JaimeNieto, Carlos deCastro, Luis JavierMiguel,MargaritaMediavilla,ÓscarCarpintero,PaulaRodrigo, FernandoFrechosoandSantiagoCáceres

Disseminationlevel:Public

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

4

Annex1:DescriptionofVariables(0001)"'a'extractionprojectionminerals"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA5') "'a'extractionprojectionminerals"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA6') "'a'extractionprojectionminerals"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA7') "'a'extractionprojectionminerals"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA8') "'a'extractionprojectionminerals"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA9') "'a'extractionprojectionminerals"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA10') "'a'extractionprojectionminerals"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA11') "'a'extractionprojectionminerals"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA12') "'a'extractionprojectionminerals"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA13') "'a'extractionprojectionminerals"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA14') "'a'extractionprojectionminerals"["Electric/electroniccomponents"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA15') "'a'extractionprojectionminerals"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA16') "'a'extractionprojectionminerals"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA17') "'a'extractionprojectionminerals"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA18') "'a'extractionprojectionminerals"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA19') "'a'extractionprojectionminerals"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA20') "'a'extractionprojectionminerals"[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA21') "'a'extractionprojectionminerals"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA22') "'a'extractionprojectionminerals"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA23') "'a'extractionprojectionminerals"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA24') "'a'extractionprojectionminerals"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA25')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

5

"'a'extractionprojectionminerals"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA26') "'a'extractionprojectionminerals"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA27') "'a'extractionprojectionminerals"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA28') "'a'extractionprojectionminerals"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA29') "'a'extractionprojectionminerals"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA30') "'a'extractionprojectionminerals"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA31') "'a'extractionprojectionminerals"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA32') "'a'extractionprojectionminerals"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA33') "'a'extractionprojectionminerals"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA34') "'a'extractionprojectionminerals"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA35') "'a'extractionprojectionminerals"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA36') "'a'extractionprojectionminerals"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA37') "'a'extractionprojectionminerals"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA38') "'a'extractionprojectionminerals"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA39') "'a'extractionprojectionminerals"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA40') "'a'extractionprojectionminerals"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA41') "'a'extractionprojectionminerals"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA42') "'a'extractionprojectionminerals"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA43') "'a'extractionprojectionminerals"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA44') "'a'extractionprojectionminerals"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA45') "'a'extractionprojectionminerals"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA46') "'a'extractionprojectionminerals"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA47')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

6

"'a'extractionprojectionminerals"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA48') "'a'extractionprojectionminerals"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA49') "'a'extractionprojectionminerals"[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA50') "'a'extractionprojectionminerals"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA51') "'a'extractionprojectionminerals"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA52') "'a'extractionprojectionminerals"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA53') "'a'extractionprojectionminerals"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA54') "'a'extractionprojectionminerals"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA55') "'a'extractionprojectionminerals"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA56') "'a'extractionprojectionminerals"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA57') "'a'extractionprojectionminerals"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA58') "'a'extractionprojectionminerals"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA59') "'a'extractionprojectionminerals"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA60') "'a'extractionprojectionminerals"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA61') "'a'extractionprojectionminerals"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','BA62') Units:Mt/Year (0002)"'b'extractionprojectionminerals"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB5') "'b'extractionprojectionminerals"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB6') "'b'extractionprojectionminerals"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB7') "'b'extractionprojectionminerals"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB8') "'b'extractionprojectionminerals"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB9') "'b'extractionprojectionminerals"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB10')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

7

"'b'extractionprojectionminerals"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB11') "'b'extractionprojectionminerals"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB12') "'b'extractionprojectionminerals"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB13') "'b'extractionprojectionminerals"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB14') "'b'extractionprojectionminerals"["Electric/electroniccomponents"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB15') "'b'extractionprojectionminerals"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB16') "'b'extractionprojectionminerals"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB17') "'b'extractionprojectionminerals"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB18') "'b'extractionprojectionminerals"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB19') "'b'extractionprojectionminerals"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB20') "'b'extractionprojectionminerals"[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB21') "'b'extractionprojectionminerals"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB22') "'b'extractionprojectionminerals"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB23') "'b'extractionprojectionminerals"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB24') "'b'extractionprojectionminerals"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB25') "'b'extractionprojectionminerals"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB26') "'b'extractionprojectionminerals"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB27') "'b'extractionprojectionminerals"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB28') "'b'extractionprojectionminerals"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB29') "'b'extractionprojectionminerals"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB30') "'b'extractionprojectionminerals"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB31') "'b'extractionprojectionminerals"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB32')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

8

"'b'extractionprojectionminerals"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB33') "'b'extractionprojectionminerals"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB34') "'b'extractionprojectionminerals"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB35') "'b'extractionprojectionminerals"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB36') "'b'extractionprojectionminerals"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB37') "'b'extractionprojectionminerals"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB38') "'b'extractionprojectionminerals"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB39') "'b'extractionprojectionminerals"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB40') "'b'extractionprojectionminerals"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB41') "'b'extractionprojectionminerals"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB42') "'b'extractionprojectionminerals"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB43') "'b'extractionprojectionminerals"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB44') "'b'extractionprojectionminerals"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB45') "'b'extractionprojectionminerals"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB46') "'b'extractionprojectionminerals"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB47') "'b'extractionprojectionminerals"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB48') "'b'extractionprojectionminerals"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB49') "'b'extractionprojectionminerals"[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB50') "'b'extractionprojectionminerals"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB51') "'b'extractionprojectionminerals"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB52') "'b'extractionprojectionminerals"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB53') "'b'extractionprojectionminerals"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB54')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

9

"'b'extractionprojectionminerals"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB55') "'b'extractionprojectionminerals"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB56') "'b'extractionprojectionminerals"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB57') "'b'extractionprojectionminerals"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB58') "'b'extractionprojectionminerals"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB59') "'b'extractionprojectionminerals"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB60') "'b'extractionprojectionminerals"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB61') "'b'extractionprojectionminerals"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','BB62') Units:Mt/Year (0003)"'dynamic'EROIRESelecvar"[RESelec,scenarios]= IFTHENELSE(CEDtotRESelecvar[RESelec,scenarios]=0,0,realgenerationRESelecEJ [RESelec,scenarios]/CEDtotRESelecvar [RESelec,scenarios]) Units:Dmnl EvolutionofEROIovertimeperRESvariabletechnology, consideringCEDdynamicovertime.(0004)"'static'EROIRESelec"[hydro,scenarios]= IFTHENELSE(CEDtotoverlifetimeRESelecdispatch[hydro,scenarios]=0,0, outputelecoverlifetimeRESelec[hydro, scenarios]/(CEDtot over lifetime RES elec dispatch[hydro,scenarios]*quality ofelectricity [scenarios])) "'static'EROIRESelec"["geot-elec",scenarios]= IFTHENELSE(CEDtotoverlifetimeRESelecdispatch["geot-elec",scenarios ]=0,0,outputelecoverlifetimeRESelec[ "geot-elec",scenarios]/(CEDtotoverlifetimeRESelecdispatch["geot-elec" ,scenarios]*qualityofelectricity[scenarios])) "'static'EROIRESelec"["solidbioE-elec",scenarios]= IFTHENELSE(CEDtotoverlifetimeRESelecdispatch["solidbioE-elec",scenarios ]=0,0,outputelecoverlifetimeRESelec ["solidbioE-elec",scenarios]/(CEDtotoverlifetimeRESelecdispatch["solidbioE-elec" ,scenarios]*qualityofelectricity[scenarios])) "'static'EROIRESelec"[oceanic,scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

10

IFTHENELSE(CEDtotoverlifetimeRESelecdispatch[oceanic,scenarios]=0, 0,outputelecoverlifetimeRESelec[oceanic ,scenarios]/(CEDtot over lifetime RES elec dispatch[oceanic,scenarios]*quality ofelectricity [scenarios])) "'static'EROIRESelec"[windonshore,scenarios]= IFTHENELSE(CEDtotoverlifetimeRESelecvar[windonshore,scenarios]=0, 0,outputelecoverlifetimeRESelec[windonshore ,scenarios]/CEDtotoverlifetimeRESelecvar[windonshore,scenarios]) "'static'EROIRESelec"[windoffshore,scenarios]= IFTHENELSE(CEDtotoverlifetimeRESelecvar[windoffshore,scenarios]=0 ,0,outputelecoverlifetimeRESelec[windoffshore ,scenarios]/CEDtotoverlifetimeRESelecvar[windoffshore,scenarios]) "'static'EROIRESelec"[solarPV,scenarios]= IFTHENELSE(CEDtotover lifetimeRESelecvar[solarPV,scenarios]=0,0,outputelecoverlifetimeRESelec [solarPV, scenarios]/CEDtotoverlifetimeRESelecvar[solarPV,scenarios]) "'static'EROIRESelec"[CSP,scenarios]= IFTHENELSE(CEDtotoverlifetimeRESelecvar[CSP,scenarios]=0,0,outputelecoverlifetimeRESelec [CSP, scenarios]/CEDtotoverlifetimeRESelecvar[CSP,scenarios]) Units:Dmnl Energyreturnonenergyinvested(overthefulllifetimeofthe infrastructure)perREStechnologyforgeneratingelectricity.(0005)"'static'EROIgridRESelec"[RESelec,scenarios]= IFTHENELSE("'static'EROIRESelec"[RESelec,scenarios]<=0,0,(1-fractionstored [RESelec,scenarios]+fractionstored[RESelec ,scenarios]*rtelecstorageefficiency[scenarios])/(1/"'static'EROIRESelec" [RESelec,scenarios]+fractionstored[RESelec,scenarios ]*rtelecstorageefficiency[scenarios]/ESOIelecstorage[scenarios])) Units:Dmnl SystemEROIafteraccountingfortheenergylossesof electricitystorage.EquationfromBarnhartetal(2013).(0006)"'static'EROIgridtot-effectiveforallocationRESelec"[scenarios] = ZIDZ(SUM(outputelecoverlifetimeRESelecforallocation2[RESelec!,scenarios ]),SUM(CEDtotoverlifetimeRESelecforallocation[RESelec!,scenarios] )) Units:Dmnl EROIoftheaggregatedoutputsandinputsofRESforgenerating

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

11

electricity.(0007)"'static'EROItotRESelec"[scenarios]= IFTHENELSE(SUM(CEDtotoverlifetimeRESelec[RESelec!,scenarios])<0,0 ,SUM(outputelecoverlifetimeRESelec [RESelec!,scenarios])/(SUM(CEDtotoverlifetimeRESelec[RESelec!,scenarios ]))) Units:Dmnl EROIoftheaggregatedoutputsandinputsofRESforgenerating electricity.(0008)"'static'EROItot-effectiveforallocationRESelec"[scenarios]= ZIDZ(SUM(outputelecoverlifetimeRESelecforallocation[RESelec!,scenarios ]),SUM(CEDtotoverlifetimeRESelecforallocation[RESelec!,scenarios] )) Units:Dmnl EROIoftheaggregatedoutputsandinputsofRESforgenerating electricity.(0009)alinealregr[scenarios]= (initialESOIPHS-ESOIPHSfullpotential)/(0-maxcapacitypotentialPHS[ scenarios]) Units:**undefined** (0010)AMatrix[sectors,sectors1]= IFTHENELSE(Time<1996,Amatrix1995[sectors,sectors1],IFTHENELSE(Time <1997,Amatrix1996[sectors ,sectors1],IFTHENELSE(Time<1998,Amatrix1997[sectors,sectors1],IFTHENELSE (Time<1999,Amatrix1998[sectors,sectors1],IFTHENELSE(Time<2000,Amatrix1999 [sectors,sectors1],IFTHENELSE(Time<2001,Amatrix2000[sectors,sectors1 ],IFTHENELSE( Time<2002,Amatrix2001[sectors,sectors1],IFTHENELSE(Time<2003,Amatrix2002 [sectors,sectors1],IFTHENELSE(Time<2004,Amatrix2003[sectors,sectors1 ],IFTHENELSE(Time<2005,Amatrix2004[sectors,sectors1],IFTHENELSE(Time <2006,Amatrix2005[sectors,sectors1],IFTHENELSE(Time<2007,Amatrix2006 [sectors,sectors1],IFTHENELSE(Time<2008,Amatrix2007[sectors,sectors1 ],IFTHENELSE(Time<2009,Amatrix2008[sectors,sectors1],Amatrix2009[ sectors,sectors1])))))))))))))) Units:Dmnl LeontiefMatrix(1995-2009).WIODdata(0011)A1coeftH= ((Liq4w0/DemandH0)-(A2coeftH*percent2wliq0))/percent4wliq0 Units:EJ/T$

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

12

Coeficientsforthecalculationofvariationsoftrasnport intensitiesA1=(LHt(0)/DH(0)-A2%Hliq2w)/%Hliq(0012)A2coeftH= Electricity2wE0/(DemandH0*percentHvehicles initial[elec2wheels]*savinratio2wE ) Units:EJ/T$ Coeficientsforthecalculationofvariationsoftrasnport intensitiesA2=EH2w(0)/(DH(0)%HE2w·srE2w)=(0013)abundancecoal[scenarios]= IFTHENELSE(extractioncoalEJ[scenarios]>PEDcoalEJ[scenarios],1,1-ZIDZ ((PEDcoalEJ[scenarios]-extractioncoalEJ[scenarios]),PEDcoalEJ[scenarios ])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0014)Abundanceelectricity[scenarios]= IFTHENELSE(TotalFEElecgenerationTWh[scenarios]>TotalFEElecdemandTWh [scenarios],1,1-((TotalFEElecdemandTWh[scenarios]-TotalFEElecgenerationTWh [scenarios])/TotalFEElecdemandTWh[scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0015)abundancegases[scenarios]= IFTHENELSE(PEDgases[scenarios]<PESgases[scenarios],1,1-(PEDgases[scenarios ]-PESgases[scenarios])/PEDgases[scenarios]) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0016)Abundanceheat[scenarios]= IFTHENELSE(TotalFEHeatgenerationEJ[scenarios]>TotalFEDHeatEJ[scenarios ],1,1-((TotalFEDHeatEJ[scenarios]-TotalFEHeatgenerationEJ[scenarios ])/TotalFEDHeatEJ[scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

13

higherdivergencebetweensupplyanddemand.(0017)abundanceliquids[scenarios]= IFTHENELSE(PEDliquidsEJ[scenarios]<PESLiquidsEJ[scenarios],1,1-(( PEDliquidsEJ[scenarios]-PESLiquidsEJ[scenarios])/PEDliquidsEJ[scenarios ])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0018)abundanceliquidsCTL[scenarios]= SQRT(ABS((PEDliquidsEJ[scenarios]-CTLpotentialproduction[scenarios])/ PEDliquidsEJ[scenarios])) Units:Dmnl VariabletomoderatethegrowthofCTLwhenitcomescloseto supplyalltheliquids.Thisvariablelimitsthegrowthofa technologysupplyingaparticularfinalenergytypewhenits supplyincreasesitsshareinrelationtothetotalsupplyof thisenergytype(toavoidovershootings).(0019)abundanceliquidsGTL[scenarios]= SQRT(ABS((PEDliquidsEJ[scenarios]-GTLpotentialproduction[scenarios])/ PEDliquidsEJ[scenarios])) Units:Dmnl VariabletomoderatethegrowthofGTLwhenitcomescloseto supplyalltheliquids.Thisvariablelimitsthegrowthofa technologysupplyingaparticularfinalenergytypewhenits supplyincreasesitsshareinrelationtothetotalsupplyof thisenergytype(toavoidovershootings).(0020)abundanceofenergy[scenarios,liquids]= abundanceliquids[scenarios] abundanceofenergy[scenarios,gases]= abundancegases[scenarios] abundanceofenergy[scenarios,solids]= abundancesolids[scenarios] abundanceofenergy[scenarios,electricity]= 1 abundanceofenergy[scenarios,heat]= 1 Units:**undefined** (0021)abundanceofenergyH[scenarios,liquids]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

14

abundanceliquids[scenarios] abundanceofenergyH[scenarios,gases]= abundancegases[scenarios] abundanceofenergyH[scenarios,solids]= abundancesolids[scenarios] abundanceofenergyH[scenarios,electricity]= 1 abundanceofenergyH[scenarios,heat]= 1 Units:**undefined** (0022)abundanceRESelec[scenarios]= IFTHENELSE(TotalFEElecdemandafterprioritiesTWh[scenarios]=0,0, IF THEN ELSE(Total FE Elec demand after priorities TWh[scenarios] > FE real totgenerationRESelecTWh [scenarios], (TotalFEElecdemandafterprioritiesTWh[scenarios]-FErealtotgenerationRESelecTWh [scenarios])/TotalFEElecdemandafterprioritiesTWh[scenarios],0)) Units:Dmnl Theparameterabundancevariesbetween(1;0).Theclosestto1 indicatesthatelectricitygenerationfromRESisfartocover towholeelectricitydemand,if"abundanceRESelec"=0itmeans thatRESeleccoverthewholeelectricitydemand.(0023)abundanceRESheat0[scenarios]= IFTHENELSE("FEDHeat-comafterprioritiesEJ"[scenarios]=0,0,ZIDZ(("FEDHeat-comafterprioritiesEJ" [scenarios]-FErealsupplyRESforheattotEJ0[scenarios]),"FEDHeat-comafterprioritiesEJ" [scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Theclosestto1 indicatesthatheatgenerationfromRESisfartocovertowhole heatdemand,if"abundanceRESheat"=0itmeansthatRESheat coverthewholeheatdemand.IFTHENELSE(TotalFEDHeatEJ delayed1yr[scenarios]=0,0,IFTHENELSE(TotalFEDHeatEJ delayed1yr[scenarios]>FErealsupplyRESforheattot EJ[scenarios],(TotalFEDHeatEJdelayed1yr[scenarios]-FEreal supplyRESforheattotEJ[scenarios])/TotalFEDHeatEJdelayed 1yr[scenarios],0))(0024)"abundanceRESheat-com"[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

15

IFTHENELSE("FEDHeat-comafterprioritiesEJ"[scenarios]=0,0,ZIDZ(("FEDHeat-comafterprioritiesEJ" [scenarios]-"FE real supply RES for heat-com tot EJ"[scenarios]) , "FED Heat-com afterprioritiesEJ" [scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Theclosestto1 indicatesthatheatgenerationfromRESisfartocovertowhole heatdemand,if"abundanceRESheat"=0itmeansthatRESheat coverthewholeheatdemand.IFTHENELSE(TotalFEDHeatEJ delayed1yr[scenarios]=0,0,IFTHENELSE(TotalFEDHeatEJ delayed1yr[scenarios]>FErealsupplyRESforheattot EJ[scenarios],(TotalFEDHeatEJdelayed1yr[scenarios]-FEreal supplyRESforheattotEJ[scenarios])/TotalFEDHeatEJdelayed 1yr[scenarios],0))(0025)"abundanceRESheat-com2"[scenarios]= SQRT("abundanceRESheat-com"[scenarios]) Units:Dmnl Adaptationoftheparameterabundanceforbetterbehaviourof themodel.(0026)"abundanceRESheat-nc"[scenarios]= IFTHENELSE("TotalFEDHeat-ncEJ"[scenarios]=0,0,ZIDZ(("TotalFEDHeat-ncEJ" [scenarios]-"FErealsupplyRESforheat-nctotEJ"[scenarios]),"TotalFEDHeat-ncEJ" [scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Theclosestto1 indicatesthatheatgenerationfromRESisfartocovertowhole heatdemand,if"abundanceRESheat"=0itmeansthatRESheat coverthewholeheatdemand.IFTHENELSE(TotalFEDHeatEJ delayed1yr[scenarios]=0,0,IFTHENELSE(TotalFEDHeatEJ delayed1yr[scenarios]>FErealsupplyRESforheattot EJ[scenarios],(TotalFEDHeatEJdelayed1yr[scenarios]-FEreal supplyRESforheattotEJ[scenarios])/TotalFEDHeatEJdelayed 1yr[scenarios],0))(0027)"abundanceRESheat-nc2"[scenarios]= SQRT("abundanceRESheat-nc"[scenarios]) Units:Dmnl Adaptationoftheparameterabundanceforbetterbehaviourof themodel.(0028)abundanceRESheat20[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

16

SQRT(abundanceRESheat0[scenarios]) Units:Dmnl Adaptationoftheparameterabundanceforbetterbehaviourof themodel.(0029)abundancesolids[scenarios]= IFTHENELSE(PESsolids[scenarios]>PEDsolids[scenarios],1,1-((PEDsolids [scenarios]- PESsolids[scenarios])/PEDsolids[scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0030)abundanceTPE[scenarios]= IFTHENELSE(TPESEJ[scenarios]>TPEDbyfuel[scenarios],1,1-((TPEDbyfuel [scenarios]-TPESEJ[scenarios])/TPEDbyfuel[scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0031)abundanceunconvoil[scenarios]= IFTHENELSE(PEDtotaloilEJ[scenarios]=0,0, IFTHENELSE(PEDtotaloilEJ[scenarios]>realextractionunconvoilEJ[ scenarios], (PEDtotaloilEJ[scenarios]-realextractionunconvoilEJ[scenarios])/PEDtotaloilEJ [scenarios],0)) Units:Dmnl Theparameterabundancevariesbetween(1;0).Theclosestto1 indicatesthatunconventionaloilextractioneisfartocoverto wholeoildemand,if"abundanceunconvoil"=0itmeansthat unconventionaloilextractioncoversthewholedemandofoil.(0032)abundanceunconvoildelayed1yr[scenarios]=DELAYFIXED( abundanceunconvoil[scenarios],1,1) Units:Dmnl (0033)abundanceunconvoilstock[scenarios]=INTEG( increaseabundanceunconvoil[scenarios], 1) Units:Dmnl (0034)abundanceunconvoil2[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

17

abundanceunconvoilstock[scenarios] Units:Dmnl Adaptationoftheparameterabundanceforbetterbehaviourof themodel.Thisvariablelimitsthegrowthofatechnology supplyingaparticularfinalenergytypewhenitssupply increasesitsshareinrelationtothetotalsupplyofthis energytype(toavoidovershootings).(0035)abundanceuranium[scenarios]= IF THEN ELSE(PE demand uranium EJ[scenarios]=0, 1, IF THEN ELSE(extractionuraniumEJ [scenarios]>PEdemanduraniumEJ [scenarios],1,1-((PEdemanduraniumEJ[scenarios]-extractionuraniumEJ [scenarios])/PEdemanduraniumEJ[scenarios]))) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0036)"activateELFallscen?"[scenarios]= 1 Units:Dmnl Active/deactivatetheenergylossfunctionbyscenario:1: activate0:notactive(0037)"activateELFbyscen?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C119') "activateELFbyscen?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C119') "activateELFbyscen?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C119') "activateELFbyscen?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C119') "activateELFbyscen?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C119') "activateELFbyscen?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C119') Units:Dmnl Active/deactivatetheenergylossfunctionbyscenario:1: activate0:notactive(0038)"ActivateEROIFCfeedback?"= 1 Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

18

0-EROIFCfeedbackNOTactivated1-EROIFCfeedabckactivated(0039)Activatepolicy2050Htransp[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C171') Activatepolicy2050Htransp[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C171') Activatepolicy2050Htransp[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C171') Activatepolicy2050Htransp[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C171') Activatepolicy2050Htransp[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C171') Activatepolicy2050Htransp[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C171') Units:**undefined** 1tosetgrowthofalternativehouseholdstransportationbased ondesiredsharein2050,0forBAUlineargrowth(0040)Activatepolicy2050inlandT[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C172') Activatepolicy2050inlandT[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C172') Activatepolicy2050inlandT[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C172') Activatepolicy2050inlandT[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C172') Activatepolicy2050inlandT[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C172') Activatepolicy2050inlandT[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C172') Units:**undefined** 1tosetgrowthofalternativeinlandtransportationbasedon desiredsharein2050,0forBAUlineargrowth(0041)AdaptCO2emissionsunconvgas[scenarios]= IFTHENELSE(Time<2050,0.01+(0.22-0.01)*(Timedmnl[scenarios](Time)-2000 )/50,IFTHENELSE(Time<2100,0.22+(0.6-0.22)*(Timedmnl[scenarios](Time) -2050)/50,0.6)) Units:Dmnl Unconventionalgasemissionsare3,53tCO2/toevs2,35for conventional.Sincewehaveallnaturalgasmodeledinan aggregatedmanner,thisfunctioncorrectstheseemissions assumingthatunconventionalgaswouldfollowtheshareun relationtonaturalgasasestimatedby[Mohr&Evans2011](BG)for

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

19

2050and2100(linearinterpolation).(0042)Adaptemissionsshaleoil[scenarios]= IFTHENELSE(Time<2050,0.001+(0.15-0.001)*(Timedmnl[scenarios](Time)-2000 )/50,IFTHENELSE(Time<2100,0.15+(0.72-0.15)*(Timedmnl[scenarios](Time )-2050)/50,0.72)) Units:Dmnl Shaleoilemissionsare6,14tCO2/toevs3,84forunconventional oil.Sincewehaveunconventionaloilsinanaggregatedmanner, thisfunctionscorrectstheseemissionsassumingthatshaleoil wouldfollowtheshareinrelationtothetotalunconventional oilasestimatedby[Mohr&Evans2010](LowCase)for2050and2100 (linearinterpolation)(0043)adaptgrowthbiofuels2gen[scenarios]= IFTHENELSE(Time<2015,0,IFTHENELSE(Time<2020,pastbiofuels2gen+(Pbiofuels2gen [scenarios]-pastbiofuels2gen)*(Timedmnl[scenarios](Time)-2015)/5,Pbiofuels2gen [scenarios])) Units:1/Year Modelingofasofttransitionfromcurrenthistoricannual growthtoreachthepolicy-objective5yearslater.IFTHEN ELSE(Time<2015,0,IFTHENELSE(Time<2020,pastsolar+(P solar[scenarios]-pastsolar)*(Time dmnl[scenarios](Time)-2015)/5,Psolar[scenarios]))(0044)adaptgrowthbiogas[scenarios]= IFTHENELSE(Time<2015,pastbiogasgrowth,IFTHENELSE(Time<2020,pastbiogasgrowth +(growthbiogas[scenarios]-pastbiogasgrowth)*(Timedmnl[scenarios](Time) -2015)/5,growthbiogas[scenarios])) Units:1/Year Annualgrowthperforbiogas.Modelingofasofttransitionfrom currenthistoricannualgrowthtoreachthepolicy-objective5 yearslater.(0045)adaptgrowthRESelecafterallocation[RESelec,scenarios]= IFTHENELSE(activateEROIallocationrule=0,adaptgrowthRESelec[RESelec ,scenarios],adaptgrowthRESelec[RESelec ,scenarios]*EROI allocation rule per RES elec[RES elec,scenarios])*remainingpotentialelecstoragebyREStechn2 [scenarios,RESelec] Units:Dmnl AnnualgrowthperRESelectechnologyafteraccountingforthe

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

20

allocationrule.(0046)adaptgrowthRESforheat0[RESheat,scenarios]= IFTHENELSE(Time<2014,"pastRESgrowthforheat-com0"[RESheat],IFTHENELSE (Time<2019,"pastRESgrowthforheat-com0"[RESheat]+ (PRESforheat0[RESheat,scenarios]-"pastRESgrowthforheat-com0"[RESheat ])*(Timedmnl[scenarios](Time)-2014)/5,PRESforheat0[RESheat,scenarios ])) Units:1/Year Modelingofasofttransitionfromcurrenthistoricannual growthtoreachthepolicy-objective5yearslater.(0047)"adaptgrowthRESforheat-com"[RESheat,scenarios]= IFTHENELSE(Time<2014,"pastRESgrowthforheat-com"[RESheat],IFTHENELSE (Time<2019,"pastRESgrowthforheat-com"[RESheat]+ (PRESforheat[RESheat,scenarios]-"pastRESgrowthforheat-com"[RESheat ])*(Timedmnl[scenarios](Time)-2014)/5,PRESforheat[RESheat,scenarios] )) Units:1/Year Modelingofasofttransitionfromcurrenthistoricannual growthtoreachthepolicy-objective5yearslater.(0048)"adaptgrowthRESforheat-nc"[RESheat,scenarios]= IFTHENELSE(Time<2014,"pastRESgrowthforheat-nc"[RESheat],IFTHENELSE (Time<2019,"pastRESgrowthforheat-nc" [RESheat]+(PRESforheat[RESheat,scenarios]-"pastRESgrowthforheat-nc" [RESheat])*(Timedmnl[scenarios](Time)-2014 )/5,PRESforheat[RESheat,scenarios]))*"Deactivateheatdemcorrection?" Units:1/Year Modelingofasofttransitionfromcurrenthistoricannual growthtoreachthepolicy-objective5yearslater.(0049)adaptvarinlandT[scenarios,vehicleT]= auxPinlandtransp[scenarios,vehicleT]*EfectsshortageinlandT[scenarios ,vehicleT] Units:**undefined** Growthofpercentofvehiclesadaptedtosaturationandshorgate ofenergy(0050)adjustenergyfortransporttoinlandtransport= GETXLSCONSTANTS('inputs.xlsx','Parameters','G72') Units:**undefined** 'InternationalEnergyAgency(2016),EnergyTechnology Perspectives2016,OECD/IEA,considersin2015about34EJof

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

21

liquidsforcommercialtransport.HoweverWIODdatabase considerstoinlandtransportsectorabout12EJ.Provisionally, weadjustOECD/IEAdatatoWIOD.WeconsiderOECD/IEAdatain relativeterms(0051)adjustexogenousGDPgrowthrate= GETXLSCONSTANTS('inputs.xlsx','Parameters','G73') Units:Dmnl AdjustinexogenousGDPgrowthin2009-2014period(provisional(0052)aux1[scenarios]=DELAYFIXED( "share-ElossesCClogisticuntil2015"[scenarios],0.03125,0) Units:Dmnl Auxiliaryvariabletoestimatetheenergylossesduetoclimate changeimpactsintheyear2015.(0053)aux2[scenarios]=DELAYFIXED( overdemandelectotuntil2015[scenarios],0.03125,0) Units:Dmnl Auxiliaryvariabletoestimatetheoverdemandduetoelectricity EROIintheyear2015.(0054)aux4[scenarios]=DELAYFIXED( EROIstuntil2015[scenarios],TIMESTEP,"EROIst(1995)") Units:Dmnl AuxiliaryvariabletoestimatetheEROIstofthesysteminthe year2015.(0055)batnumber2w[scenarios]= NumbervehiclesH[scenarios,elec2wheels]*bateriesratio2wE Units:**undefined** (0056)batnumberEV[scenarios]= NumbervehiclesH[scenarios,elec4wheels]+vehiclesinlandT[scenarios,LVelec ]+vehiclesinlandT[scenarios,buselec]*bateriesratiobusE Units:**undefined** (0057)batnumberhib0[scenarios]= vehiclesinlandT[scenarios,LVhib]*bateriesratiohibLV+vehiclesinlandT [scenarios,HVhib]*bateriesratiohibHV+vehiclesinlandT [scenarios,bushib]*bateriesratiohibbus+NumbervehiclesH[scenarios,hib4wheels ]*bateriesratiohibLV Units:**undefined** sumolasbateriasdetodosloshibridos,tantodeHcomodel

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

22

sector,lasdelospesadoslasmultiplicoporunfactorporque sonmasgrandes(0058)"bateriesEV+hib+2wE"[scenarios]=INTEG( newbateries[scenarios]-discardedbateries[scenarios], 1) Units:**undefined** (0059)abundanceRESelec2[scenarios]= SQRT(abundanceRESelec[scenarios]) Units:Dmnl Adaptationoftheparameterabundanceforbetterbehaviourof themodel.(0060)"abundancetotalnat.gas"[scenarios]= IFTHENELSE("PEDnat.gasEJ"[scenarios]<"PESnat.gas"[scenarios],1,1 -ZIDZ(("PEDnat.gasEJ"[scenarios]-"PESnat.gas"[scenarios]),"PEDnat.gasEJ" [scenarios])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa higherdivergencebetweensupplyanddemand.(0061)ActivateBOTTOMUPmethod[AgricultureHuntingForestryandFishing]= 0 ActivateBOTTOMUPmethod[MiningandQuarrying]= 0 ActivateBOTTOMUPmethod[FoodBeveragesandTobacco]= 0 ActivateBOTTOMUPmethod[TextilesandTextileProducts]= 0 ActivateBOTTOMUPmethod[LeatherLeatherandFootwear]= 0 ActivateBOTTOMUPmethod[WoodandProductsofWooodandCork]= 0 ActivateBOTTOMUPmethod[PulpPaperPrintingandPublishing]= 0 ActivateBOTTOMUPmethod[CokeRefinedPetroleumandNuclearFuel]= 0 ActivateBOTTOMUPmethod[ChemicalsandChemicalproducts]= 0 ActivateBOTTOMUPmethod[RubberandPlastics]= 0 ActivateBOTTOMUPmethod[OtherNonMetalicMineral]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

23

0 ActivateBOTTOMUPmethod[BasicMetalsandFabricatedMetal]= 0 ActivateBOTTOMUPmethod[MachineryNec]= 0 ActivateBOTTOMUPmethod[ElectricalandOpticalEquipment]= 0 ActivateBOTTOMUPmethod[TransportEquipment]= 0 ActivateBOTTOMUPmethod[ManufacturingNecRecycling]= 0 ActivateBOTTOMUPmethod[ElectricityGasandWaterSupply]= 0 ActivateBOTTOMUPmethod[Construction]= 0 Activate BOTTOM UP method[Sale Maintenance and Repair of Motor Vehicles andaMotorcyclesRetailSaleoffuel ]= 0 ActivateBOTTOMUPmethod[Wholesale Trade andCommissions Trade Except ofMotorvehiclesandMotorcycles ]= 0 ActivateBOTTOMUPmethod[RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ]= 0 ActivateBOTTOMUPmethod[HotelsandRestaurants]= 0 ActivateBOTTOMUPmethod[InlandTransport]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DL2') ActivateBOTTOMUPmethod[WaterTransport]= 0 ActivateBOTTOMUPmethod[AirTransport]= 0 ActivateBOTTOMUPmethod[OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ]= 0 ActivateBOTTOMUPmethod[PostandTelecommunications]= 0 ActivateBOTTOMUPmethod[FinancialIntermedation]= 0 ActivateBOTTOMUPmethod[RealEstateActivities]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

24

0 ActivateBOTTOMUPmethod[RentingodMEqandOtherBusinessActivities]= 0 ActivateBOTTOMUPmethod[PublicAdminandDefenceCompulsorySocialSecurity ]= 0 ActivateBOTTOMUPmethod[Education]= 0 ActivateBOTTOMUPmethod[HealthandSocialWork]= 0 ActivateBOTTOMUPmethod[OtherCommunitySocialandPersonaServices]= 0 ActivateBOTTOMUPmethod[PrivateHouseholdswithEmployedPersons]= 0 Units:Dmnl 0.Bottom-upNOTactivated1.Bottom-upactivated(0062)activateEROIallocationrule= 1 Units:Dmnl Activate/DeactivateEROIallocationrulefortheRESelec technologies:1.Activated0.Deactivated(0063)adaptgrowthRESelec[hydro,scenarios]= IFTHENELSE(Time<2015,pastRESeleccapacitygrowth[hydro],IFTHENELSE (Time<2020,pastRESeleccapacitygrowth[hydro]+(RESelecgrowth[hydro,scenarios ]-pastRESeleccapacitygrowth[hydro])*(Timedmnl[scenarios](Time)-2015)/ 5,RESelecgrowth[hydro,scenarios])) adaptgrowthRESelec["geot-elec",scenarios]= IFTHENELSE(Time<2013,pastRESeleccapacitygrowth["geot-elec"],IFTHENELSE (Time<2018,pastRESeleccapacitygrowth["geot-elec"]+(RESelecgrowth ["geot-elec",scenarios]-pastRESeleccapacitygrowth["geot-elec"])*(Timedmnl [scenarios](Time)-2013)/5,RESelecgrowth["geot-elec", scenarios ])) adaptgrowthRESelec["solidbioE-elec",scenarios]= IFTHENELSE(Time<2013,pastRESeleccapacitygrowth["solidbioE-elec"], IFTHENELSE(Time<2018,pastRESeleccapacitygrowth["solidbioE-elec"]+ (RESelecgrowth["solidbioE-elec",scenarios]-pastRESeleccapacitygrowth ["solidbioE-elec"])*(Timedmnl[scenarios](Time)-2013)/5,RESelecgrowth[ "solidbioE-elec",scenarios])) adaptgrowthRESelec[oceanic,scenarios]= IFTHENELSE(Time<2014,pastRESeleccapacitygrowth[oceanic],IFTHENELSE (Time<2019,pastRESeleccapacitygrowth[oceanic]+(RESelecgrowth[oceanic

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

25

,scenarios]-pastRESeleccapacitygrowth[oceanic])*(Timedmnl[scenarios ](Time)-2014)/5,RESelecgrowth[oceanic,scenarios])) adaptgrowthRESelec[windonshore,scenarios]= IFTHENELSE(Time<2015,pastRESeleccapacitygrowth[windonshore],IFTHENELSE (Time<2020,pastRESeleccapacitygrowth[windonshore]+(RESelecgrowth [windonshore,scenarios]-pastRESeleccapacitygrowth[windonshore])*(Timedmnl [scenarios](Time)-2015)/5,RESelecgrowth[windonshore ,scenarios])) adaptgrowthRESelec[windoffshore,scenarios]= IFTHENELSE(Time<2014,pastRESeleccapacitygrowth[windoffshore],IFTHENELSE (Time<2019,pastRESeleccapacitygrowth[windoffshore]+(RESelecgrowth [windoffshore,scenarios]-pastRESeleccapacitygrowth[windoffshore])* (Timedmnl[scenarios](Time)-2014)/5,RESelecgrowth[windoffshore ,scenarios])) adaptgrowthRESelec[solarPV,scenarios]= IFTHENELSE(Time<2014,pastRESeleccapacitygrowth[solarPV],IFTHENELSE (Time<2019,pastRESeleccapacitygrowth[solarPV]+(RESelecgrowth[solarPV ,scenarios]-pastRESeleccapacitygrowth[solarPV])*(Timedmnl[scenarios ](Time)-2014)/5,RESelecgrowth[solarPV,scenarios])) adaptgrowthRESelec[CSP,scenarios]= IFTHENELSE(Time<2014,pastRESeleccapacitygrowth[CSP],IFTHENELSE( Time<2019,pastRESeleccapacitygrowth[CSP]+(RESelecgrowth[CSP,scenarios ]- pastRESeleccapacitygrowth[CSP])*(Timedmnl[scenarios](Time)-2014)/5,RESelecgrowth [CSP,scenarios])) Units:1/Year AnnualgrowthperRESelectechnology.Modelingofasoft transitionfromcurrenthistoricannualgrowthtoreachthe policy-objective5yearslater.(0064)adaptgrowthwaste[scenarios]= IFTHENELSE(Time<2015,Pastwastegrowth,IFTHENELSE(Time<2020,Pastwastegrowth +(wastechange[scenarios]-Pastwastegrowth )*(Timedmnl[scenarios](Time)-2015)/5,wastechange[scenarios])) Units:1/Year Modelingofasofttransitionfromcurrenthistoricannual growthtoreachthepolicy-objective5yearslater.(0065)AdditionalPEproductionofbioenergyforbiofuels[scenarios]= PEbiomassforbiofuelsproductionEJ[scenarios]-OilliquidssavedbybiofuelsEJ [scenarios] Units:EJ/Year Additionalprimaryenergydemandofbioenergy(NPP)forbiofuels

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

26

inrelationtothePEavail.Weassumethan1unitofenergyof biofuelssubstitutes1unitofenergyofoil.(0066)Afforestationprogram2020GtCO2[scenarios]= Afforestationprogram2020*activateAfforesprogram[scenarios]/(CperCO2 *MtperGt) Units:GtCO2/Year Annualemissionscapturedbytheafforestationprogram.(0067)"Allmineralsvirgin?"= 1 Units:Dmnl 0.Allmineralsarevirgin:currentandfuturerecyclingrates setto0%(pptiontocomparewithresultsofflineMEDEAS).1. Realshareofvirgin/recycledminerals(fornormalsimulations).(0068)alogistic= GETXLSCONSTANTS('inputs.xlsx','Parameters','H111') Units:Dmnl Valueofparameter"a"inthelogisticequation.(0069)Amatrix1995[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','A246') Units:**undefined** (0070)Amatrix1996[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','AJ246') Units:**undefined** (0071)Amatrix1997[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','BS246') Units:**undefined** (0072)Amatrix1998[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','DB246') Units:**undefined** (0073)Amatrix1999[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','EK246') Units:**undefined** (0074)Amatrix2000[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','FT246') Units:**undefined**

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

27

(0075)Amatrix2001[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','HC246') Units:**undefined** (0076)Amatrix2002[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','IL246') Units:**undefined** (0077)Amatrix2003[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','JU246') Units:**undefined** (0078)Amatrix2004[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','LD246') Units:**undefined** (0079)Amatrix2005[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','MM246') Units:**undefined** (0080)Amatrix2006[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','NV246') Units:**undefined** (0081)Amatrix2007[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','PE246') Units:**undefined** (0082)Amatrix2008[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','QN246') Units:**undefined** (0083)Amatrix2009[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','RW246') Units:**undefined** (0084)abundancetotaloil[scenarios]= IFTHENELSE(PEDtotaloilEJ[scenarios]<PESoilEJ[scenarios],1,1-ZIDZ ((PEDtotaloilEJ[scenarios]-PESoilEJ[scenarios]),PEDtotaloilEJ[scenarios ])) Units:Dmnl Theparameterabundancevariesbetween(1;0).Abundance=1while thesupplycoversthedemand;theclosestto0indicatesa

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

28

higherdivergencebetweensupplyanddemand.(0085)activateAfforesprogram[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','B65') activateAfforesprogram[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','B65') activateAfforesprogram[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','B65') activateAfforesprogram[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','B65') activateAfforesprogram[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','B65') activateAfforesprogram[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','B65') Units:Dmnl 1.Activated.2.No.(0086)Additionallandcompetavailableforbiofuels[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C41') Additionallandcompetavailableforbiofuels[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C41') Additionallandcompetavailableforbiofuels[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C41') Additionallandcompetavailableforbiofuels[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C41') Additionallandcompetavailableforbiofuels[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C41') Additionallandcompetavailableforbiofuels[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C41') Units:MHa/Year Availablelandforbiofuelsincompetitionwithotheruses dependingonthescenario.(0087)"AdditionalPEproductionofCTL+GTLforliquids"[scenarios]= PEDcoalforCTLEJ[scenarios]+"PEDnat.gasforGTLEJ"[scenarios]-"FESCTL+GTLEJ" [scenarios] Units:EJ/Year AdditionalprimaryenergyproductionofCTLandGTLforliquids. Weneedtoaccountforthisdifferencesincetheoilreplacedby CTLliquidsisaccountedforprimaryenergyinWoLiM,while thereareadditionallossestoprocesscoaltoobtainCTL (requiredtobalancetheTPESwiththeTPED).(0088)Afforestationprogram2020:INTERPOLATE::=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

29

GETXLSDATA('inputs.xlsx','Parameters','125','C126') Units:MtC/Year Afforestationprogramfrom2020following[Nilsson1995](time toinversethedeforestationtrend).(0089)Annualadditionalhistoriclandusebiofuels2gen[scenarios]= Annual additional historic product biofuels 2gen*EJ per ktoe/Land productivitybiofuels2genEJMHa Units:MHa/Year (0090)Annualadditionalhistoricproductbiofuels2gen= IF THEN ELSE(Time<2015, Historic produc biofuels 2gen(Time+1)-Historic producbiofuels2gen (Time),0) Units:ktoe/Year Annualadditionalhistoricproductionofliquidsfrombiofuels ethanolandbiodiesel,ktoe/Year(1990-2015).Ref:BP2016.(0091)AnnualGDPgrowthrate[scenarios]= -1+GDP[scenarios]/GDPdelayed1yr[scenarios] Units:Dmnl AnnualGDPgrowthrate.(0092)AnnualshareRESvsTFECgrowthrate[scenarios]= -1+shareRESvsTFEC[scenarios]/shareRESvsTFECdelayed1yr[scenarios] Units:Dmnl (0093)AnnualshareRESvsTPESgrowthrate[scenarios]= -1+shareRESvsTPES[scenarios]/shareRESvsTPESdelayed1yr[scenarios] Units:Dmnl (0094)AnnualTFECRESgrowthrate[scenarios]= -1+TFECRESEJ[scenarios]/TFECRESdelayed1yr[scenarios] Units:Dmnl (0095)AnnualTPESRESgrowthrate[scenarios]= -1+TPEfromRESEJ[scenarios]/TPESRESdelayed1yr[scenarios] Units:Dmnl (0096)"Annualvariationnon-energyuse"[scenarios,finalsources]= IFTHENELSE(Time>2009,"variationnon-energyuse"[finalsources,scenarios ],"Historicnon-energyuse"[finalsources](Time+1)-"Historicnon-energyuse" [finalsources](Time)) Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

30

Annualvariationnon-energyusebyfinalfuel.(0097)AtmosUOceanTemp[scenarios]=INTEG( ChgAUOTemp[scenarios], initAtmosUOceanTemp) Units:DegreesC TemperatureoftheAtmosphereandUpperOcean[T](degreesC) [Cowles,pg.24]Historicaldatafrom: http://cdiac.ornl.gov/ftp/trends/temp/hansen/gl_land_ocean.txt(0098)auxhistH[scenarios,liq4wheels]= -histvarpercentH[scenarios,hib4wheels]-histvarpercentH[scenarios,elec4wheels ]-histvarpercentH[scenarios,gas4wheels] auxhistH[scenarios,hib4wheels]= histvarpercentH[scenarios,hib4wheels] auxhistH[scenarios,elec4wheels]= histvarpercentH[scenarios,elec4wheels] auxhistH[scenarios,liq2wheels]= -histvarpercentH[scenarios,elec2wheels] auxhistH[scenarios,elec2wheels]= histvarpercentH[scenarios,elec2wheels] auxhistH[scenarios,gas4wheels]= histvarpercentH[scenarios,gas4wheels] Units:**undefined** auxiliarvariabletosetthevariationofliquidvehicles(0099)auxPinlandtransp[scenarios,vehicleT]= IFTHENELSE(Time<2050,IFTHENELSE(Activatepolicy2050inlandT[scenarios ]=1 :AND:Time>TpolicyT[scenarios], (P inlandT 2050[scenarios,vehicleT]-initial percent Tvehicles [vehicleT])/(2050-TpolicyT[scenarios]),histvarinlandT[scenarios,vehicleT ]),0) Units:**undefined** (0100)aux3[scenarios]=DELAYFIXED( qualityofelectricity2015[scenarios],0.03125,0.75) Units:Dmnl Auxiliaryvariabletoestimatethequalityofelectricityuntil theyear2015.(0101)availableimprovementefficiency[scenarios,sectors]= MIN(1,IFTHENELSE(Time>2009,ZIDZ((Globalenergyintensitybysector[scenarios ,sectors]-(minenergy intensityvs intial[scenarios]*Initialglobalenergy intensitybysector2009

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

31

[sectors])),0.7*Initialglobalenergyintensitybysector2009[sectors]), 1)) Units:**undefined** (0102)availableimprovementefficiencyH[scenarios]= MIN(1,IFTHENELSE(Time>2009,ZIDZ((GlobalenergyintensityH[scenarios] -(minenergyintensityvsintialH[scenarios]*InitialglobalenergyintensityH2009 )),0.7*InitialglobalenergyintensityH2009),1)) Units:**undefined** (0103)availablePEpotentialsolidbioEforelecEJ[scenarios]= MAX(0,"TotalPEsolidbioEpotentialheat+elecEJ"[scenarios]-"PESRESforheat-combytechn" ["solidbioE-heat",scenarios]-"PESRESforheat-ncbytechn"["solidbioE-heat" ,scenarios]) Units:EJ Available(primaryenergy)potentialsolidbioenergyfor electricity.(0104)availablePEpotentialsolidbioEforheatEJ[scenarios]= MAX(0, "Total PE solid bioE potential heat+elec EJ"[scenarios]-PE bioE for ElecgenerationEJ [scenarios]) Units:EJ Available(primaryenergy)potentialsolidbioenergyforheat.(0105)availablepotentialFEsolidbioEforelecEJ[scenarios]= availablePEpotentialsolidbioEforelecEJ[scenarios]*efficiencyconversionbioEtoElec Units:EJ Available(finalenergy)potentialsolidbioenergyfor electricity.(0106)AverageAtmosRetention[scenarios]= (CO2NetEmiss[scenarios]-CO2Storage[scenarios])/TotalCarbonEmisions[scenarios ] Units:Dmnl Averageatmosphericretention.(0107)Averageelecconsumptionpercapita[scenarios]= TotalFEElecconsumptionTWh[scenarios]*kWhperTWh/Population[scenarios ] Units:kWh/people Electricityconsumptionpercapita(kWhpercapita).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

32

(0108)"AverageTPESpc(withouttradbiomass)"[scenarios]= "TPES (without trad biomass)"[scenarios]*GJ per EJ/Pop not dependent on tradbiomass [scenarios] Units:GJ/people AveragepercapitaTPESwithoutaccountingfortheenergy suppliedbytraditionalbiomass.Thepopulationconsideredfor estimatingtheaverageisnottheglobalpopulation,butthe shareofthepopulationnotrelyingontraditionalbiomassfor coveringtheirenergyuses.(0109)blinealregr[scenarios]= ESOIPHSfullpotential-alinealregr[scenarios]*maxcapacitypotentialPHS [scenarios] Units:**undefined** (0110)blogistic= GETXLSCONSTANTS('inputs.xlsx','Parameters','H112') Units:Dmnl Valueofparameter"b"inthelogisticequation.(0111)Balancingcosts[scenarios]= (Balancingcostsref(SharevariableRESelecgenerationvstotal[scenarios ]))/MperT Units:Tdollars/TWh Balancingcosts(1995T$/TWhproduced).(0112)baterieslifetime= 10 Units:**undefined** ??(0113)bateriesratio2wE= 0.113 Units:**undefined** tomadodelartiodelpesodel2wrespectoalligeroestosdatos toimadosdelascuentasecologicasdeltransporte162frentea 1441kg(0114)bateriesratiobusE= 1 Units:**undefined** ?????

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

33

(0115)bateriesratiohibHV= 0.583 Units:**undefined** tomadodelartiodepotenciaenKwhdeunabateriatipicade cocheelectricopuroquecarlostomaen21KWhrespectoalasde loshibridosquetieneunamediade1,4KWh(datoswikiparaesto ultimo).Ydelratiodelpesodelvehiculopesadorespectoal ligeroestosdatostoimadosdelascuentasecologicasdel transporte1400frentea5300aprox(0116)bateriesratiohibLV= 0.067 Units:**undefined** tomadodelartiodepotenciaenKwhdeunabateriatipicade cocheelectricopuroquecarlostomaen21KWhrespectoalasde loshibridosquetieneunamediade1,4KWh(datoswikiparaesto ultimo).(0117)Bet0lab= GETXLSCONSTANTS('inputs.xlsx','Economy','C334') Units:Dmnl Betacoefficient(intercept)inpaneldataregressionof householdsconsumption(0118)beta0cap= GETXLSCONSTANTS('inputs.xlsx','Economy','C329') Units:Dmnl Betacoefficient(intercept)ofpaneldataregressionofGross fixedcapitalformation(0119)beta1cap[sectors]= GETXLSCONSTANTS('inputs.xlsx','Economy','B331') Units:Dmnl BetacoefficientofpaneldataregressionofGrossfixedcapital formation(0120)Beta1lab[sectors]= GETXLSCONSTANTS('inputs.xlsx','Economy','B336') Units:Dmnl Betacoefficientinpaneldataregressionofhouseholds consumption(0121)beta2cap=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

34

GETXLSCONSTANTS('inputs.xlsx','Economy','E329') Units:Dmnl BetacoefficientofpaneldataregressionofGrossfixedcapital formation(0122)beta2lab= GETXLSCONSTANTS('inputs.xlsx','Economy','E334') Units:Dmnl betacoefficientinpaneldataregressionofhouseholds consumption(0123)BioECO2emissions[scenarios]= gCO2 per MJ conv gas*(Oil liquids saved by biofuels EJ[scenarios]+solid biofuelsemissionsrelevantEJ [scenarios]+"PEStotbiogasforheat-com"[scenarios])*MJperEJ/gperGt Units:GtCO2/Year CO2emissionsfrombiomass.Weassumethatbiofuelshavean emissionintensitysimilartonaturalgas(duetoILUCs,see TechnicalReport),andfortherest(traditionalbiomass, biomassforelectricityandbiomassforheat)weasssumethat thecarbonbalanceisnull.(0124)BioEgenlandmargavailable[scenarios]= (MaxPEavailpotentialbiofuelsmarginal lands[scenarios]-PotentialPEavailbiofuelslandmargEJ [scenarios])/MaxPEavailpotentialbiofuelsmarginallands[scenarios] Units:Dmnl Remainingpotentialavailableasgivenasafractionofunity.(0125)BioEpotentialNPPmarginallands= GETXLSCONSTANTS('inputs.xlsx','Parameters','C60') Units:EJ/Year Potentialinmarginallands,i.e.witoutcompetitionwith currentuses.(Fieldetal.,2008)findthat27EJofNPPcanbe extractedfrom386Mhaofmarginallands.Weassumethatallthe productionfrommarginallandsisusedforproducingliquids.(0126)"BioEresiduesforheat+elecavailable"[scenarios]= (MaxNPPpotentialBioEresiduesforheatandelec[scenarios]-"PEbioEresiduesforheat+elecEJ" [scenarios])/MaxNPPpotentialBioEresiduesforheatandelec[scenarios] Units:Dmnl Remainingpotentialavailableofbioenergyresiduesforheatand electricityasgivenasafractionofunity.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

35

(0127)Biofuels3genlandcompetavailable[scenarios]= (Max land compet biofuels 2gen[scenarios]-Land compet biofuels 3genMha[scenarios ])/Maxlandcompetbiofuels2gen[scenarios ] Units:Dmnl Remainingpotentiallandavailable(dedicatedto2ndgeneration) asgivenasafractionofunity.Weassumethatnonewland startsdirectlytoproducebiofuels3rdgenerationbiofuels.(0128)Biofuelslandcompetavailable[scenarios]= (Max land compet biofuels 2gen[scenarios]-Land compet biofuels 2genMha[scenarios ]-Landcompetbiofuels3genMha[scenarios])/Maxlandcompetbiofuels2gen[ scenarios] Units:Dmnl Remainingpotentiallandavailableasgivenasafractionof unity.(0129)biogasevol[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G40') biogasevol[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G40') biogasevol[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G40') biogasevol[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G40') biogasevol[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','G40') biogasevol[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G40') Units:Dmnl Thisvariablerepresentstheprojectedannualgrowthinrelation topastgrowthtrends.(0130)CperCO2= GETXLSCONSTANTS('inputs.xlsx','Constants','C11') Units:GtC/GTCO2e 1kgofCO2contains3/11ofcarbon.(0131)capacityinconstructionnuclearTW[scenarios]=INTEG( newcapunderconstructionnuclear[scenarios]+replacementnuclear[scenarios ]-newcapacityinstallednuclear

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

36

[scenarios], initialcapacityinconstructionnuclear) Units:TW Capacityunderconstructionofnuclearpowerplants.(0132)capacityinconstructionRESelecTW[RESelec,scenarios]=INTEG( newcapunderconstructionRESelec[RESelec,scenarios]+replacementRESelec [RESelec,scenarios]-newcapacityinstalledRESelecTW[RESelec,scenarios ], initialcapacityinconstructionRESelec[RESelec]) Units:TW CapacityunderconstructionofRESforelectricity.(0133)capitalshare[scenarios]= 1-labourshare[scenarios] Units:Dmnl Capitalshare.(0134)"CarbonfootprinttCO2/person"[scenarios]= TotalCO2emissionsGTCO2[scenarios]*tperGt/Population[scenarios] Units:tCO2/person CO2emissionspercapita.(0135)"CarbonfootprinttonnesC/person"[scenarios]= "CarbonfootprinttCO2/person"[scenarios]*CperCO2 Units:tonnesC/person Carbonfootprint.(0136)CCimpactsfeedbackshortagecoeff[scenarios]= (1-"shareE-lossesCC"[scenarios]) Units:Dmnl Thiscoefficientadaptstherealfinalenergybyfueltobeused byeconomicsectorstakingintoaccountclimatechangeimpacts.(0137)CCsectoral[scenarios,sectors]= CCtotal[scenarios]*shareCCsectoral[sectors] Units:Mdollars Capitalcompensationbyindustrialsectors(0138)CCsectoralnextstep[scenarios,sectors]= CCsectoral[scenarios,sectors]+variationCCsectoral[scenarios,sectors] Units:Mdollars (0139)CCtotal[scenarios]=INTEG(variationCC[scenarios]-CCtotalnotcovered

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

37

[scenarios], initialCCtotal) Units:Mdollars Capitalcompensation(0140)CCtotalnotcovered[scenarios]= demandnotcoveredtotalFD[scenarios]*capitalshare[scenarios] Units:Mdollars/Year Gapbetweencapitalcompensationrequiredandrealcapital compensation(afterenergy-economyfeedback)(0141)CEDcoalforelec[scenarios]= FEElecgenerationfromcoalTWh[scenarios]*EJperTWh/EROIcoal Units:EJ (0142)CEDconvgasforelec[scenarios]= FEElecgenerationfromconvgasTWh[scenarios]*EJperTWh/EROIconvgas Units:EJ (0143)CEDdecomRESeleccapacity[RESelec,scenarios]= ZIDZ(EnergyrequirementsfordecomRESelec[RESelec]*CEDtotnewcapRESelecvar [RESelec,scenarios]*wearRESelec[RESelec,scenarios],newcapacityinstalledRESelecTW [RESelec,scenarios]) Units:EJ Cumulativeenergydemand(CED)requiredtodecommissionRES electricitygenerationplantswhichhaveendedtheirlifetime.(0144)CEDnewcappermaterialRESelecvar[RESelec,materials,scenarios] = materials required fornewRESelecMt[RESelec,materials,scenarios]*Energy consperunitofmaterialconsforRESelec [materials,scenarios]*kgperMt/MJperEJ Units:EJ Cumulativeenergydemandpermaterialofnewinstalledcapacity ofRESvariablespertechnology.(0145)"CEDO&MoverlifetimepermaterialRESelecvar"[RESelec,materials ,scenarios]= new capacity installed RES elec TW[RES elec,scenarios]*"materials for O&M percapacityinstalledRESelec" [RESelec,materials]*EnergyconsperunitofmaterialconsforRESelec[materials ,scenarios]*lifetimeRESelec[RESelec]*(MperT/kgperMt)*(kgperMt/MJperEJ )

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

38

Units:EJ CumulativeenergydemandpermaterialforO&MofRESvariables pertechnologyoverallthelifetimeoftheinfrastructure.(0146)"CEDO&MoverlifetimeperwaterRESelecvar"[RESelec,water,scenarios ]= newcapacityinstalledRESelecTW[RESelec,scenarios]*"waterforO&M-RESelec" [RESelec,water]* Energyrequirementsperunitofwaterconsumption[water]*lifetimeRESelec [RESelec]*(MperT/kgperMt)*(kgperMt/MJperEJ ) Units:EJ CumulativeenergydemandperwatertypeforO&MofRESvariables pertechnologyoverallthelifetimeoftheinfrastructure.(0147)CEDtotnewcapRESelecvar[RESelec,scenarios]= SUM(CEDnewcappermaterialRESelecvar[RESelec,materials!,scenarios]) Units:EJ CumulativeenergydemandofnewcapacityforRESvariablesper technology.(0148)"CEDtotO&MRESelecvar"[RESelec,scenarios]= SUM("CED O&M permaterial RES elec var"[RES elec,materials!,scenarios])+"TotalenergyrequirementsO&MforwaterconsumptionRESelec" [RESelec,scenarios] Units:EJ CumulativeenergydemandofO&MforRESvariablespertechnology.(0149)CEDtotoverlifetimeNREelec[scenarios]= CEDcoalforelec[scenarios]+CEDconvgasforelec[scenarios]+CEDtotaloilforelec [scenarios]+CEDunconvgasforelec[scenarios]+CEDuraniumforelec[scenarios ] Units:EJ (0150)CEDtotoverlifetimeRESelec[hydro,scenarios]= CEDtotoverlifetimeRESelecdispatch[hydro,scenarios] CEDtotoverlifetimeRESelec["geot-elec",scenarios]= CEDtotoverlifetimeRESelecdispatch["geot-elec",scenarios] CEDtotoverlifetimeRESelec["solidbioE-elec",scenarios]= CEDtotoverlifetimeRESelecdispatch["solidbioE-elec",scenarios] CEDtotoverlifetimeRESelec[oceanic,scenarios]= CEDtotoverlifetimeRESelecdispatch[oceanic,scenarios] CEDtotoverlifetimeRESelec[windonshore,scenarios]= CEDtotoverlifetimeRESelecvar[windonshore,scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

39

CEDtotoverlifetimeRESelec[windoffshore,scenarios]= CEDtotoverlifetimeRESelecvar[windoffshore,scenarios] CEDtotoverlifetimeRESelec[solarPV,scenarios]= CEDtotoverlifetimeRESelecvar[solarPV,scenarios] CEDtotoverlifetimeRESelec[CSP,scenarios]= CEDtotoverlifetimeRESelecvar[CSP,scenarios] Units:EJ (0151)CEDtotoverlifetimeRESelecforallocation[RESelec,scenarios]= CEDtot over lifetime RES elec[RES elec,scenarios]*remaining potential RES elecswitch [RESelec,scenarios] Units:EJ (0152)CEDtotpermaterialRESelecvar[RESelec,materials,scenarios]= CEDnewcappermaterialRESelecvar[RESelec,materials,scenarios]+"CEDO&MoverlifetimepermaterialRESelecvar" [RESelec,materials,scenarios] Units:EJ Totalcumulativeenergydemand(construction+O&M)permaterial ofRESvariablespertechnology.(0153)CEDtotperTWoverlifetimeRESelecdispatch[RESelec,scenarios]= ZIDZ( (1-"RES elec variables?"[RES elec])*("Cp-ini RES elec"[RES elec]*lifetime RESelec [RESelec]*EJperTWh/TWeperTWh) ,"EROI-iniRESelecdispatch"[RESelec]*qualityofelectricity2015[scenarios ]) Units:EJ/TW Totalcumulativeenergydemand(includinginstallationofnew capacityandO&M)perMWforRESdispatchablespertechnology overthelifetimeoftheinfrastructure.(0154)CEDtotperTWpermaterialRESelecvar[RESelec,materials,scenarios ]= ZIDZ(CEDtotpermaterialRESelecvar[RESelec,materials,scenarios],newcapacityinstalledRESelecTW [RESelec,scenarios]) Units:EJ/TW Totalcumulativeenergydemand(construction+O&M)perpower installedpermaterialofRESvariablespertechnology (consideringonlymaterialrequirements).(0155)CEDtotperTWRESelecvar[RESelec,scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

40

SUM(CEDtotperTWpermaterialRESelecvar[RESelec,materials!,scenarios ])*1e+006 Units:MJ/MW Totalcumulativeenergydemand(construction+O&M)perpower installedofRESvariablespertechnology(consideringonly materialrequirements).(0156)CEDtotRESelecvar[RESelec,scenarios]= (CEDtotnewcapRESelecvar[RESelec,scenarios]*(1+GridcorrectionfactorRESelec [RESelec])+CEDdecomRESeleccapacity [RES elec,scenarios]+"CEDtot O&M RES elec var"[RES elec,scenarios])*quality ofelectricity [scenarios]+real generation RES elec EJ[RES elec,scenarios]*"self-electricity consumptionRESelec" [RESelec] Units:EJ Totalcumulativeenergydemand(includinginstallationofnew capacityandO&M)forRESvariablespertechnology.(0157)CEDtotsolarPV[scenarios]= CEDtotRESelecvar[solarPV,scenarios] Units:EJ (0158)Cellulosicbiofuelsavailable[scenarios]= (Max NPP potential BioE residues for cellulosic biofuels[scenarios]-Potential PEcellulosicbiofuelEJ [scenarios])/MaxNPPpotentialBioEresiduesforcellulosicbiofuels[scenarios ] Units:Dmnl Remainingpotentialavailableasgivenasafractionofunity.(0159)CH4emissionscoalwithoutCTL[scenarios]= extractioncoalemissionsrelevantEJ[scenarios]*gCH4perMJcoal*MJperEJ /gperMt Units:MtCH4 CH4emissionscoal.(0160)CH4emissionsconvgaswithoutGTL[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=1, realextractionconvgasemissionsrelevantEJ[scenarios]*gCH4perMJconvgas , (1-AdaptCO2emissionsunconvgas[scenarios])*realextractionconvgasemissionsrelevantEJ [scenarios]*gCH4perMJconvgas+AdaptCO2emissionsunconvgas[scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

41

*realextractionconvgasemissionsrelevantEJ[scenarios]*gCH4perMJunconvgas )*MJperEJ/gperMt Units:MtCH4 CH4emissionsconventionalgas.(0161)CH4emissionsCTL[scenarios]= extractioncoalforCTLEJ[scenarios]*gCH4perMJCTL*MJperEJ/gperMt Units:MtCH4 CH4emissionsCTL.(0162)CH4emissionsoil[scenarios]= PESoilEJ[scenarios]*gCH4perMJoil*MJperEJ/gperMt Units:MtCH4 CH4emissionsoil.(0163)CH4emissionsunconvgas[scenarios]= realextractionunconvgasemissionsrelevantEJ[scenarios]*gCH4perMJunconvgas *MJperEJ/gperMt Units:MtCH4 CH4emissionsunconventionalgas.(0164)changetotalintensitytorest[scenarios,liquids]= STEP(-1.245,2009) changetotalintensitytorest[scenarios,gases]= STEP(-0.01711,2009) changetotalintensitytorest[scenarios,electricity]= STEP(-0.00472,2009) Units:EJ/Tdollar Adjusttoseparatein2009amongtransporthouseholdsandthe restinhouseholds.Weassumethatin2009,78%ofthe householdsliquidsarefromtransport.ThisdataisfromWIOD (Diesel&gasolinefromhouseholdsisfortransport) 1,245=0.78*1.596Forothersources,weasume0%oftheenergyis fortransport(0165)checkgases[scenarios]= (PEDgases[scenarios]-PESgases[scenarios])/PESgases[scenarios] Units:Dmnl Variabletoavoidenergyoversupplycausedbyexogenouslydriven policies.(0166)checkliquids[scenarios]= ZIDZ((PEDliquidsEJ[scenarios]-PESLiquidsEJ[scenarios]),PESLiquidsEJ [scenarios])

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

42

Units:Dmnl If=1,demand=supply.If>1,demand>supply.If<0,demand<supply. Variabletoavoidenergyoversupplycausedbyexogenouslydriven policies.(0167)checkTPE[scenarios]= (TPEDbyfuel[scenarios]-TPESEJ[scenarios])*100/TPESEJ[scenarios] Units:percent ComparisonbetweenTPEDbyfuelandTPEDbysector(theyshould correspond).(0168)chooseextractioncurveconvoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D68') chooseextractioncurveconvoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D68') chooseextractioncurveconvoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D68') chooseextractioncurveconvoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D68') chooseextractioncurveconvoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D68') chooseextractioncurveconvoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D68') Units:Dmnl 1=Maggio12middle2=Maggio12High3=Maggio12Low4=User defined(0169)chooseextractioncurvetotaggoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D76') chooseextractioncurvetotaggoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D76') chooseextractioncurvetotaggoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D76') chooseextractioncurvetotaggoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D76') chooseextractioncurvetotaggoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D76') chooseextractioncurvetotaggoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D76') Units:Dmnl 1-Laherrère122-Userdefined(0170)chooseextractiontotagggascurve[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D92')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

43

chooseextractiontotagggascurve[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D92') chooseextractiontotagggascurve[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D92') chooseextractiontotagggascurve[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D92') chooseextractiontotagggascurve[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D92') chooseextractiontotagggascurve[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D92') Units:Dmnl 1-Laherrère102-BGMohr123-Userdefined(0171)Chooseextractionuraniumcurve[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D105') Chooseextractionuraniumcurve[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D105') Chooseextractionuraniumcurve[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D105') Chooseextractionuraniumcurve[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D105') Chooseextractionuraniumcurve[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D105') Chooseextractionuraniumcurve[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D105') Units:Dmnl 1-EWG132-Other(0172)AUOHeatCap= 1/Climateequationcoefficientforupperlevel Units:watt*Year/DegreesC/(meter*meter)[8,400] [Fiddaman]Atmosphere&UpperOceanHeatCapacityperUnitArea [1/R1](W-yr/m^2/degreesC).Note:equals1/0.0226[DICE-2013R] c1Climateequationcoefficientforupperlevel/0.098/(0173)Annualshiftfrom2gento3gen[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C44') Annualshiftfrom2gento3gen[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C44') Annualshiftfrom2gento3gen[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C44') Annualshiftfrom2gento3gen[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C44') Annualshiftfrom2gento3gen[SCEN4]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

44

GETXLSCONSTANTS('inputs.xlsx','SCEN4','C44') Annualshiftfrom2gento3gen[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C44') Units:1/Year Shareofthelanddedicatedforbiofuelsfromthe2ndgeneration shiftedto3rdgenerationinthenextyear.(0174)AverageTPESpercapita[scenarios]= TPESEJ[scenarios]*GJperEJ/Population[scenarios] Units:GJ/(Year*people) AverageTotalPrimaryEnergySupplypercapita(GJpercapita).(0175)Balancingcostsref( GETXLSLOOKUPS('inputs.xlsx','Parameters','22','B23')) Units:dollars/MWh BalancingcostsadaptingdatafromHolttinenetal(2011).(0176)carbonbudget= GETXLSCONSTANTS('inputs.xlsx','Parameters','C122') Units:GtC Carbonbudget,theamountofcarbondioxideemissionswecan emitwhilestillhavingalikelychanceoflimitingglobal temperatureriseto2degreesCelsiusabovepre-industrial levels(IPCC2014).(0177)CarbonemissionsGtC[scenarios]= TotalCO2emissionsGTCO2[scenarios]*CperCO2 Units:GtC/Year Totalanualcarbonemissions.(0178)checkgasdelayed1yr[scenarios]=DELAYFIXED( checkgases[scenarios],1,1) Units:Dmnl Variabletoavoidenergyoversupplycausedbyexogenouslydriven policies.(0179)checkliquidsdelayed1yr[scenarios]=DELAYFIXED( checkliquids[scenarios],1,1) Units:Dmnl Variabletoavoidenergyoversupplycausedbyexogenouslydriven policies.(0180)ChgAUOTemp[scenarios]= (TotalRadiativeForcing[scenarios]-FeedbackCooling[scenarios]-HeatTransfer

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

45

[scenarios])/AUOHeatCap Units:DegreesC/Year ChangeintheAtmosphere&UpperOceanTemperature(degrees C/yr)[Cowles,pg.27](0181)ChgDOTemp[scenarios]= HeatTransfer[scenarios]/DOHeatCap Units:DegreesC/Year ChangeintheDeepOceanTemperature(degreesC/yr)[Cowles,pg. 30](0182)chooseextractioncoalcurve[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D100') chooseextractioncoalcurve[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D100') chooseextractioncoalcurve[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D100') chooseextractioncoalcurve[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D100') chooseextractioncoalcurve[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D100') chooseextractioncoalcurve[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D100') Units:Dmnl 1=Mohr122=Other(0183)chooseextractionconvgascurve[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D84') chooseextractionconvgascurve[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D84') chooseextractionconvgascurve[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D84') chooseextractionconvgascurve[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D84') chooseextractionconvgascurve[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D84') chooseextractionconvgascurve[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D84') Units:Dmnl 1-BGMohr152-LowMohr153-HighMohr154-Userdefined(0184)Climateequationcoefficientforupperlevel= GETXLSCONSTANTS('inputs.xlsx','Parameters','C118') Units:**undefined**[8,400]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

46

[Fiddaman]Atmosphere&UpperOceanHeatCapacityperUnitArea [1/R1](W-yr/m^2/degreesC).Note:equals1/0.0226[DICE-2013R] c1Climateequationcoefficientforupperlevel/0.098/(0185)ClimateFeedbackParam[scenarios]= CO2RadForceCoeff/ClimateSensitivity[scenarios] Units:watt/meter/meter/DegreesC ClimateFeedbackParameter[lambda](W-m^2/degreeC)Thecrucial climatesensitivityparameter-determinesgainoffeedbackfrom temperatureincreaseandthusdeterminesequilibriumresponseto forcing.TheSchneider-Thompson2-stockmodeluses1.33[Cowles, TableIII-B1].[ManagingGlobalCommons,pg.21](0186)ClimateSensitivity[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C116') ClimateSensitivity[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C116') ClimateSensitivity[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C116') ClimateSensitivity[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C116') ClimateSensitivity[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C116') ClimateSensitivity[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C116') Units:DegreesC [Fiddaman]Equilibriumtemperaturechangeinresponsetoa2xCO2 equivalentchangeinradiativeforcing./2.908/.[DICE-2013R] t2xco2Equilibriumtempimpact(ºCperdoublingCO2)/2.9/(0187)CO2emissionscoalwithoutCTL[scenarios]= extractioncoalemissionsrelevantEJ[scenarios]*gCO2perMJcoal*MJperEJ /gperGt Units:GtCO2/Year EmissionsfromcoalwithougaccountingforCTL-relatedemissions.(0188)CO2emissionsconvgaswithoutGTL[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=1,realextractionconvgasemissionsrelevantEJ [scenarios]*gCO2perMJconvgas,(1-AdaptCO2emissionsunconvgas[scenarios ])*realextractionconvgasemissionsrelevantEJ[scenarios]*gCO2perMJconvgas +AdaptCO2emissionsunconvgas[scenarios]*realextractionconvgasemissionsrelevantEJ [scenarios]*gCO2perMJunconvgas)*MJperEJ/gperGt Units:GtCO2/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

47

CO2emissionsfromconventionalgas(withouthGTL)whenthegas extractionisdisaggregatedinconventionalandunconventional resource,andCO2emissionsfromtotalgaswhentheextraction isaggregated.(0189)CO2emissionsconvoil[scenarios]= realextractionconvoilemissionsrelevantEJ[scenarios]*gCO2perMJconvoil *MJperEJ/gperGt Units:GtCO2/Year CO2emissionsfromconventionaloil.(0190)CO2emissionsCTL[scenarios]= gCO2perMJCTL*extractioncoalforCTLEJ[scenarios]*MJperEJ/gperGt Units:GtCO2/Year CO2emissionsassociatedtoCTLproduction.(0191)CO2emissionsGTL[scenarios]= "PEDnat.gasforGTLEJ"[scenarios]*gCO2perMJGTL*MJperEJ/gperGt Units:GtCO2/Year CO2emissionsassociatedtoGTLproduction.(0192)CO2emissionspeat= PESpeatEJ*gCO2perMJshaleoil*MJperEJ/gperGt Units:GtCO2/Year CO2emissionsfrompeat.(0193)CO2emissionspervalueadded[scenarios]= TotalCO2emissionsGTCO2[scenarios]/GDP[scenarios] Units:GtCO2/(Year*T$) CO2emissionspervalueadded(GDP).(0194)CO2emissionsunconvgas[scenarios]= realextractionunconvgasemissionsrelevantEJ[scenarios]*gCO2perMJunconvgas *MJperEJ/gperGt Units:GtCO2/Year CO2emissionsfromunconventionalgas.(0195)CO2emissionsunconvoil[scenarios]= (realextractionunconvoilemissionsrelevantEJ[scenarios]*(gCO2perMJunconvoil +(gCO2perMJshaleoil-gCO2perMJunconvoil )*Adaptemissionsshaleoil[scenarios]))*MJperEJ/gperGt Units:GtCO2/Year CO2emissionsfromunconventionaloil.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

48

(0196)CO2fossilfuelemissions[scenarios]= CO2emissionsconvgaswithoutGTL[scenarios]+CO2emissionsunconvgas[scenarios ]+CO2emissionsGTL[scenarios]+CO2emissionsconvoil[scenarios]+CO2emissionsunconvoil [scenarios]+CO2emissionscoalwithoutCTL[scenarios]+CO2emissionsCTL[scenarios ] Units:GtCO2/Year TotalCO2emissionsfromfossilfuels.(0197)CO2inAtmos[scenarios]=INTEG( CO2NetEmiss[scenarios]-CO2Storage[scenarios], initCO2inAtmos) Units:TonC CO2inatmosphere.(0198)"CO2land-usechangeemissions":INTERPOLATE::= GETXLSDATA('inputs.xlsx','Parameters','102','C103') Units:GtCO2/Year [DICE-2013R]Land-usechangeemissions.Cteat2010levelfor theperiod1990-2100asfirstapproximation.(0199)CO2RadForceCoeff= GETXLSCONSTANTS('inputs.xlsx','Parameters','C114') Units:watt/meter/meter [Fiddaman]CoefficientofRadiativeForcingfromCO2(W/m^2). Coeff.ofadditionalsurfacewarmingfromaccumulationofCO2. /4.1/[DICE-2013R]fco22xForcingsofequilibriumCO2doubling (Wm-2)/3.8/(0200)coaltoleaveunderground[scenarios]= RURRcoal2015*shareRURRcoaltoleaveunderground[scenarios] Units:EJ Coaltobeleftundergroundduetotheapplicationofapolicy.(0201)"constraingasexogenousgrowth?delayed1yr"[scenarios]=DELAYFIXED ( "constraingasexogenousgrowth?"[scenarios],1,1) Units:Dmnl (0202)"constrainliquidsexogenousgrowth?"[scenarios]= IFTHENELSE(checkliquids[scenarios]>0,1,checkliquids[scenarios]) Units:Dmnl Ifnegative,thereisoversupplyofliquids.Thisvariableis usedtoconstraintheexogenousgrowthofexogenously-driven

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

49

policies.(0203)chooseextractioncurveunconvgas[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D88') chooseextractioncurveunconvgas[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D88') chooseextractioncurveunconvgas[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D88') chooseextractioncurveunconvgas[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D88') chooseextractioncurveunconvgas[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D88') chooseextractioncurveunconvgas[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D88') Units:Dmnl 1=BGMohr152=LowMohr153=HighMohr15(0204)chooseextractioncurveunconvoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D72') chooseextractioncurveunconvoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D72') chooseextractioncurveunconvoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D72') chooseextractioncurveunconvoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D72') chooseextractioncurveunconvoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D72') chooseextractioncurveunconvoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D72') Units:Dmnl 1=BGMohr152=LowMohr153=HihgMohr154=Userdefined(0205)CO2NetEmiss[scenarios]= MarginalAtmosRetention*TotalCarbonEmisions[scenarios] Units:TonC/Year CO2emissionslessshort-runuptake(tomixedoceanlayer).(0206)CO2ppmconcentrations[scenarios]= CO2inAtmos[scenarios]/(2.13*1e+009) Units:ppm 1partpermillionofatmosphericCO2isequivalentto2.13 GigatonnesCarbon.HistoricalMaunaLoaCO2Record: ftp://ftp.cmdl.noaa.gov/products/trends/co2/co2_mm_mlo.txt

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

50

(0207)CO2RadForcing[scenarios]= CO2RadForceCoeff*LOG(CO2inAtmos[scenarios]/PreindustrialCO2,2) Units:watt/meter/meter RadiativeForcingfromCO2[F(t)](W/m^2)Additionalsurface warmingfromaccumulationofCO2.[Cowles,pg.22](0208)CO2Storage[scenarios]= (CO2inAtmos[scenarios]-PreindustrialCO2)*RateofCO2Transfer Units:TonC/Year CO2removalfromtheatmosphereandstoragebylong-term processes.(0209)"constraingasexogenousgrowth?"[scenarios]= IFTHENELSE(checkgases[scenarios]>-0.01,1,checkgases[scenarios]) Units:Dmnl Ifnegative,thereisoversupplyofgas.Thisvariableisused toconstraintheexogenousgrowthofexogenously-drivenpolicies.(0210)"constrainliquidsexogenousgrowth?delayed1yr"[scenarios]=DELAYFIXED ( "constrainliquidsexogenousgrowth?"[scenarios],1,1) Units:Dmnl (0211)ConvefficiencyfromNPPtobiofuels= GETXLSCONSTANTS('inputs.xlsx','Parameters','C61') Units:Dmnl Conversionefficiencyfromnetprimaryproductivity(NPP)of biomasstobiofuelsof15%.Ref:deCastro&Carpintero(2014).(0212)convgastoleaveunderground[scenarios]= RURRconvgas2015*shareRURRconvgastoleaveunderground[scenarios] Units:EJ Conventionalnaturalgastobeleftundergroundduetothe applicationofapolicy.(0213)convoiltoleaveunderground[scenarios]= RURRconvoil2015*shareRURRconvoiltoleaveunderground[scenarios] Units:EJ Conventionaloiltobeleftundergroundduetotheapplication ofapolicy.(0214)Cpbaseloadreduction[RESelec,scenarios]= CpRESelec[RESelec,scenarios]/"Cp-iniRESelec"[RESelec] Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

51

(0215)CpexogenousRESelecdispatchreduction[scenarios]= MIN(1,-0.6209*(SharevariableRESelecgenerationvstotalgen[scenarios ])^2-0.3998*(SharevariableRESelecgenerationvstotalgen[scenarios]) +1.0222) Units:Dmnl Reductionofthecapacityfactorofthedispatchable(baseload) plantsasafunctionofthepenetrationofvariablesRESinthe electricitygeneration(Source:NREL(2012)).(0216)CpexogenousRESelecreduction[hydro,scenarios]= CpexogenousRESelecdispatchreduction[scenarios] CpexogenousRESelecreduction["geot-elec",scenarios]= CpexogenousRESelecdispatchreduction[scenarios] CpexogenousRESelecreduction["solidbioE-elec",scenarios]= CpexogenousRESelecdispatchreduction[scenarios] CpexogenousRESelecreduction[oceanic,scenarios]= CpexogenousRESelecdispatchreduction[scenarios] CpexogenousRESelecreduction[windonshore,scenarios]= CpexogenousRESelecvarreduction[scenarios] CpexogenousRESelecreduction[windoffshore,scenarios]= CpexogenousRESelecvarreduction[scenarios] CpexogenousRESelecreduction[solarPV,scenarios]= CpexogenousRESelecvarreduction[scenarios] CpexogenousRESelecreduction[CSP,scenarios]= CpexogenousRESelecvarreduction[scenarios] Units:Dmnl ReductionofCpofRESelecduetothepenetrationofRESelec variables(modellingofovercapacitiesduetotheintermittence ofRESelecvariables).(0217)CpexogenousRESelecvarreduction[scenarios]= 1/(1+0.0001*EXP(9.85*SharevariableRESelecgenerationvstotalgen[scenarios ])) Units:Dmnl ReductionofthecapacityfactoroftheRESelecvariables plantsasafunctionofthepenetrationofvariablesRESinthe electricitygeneration(Source:Delarue&Morris(2015)).(0218)CphistoricCSP= IFTHENELSE(Time<2000,0.15,IFTHENELSE(Time<2014,0.00714286*Time-14.1357 ,0.25)) Units:Dmnl CapacityfactorevolutionofCSPovertime(source:IRENA).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

52

(0219)Cphydro2015= GETXLSCONSTANTS('inputs.xlsx','Parameters','I13') Units:Dmnl Cpconventionalhydroin2015.(0220)Cplimitnuclear[scenarios]= IFTHENELSE(Cpnuclear[scenarios]>minCpnuclear,1,0) Units:Dmnl (0221)Cpnuclear[scenarios]= Cpnuclearinitial*CpexogenousRESelecdispatchreduction[scenarios] Units:Dmnl Capacityfactorofnuclearpowercentrals.(0222)Cpnuclearinitial= GETXLSCONSTANTS('inputs.xlsx','Parameters','F15') Units:Dmnl Capacityfactorofnucleartakinghistoricdataasreference:in 2011,therewere374GWofnuclearcapacityoperatingthat generated2,507TWh.(0223)CpPHS= GETXLSCONSTANTS('inputs.xlsx','Parameters','G53') Units:Dmnl Capacityfactorofpumpedhydrostorage(PHS).(0224)CpRESelec[RESelec,scenarios]= MAX(minCpbaseloadRES[RESelec],"Cp-iniRESelec"[RESelec]*CpexogenousRESelecreduction [RESelec,scenarios]) Units:Dmnl CapacityfactorofREStechnologies(afteraccountingforthe overcapacitiesrequiredtomanagetheintermittencyofRESelec variables).(0225)CpRESforheat["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F17') CpRESforheat["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F18') CpRESforheat["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F19') Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

53

(0226)"Cp-iniRESelec"[hydro]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Parameters','6','G13') "Cp-iniRESelec"["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F7') "Cp-iniRESelec"["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F8') "Cp-iniRESelec"[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F9') "Cp-iniRESelec"[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F10') "Cp-iniRESelec"[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F12') "Cp-iniRESelec"[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F11') "Cp-iniRESelec"[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F16') Units:Dmnl Initialcapacityfactor(beforeaccountingforthereductionof Cpofthebase-loadplantswiththepenetrationofthe intermittentRES(solarandwind)intheelectricitygeneration mix).(0227)CTLefficiency= GETXLSCONSTANTS('inputs.xlsx','Parameters','C49') Units:Dmnl EfficiencyofCTLplants.Source:IEAbalances(seeTechnical Report).(0228)CTLpotentialproduction[scenarios]=INTEG( replacementCTL[scenarios]+variationCTL[scenarios]-wearCTL[scenarios], initialCTLproduction) Units:EJ/Year AnnualCTLpotentialproduction.(0229)CTLproduction[scenarios]= CTLpotentialproduction[scenarios]*(1-"shareCTL+GTLovercapacity"[scenarios ]) Units:EJ CTLproduction.(0230)"CTL+GTLGb"[scenarios]= "FESCTL+GTLEJ"[scenarios]/GboeperEJ Units:Gboe/Year CTLandGTLproduction.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

54

(0231)cummaterialsrequirementsforEVbatteries[materials,scenarios]=INTEG ( TotalmaterialsrequiredforEVbatteries[materials,scenarios], initialcumulatedmaterialrequirementsforEVbatteries1995) Units:Mt TotalcumulativematerialsrequirementsforEVbatteries.(0232)cummaterialsrequirementsforRESelec[materials,scenarios]=INTEG ( TotalmaterialsrequiredforRESelecMt[materials,scenarios], initialcumulatedmaterialrequirementsforRESelec1995) Units:Mt Totalcumulativematerialsrequirementsfortheinstallationand O&MofRESforelectricitygeneration.(0233)cummaterialstoextractforalttechnfrom2015[materials,scenarios ]= cummaterialstoextractforEVbatteriesfrom2015[materials,scenarios]+ cummaterialstoextractforRESelecfrom2015[materials,scenarios] Units:Mt Cumulativematerialsdemandforalternativetechnologies(RES elec&EVbatteries)fromtheyear2015.(0234)cummaterialstoextractforEVbatteries[materials,scenarios]=INTEG ( TotalmaterialstoextractforEVbatteriesMt[materials,scenarios], initialcumulatedmaterialrequirementsforEVbatteries1995) Units:Mt CumulativematerialstobeminedforEVbatteries.(0235)cummaterialstoextractforEVbatteriesfrom2015[materials,scenarios ]=INTEG( TotalmaterialstoextractforEVbatteriesfrom2015Mt[materials,scenarios ], initialcumulatedmaterialrequirementsforEVbatteries1995) Units:Mt CumulativematerialstobeminedforEVbatteries.(0236)cummaterialstoextractforRESelecfrom2015[materials,scenarios ]=INTEG( TotalmaterialstoextractforRESelecfrom2015Mt[materials,scenarios] , initialcumulatedmaterialrequirementsforRESelec1995)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

55

Units:Mt CumulativematerialstobeminedfortheinstallationandO&Mof RESforelectricitygeneration.(0237)cumulatedcoalextractionto1995= GETXLSCONSTANTS('inputs.xlsx','Constants','C98') Units:EJ Cumulatedcoalextractionto1995(Mohretal.,2015).(0238)cumulatedconvgasextractionto1995= GETXLSCONSTANTS('inputs.xlsx','Constants','C96') Units:EJ Cumulatedconventionalgasextractionto1995(Mohretal., 2015).(0239)cumulatedconvoilextractionto1995= GETXLSCONSTANTS('inputs.xlsx','Constants','C94') Units:EJ Cumulatedconventionaloilextractionto1995(Mohretal., 2015).(0240)cumulatedinvestEgrid[scenarios]=INTEG( extramonetinvesttocopewithvariableElecRES[scenarios], 0) Units:Tdollars Cumulatedmonetaryinvestmentfordevelopingelectricitygrids tointegraterenewableintermittentsources.(0241)cumulatedtotaggextractionto1995= cumulatedconvoilextractionto1995+cumulatedunconvoilextractionto1995 Units:EJ Cumulatedtotalaggregatedoilextractionto1995.(0242)cumulatedtotagggasextraction[scenarios]=INTEG( extractiontotagggasEJ[scenarios], cumulatedtotagggasextractionto1995) Units:EJ Cumulatedtotalaggregatedgasextraction.(0243)cumulatedtotaggoilextraction[scenarios]=INTEG( extractiontotaggoilEJ[scenarios], cumulatedtotaggextractionto1995) Units:EJ Cumulatedconventionaloilextraction.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

56

(0244)CumulatedtotalmonetinvestRESforElec[scenarios]=INTEG( TotalmonetinvestRESforelecTdolar[scenarios], 0) Units:Tdollars CumulatedtotalmonetaryinvestmentinRESforelectricity generationfrom1995(1995US$).(0245)cumulatedunconvoilextractionto1995= GETXLSCONSTANTS('inputs.xlsx','Constants','C95') Units:EJ Cumulatedunconventionaloilextractionto1995(Mohretal., 2015).(0246)currentrecyclingratesminerals[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR5') currentrecyclingratesminerals[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR6') currentrecyclingratesminerals[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR7') currentrecyclingratesminerals[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR8') currentrecyclingratesminerals[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR9') currentrecyclingratesminerals[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR10') currentrecyclingratesminerals[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR11') currentrecyclingratesminerals[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR12') currentrecyclingratesminerals[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR13') currentrecyclingratesminerals[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR14') currentrecyclingratesminerals["Electric/electroniccomponents"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR15') currentrecyclingratesminerals[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR16') currentrecyclingratesminerals[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR17') currentrecyclingratesminerals[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR18') currentrecyclingratesminerals[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR19')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

57

currentrecyclingratesminerals[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR20') currentrecyclingratesminerals[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR21') currentrecyclingratesminerals[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR22') currentrecyclingratesminerals[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR23') currentrecyclingratesminerals[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR24') currentrecyclingratesminerals[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR25') currentrecyclingratesminerals[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR26') currentrecyclingratesminerals[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR27') currentrecyclingratesminerals[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR28') currentrecyclingratesminerals[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR29') currentrecyclingratesminerals[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR30') currentrecyclingratesminerals[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR31') currentrecyclingratesminerals[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR32') currentrecyclingratesminerals[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR33') currentrecyclingratesminerals[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR34') currentrecyclingratesminerals[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR35') currentrecyclingratesminerals[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR36') currentrecyclingratesminerals[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR37') currentrecyclingratesminerals[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR38') currentrecyclingratesminerals[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR39') currentrecyclingratesminerals["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR40') currentrecyclingratesminerals["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR41')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

58

currentrecyclingratesminerals[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR42') currentrecyclingratesminerals[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR43') currentrecyclingratesminerals[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR44') currentrecyclingratesminerals[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR45') currentrecyclingratesminerals[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR46') currentrecyclingratesminerals[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR47') currentrecyclingratesminerals[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR48') currentrecyclingratesminerals[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR49') currentrecyclingratesminerals[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR50') currentrecyclingratesminerals[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR51') currentrecyclingratesminerals[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR52') currentrecyclingratesminerals[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR53') currentrecyclingratesminerals[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR54') currentrecyclingratesminerals[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR55') currentrecyclingratesminerals[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR56') currentrecyclingratesminerals[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR57') currentrecyclingratesminerals[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR58') currentrecyclingratesminerals[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR59') currentrecyclingratesminerals[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR60') currentrecyclingratesminerals[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR61') currentrecyclingratesminerals[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','AR62') Units:Mt Currentrecyclingratesminerals(UNEP,2011).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

59

(0247)"Deactivateheatdemcorrection?"= 1 Units:Dmnl 1.Demandheatcorrectiontoexplictelyaccountfor non-commercialheatisACTIVATED.0.DEACTIVATED(Heataccounts onlyforcommercialheat).*****DONOTWORK******(0248)Demandconvgas[scenarios]= MAX("PEDnat.gasEJ"[scenarios]-extractionunconvgasEJ[scenarios],0) Units:EJ/Year Demandofconventionalgas.Itisassumedthatconventionalgas coverstherestoftheliquidsdemandafteraccountingforthe contributionsfromunconventionalgas.(0249)DemandconvoilEJ[scenarios]= MAX(PEDtotaloilEJ[scenarios]-extractionunconvoilEJ[scenarios],0) Units:EJ/Year Demandofconventionaloil.Itisassumedthatconventionaloil coverstherestoftheliquidsdemandafteraccountingforthe contributionsfromotherliquidsandunconventionaloil.(0250)demandElecgasandcoalTWh[scenarios]= demandElecplantsfossilfuelsTWh[scenarios]-FEdemandoilElecplantsTWh [scenarios] Units:**undefined** (0251)DemandH0= GETXLSCONSTANTS('inputs.xlsx','Transportation','B67') Units:T$ InitialhouseholdseconomicdemandinTdollars,intheyearof startofalternativehouseholdsvehiclepolicy(default2015) 30.3(0252)demandstoragecapacity[scenarios]= "sharecapacitystorage/RESelecvar"[scenarios]*TotalinstalledcapacityRESelecvar [scenarios] Units:TW Requiredstoragecapacitytoinstalltodealwiththe variabilityofRESforelectricity.(0253)desirednumberofbateries[scenarios]= batnumber2w[scenarios]+batnumberEV[scenarios]+batnumberhib0[scenarios ]+1

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

60

Units:**undefined** (0254)discardedbateries[scenarios]= "bateriesEV+hib+2wE"[scenarios]*(1/baterieslifetime) Units:**undefined** (0255)"E-lossesbyfinalfuelduetoCCimpacts"[scenarios,finalsources]= RequiredFEDbyfuel[scenarios,finalsources]*"shareE-lossesCC"[scenarios ]*MethodCCimpacts Units:EJ EnergylossesbyfinalfuelduetoCCimpacts(0256)effectsshortageeleconEV[scenarios]= IFTHENELSE(Abundanceelectricity[scenarios]>0.8,((Abundanceelectricity [scenarios]-0.8)*5)^2,0) Units:Dmnl Theeventualscarcityofelectricitywouldlikelyconstrainthe developmentofEVs.Theproposedrelationshipavoidsanabrupt limitationbyintroducingarange(1;0.8)intheelectricity abundancethatconstrainsthedevelopmentofEVs.(0257)"effectsshortageeleconEV/hib"[scenarios]= IFTHENELSE(Abundanceelectricity[scenarios]>0.8,((Abundanceelectricity [scenarios]-0.8)*5)^2,0) Units:Dmnl Theeventualscarcityofelectricitywouldlikelyconstrainthe developmentofEVs.Theproposedrelationshipavoidsanabrupt limitationbyintroducingarange(1;0.8)intheelectricity abundancethatconstrainsthedevelopmentofEVs.(0258)bateriesratiohibbus= 0.58 Units:**undefined** tomadodelartiodepotenciaenKwhdeunabateriatipicade cocheelectricopuroquecarlostomaen21KWhrespectoalasde loshibridosquetieneunamediade1,4KWh(datoswikiparaesto ultimo).Ydelratiodelpesodelbusrespectoalligeroestos datostoimadosdelascuentasecologicasdeltransporte1400 frentea12000aprox(0259)"CEDO&MoverlifetimeRESelecvar"[RESelec,scenarios]= (SUM("CEDO&MoverlifetimepermaterialRESelecvar"[RESelec,materials !,scenarios])+SUM("CEDO&MoverlifetimeperwaterRESelecvar" [RESelec,water!,scenarios]))

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

61

Units:EJ CumulativeenergydemandforO&MofRESvariablespertechnology overallthelifetimeoftheinfrastructure.(0260)"CEDO&MpermaterialRESelecvar"[RESelec,materials,scenarios]= "materialsrequiredforO&MRESelecMt"[RESelec,materials,scenarios]*EnergyconsperunitofmaterialconsforRESelec [materials,scenarios]*kgperMt/MJperEJ Units:EJ Cumulativeenergydemandpermaterialofnewinstalledcapacity ofRESvariablespertechnology.(0261)CEDtotaloilforelec[scenarios]= FEElecgenerationfromtotaloilTWh[scenarios]*EJperTWh/EROItotaloil Units:EJ (0262)CEDunconvgasforelec[scenarios]= FEElecgenerationfromunconvgasTWh[scenarios]*EJperTWh/EROIunconvgas Units:EJ (0263)CEDuraniumforelec[scenarios]= FEnuclearElecgenerationTWh[scenarios]*EJperTWh/EROIuranium Units:EJ (0264)CEDtotoverlifetimeRESelecdispatch[RESelec,scenarios]= CEDtot per TW over lifetime RES elec dispatch[RES elec,scenarios]*new capacityinstalledRESelecTW [RESelec,scenarios] Units:EJ (0265)CEDtotoverlifetimeRESelecvar[RESelec,scenarios]= (CEDtotnewcapRESelecvar[RESelec,scenarios]*(1+EnergyrequirementsfordecomRESelec [RESelec]+GridcorrectionfactorRESelec [RES elec])+"CED O&M over lifetime RES elec var"[RES elec,scenarios])*quality ofelectricity [scenarios]+output elec over lifetime RES elec[RES elec,scenarios]*"self-electricityconsumptionRESelec" [RESelec] Units:EJ Totalcumulativeenergydemand(includinginstallationofnew capacityandO&M)forRESvariablespertechnologyoverthe lifetimeoftheinfrastructure.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

62

(0266)CH4emissionsGTL[scenarios]= "PEDnat.gasforGTLEJ"[scenarios]*gCH4perMJGTL*MJperEJ/gperMt Units:MtCH4 CH4emissionsGTL.(0267)consumptionliqperXLV= 0.02581 Units:EJ/Mvehicle data'InternationalEnergyAgency(2016),EnergyTechnology Perspectives2016,OECD/IEA,(0268)CpEVbatteriesforelecstorage= GETXLSCONSTANTS('inputs.xlsx','Parameters','G47') Units:Dmnl WeassumethattheEVbatteriesforstorageareavailablethe sametimeastheyareusedfortransportationtoallowits lifetimetolastitswholelifetime.(0269)CpRESforheat0["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F17') CpRESforheat0["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F18') CpRESforheat0["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','F19') Units:Dmnl (0270)cummaterialstoextractforRESelec[materials,scenarios]=INTEG( TotalmaterialstoextractforRESelecMt[materials,scenarios], initialcumulatedmaterialrequirementsforRESelec1995) Units:Mt CumulativematerialstobeminedfortheinstallationandO&Mof RESforelectricitygeneration.(0271)cummaterialstoextractRest[materials,scenarios]=INTEG( MaterialstoextractRestMt[materials,scenarios], initialcumulatedmaterialrequirementsforRest1995) Units:Mt Cumulativematerialstobeminedfortherestoftheeconomy.(0272)cummaterialstoextractRestfrom2015[materials,scenarios]=INTEG ( MaterialstoextractRestfrom2015Mt[materials,scenarios], initialcumulatedmaterialrequirementsforRest1995) Units:Mt

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

63

Cumulativematerialstobeminedfortherestoftheeconomy from2015.(0273)Cumulatedcoalextraction[scenarios]=INTEG( extractioncoalEJ[scenarios], cumulatedcoalextractionto1995) Units:EJ Cumulatedcoalextraction.(0274)cumulatedconvgasextraction[scenarios]=INTEG( extractionconvgasEJ[scenarios], cumulatedconvgasextractionto1995) Units:EJ Cumulatedconventionalgasextraction.(0275)cumulatedconvoilextraction[scenarios]=INTEG( extractionconvoilEJ[scenarios], cumulatedconvoilextractionto1995) Units:EJ Cumulatedconventionaloilextraction.(0276)cumulatedtotagggasextractionto1995= cumulatedconvgasextractionto1995+cumulatedunconvgasextractionto1995 Units:EJ Cumulatedtotalagggasextractionto1995.(0277)Cumulatedunconvgasextraction[scenarios]=INTEG( extractionunconvgasEJ[scenarios], cumulatedunconvgasextractionto1995) Units:EJ Cumulatedunconventionalgasextraction.(0278)cumulatedunconvgasextractionto1995= GETXLSCONSTANTS('inputs.xlsx','Constants','C97') Units:EJ Cumulatedunconventionalgasextractionto1995(Mohretal., 2015).(0279)cumulatedunconvoilextraction[scenarios]=INTEG( extractionunconvoilEJ[scenarios], cumulatedunconvoilextractionto1995) Units:EJ Cumulatedunconventionaloilextracted.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

64

(0280)Cumulateduraniumextraction[scenarios]=INTEG( extractionuraniumEJ[scenarios], cumulateduraniumextractionto1995) Units:EJ Cumulateduraniumextraction.(0281)Cumulateduraniumextractionkt[scenarios]= Cumulateduraniumextraction[scenarios]*kturaniumperEJ Units:Kt Cumulateduraniumextraction(kt).(0282)cumulateduraniumextractionto1995= GETXLSCONSTANTS('inputs.xlsx','Constants','C99') Units:EJ Cumulatedcoalextractionto1995(EWG2006).(0283)Cumulativeemissionsto1995= GETXLSCONSTANTS('inputs.xlsx','Constants','C108') Units:GtC Cumulativeemissions1751-1995duetocarbonemissionsfrom fossilfuelconsumption,cementproductionandland-usechanges. DatafromCDIACandWorldResourcesInstitute.(0284)currentmineralreservesMt[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV5') currentmineralreservesMt[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV6') currentmineralreservesMt[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV7') currentmineralreservesMt[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV8') currentmineralreservesMt[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV9') currentmineralreservesMt[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV10') currentmineralreservesMt[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV11') currentmineralreservesMt[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV12') currentmineralreservesMt[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV13') currentmineralreservesMt[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV14') currentmineralreservesMt["Electric/electroniccomponents"]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

65

GETXLSCONSTANTS('inputs.xlsx','Materials','AV15') currentmineralreservesMt[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV16') currentmineralreservesMt[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV17') currentmineralreservesMt[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV18') currentmineralreservesMt[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV19') currentmineralreservesMt[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV20') currentmineralreservesMt[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV21') currentmineralreservesMt[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV22') currentmineralreservesMt[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV23') currentmineralreservesMt[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV24') currentmineralreservesMt[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV25') currentmineralreservesMt[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV26') currentmineralreservesMt[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV27') currentmineralreservesMt[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV28') currentmineralreservesMt[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV29') currentmineralreservesMt[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV30') currentmineralreservesMt[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV31') currentmineralreservesMt[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV32') currentmineralreservesMt[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV33') currentmineralreservesMt[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV34') currentmineralreservesMt[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV35') currentmineralreservesMt[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV36') currentmineralreservesMt[NaNO3synthetic]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

66

GETXLSCONSTANTS('inputs.xlsx','Materials','AV37') currentmineralreservesMt[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV38') currentmineralreservesMt[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV39') currentmineralreservesMt["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV40') currentmineralreservesMt["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV41') currentmineralreservesMt[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV42') currentmineralreservesMt[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV43') currentmineralreservesMt[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV44') currentmineralreservesMt[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV45') currentmineralreservesMt[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV46') currentmineralreservesMt[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV47') currentmineralreservesMt[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV48') currentmineralreservesMt[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV49') currentmineralreservesMt[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV50') currentmineralreservesMt[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV51') currentmineralreservesMt[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV52') currentmineralreservesMt[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV53') currentmineralreservesMt[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV54') currentmineralreservesMt[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV55') currentmineralreservesMt[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV56') currentmineralreservesMt[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV57') currentmineralreservesMt[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV58') currentmineralreservesMt[titaniumdioxide]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

67

GETXLSCONSTANTS('inputs.xlsx','Materials','AV59') currentmineralreservesMt[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV60') currentmineralreservesMt[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV61') currentmineralreservesMt[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','AV62') Units:Mt Currentmineralreserves.(0285)currentmineralresourcesMt[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY5') currentmineralresourcesMt[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY6') currentmineralresourcesMt[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY7') currentmineralresourcesMt[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY8') currentmineralresourcesMt[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY9') currentmineralresourcesMt[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY10') currentmineralresourcesMt[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY11') currentmineralresourcesMt[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY12') currentmineralresourcesMt[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY13') currentmineralresourcesMt[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY14') currentmineralresourcesMt["Electric/electroniccomponents"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY15') currentmineralresourcesMt[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY16') currentmineralresourcesMt[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY17') currentmineralresourcesMt[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY18') currentmineralresourcesMt[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY19') currentmineralresourcesMt[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY20') currentmineralresourcesMt[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY21')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

68

currentmineralresourcesMt[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY22') currentmineralresourcesMt[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY23') currentmineralresourcesMt[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY24') currentmineralresourcesMt[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY25') currentmineralresourcesMt[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY26') currentmineralresourcesMt[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY27') currentmineralresourcesMt[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY28') currentmineralresourcesMt[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY29') currentmineralresourcesMt[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY30') currentmineralresourcesMt[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY31') currentmineralresourcesMt[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY32') currentmineralresourcesMt[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY33') currentmineralresourcesMt[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY34') currentmineralresourcesMt[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY35') currentmineralresourcesMt[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY36') currentmineralresourcesMt[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY37') currentmineralresourcesMt[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY38') currentmineralresourcesMt[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY39') currentmineralresourcesMt["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY40') currentmineralresourcesMt["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY41') currentmineralresourcesMt[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY42') currentmineralresourcesMt[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY43')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

69

currentmineralresourcesMt[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY44') currentmineralresourcesMt[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY45') currentmineralresourcesMt[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY46') currentmineralresourcesMt[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY47') currentmineralresourcesMt[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY48') currentmineralresourcesMt[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY49') currentmineralresourcesMt[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY50') currentmineralresourcesMt[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY51') currentmineralresourcesMt[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY52') currentmineralresourcesMt[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY53') currentmineralresourcesMt[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY54') currentmineralresourcesMt[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY55') currentmineralresourcesMt[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY56') currentmineralresourcesMt[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY57') currentmineralresourcesMt[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY58') currentmineralresourcesMt[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY59') currentmineralresourcesMt[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY60') currentmineralresourcesMt[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY61') currentmineralresourcesMt[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','AY62') Units:Mt Currentmineralresources.(0286)DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,finalsources]= IFTHENELSE((ZIDZ(EvolfinalenergyintensityH[scenarios,finalsources]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

70

,GlobalenergyintensityH[scenarios]))>=minimumfractionH [finalsources] ,MaxyearlychangeH[finalsources]*EvolfinalenergyintensityH[scenarios ,finalsources]*PressuretochangeenergytechnologyH [scenarios,finalsources],0) Units:EJ/Tdollars Wheninhouseholds,onetypeofenergy(a)isreplacedby another(b),theenergyintensityof(b)willincreaseandthe energyintensityof(a)willdecrease.Thisflowrepresentsthe decreaseof(a).(0287)DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,finalsources]= IFTHENELSE(ActivateBOTTOMUPmethod[sectors]=0,IFTHENELSE((ZIDZ(Evolfinalenergyintensitybysectorandfuel [scenarios,sectors,finalsources],Globalenergyintensitybysector [scenarios,sectors]))>=minimumfraction[sectors,finalsources] ,Maxyearlychange[sectors,finalsources]*Evolfinalenergyintensitybysectorandfuel [scenarios,sectors,finalsources ]*Pressuretochangeenergytechnology[scenarios,sectors,finalsources] ,0),0) Units:**undefined** Wheninoneeconomicsector,onetypeofenergy(a)isreplaced byanother(b),theenergyintensityof(b)willincreaseand theenergyintensityof(a)willdecrease.Thisflowrepresents thedecreaseof(a).(0288)DeepOceanTemp[scenarios]=INTEG( ChgDOTemp[scenarios], initDeepOceanTemp) Units:DegreesC TemperatureoftheDeepOcean[T*](degreesC)[Cowles,pg.24](0289)Demandbysector[scenarios,sectors]= DemandbysectorFD[scenarios,sectors] Units:Mdollars (0290)DemandbysectorFD[scenarios,sectors]=INTEG( variationdemandflowFD[scenarios,sectors]-demandnotcoveredbysectorFD [scenarios,sectors], initialdemandbysectot[sectors]) Units:Mdollars Finaldemandby35industrialsectors

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

71

(0291)DemandElecNRETWh[scenarios]= MAX(0,TotalFEElecdemandTWh[scenarios]-FEtotgenerationallRESelecTWh [scenarios]-FESelecfromwasteTWh[scenarios]) Units:TWh/Year ThemodelassignsprioritytoRESgenerationtocoverthe electricitydemand.(0292)demandElecplantsfossilfuelsTWh[scenarios]= MAX(DemandElecNRETWh[scenarios]-FEnuclearElecgenerationTWh[scenarios ]-FESElecfossilfuelCHPplantsTWh[scenarios ],0) Units:TWh/Year ThemodelassignsprioritytoRES,CHPplantsandnuclear generation(dependingontheselectednuclearscenario)among theelectricitygeneration.(0293)demandnotcoveredbysectorFD[scenarios,sectors]= IFTHENELSE(Time>2009,Demandby sectorFD[scenarios,sectors]-Realdemandbysector [scenarios,sectors],0) Units:Mdollars/Year (0294)demandnotcoveredtotalFD[scenarios]= SUM(demandnotcoveredbysectorFD[scenarios,sectors!]) Units:Mdollars/Year (0295)diffannualGDPgrowthrate[scenarios]= (AnnualGDPgrowthrate[scenarios]-ExogenousannualGDPgrowthrate[scenarios ])/ExogenousannualGDPgrowthrate[scenarios] Units:Dmnl (0296)DOHeatCap=HeatCapacityRatio*HeatTransCoeff Units:watt*Year/DegreesC/meter/meter DeepOceanHeatCapacityperUnitArea[R2](W-yr/m^2/degreesC) Note:ManagingGlobalCommonsuses.44*Heat_Trans_Coeff=220; Cowlesreportuses223.7(page30).[ManagingGlobalCommons, pg.21](0297)dollarstoTdollars= GETXLSCONSTANTS('inputs.xlsx','Constants','C15') Units:Dmnl ConversionfromdollarstoTdollars(1T$=1e12$).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

72

(0298)Dynamicqualityofelectricity[scenarios]= RealTFEC[scenarios]/(TPESEJ[scenarios]-"Totalrealnon-energyuseconsumptionEJ" [scenarios]) Units:Dmnl Dynamicqualityofelectricity(TFES/TPES,thelatterwithout takingintoaccountthenon-energyuses).(0299)"E-lossesheat-comduetoCCimpacts"[scenarios]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,heat]*"shareE-lossesCC" [scenarios]*MethodCCimpacts Units:EJ (0300)EfectsshortageinlandT[scenarios,HVliq]= 1 EfectsshortageinlandT[scenarios,HVhib]= 1 EfectsshortageinlandT[scenarios,HVgas]= effectsshortagegas[scenarios] EfectsshortageinlandT[scenarios,LVliq]= 1 EfectsshortageinlandT[scenarios,LVelec]= effectsshortageeleconEV[scenarios] EfectsshortageinlandT[scenarios,LVgas]= effectsshortagegas[scenarios] EfectsshortageinlandT[scenarios,busliq]= 1 EfectsshortageinlandT[scenarios,buselec]= effectsshortageeleconEV[scenarios] EfectsshortageinlandT[scenarios,bushib]= 1 EfectsshortageinlandT[scenarios,busgas]= effectsshortagegas[scenarios] EfectsshortageinlandT[scenarios,trainliq]= 1 EfectsshortageinlandT[scenarios,trainelec]= effectsshortageeleconEV[scenarios] EfectsshortageinlandT[scenarios,LVhib]= 1 Units:Dmnl Efectsofshortageofalternativefuels(0301)effectsshortagegas[scenarios]= IFTHENELSE(abundancegases[scenarios]>0.8,((abundancegases[scenarios] -0.8)*5)^2,0)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

73

Units:Dmnl Theeventualscarcityofgaswouldlikelyconstrainthe developmentofNGVs/GTLs.Theproposedrelationshipavoidsan abruptlimitationbyintroducingarange(1;0.8)inthegas abundancethatconstrainsthedevelopmentofNGVs/GTLs.(0302)effectsshortagegasHveh[scenarios]= IFTHENELSE(abundancegases[scenarios]>0.8,((abundancegases[scenarios] -0.8)*5)^2,0) Units:Dmnl Theeventualscarcityofgaswouldlikelyconstrainthe developmentofNGVs/GTLs.Theproposedrelationshipavoidsan abruptlimitationbyintroducingarange(1;0.8)inthegas abundancethatconstrainsthedevelopmentofNGVs/GTLs.(0303)effectsshortageuranium[scenarios]= IFTHENELSE(extractionuraniumEJ[scenarios]=0,0, IFTHENELSE(abundanceuranium[scenarios]>0.8,((abundanceuranium[scenarios ]-0.8)*5)^2,0)) Units:Dmnl Theeventualscarcityofcoalwouldlikelyconstrainthe developmentofCTL.Theproposedrelationshipavoidsanabrupt limitationbyintroducingarange(1;0.8)inthegasabundance thatconstrainsthedevelopmentofCTL.(0304)EfficiencybioEresiduestocellulosicliquids[scenarios]= ConvefficiencyfromNPPtobiofuels Units:Dmnl Efficiencyofthetransformationfrombioenergyresiduesto cellulosicliquids.Weassumeitisthesameefficiencythanfor theconversionfrombiomassto2ndgenerationbiofuels.(0305)efficiencybiogasforelecCHPplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','G86') Units:Dmnl EfficiencyofthetransformationofbiogasinelecinCHPplants.(0306)efficiencybiogasforelecplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','G84') Units:Dmnl Efficiencyofthetransformationofbiogasinelecplants.(0307)efficiencybiogasforheatCHPplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','G85')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

74

Units:Dmnl EfficiencyofthetransformationofbiogasinheatinCHPplants.(0308)efficiencybiogasforheatplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','G83') Units:Dmnl Efficiencyofthetransformationofbiogasinheatplants.(0309)efficiencycoalforelectricity= GETXLSCONSTANTS('inputs.xlsx','Parameters','C46') Units:Dmnl Efficiencyofcoalgaspowercentrals.Stabletrendbetween1971 and2014(IEABalances),averageoftheperiod.(0310)efficiencycoalforheatplants:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','219','B223') Units:Dmnl Efficiencyofcoalheatplants.WeassumeconstantlastdataIEA.(0311)EfficiencyconversionBioEplantstoheat= GETXLSCONSTANTS('inputs.xlsx','Parameters','C43') Units:Dmnl Efficiencyofthetransformationfrombioenergytoheatinheat andCHPplants(aggregated).Efficiencyofthetransformation frombioenergytoelectricity(estimationfor2014fromtheIEA balances.(0312)EfficiencyconversionBioEplantstoheat0= GETXLSCONSTANTS('inputs.xlsx','Parameters','C43') Units:Dmnl Efficiencyofthetransformationfrombioenergytoheatinheat andCHPplants(aggregated).Efficiencyofthetransformation frombioenergytoelectricity(estimationfor2014fromtheIEA balances.(0313)efficiencyconversionbioEtoElec= GETXLSCONSTANTS('inputs.xlsx','Parameters','C44') Units:Dmnl Efficiencyofthetransformationfrombioenergytoelectricity inbothelectricityplantsandCHPs(estimationfor2014from theIEAbalances).(0314)EfficiencyconversiongeotPEtoElec= GETXLSCONSTANTS('inputs.xlsx','Parameters','C42')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

75

Units:Dmnl Efficiencyofthetransformationfromgeothermal(primary energy)toelectricity.(0315)efficiencyEleccoalCHPplants:= GETXLSDATA('inputs.xlsx','Constants','219','B224') Units:Dmnl EfficiencyofelecincoalCHPplants.Weassumeconstantlast dataIEA.(0316)efficiencyElecgasCHPplants:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','219','B221') Units:Dmnl EfficiencyofelecingasCHPplants.Weassumeconstantlast dataIEA.(0317)efficiencyElecoilCHPplants:= GETXLSDATA('inputs.xlsx','Constants','219','B227') Units:Dmnl EfficiencyofliquidsingasCHPplants.Weassumeconstantlast dataIEA.(0318)Efficiencyenergyaceleration[scenarios,sectors,finalsources]= Maximunyearlyaceleratuinofintensityimprovement[scenarios,sectors,finalsources ]*Pressuretoimproveenergyintensityefficiency [scenarios,sectors,finalsources] Units:**undefined** Thisvariablerepresentstheaccelerationoftheprocessof variationoftheenergyintensitythatcanbeproducedby polítcasormarketpressures.(0319)EfficiencyenergyacelerationH[scenarios,finalsources]= MaximunyearlyaceleratuinofintensityimprovementH[scenarios,finalsources ]*PressuretoimproveenergyintensityefficiencyH[scenarios,finalsources ] Units:**undefined** (0320)efficiencygasforelectricity=INTEG( improvementefficiencygasforelectricity, initialefficiencygasforelectricity*percenttoshare) Units:Dmnl Efficiencyofthegaspowercentrals.(0321)efficiencygasesforheatplants:INTERPOLATE::=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

76

GETXLSDATA('inputs.xlsx','Constants','219','B220') Units:Dmnl Efficiencyofgasheatplants.WeassumeconstantlastdataIEA.(0322)Efficiencygeothermalforheat= GETXLSCONSTANTS('inputs.xlsx','Parameters','G43') Units:Dmnl (0323)Efficiencygeothermalforheat0= GETXLSCONSTANTS('inputs.xlsx','Parameters','G43') Units:Dmnl (0324)efficiencyHeatcoalCHPplants:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','219','B225') Units:Dmnl EfficiencyofheatingasCHPplants.Weassumeconstantlast dataIEA.(0325)efficiencyHeatgasCHPplants:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','219','B222') Units:Dmnl EfficiencyofheatingasCHPplants.Weassumeconstantlast dataIEA.(0326)efficiencyHeatoilCHPplants:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','219','B228') Units:Dmnl EfficiencyofheatinoilCHPplants.Weassumeconstantlast dataIEA.(0327)Efficiencyimprovgasforelectricity= GETXLSCONSTANTS('inputs.xlsx','Parameters','C52') Units:Dmnl Annualefficiencyimprovementinpercentageofthegaspower centralsforelectricityproduction.(0328)Efficiencyimprovementbiofuels3gen= GETXLSCONSTANTS('inputs.xlsx','Parameters','C47') Units:**undefined** Efficiencyimprovementsof3rdgeneration(cellulosic)in relationto2ndgenerationbiofuels.(0329)efficiencyliquidsforelectricity= GETXLSCONSTANTS('inputs.xlsx','Parameters','C45')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

77

Units:Dmnl Efficiencyofoilinelectricitypowercentrals.Stabletrend between1971and2014(IEABalances),averageoftheperiod.(0330)efficiencyliquidsforheatplants:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','219','B226') Units:Dmnl Efficiencyofliquidsheatplants.Weassumeconstantlastdata IEA.(0331)efficiencyrateofsubstitution[AgricultureHuntingForestryandFishing ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B16') efficiencyrateofsubstitution[MiningandQuarrying,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G16') efficiencyrateofsubstitution[FoodBeveragesandTobacco,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L16') efficiencyrateofsubstitution[TextilesandTextileProducts,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q16') efficiencyrateofsubstitution[LeatherLeatherandFootwear,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V16') efficiencyrateofsubstitution[WoodandProductsofWooodandCork,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA16') efficiencyrateofsubstitution[PulpPaperPrintingandPublishing,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF16') efficiencyrateofsubstitution[CokeRefinedPetroleumandNuclearFuel,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK16') efficiencyrateofsubstitution[ChemicalsandChemicalproducts,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP16') efficiencyrateofsubstitution[RubberandPlastics,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU16') efficiencyrateofsubstitution[OtherNonMetalicMineral,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ16') efficiencyrateofsubstitution[BasicMetalsandFabricatedMetal,finalsources

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

78

,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE16') efficiencyrateofsubstitution[MachineryNec,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ16') efficiencyrateofsubstitution[ElectricalandOpticalEquipment,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO16') efficiencyrateofsubstitution[TransportEquipment,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT16') efficiencyrateofsubstitution[ManufacturingNecRecycling,finalsources, finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY16') efficiencyrateofsubstitution[ElectricityGasandWaterSupply,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD16') efficiencyrateofsubstitution[Construction,finalsources,finalsources1] = GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI16') efficiency rate of substitution[Sale Maintenance and Repair of Motor Vehicles andaMotorcyclesRetailSaleoffuel ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN16') efficiency rate of substitution[Wholesale Trade and Commissions Trade Except ofMotorvehiclesandMotorcycles ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS16') efficiencyrateofsubstitution[RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX16') efficiencyrateofsubstitution[HotelsandRestaurants,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC16') efficiencyrateofsubstitution[InlandTransport,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH16') efficiencyrateofsubstitution[WaterTransport,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM16') efficiencyrateofsubstitution[AirTransport,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR16')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

79

efficiencyrateofsubstitution[OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW16') efficiencyrateofsubstitution[PostandTelecommunications,finalsources, finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB16') efficiencyrateofsubstitution[FinancialIntermedation,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG16') efficiencyrateofsubstitution[RealEstateActivities,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL16') efficiencyrateofsubstitution[RentingodMEqandOtherBusinessActivities ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ16') efficiencyrateofsubstitution[PublicAdminandDefenceCompulsorySocialSecurity ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV16') efficiencyrateofsubstitution[Education,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA16') efficiencyrateofsubstitution[HealthandSocialWork,finalsources,finalsources1 ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF16') efficiencyrateofsubstitution[OtherCommunitySocialandPersonaServices ,finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK16') efficiencyrateofsubstitution[PrivateHouseholdswithEmployedPersons,finalsources ,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP16') Units:**undefined** (0332)efficiencyrateofsubstitutionH[finalsources,finalsources1]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU16') Units:**undefined** (0333)EfficiencyRESheat["solar-heat"]= Efficiencysolarpanelsforheat*Lossessolarforheat EfficiencyRESheat["geot-heat"]= Efficiencygeothermalforheat EfficiencyRESheat["solidbioE-heat"]= EfficiencyconversionBioEplantstoheat Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

80

(0334)EfficiencyRESheat0["solar-heat"]= Efficiencysolarpanelsforheat0*Lossessolarforheat0 EfficiencyRESheat0["geot-heat"]= Efficiencygeothermalforheat0 EfficiencyRESheat0["solidbioE-heat"]= EfficiencyconversionBioEplantstoheat0 Units:Dmnl (0335)Efficiencysolarpanelsforheat= GETXLSCONSTANTS('inputs.xlsx','Parameters','G41') Units:Dmnl (0336)Efficiencysolarpanelsforheat0= GETXLSCONSTANTS('inputs.xlsx','Parameters','G41') Units:Dmnl (0337)efficiencyuraniumforelectricity= GETXLSCONSTANTS('inputs.xlsx','Parameters','C41') Units:Dmnl Efficiencyofuraniuminnuclearpowercentrals.[IEABalances].(0338)efficiencywasteforelecCHPplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','C86') Units:Dmnl EfficiencyofthetransformationofwasteinelecinCHPplants.(0339)efficiencywasteforelecplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','C84') Units:Dmnl Efficiencyofthetransformationofwasteinelecplants.(0340)efficiencywasteforheatCHPplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','C85') Units:Dmnl EfficiencyofthetransformationofwasteinheatinCHPplants.(0341)efficiencywasteforheatplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','C83') Units:Dmnl Efficiencyofthetransformationofwasteinheatplants.(0342)EJperktoe= GETXLSCONSTANTS('inputs.xlsx','Constants','C16') Units:EJ/ktoe

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

81

1ktoe=0.000041868EJ.(0343)EJperTWh= GETXLSCONSTANTS('inputs.xlsx','Constants','C5') Units:EJ/TWh Unitconversion(3.6EJ=1000TWh)(0344)ElecgenrelatedlossesEJ[scenarios]= PElossesNREelecgeneration[scenarios]+PElossesRESforelec[scenarios ] Units:EJ/Year Electricitygenerationlosses(EJ).(0345)"Elecgenerationbase-loadfromRESTWh"[scenarios]= FE Elec generation from bioE TWh[scenarios]+"FE Elec generation from geot-elecTWh" [scenarios]+FEElecgenerationfromhydroTWh [scenarios]+FEElecgeneration fromoceanicTWh[scenarios]+FESelec frombiogasTWh [scenarios] Units:TWh Base-loadelectricitygenerationfromRES.(0346)ElecgenerationvariablefromRESTWh[scenarios]= FEElecgenerationfromsolarPVTWh[scenarios]+FEElecgenerationfromCSPTWh [scenarios]+FEElecgenerationfromonshorewindTWh[scenarios]+FEElecgenerationfromoffshorewindTWh [scenarios] Units:TWh/Year VariableelectricitygenerationfromRES.(0347)ElectricaldistributionlossesEJ[scenarios]= ElectricaldistributionlossesTWh[scenarios]*EJperTWh Units:EJ/Year Electicaldistributionlosses(EJ)(0348)ElectricaldistributionlossesTWh[scenarios]= TotalFEElecdemandTWh[scenarios]*"sharetransm&distreleclosses"[scenarios ] Units:TWh Electricaltransmissionanddistributionlosses.(0349)Electricity2wE0= GETXLSCONSTANTS('inputs.xlsx','Transportation','C52')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

82

Units:EJ Initialelectricityusedby2wheelersintheyearofstartof policies(2015default)0.3415(0350)EmploymentfactorsnewRESelec[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y13') EmploymentfactorsnewRESelec["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y7') EmploymentfactorsnewRESelec["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y8') EmploymentfactorsnewRESelec[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y9') EmploymentfactorsnewRESelec[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y10') EmploymentfactorsnewRESelec[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y12') EmploymentfactorsnewRESelec[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y11') EmploymentfactorsnewRESelec[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y16') Units:people/MW Employmentfactorsforthemanufacture,constructionand installationofRESpowerplantsforelectricitygeneration.(0351)EmploymentfactorsnewRESheat["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y17') EmploymentfactorsnewRESheat["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y18') EmploymentfactorsnewRESheat["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Y19') Units:people/MW Employmentfactorsforthemanufacture,constructionand installationofRESpowerplantsforheatgeneration.(0352)"EmploymentfactorsO&MRESelec"[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z13') "EmploymentfactorsO&MRESelec"["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z7') "EmploymentfactorsO&MRESelec"["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z8') "EmploymentfactorsO&MRESelec"[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z9') "EmploymentfactorsO&MRESelec"[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z10')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

83

"EmploymentfactorsO&MRESelec"[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z12') "EmploymentfactorsO&MRESelec"[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z11') "EmploymentfactorsO&MRESelec"[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z16') Units:people/MW EmploymentfactorsfortheO&MofRESpowerplantsfor electricitygeneration.(0353)EnergyconsperunitofmaterialconsforRESelec[materials,scenarios ]= recyclingratesmineralsalttechn[materials,scenarios]*"Initialenergyconsperunitofmaterialcons(recycled)" [materials]+(1-recycling ratesminerals alt techn[materials,scenarios])*"Initial energy consperunitofmaterialcons(virgin)" [materials] Units:MJ/kg Averageenergyconsumptionperunitofmaterialconsumption accountingforrecyclingratesforRESelectechnologies. recyclingratesmineralsRESelec[materials,scenarios]*"Initial energyconsperunitofmaterialcons (recycled)"[materials]+(1-recyclingratesmineralsRES elec[materials,scenarios])*"Initialenergyconsperunitof materialcons(virgin)"[materials](0354)Energycostpressure[scenarios,finalsources]= 1-abundanceofenergy[scenarios,finalsources] Units:**undefined** (0355)EnergycostpressureH[scenarios,finalsources]= 1-abundanceofenergyH[scenarios,finalsources] Units:**undefined** (0356)Energyinitialinlandtransport[HVliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B54') Energyinitialinlandtransport[HVhib]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B55') Energyinitialinlandtransport[HVgas]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B56') Energyinitialinlandtransport[LVliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B57') Energyinitialinlandtransport[LVhib]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B59')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

84

Energyinitialinlandtransport[LVelec]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B58') Energyinitialinlandtransport[LVgas]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B61') Energyinitialinlandtransport[busliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B61') Energyinitialinlandtransport[buselec]= GETXLSCONSTANTS('inputs.xlsx','Transportation','F60') Energyinitialinlandtransport[bushib]= GETXLSCONSTANTS('inputs.xlsx','Transportation','F61') Energyinitialinlandtransport[busgas]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B62') Energyinitialinlandtransport[trainliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','F62') Energyinitialinlandtransport[trainelec]= GETXLSCONSTANTS('inputs.xlsx','Transportation','F63') Units:EJ/Year ELDATODELTRENESTAMAL,HAYQUEDESGLOSARELECTRICOYDE LIQUIDOSYNOTENGODATOS,APROXInitialenergyconsumedbythe inlandtransportsector,beforepolitics,TpolicyT(default 2015)data'InternationalEnergyAgency(2016),Energy TechnologyPerspectives2016,OECD/IEA,(0357)Energyintensityofhouseholds[scenarios,finalsources]= IFTHENELSE(Time<2009,Energyintensityofhouseholdsrest[scenarios,finalsources ],Energy intensity of households transport[scenarios,final sources]+Energy intensity ofhouseholdsrest [scenarios,finalsources]) Units:**undefined** (0358)Energyintensityofhouseholdsrest[scenarios,liquids]= EvolfinalenergyintensityH[scenarios,liquids]+changetotalintensitytorest [scenarios,liquids] Energyintensityofhouseholdsrest[scenarios,solids]= EvolfinalenergyintensityH[scenarios,solids] Energyintensityofhouseholdsrest[scenarios,gases]= EvolfinalenergyintensityH[scenarios,gases] Energyintensityofhouseholdsrest[scenarios,electricity]= EvolfinalenergyintensityH[scenarios,electricity] Energyintensityofhouseholdsrest[scenarios,heat]= EvolfinalenergyintensityH[scenarios,heat] Units:**undefined** (0359)Energyintensityofhouseholdstransport[scenarios,finalsources]=INTEG

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

85

( variationenergyintensityofhouseholdstransport[scenarios,finalsources ], Initialenergyintensityofhouseholdstransport2009[finalsources]) Units:EJ/T$ (0360)Energymarketpressure[scenarios,sectors,finalsources]= 0*relativeabundanceofenergy Units:**undefined** Currently,thispartisnotworking.(0361)EnergymarketpressureH[scenarios,finalsources]= 0*relativeabundanceofenergyH Units:**undefined** Currently,thispartisnotworking.(0362)"energyown-useconstant830Mtoein2013"= 830 Units:**undefined** (0363)energyperXt[scenarios,HVliq]= liquidsperXHV*savingratiosV[HVliq] energyperXt[scenarios,HVhib]= liquidsperXHV*savingratiosV[HVhib] energyperXt[scenarios,HVgas]= liquidsperXHV*savingratiosV[HVgas] energyperXt[scenarios,LVliq]= liquidsperXLV*savingratiosV[LVliq] energyperXt[scenarios,LVelec]= liquidsperXLV*savingratiosV[LVelec] energyperXt[scenarios,LVhib]= liquidsperXLV*savingratiosV[LVhib] energyperXt[scenarios,LVgas]= liquidsperXLV*savingratiosV[LVgas] energyperXt[scenarios,busliq]= liquidsperXbus*savingratiosV[busliq] energyperXt[scenarios,bushib]= liquidsperXbus*savingratiosV[bushib] energyperXt[scenarios,busgas]= liquidsperXbus*savingratiosV[busgas] energyperXt[scenarios,trainliq]= energyperXtrain[scenarios]*0.8 energyperXt[scenarios,trainelec]= energyperXtrain[scenarios]*0.2

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

86

energyperXt[scenarios,buselec]= liquidsperXbus*savingratiosV[buselec] Units:**undefined** electricvehiclesarepurebateryelectricandpluginhybrids(0364)energyperXtrain[scenarios]= Energy initial inland transport[train liq]*adjust energy for transport to inlandtransport /initialXtinland Units:**undefined** MALLOSDATOSDELTREN(0365)EnergyrequiredformaterialconsumptionforEVbatteries[RESelec, materials,scenarios]= materialsrequiredforEVbatteriesMt[materials,scenarios]*EnergyconsperunitofmaterialconsforRESelec [materials,scenarios]*kgperMt/MJperEJ Units:EJ EnergyrequiredformaterialconsumptionforEVbatteries.(0366)EnergyrequiredformaterialconsumptionfornewRESelec[RESelec, materials,scenarios]= materials required fornewRESelecMt[RESelec,materials,scenarios]*Energy consperunitofmaterialconsforRESelec [materials,scenarios]*kgperMt/MJperEJ Units:EJ EnergyrequiredformaterialconsumptionfornewRESelec.(0367)"EnergyrequiredformaterialconsumptionforO&MRESelec"[RESelec ,materials,scenarios]= "materialsrequiredforO&MRESelecMt"[RESelec,materials,scenarios]*EnergyconsperunitofmaterialconsforRESelec [materials,scenarios]*kgperMt/MJperEJ Units:EJ (0368)EnergyrequiredformaterialconsumptionperRESelec[RESelec,materials ,scenarios]= "EnergyrequiredformaterialconsumptionforO&MRESelec"[RESelec,materials ,scenarios]+EnergyrequiredformaterialconsumptionfornewRESelec[RESelec ,materials,scenarios]+EnergyrequiredformaterialconsumptionforEVbatteries [RESelec,materials,scenarios] Units:EJ/Year Energyrequiredformaterialconsumptionpermaterialfor alternativetechnologies(RESelec&EVbatteries).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

87

(0369)EnergyrequirementsfordecomRESelec[hydro]= 0 EnergyrequirementsfordecomRESelec["geot-elec"]= 0 EnergyrequirementsfordecomRESelec["solidbioE-elec"]= 0 EnergyrequirementsfordecomRESelec[oceanic]= 0 EnergyrequirementsfordecomRESelec[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Materials','D122') EnergyrequirementsfordecomRESelec[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Materials','E122') EnergyrequirementsfordecomRESelec[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Materials','C122') EnergyrequirementsfordecomRESelec[CSP]= GETXLSCONSTANTS('inputs.xlsx','Materials','B122') Units:Dmnl EnergyrequirementsfordecomissioningpowerRESplantsasa shareoftheenergyrequirementsfortheconstructionofnew capacity.(0370)"EnergyrequirementsforO&MforwaterconsumptionRESelec"[RESelec ,water,scenarios]= Energy requirements per unit of water consumption[water]*"Water for O&MrequiredforRESelec" [RESelec,water,scenarios]*kgperMt /MJperEJ Units:EJ Energyrequirementsforoperationandmaintenanceofwater consumptionbyREStechnologyforgeneratingelectricity.(0371)Energyrequirementsperunitofwaterconsumption["clean,pumpedwater" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y114') Energyrequirementsperunitofwaterconsumption["distilled,deionizedwater" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y115') Units:MJ/kg EnergyrequirementsforwaterconsumptioninRESplantsfor generationofelectricity.(0372)Energyscarcityfeedbackshortagecoeff[scenarios,finalsources]= MIN(1,realFEconsumptionbyfuelbeforeheatcorrection[scenarios,finalsources

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

88

]/RequiredFEDbyfuelbeforeheatcorrection [scenarios,finalsources]) Units:Dmnl Thiscoefficientadaptstherealfinalenergybyfueltobeused byeconomicsectorstakingintoaccountenergyavailability.(0373)"EOL-RRmineralsvariableRESvs.thetotaleconomy"= GETXLSCONSTANTS('inputs.xlsx','Parameters','G57') Units:Dnml RecyclingrateofmineralsusedinvariableREStechnologiesin relationtothetotaleconomy.(0374)EROIallocationruleperRESelec[RESelec,scenarios]= IFTHENELSE(Time<2015,1, IFTHENELSE("ratioEROIpertechnvsEROItot(static)"[RESelec,scenarios ]=0,0, IFTHENELSE("ratioEROIpertechnvsEROItot(static)"[RESelec,scenarios ]<0.1,0,0.434294*LN("ratioEROIpertechnvsEROItot(static)"[RESelec,scenarios ])+1))) Units:Dmnl AllocationrulefortheRESelectechnologiesbasedontheir EROI.(0375)EROIFC[scenarios]= IFTHENELSE("ActivateEROIFCfeedback?"=0,1, IFTHENELSE(Time>2016,(EROIstdelayed1yr[scenarios]/(EROIstdelayed1yr [scenarios]-1))*((EROIstuntil2015[scenarios]-1)/EROIstuntil2015[scenarios ]),1)) Units:Dmnl EROIFeedbackCoeficient.Thiscoeficientallowstofeedbackthe yearlychangeofthetotalEROIofthesystemontherealenergy consuptionofthesystem.IFTHENELSE("ActivateEROIFC feedback?"=0,1,(EROEIDelayed1yr[scenarios]/(EROEIDelayed 1yr[scenarios]-1))*((EROEIDelayed2yr[scenarios]-1)/EROEI Delayed2yr[scenarios]))(0376)EROIunconvgas= GETXLSCONSTANTS('inputs.xlsx','Parameters','G67') Units:Dmnl (0377)"EROI-iniRESelecdispatch"[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','W13') "EROI-iniRESelecdispatch"["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','W7')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

89

"EROI-iniRESelecdispatch"["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','W8') "EROI-iniRESelecdispatch"[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','W9') "EROI-iniRESelecdispatch"[windonshore]= 0 "EROI-iniRESelecdispatch"[windoffshore]= 0 "EROI-iniRESelecdispatch"[solarPV]= 0 "EROI-iniRESelecdispatch"[CSP]= 0 Units:Dmnl EnergyreturnonenergyinvestedofREStechnologiesfor generatingelectricitydispatchablesattheinitialCplevel.(0378)"EROI=1"= 1 Units:Dmnl (0379)EROIpoutotelec[scenarios]= IFTHENELSE(EROIsttotelec[scenarios]-testirrestandoalEROIpou>0,EROIsttotelec [scenarios]-testirrestandoalEROIpou,0.5) Units:Dmnl (0380)EROIst[scenarios]= RealTFEC[scenarios]/((("energyown-useconstant830Mtoein2013"/MToeperEJ )/375.5)*RealTFEC[scenarios]+Totalenergyrequiredfortotalmaterialconsumptionforalttechn [scenarios]) Units:Dmnl (0381)EROIstdelayed[scenarios]=DELAYFIXED( EROIst[scenarios],TIMESTEP,"EROIst(1995)") Units:Dmnl EROIstofthesystemdelayed.Thisvariableisintroducedto avoidsimultaneousequations.(0382)EROIstdelayed1yr[scenarios]=DELAYFIXED( EROIst[scenarios],1,"EROIst(1995)") Units:Dmnl EROIstofthesystemdelayed1year.(0383)EROIsttotelec[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

90

(FE Elec generation fromNRE TWh[scenarios]*EJ per TWh+SUM(output elec overlifetimeRESelec [RESelec!,scenarios]))/(( SUM(CEDtotover lifetimeRESelec[RESelec!,scenarios])+CEDtotover lifetimeNREelec [scenarios])*qualityofelectricity[scenarios]) Units:Dmnl (0384)EROIstuntil2015[scenarios]= IFTHENELSE(Time<2015,EROIstdelayed[scenarios],aux4[scenarios]) Units:Dmnl EROIstoftheenergysystemuntiltheyear2015.(0385)"EROIst(1995)"= 10.79 Units:Dmnl EROIstofthesystemintheyear1995.(0386)ESOIelecstorage[scenarios]= (ESOIPHS[scenarios]*InstalledPHScapacity[scenarios]+ESOIEVbatteries* UsedEVbatteriesforstorage[scenarios])/(InstalledPHScapacity[scenarios ]+UsedEVbatteriesforstorage[scenarios]) Units:Dmnl ESOIofelectricstorage(PHSandEVbatteries).(0387)ESOIEVbatteries= GETXLSCONSTANTS('inputs.xlsx','Parameters','G48') Units:Dmnl ESOIofelectricvehiculebateries.(0388)ESOIPHS[scenarios]= alinealregr[scenarios]*InstalledPHScapacity[scenarios]+blinealregr[ scenarios] Units:Dmnl ESOIofthePHS.(0389)EVbatteriesavailableforstorage[scenarios]= EVbatteriesTW[scenarios]*CpEVbatteriesforelecstorage Units:TW Bateriesfromelectricvehiclesavailableforstorageassuming thesamenumberofcyclesarededicatedtostoragethanto transport.(0390)EVbatteriesTW[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

91

"bateriesEV+hib+2wE"[scenarios]*kWperbatteryEV/kWhperTWh Units:TW Electricbatteriesfromelectricvehicles.(0391)Evolfinalenergyintensitybysectorandfuel[scenarios,sectors,finalsources ]=INTEG(IncreaseofintensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,finalsources]+inertialrateenergyintensityTOPDOWN[ scenarios,sectors,finalsources]+ratechangeintensityBOTTOMUP[scenarios ,sectors,finalsources]-DecreaseofintensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,finalsources], Initialenergyintensitybyfuelandsector1995[sectors,finalsources]) Units:**undefined** Thisvariablemodelsthedynamicevolutionofthematrixof energyintensitiesofthe35economicsectorsandthe5typesof finalenergy.Itisa35x5matrix.Theevolutionofthe intensitiesisconsideredtobeduetotwomaineffects:(1)the variationoftheenergyefficiency(flowduetothevariable inertialrateenergyintensity)and(2)thechangeofonetype offinalenergybyanother,Asaconsequenceofatechnological change(flowduetothevariablesIncrease/decreaseof intensityduetoenergytotechnologychange),asforexample thechangeduetotheelectrificationofthetransport.(0392)EvolfinalenergyintensityH[scenarios,finalsources]=INTEG( IncreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,finalsources ]+inertial rate energy intensity H TOP DOWN[scenarios,final sources]-Decrease ofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,finalsources], Initialenergyintensity1995H[finalsources]) Units:EJ/Tdollars Energyintensityofhouseholdsbyfinalsource.Thisvariable modelsthedynamicevolutionofthevetoroffinalenergy intensitiesofthe5typesoffinalenergy.Theevolutionofthe intensitiesisconsideredtobeduetotwomaineffects:(1)the variationoftheenergyefficiency(flowduetothevariable inertialrateenergyintensity)and(2)thechangeofonetype offinalenergybyanother,Asaconsequenceofatechnological change(flowduetothevariablesIncrease/decreaseof intensityduetoenergytotechnologychange),asforexample thechangeduetotheelectrificationofthetransport.(0393)evolutionshareunconvgasvstotagg[scenarios]= (shareunconvgasvstotaggin2050[scenarios]-0.1082)/(2050-2012)*Time+

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

92

(shareunconvgasvstotaggin2050[scenarios]-((shareunconvgasvstotaggin2050 [scenarios]-0.1082)/(2050-2012))*2050) Units:Dmnl Linearrelationoftheevolutionoftheshareofunconventional gasvstotalaggregatedgas.(0394)evolutionshareunconvoilvstotagg[scenarios]= (shareunconvoilvstotaggin2050[scenarios]-0.059)/(2050-2012)*Time+( shareunconvoilvstotaggin2050[scenarios]-((shareunconvoilvstotaggin2050 [scenarios]-0.059)/(2050-2012))*2050) Units:Dmnl Linearrelationoftheevolutionoftheshareofunconventional oilvstotalaggregatedoil.(0395)ExogenousannualGDPgrowthrate[scenarios]= IFTHENELSE(Time>2014,PannualGDPgrowthrate[scenarios],(historicGDPgrowth )) Units:Dmnl ScenariosofGDPgrowth(0396)ExogenousGDPgrowthratecorrected[scenarios]= IF THEN ELSE(Time>2009:AND:Time<2014,Exogenous annual GDP growthrate[scenarios ]*(1+adjustexogenousGDPgrowthrate),ExogenousannualGDPgrowthrate[scenarios ]) Units:Dmnl AdjustinexogenousGDPgrowthin2009-2014period(provisional)(0397)exponentavailabilityconvgas= 1/4 Units:Dmnl Thesmallertheexponent,moreprioritytoconventionalvs unconventionalgas:1:lineal1/2:squareroot1/3:cuberoot...(0398)exponentavailabilityconvoil= 1/4 Units:Dmnl Thesmallertheexponent,moreprioritytoconventionalvs unconventionaloil:1:lineal1/2:squareroot1/3:cuberoot...(0399)extramonetinvesttocopewithvariableElecRES[scenarios]= (FE Elec generation from onshore wind TWh[scenarios]+FE Elec generation fromoffshorewindTWh [scenarios])*Balancingcosts

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

93

[scenarios]+GridreinforcementcostsTdollar[scenarios] Units:Tdollars/Year Annualadditionalmonetaryinvestmenttocopewiththe intermittencyofRES(takingwindasaproxy)including balancingandgridreinforcementcosts(1995US$).(0400)extractioncoalEJ[scenarios]= IFTHENELSE(RURRcoal[scenarios]<0,0, IFTHENELSE("unlimitedNRE?"[scenarios]=1,PEDcoalEJ[scenarios], IFTHENELSE("unlimitedcoal?"[scenarios]=1,PEDcoalEJ[scenarios],MIN(PEDcoalEJ [scenarios],maxextractioncoalEJ[scenarios])))) Units:EJ/Year Annualextractionofcoal.(0401)extractioncoalemissionsrelevantEJ[scenarios]= MAX(0,extractioncoalwithoutCTLEJ[scenarios]-"Non-energyusedemandbyfinalfuelEJ" [scenarios,solids]) Units:EJ Extractionofemission-relevantcoal,i.e.exceptingthe resourceusedfornon-energyuses.(0402)extractioncoalforCTLEJ[scenarios]= PEDcoalforCTLEJ[scenarios] Units:EJ/Year ExtractionofcoalforCTL.CTLdemandisgivenpriorityover otherusessinceitisanexogenousassumptiondependingonthe scenario.(0403)extractioncoalMtoe[scenarios]= extractioncoalEJ[scenarios]*MToeperEJ Units:MToe/Year Annualextractionofcoal.(0404)extractioncoalwithoutCTLEJ[scenarios]= MAX(extractioncoalEJ[scenarios]-extractioncoalforCTLEJ[scenarios], 0) Units:EJ/Year Extractionofconventionalgasexceptingtheresourceusedto produceGTL.(0405)"extractionconvgas-totagg"[scenarios]= extractiontotagggasEJ[scenarios]*shareconvgasvstotagg[scenarios] Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

94

(0406)extractionconvgasEJ[scenarios]= IFTHENELSE(RURRconvgas[scenarios]<0,0, IFTHENELSE("unlimitedNRE?"[scenarios]=1,Demandconvgas[scenarios], IFTHENELSE("unlimitedgas?"[scenarios]=1,Demandconvgas[scenarios], MIN(Demandconvgas[scenarios],maxextractionconvgasEJ[scenarios])))) Units:EJ/Year Annualextractionofconventionalgas.(0407)"extractionconvoil-totagg"[scenarios]= extractiontotaggoilEJ[scenarios]*shareconvoilvstotagg[scenarios] Units:EJ (0408)extractionconvoilEJ[scenarios]= IFTHENELSE(RURRconvoil[scenarios]<0,0, IFTHENELSE("unlimitedNRE?"[scenarios]=1,DemandconvoilEJ[scenarios] , IFTHENELSE("unlimitedoil?"[scenarios]=1,DemandconvoilEJ[scenarios] , MIN(DemandconvoilEJ[scenarios],maxextractionconvoilEJ[scenarios]) ))) Units:EJ/Year Annualextractionofconventionaloil.(0409)extractiontotaggoilEJ[scenarios]= IFTHENELSE(RURRtotaggoil[scenarios]<0,0, IFTHENELSE("unlimitedNRE?"[scenarios]=1,PEDtotaloilEJ[scenarios], IFTHENELSE("unlimitedoil?"[scenarios]=1,PEDtotaloilEJ[scenarios], MIN(PEDtotaloilEJ[scenarios],maxextractiontotaggoilEJ[scenarios]) ))) Units:EJ/Year Annualextractionoftotalaggregatedoil.(0410)"extractionunconvgas-totagg"[scenarios]= extractiontotagggasEJ[scenarios]*shareunconvgasvstotagg[scenarios ] Units:EJ (0411)extractionunconvgasdelayed[scenarios]=DELAYFIXED( extractionunconvgasEJ[scenarios],TIMESTEP,0) Units:EJ/Year (0412)"extractionunconvoil-totagg"[scenarios]= extractiontotaggoilEJ[scenarios]*shareunconvoilvstotagg[scenarios

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

95

] Units:EJ (0413)extractionunconvoildelayed[scenarios]=DELAYFIXED( extractionunconvoilEJ[scenarios],TIMESTEP,1.09) Units:EJ/Year Extractionofunconventionaloildelayed1year.DatafromMohr etal(2015)for1989.(0414)extractionuraniumkt[scenarios]= extractionuraniumEJ[scenarios]*kturaniumperEJ Units:Kt/Year Extracciónofuraniuminkt.(0415)FEdemandcoalElecplantsTWh[scenarios]= sharecoalforElec[scenarios]*demandElecgasandcoalTWh[scenarios] Units:TWh/Year Finalenergydemandofcoalforelectricityconsumption(TWh).(0416)FEdemandElecconsumTWh[scenarios]= FEElecdemandconsumafterCCimpactsEJ[scenarios]/EJperTWh Units:TWh/Year Electricityconsumption(TWh)(0417)FEdemandgasElecplantsTWh[scenarios]= "sharegas/(coal+gas)forElec"[scenarios]*demandElecgasandcoalTWh[ scenarios] Units:TWh/Year Finalenergydemandofnaturalgasforelectricityconsumption (TWh).(0418)FEdemandoilElecplantsTWh[scenarios]= shareoilforElec[scenarios]*TotalFEElecdemandTWh[scenarios] Units:TWh/Year Finalenergydemandofoiltoproduceelectricity.(0419)FEElecdemandconsumafterCCimpactsEJ[scenarios]= RequiredFEDbyfuel[scenarios,electricity]+"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,electricity] Units:EJ Electricityconsumption(EJ)(0420)FEElecgenerationfrombioETWh[scenarios]= realgenerationRESelecTWh["solidbioE-elec",scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

96

Units:TWh/Year Annualelectricitygeneration.(0421)FEElecgenerationfromCSPTWh[scenarios]= realgenerationRESelecTWh[CSP,scenarios] Units:TWh Annualelectricitygeneration.(0422)FEElecgenerationfromfossilfuelsTWh[scenarios]= FEElecgenerationfromcoalTWh[scenarios]+FEElecgenerationfromconvgasTWh [scenarios]+FEElecgenerationfromunconvgasTWh [scenarios]+FEElecgenerationfromtotaloilTWh[scenarios]+FESElecfossilfuelCHPplantsTWh [scenarios] Units:TWh/Year Finalenergyelectricitygenerationfromfossilfuels(TWh).(0423)"FEElecgenerationfromgeot-elecTWh"[scenarios]= realgenerationRESelecTWh["geot-elec",scenarios] Units:TWh/Year Annualelectricitygeneration.(0424)FEElecgenerationfromhydroTWh[scenarios]= realgenerationRESelecTWh[hydro,scenarios] Units:TWh/Year Annualelectricitygeneration.(0425)FEElecgenerationfromNRETWh[scenarios]= FEElecgenerationfromfossilfuelsTWh[scenarios]+FEnuclearElecgenerationTWh [scenarios] Units:TWh/Year Electricitygenerationfromnon-renewableresources(fossil fuelsanduranium).(0426)FEElecgenerationfromoceanicTWh[scenarios]= realgenerationRESelecTWh[oceanic,scenarios] Units:TWh/Year Annualelectricitygeneration.(0427)FEElecgenerationfromoffshorewindTWh[scenarios]= realgenerationRESelecTWh[windoffshore,scenarios] Units:TWh/Year Annualelectricitygeneration.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

97

(0428)FEElecgenerationfromonshorewindTWh[scenarios]= realgenerationRESelecTWh[windonshore,scenarios] Units:TWh/Year Annualelectricitygeneration.(0429)FEElecgenerationfromsolarPVTWh[scenarios]= realgenerationRESelecTWh[solarPV,scenarios] Units:TWh/Year Annualelectricitygeneration.(0430)FEheatdemandconsumafterCCimpactsEJ[scenarios]= RequiredFEDbyfuel[scenarios,heat]+"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,heat] Units:EJ HeatdemandconsumptionafterCCimpacts.(0431)"FErealgenerationRESheat-comEJ0"[RESheat,scenarios]= potentialFESRESforheatEJ0[RESheat,scenarios]*(1-RESheattotovercapacity0 [scenarios]) Units:EJ HeatgenerationbyREStechnology.(0432)"FErealgenerationRESheat-comEJ"[RESheat,scenarios]= "potential FES RES for heat-com EJ"[RES heat,scenarios]*(1-"RES heat-com totovercapacity" [scenarios]) Units:EJ CommercialheatgenerationbyREStechnology.(0433)"FErealgenerationRESheat-ncEJ"[RESheat,scenarios]= "potential FES RES for heat-nc EJ"[RES heat,scenarios]*(1-"RES heat-nc totovercapacity" [scenarios]) Units:EJ Non-commercialheatgenerationbyREStechnology.(0434)FErealsupplyRESforheattotEJ0[scenarios]= MIN(MAX("FEDHeat-comafterprioritiesEJ"[scenarios],0),potentialFEStotRESforheatEJ0 [scenarios]) Units:EJ TotalfinalenergysupplydeliveredbyRESforheat(commercial andnon-commercialuses).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

98

(0435)"FErealsupplyRESforheat-comtotEJ"[scenarios]= MIN(MAX("FEDHeat-comafterprioritiesEJ"[scenarios],0),"potentialFEStotRESforheat-comEJ" [scenarios]) Units:EJ TotalfinalenergysupplydeliveredbyRESforcommercialheat.(0436)"FErealsupplyRESforheat-nctotEJ"[scenarios]= MIN(MAX("TotalFEDHeat-ncEJ"[scenarios],0),"potentialFEStotRESforheat-ncEJ" [scenarios]) Units:EJ TotalfinalenergysupplydeliveredbyRESfornon-commercial heat.(0437)FErealtotgenerationRESelecTWh[scenarios]= MIN(MAX(Total FE Elec demand after priorities TWh[scenarios], 0), potential totgenerationRESelecTWh [scenarios]) Units:TWh (0438)FEtotgenerationallRESelecEJ[scenarios]= FEtotgenerationallRESelecTWh[scenarios]*EJperTWh Units:EJ ElectricitygenerationfromallREStechnologies.(0439)FEtotgenerationallRESelecTWh[scenarios]= FErealtotgenerationRESelecTWh[scenarios]+FESelecfromRESwithpriorityTWh [scenarios] Units:TWh ElectricitygenerationfromallREStechnologies.(0440)"FEDbyfuelforheat-nc"[electricity,scenarios]= 0 "FEDbyfuelforheat-nc"[heat,scenarios]= 0 "FEDbyfuelforheat-nc"[liquids,scenarios]= "FEDoilforheat-nc"[scenarios] "FEDbyfuelforheat-nc"[gases,scenarios]= "FEDnat.gasforheat-nc"[scenarios] "FEDbyfuelforheat-nc"[solids,scenarios]= "FEDcoalforheat-nc"[scenarios]+"FEDsolidbioEforheat-nc"[scenarios] Units:EJ Finalenergydemand(excludingdistributionandgeneration losses)ofnon-commercialheatbyfinalfuel.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

99

(0441)"FEDcoalforheat-nc"[scenarios]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,solids]*(shareFEHoverFEDbyfinalfuel [solids,scenarios]-shareFEHoverFEDsolidbioE)*efficiencycoalforheatplants /(1+Shareheatdistributionlosses) Units:EJ Finalenergydemand(excludingdistributionandgeneration losses)ofnon-commercialheatfromcoal.(0442)FEDheatcoalCHPplantsEJ[scenarios]= FEDheatfossilfuelsCHPplantsEJ[scenarios]*shareCHPplantscoal Units:EJ FinalenergydemandofcoaltoproduceheatinCHPplants.(0443)FEDheatfossilfuelsCHPplantsEJ[scenarios]= MAX("FEDheat-combyNRECHPplantsEJ"[scenarios]-"FESHeat-comnuclearCHPplantsEJ" [scenarios],0) Units:EJ FinalenergydemandoffossilfuelsinCHPplants.(0444)FEDheatgasCHPplantsEJ[scenarios]= FEDheatfossilfuelsCHPplantsEJ[scenarios]*historicshareCHPplantsgas Units:EJ FinalenergydemandofgastoproduceheatinCHPplants.(0445)FEDHeatgasplantsEJ[scenarios]= "FEDHeatgas+coalEJ"[scenarios]*"sharegas/(coal+gas)forheatplants" Units:EJ Finalenergydemandofgastoproduceheat.(0446)"FEDHeatgas+coalEJ"[scenarios]= "FEDHeat-complantsfossilfuelsEJ"[scenarios]-FEDHeatliquidsplantsEJ [scenarios] Units:**undefined** (0447)FEDheatliquidsCHPplantsEJ[scenarios]= FEDheatfossilfuelsCHPplantsEJ[scenarios]*shareCHPplantsoil Units:EJ FinalenergydemandofoiltoproduceheatinCHPplants.(0448)FEDHeatliquidsplantsEJ[scenarios]= "FEDHeat-complantsfossilfuelsEJ"[scenarios]*shareliquidsfotheatplants

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

100

[scenarios] Units:EJ Finalenergydemandofliquidstoproduceheat.(0449)"FEDheat-combyNRECHPplantsEJ"[scenarios]= "Shareheat-comCHPplantsNREvsNREtotheat-comgeneration"*"FEDHeat-comNREEJ" [scenarios] Units:EJ FinalenergydemandofcommercialheatinCHPplantswithoutRES.(0450)"FEDHeat-comNREEJ"[scenarios]= MAX("FEDHeat-comafterprioritiesEJ"[scenarios]-"TotalFErealsupplyRESforheat-comEJ" [scenarios],0) Units:EJ DemandofnonrenewableenergytoproducecommercialHeat(final energy).WegiveprioritytoRES.(0451)"FEDHeat-complantsfossilfuelsEJ"[scenarios]= MAX("FEDHeat-comNREEJ"[scenarios]-"FESheat-comfossilfuelsCHPplantsEJ" [scenarios]-"FESHeat-comnuclearCHPplantsEJ"[scenarios],0) Units:EJ Demandoffossilfuelsforcommercialheatplants.Fossilfuels CHPplantshaveprioritydueabetterefficiency.(0452)"FEDHeat-ncEJ"[scenarios]= FEheatdemandconsumafterCCimpactsEJ[scenarios]-"Requiredheat-comafterCCimpacts" [scenarios] Units:EJ Finalenergy(non-commercial)heatdemand.(0453)"FEDnat.gasforheat-nc"[scenarios]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,gases]*shareFEHoverFEDbyfinalfuel [gases,scenarios]*efficiencygasesforheatplants/(1+Shareheatdistributionlosses ) Units:EJ Finalenergydemand(excludingdistributionandgeneration losses)ofnon-commercialheatfromnaturalgas.(0454)"FEDNREforheat-nc"[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

101

"FEDcoalforheat-nc"[scenarios]+"FEDnat.gasforheat-nc"[scenarios]+"FEDoilforheat-nc" [scenarios] Units:EJ (0455)"FEDoilforheat-nc"[scenarios]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,liquids]*shareFEHoverFEDbyfinalfuel [liquids,scenarios]*efficiencyliquidsforheatplants/(1+Shareheatdistributionlosses ) Units:EJ Finalenergydemand(excludingdistributionandgeneration losses)ofnon-commercialheatfromoil.(0456)"FEDsolidbioEforheat-nc"[scenarios]= RequiredFEDby fuelbeforeheat correction[scenarios,solids]*shareFEHoverFEDsolidbioE *EfficiencyconversionBioEplantstoheat/(1+Shareheatdistributionlosses ) Units:EJ Finalenergydemand(excludingdistributionandgeneration losses)ofnon-commercialheatfromsolidbioenergy.(0457)"FESCTL+GTLEJ"[scenarios]= MIN(PEDNRELiquids[scenarios],"PotentialFESCTL+GTLEJ"[scenarios]) Units:EJ/Year CTLandGTLproduction.(0458)extractiontotagggasEJ[scenarios]= IFTHENELSE(RURRtotagggas[scenarios]<0,0, IFTHENELSE("unlimitedNRE?"[scenarios]=1,"PEDnat.gasEJ"[scenarios], IFTHENELSE("unlimitedgas?"[scenarios]=1,"PEDnat.gasEJ"[scenarios], MIN("PEDnat.gasEJ"[scenarios],maxextractiontotagggasEJ[scenarios ])))) Units:EJ/Year Annualextractionoftotalaggregatednaturalgas.(0459)extractionunconvgasEJ[scenarios]= IFTHENELSE(RURRunconvgas[scenarios]<0,0, IF THEN ELSE(Time<2013, Historic unconv gas, IF THEN ELSE("separate conv andunconvgas?" [scenarios]=1,MIN(maxextractionunconvgas [scenarios],maxunconvgasgrowthextractionEJ[scenarios]),0))) Units:EJ/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

102

Annualextractionofunconventionalgas.IFTHENELSE("separate convandunconvgas?"[scenarios]=1,IFTHENELSE(Time<2011, Historicunconvgas[scenarios](Time),MIN(maxextractionunconv gas[scenarios],maxunconvgasgrowthextractionEJ [scenarios])),0)(0460)"FEDHeat-comafterprioritiesEJ"[scenarios]= MAX(0,"TotalFEDHeat-comEJ"[scenarios]-"FESheat-comfromwasteEJ"[scenarios ]-"FESheat-comfrombiogasEJ"[scenarios]) Units:EJ Totalcommercialheatdemandincludingdistributionlossesafter technologieswithpriorityinthemix(wasteandbiogas).(0461)"FEDHeat-comEJ"[scenarios]= "Requiredheat-comafterCCimpacts"[scenarios] Units:EJ Finalenergydemandheatcommercial.(0462)FeedbackCooling[scenarios]= AtmosUOceanTemp[scenarios]*ClimateFeedbackParam[scenarios] Units:watt/meter/meter Heatlossoftheatmosphere/upperoceansystemfromfeedback effectsofwarming(i.e.increasedblackbodyradiation). [Cowles,pg.27](0463)"FESbiogasforheat-complants"[scenarios]= "PESbiogasforheat-complants"[scenarios]*efficiencybiogasforheatplants Units:EJ FinalenergysupplyofcommercialheatinHeatplantsfrom biogas.(0464)FESElecfossilfuelCHPplantsEJ[scenarios]= MIN(PotentialFEgenElecfossilfuelCHPplantsEJ[scenarios],DemandElecNRETWh [scenarios]*EJperTWh) Units:EJ/Year FinalEnergysupplyofelectricityfromfossilfuelsinCHP plants.Weassignprioritytoitduetoitsbetterefficiency.(0465)FESElecfossilfuelCHPplantsTWh[scenarios]= FESElecfossilfuelCHPplantsEJ[scenarios]/EJperTWh Units:TWh/Year FinalEnergyoffossilfuelstoproduceelectricity(TWh)inCHP plants.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

103

(0466)FESelecfrombiogasEJ[scenarios]= FESelecfrombiogasinCHPplants[scenarios]+FESelecfrombiogasinelecplants [scenarios] Units:EJ TFESelectricityfrombiogas.(0467)FESelecfrombiogasinCHPplants[scenarios]= PESbiogasforCHP[scenarios]*efficiencybiogasforelecCHPplants Units:EJ FinalenergysupplyofelecinCHPplantsfrombiogas.(0468)FESelecfrombiogasinelecplants[scenarios]= PESbiogasforelecplants[scenarios]*efficiencybiogasforelecplants Units:EJ FinalenergysupplyofelectricityinElecplantsfrombiogas.(0469)FESelecfrombiogasTWh[scenarios]= FESelecfrombiogasEJ[scenarios]/EJperTWh Units:TWh TFESelectricityfrombiogas.(0470)FESelecfromBioW[scenarios]= realgenerationRESelecTWh["solidbioE-elec",scenarios]+FESelecfrombiogasTWh [scenarios]+FESelecfromwasteTWh[scenarios] Units:TWh Electricitygenerationoftotalbioenergyandwaste(tocompare withmorecommonstatistics).(0471)FESelecfromRESwithpriorityTWh[scenarios]= FESelecfrombiogasTWh[scenarios] Units:TWh (0472)FESelecfromwasteEJ[scenarios]= FESelecfromwasteinCHPplants[scenarios]+FESelecfromwasteinelecplants [scenarios] Units:EJ TFESelectricityfromwaste.(0473)FESelecfromwasteinCHPplants[scenarios]= PESwasteforCHPplants[scenarios]*efficiencywasteforelecCHPplants Units:EJ FinalenergysupplyofelecinCHPplantsfromwaste.(0474)FESelecfromwasteinelecplants[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

104

PESwasteforelecplants[scenarios]*efficiencywasteforelecplants Units:EJ FinalenergysupplyofelectricityinElecplantsfromwaste.(0475)FESelecfromwasteTWh[scenarios]= FESelecfromwasteEJ[scenarios]/EJperTWh Units:TWh TFESelectricityfromwaste.(0476)FESelecPHSTWh[scenarios]= InstalledPHScapacity[scenarios]*CpPHS/TWeperTWh Units:TWh Electricitygenerationfrompumpedhydrostorage.Itdoesnot adduptotheelectricitygenerationofothersourcessincethis electricityhasalreadybeenaccountedfor!(stored)(0477)FESheatfromBioW[scenarios]= "FErealsupplyRESforheat-comtotEJ"[scenarios]+"FErealsupplyRESforheat-nctotEJ" [scenarios]+"FESheat-comfrombiogasEJ"[scenarios]+"FESheat-comfromwasteEJ" [scenarios] Units:EJ Heatgenerationoftotalbioenergyandwaste(tocomparewith morecommonstatistics).(0478)FESHeatfromcoal[scenarios]= ("PEScoalforHeat-complants"[scenarios]+"PEScoalforHeat-ncplants"[ scenarios])*efficiencycoalforheatplants Units:EJ HeatfromHeatplantsthatburncoal(bothcommercialand non-commercial).(0479)"FESheat-comfrombiogasEJ"[scenarios]= "FES biogas for heat-com plants"[scenarios]+"FES heat-com from biogas in CHPplants" [scenarios] Units:EJ TFEScommercialheatfrombiogas.(0480)"FESheat-comfrombiogasinCHPplants"[scenarios]= PESbiogasforCHP[scenarios]*efficiencybiogasforheatCHPplants Units:EJ FinalenergysupplyofcommercialheatinCHPplantsfrombiogas.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

105

(0481)"FESheat-comfromwasteEJ"[scenarios]= "FESwasteforheat-complants"[scenarios]+"FESheat-comfromwasteinCHPplants" [scenarios] Units:EJ TFEScommercialheatfromwaste.(0482)"FESheat-comfromwasteinCHPplants"[scenarios]= PESwasteforCHPplants[scenarios]*efficiencywasteforheatCHPplants Units:EJ FinalenergysupplyofcommercialheatinCHPplantsfromwaste.(0483)FESNREforheat[scenarios]= "FESheat-comfossilfuelsCHPplantsEJ"[scenarios]+FESHeatfromcoal[scenarios ]+"FESHeatfromnat.gas"[scenarios]+ FESHeatfromoil[scenarios]+"FESHeat-comnuclearCHPplantsEJ"[scenarios ] Units:EJ Heatfromnon-renewableenergyresources.(0484)FESRESforheatEJ[scenarios]= "FErealsupplyRESforheat-comtotEJ"[scenarios]+"FErealsupplyRESforheat-nctotEJ" [scenarios]+"FESheat-comfrombiogasEJ"[scenarios] Units:EJ Heatfromrenewableenergysources.(0485)FEStotalbiofuelsproductionEJ[scenarios]= +PEavailbiofuels2genlandcompetEJ[scenarios]+PEavailbiofuels3genlandcompetEJ [scenarios]+PEavailbiofuelslandmargEJ[scenarios]+PEavailcellulosicbiofuelEJ [scenarios] Units:EJ/Year Finalenergysupplytotalbiofuelsliquidsproduction. Equivalentto"FEStotalbiofuelsproductionEJ2"butobtained disaggregately.(0486)FEStotalbiofuelsproductionEJ2[scenarios]= MIN(PEDliquidsEJ[scenarios],PotentialPEavailtotalbiofuels[scenarios ]) Units:EJ/Year Finalenergysupplytotalbiofuelsliquidsproduction. Equivalentto"FEStotalbiofuelsproductionEJ"butobtained aggregatelytoestimatethe"sharebiofuelsovercapacity".

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

106

(0487)"FEStotalbiofuelsproductionMb/d"[scenarios]= FEStotalbiofuelsproductionEJ[scenarios]*"Mb/dperEJ/year" Units:Mb/d Finalenergysupplytotalbiofuelsliquidsproduction.(0488)EROIuranium= GETXLSCONSTANTS('inputs.xlsx','Parameters','G69') Units:Dmnl (0489)FEElecgenerationfromunconvgasTWh[scenarios]= realextractionunconvgasEJ[scenarios]*"sharenat.gasdemforElec"[scenarios ]*efficiencygasforelectricity/EJperTWh Units:TWh/Year Finalenergyelectricitygenerationfromunconventionalgas (TWh).(0490)FEnuclearElecgenerationTWh[scenarios]= extractionuraniumEJ[scenarios]*efficiencyuraniumforelectricity/EJperTWh Units:TWh/Year Finalenergyelectricitygenerationfromuranium(TWh).(0491)FEDHeatcoalplantsEJ[scenarios]= "FEDHeatgas+coalEJ"[scenarios]*"sharecoal(coal+gas)forheatplants" Units:EJ Finalenergydemandofcoaltoproduceheat.(0492)"FESwasteforheat-complants"[scenarios]= "PESwasteforheat-complants"[scenarios]*efficiencywasteforheatplants Units:EJ FinalenergysupplyofheatincommercialHeatplantsfromwaste.(0493)Finalenergyintensitybysectorandfuel[scenarios,finalsources,sectors ]= IF THENELSE("Method final energy intensity?"=1,Historic final energy intensitybysectorandfuel [finalsources,sectors ](Time),Evolfinalenergyintensitybysectorandfuel[scenarios,sectors, finalsources]) Units:EJ/Tdollars IFTHENELSE(Time>2009,Evolfinalenergyintensitybysector andfuel[scenarios,sectors,finalsources],Historicfinalenergy intensitybysectorandfuel[finalsources,sectors])Historic finalenergyintensitybysectorandfuel[final sources,sectors](Time)+Evolfinalenergyintensitybysectorand

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

107

fuel[sectors,finalsources]*0*Time(0494)finalsources: electricity,heat,liquids,gases,solids (0495)finalsources1: electricity,heat,liquids,gases,solids (0496)FINALTIME=2050 Units:Year Thefinaltimeforthesimulation.(0497)Flowcoalleftinground[scenarios]= IFTHENELSE(Time<Startpolicyleaveingroundcoal[scenarios],0, IFTHENELSE(Time>=Startpolicy leave ingroundcoal[scenarios]+1,0,coalto leaveunderground [scenarios])) Units:EJ Flowofcoalleftintheground.Weassumethatthisamountis removedfromthestockofcoalavailablein1year.(0498)Flowconvgasleftinground[scenarios]= IFTHENELSE(Time<Startpolicyleaveingroundconvgas[scenarios],0, IFTHENELSE(Time>=Startpolicyleaveingroundconvgas[scenarios]+1,0, convgastoleaveunderground[scenarios])) Units:EJ Flowofconventionalnaturalgasleftintheground.Weassume thatthisamountisremovedfromthestockofconventional naturalgasavailablein1year.(0499)Flowconvoilleftinground[scenarios]= IFTHENELSE(Time<Startpolicyleaveingroundconvoil[scenarios],0, IFTHENELSE(Time>=Startpolicyleaveingroundconvoil[scenarios]+1,0, convoiltoleaveunderground[scenarios])) Units:EJ Flowofconventionaloilleftintheground.Weassumethatthis amountisremovedfromthestockofconventionaloilavailable in1year.(0500)Flowtotagggasleftinground[scenarios]= IFTHENELSE(Time<Startpolicyleaveingroundtotagggas[scenarios],0, IFTHENELSE(Time>=Startpolicyleaveingroundtotagggas[scenarios]+1, 0,totagggastoleaveunderground[scenarios])) Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

108

Flowoftotalaggregatednaturalgasleftintheground.We assumethatthisamountisremovedfromthestockof conventionalnaturalgasavailablein1year.(0501)Flowtotaggoilleftinground[scenarios]= IFTHENELSE(Time<Startpolicyleaveingroundtotaggoil[scenarios],0, IFTHENELSE(Time>=Startpolicyleaveingroundtotaggoil[scenarios]+1, 0,totaggoiltoleaveunderground[scenarios])) Units:EJ Flowoftotalaggregatedoilleftintheground.Weassumethat thisamountisremovedfromthestockoftotalaggregatedoil availablein1year.(0502)Flowunconvgasleftinground[scenarios]= IFTHENELSE(Time<Startpolicyleaveingroundunconvgas[scenarios],0, IFTHENELSE(Time>=Startpolicyleaveingroundunconvgas[scenarios]+1,0 ,unconvgastoleaveunderground[scenarios])) Units:EJ Flowofunconventionalnaturalgasleftintheground.Weassume thatthisamountisremovedfromthestockofunconventional naturalgasavailablein1year.(0503)Flowunconvoilleftinground[scenarios]= IFTHENELSE(Time<Startpolicyleaveingroundunconvoil[scenarios],0, IFTHENELSE(Time>=Startpolicyleaveingroundunconvoil[scenarios]+1,0 ,unconvoiltoleaveunderground[scenarios])) Units:EJ Flowofunconventionaloilleftintheground.Weassumethat thisamountisremovedfromthestockofunconventionaloil availablein1year.(0504)"futuresharegas/(coal+gas)forElec"= GETXLSCONSTANTS('inputs.xlsx','Parameters','C39') Units:Dmnl Assumptionforthefutureshareofgasvs.fossilfuelsfor electricitygeneration.Sincethissharehasremainedfairly constantsince1990,weassumethatthevalueforthelastyear (2013)ismaintainedinthefuture.(0505)gperGt= GETXLSCONSTANTS('inputs.xlsx','Constants','K23') Units:Dmnl Unitconversion.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

109

(0506)gperMt= GETXLSCONSTANTS('inputs.xlsx','Constants','G23') Units:Dmnl 1e12grams=1Mtonne.(0507)GperT= GETXLSCONSTANTS('inputs.xlsx','Constants','C22') Units:Dmnl (0508)GboeperEJ= GETXLSCONSTANTS('inputs.xlsx','Constants','C18') Units:EJ/Gboe Unitconversion(1EJ=5.582Gb).(0509)gCH4perMJcoal= GETXLSCONSTANTS('inputs.xlsx','Parameters','C99') Units:GtCO2/MToe CH4emissionsassociatedtotheextractionofcoal.Ref:Fig.2 Howarth(2015).(0510)gCH4perMJconvgas= GETXLSCONSTANTS('inputs.xlsx','Parameters','C97') Units:GtCO2/MToe CH4emissionsassociatedtotheextractionofconventionalgas. Ref:Fig.2Howarth(2015).(0511)gCH4perMJCTL= GETXLSCONSTANTS('inputs.xlsx','Parameters','G97') Units:GtCO2/MToe CH4emissionfactorofCTL.(0512)gCH4perMJCTL1= GETXLSCONSTANTS('inputs.xlsx','Parameters','G97') Units:GtCO2/MToe CH4emissionfactorofCTL.(0513)gCH4perMJGTL= GETXLSCONSTANTS('inputs.xlsx','Parameters','G98') Units:GtCO2/MToe CH4emissionfactorofGTL.(0514)gCH4perMJunconvgas= GETXLSCONSTANTS('inputs.xlsx','Parameters','C98') Units:GtCO2/MToe

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

110

CH4emissionsassociatedtotheextractionofunconventionalgas (shalegas).Ref:Fig.2Howarth(2015).(0515)gCO2perMJcoal= GETXLSCONSTANTS('inputs.xlsx','Parameters','C91') Units:gCO2/MJ CO2emissionfactorcoal.(0516)gCO2perMJconvgas= GETXLSCONSTANTS('inputs.xlsx','Parameters','C92') Units:gCO2/MJ CO2emissionfactorconventionalnaturalgas.(0517)gCO2perMJconvoil= GETXLSCONSTANTS('inputs.xlsx','Parameters','C93') Units:gCO2/MJ CO2emissionfactorconventionaloil.(0518)gCO2perMJGTL= GETXLSCONSTANTS('inputs.xlsx','Parameters','C90') Units:gCO2/MJ CO2emissionscoefficientofGTL.(0519)gCO2perMJunconvgas= GETXLSCONSTANTS('inputs.xlsx','Parameters','C94') Units:gCO2/MJ CO2emissionfactorofunconventionalgas.(0520)gCO2perMJunconvoil= GETXLSCONSTANTS('inputs.xlsx','Parameters','C95') Units:gCO2/MJ Emissionfactorunconventionaloil(tarsands/extraheavyoil).(0521)gCO2eperGTCO2e0= 1/1000 Units:GTCO2e/gCO2e /*Comprobarestarelacióndeunidades*/(0522)gCO2eperGTCO2e1= 1/1000 Units:GTCO2e/gCO2e /*Comprobarestarelacióndeunidades*/(0523)gCO2eperGTCO2e3=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

111

1/1000 Units:GTCO2e/gCO2e /*Comprobarestarelacióndeunidades*/(0524)gCO2eperGTCO2e4= 1/1000 Units:GTCO2e/gCO2e /*Comprobarestarelacióndeunidades*/(0525)GDP[scenarios]= Realdemand[scenarios]/1e+006 Units:T$ GlobalGDPinT1995T$.(0526)GDPdelayed1yr[scenarios]=DELAYFIXED( GDP[scenarios],1,29.16) Units:Tdollars/Year GDPprojectiondelayed1year.(0527)GDPpc[scenarios]= GDP[scenarios]*dollarstoTdollars/Population[scenarios] Units:$/people GDPpercapita(1995T$percapita).(0528)GeotPEpotentialforheatTWth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C56') GeotPEpotentialforheatTWth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C56') GeotPEpotentialforheatTWth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C56') GeotPEpotentialforheatTWth[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C56') GeotPEpotentialforheatTWth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C56') GeotPEpotentialforheatTWth[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C56') Units:TWth Geothermalprimaryenergypotentialforheat.(0529)GFCFnotcovered[scenarios,sectors]= IFTHENELSE(Time<2009,0,Grossfixedcapitalformation[scenarios,sectors] -RealGFCF[scenarios,sectors]) Units:Mdollars/Year Gapbetweengrossfixedcapitalformationrequiredandreal

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

112

grossfixedcapitalformation(afterenergy-economyfeedback)(0530)Globalarableland= GETXLSCONSTANTS('inputs.xlsx','Parameters','C70') Units:MHa Currentglobalarableland:1526MHa(FAOSTAT).(0531)GlobalenergyintensityH[scenarios]= SUM(EvolfinalenergyintensityH[scenarios,finalsources!]) Units:**undefined** (0532)GridcorrectionfactorRESelec[hydro]= 0 GridcorrectionfactorRESelec["geot-elec"]= 0 GridcorrectionfactorRESelec["solidbioE-elec"]= 0 GridcorrectionfactorRESelec[oceanic]= 0 GridcorrectionfactorRESelec[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Materials','D64') GridcorrectionfactorRESelec[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Materials','E64') GridcorrectionfactorRESelec[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Materials','C64') GridcorrectionfactorRESelec[CSP]= GETXLSCONSTANTS('inputs.xlsx','Materials','B64') Units:Dmnl Gridcorrectionfactortotakeintoaccounttheelectricity lossesduetoJouleeffectineachpowerplant.(0533)Gridreinforcementcosts= GETXLSCONSTANTS('inputs.xlsx','Parameters','C73') Units:dollars/kW Gridreinforcementcosts.Wetakethemedianfromthestudyof Millsetal(2012)forwind:300$/kW(238.33US1995$).(0534)growthbiogas[scenarios]= biogasevol[scenarios]*pastbiogasgrowth Units:1/Year Biogasesgrowthfunctionofgrowthpasttrends(0535)growthlabourshare[scenarios]= IFTHENELSE(Time>2014,IFTHENELSE(Time>2050,0,Plabourshare[scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

113

*"Laborsharecte?"),historicgrowthlabourshare) Units:Dmnl Realvariationrateoflaboursharedependingonactivation.(0536)GtCO2historicemissionsRCPs[scenarios]= GtChistoricemissionsRCPs[scenarios](Time)/CperCO2 Units:GTCO2e (0537)GTLefficiency= GETXLSCONSTANTS('inputs.xlsx','Parameters','C50') Units:Dmnl EfficiencyofGTLplants.Source:IEAbalances(seeTechnical Report).(0538)GTLproduction[scenarios]= GTLpotentialproduction[scenarios]*(1-"shareCTL+GTLovercapacity"[scenarios ]) Units:EJ GTLproduction.(0539)H2winitialgrowth[scenarios]= IFTHENELSE(Time<2050,IFTHENELSE(Activatepolicy2050Htransp[scenarios ]=1:AND:Time>TpolicyHveh[scenarios],(PHvehicle2050[scenarios,elec2wheels ]-percentHvehiclesinitial[elec2wheels])/(2050-TpolicyHveh[scenarios ]),auxhistH[scenarios,elec2wheels]),0) Units:**undefined** Growthofpercentofelectric2wwithoutrestrictionsderived fromsaturationandshortageofelectricityPercentrelativeto totalnumberofvehicles2w+4w.(0540)H2wEadaptgrowth[scenarios]= H2winitialgrowth[scenarios]*effectsshortageeleconEV[scenarios] Units:1/Year Percentrelativetototalnumberofvehicles2w+4w.growthof thepercentageofelectric2wheelersvehiclesislinearat firstbutslowsdownwhenthemaximumisreached.Noefectson theelectricityshortagearenoticedforthesevehiclessince theirconsumptionissolowcomparedtoothers.(0541)HEVadaptgrowth[scenarios]= HEVinitialgrowth[scenarios]*effectsshortageeleconEV[scenarios] Units:1/Year Percentrelativetototalnumberofvehicles2w+4w.growthofthe percentageofEVvehiclesislinearatfirstbutadaptedtothe

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

114

shortageofelectricityandslowsdownwhenthemaximumis reached(0542)HEVinitialgrowth[scenarios]= IFTHENELSE(Time<2050,IFTHENELSE(Activatepolicy2050Htransp[scenarios ]=1:AND:Time>TpolicyHveh[scenarios],(PHvehicle2050 [scenarios,elec4wheels]-percentHvehiclesinitial[elec4wheels])/(2050 -TpolicyHveh[scenarios]),auxhistH[scenarios ,elec4wheels]),0) Units:1/Year Growthofpercentofelectrical4wwithoutrestrictionsderived fromsaturationandshortageofelectricityPercentrelativeto totalnumberofvehicles2w+4w.(0543)Hgasadaptgrowth[scenarios]= Hgasinitialgrowth[scenarios]*effectsshortagegasHveh[scenarios] Units:1/Year Percentrelativetototalnumberofvehicles2w+4w.growthof thepercentageofgasvehiclesislinearatfirstbutadaptedto theshortageofgasandslowsdownwhenthemaximumisreached.(0544)Hgasinitialgrowth[scenarios]= IFTHENELSE(Time<2050,IFTHENELSE(Activatepolicy2050Htransp[scenarios ]=1:AND:Time>TpolicyHveh[scenarios],(PHvehicle2050[scenarios,gas4wheels ]-percentHvehiclesinitial[gas4wheels])/(2050-TpolicyHveh[scenarios ]),auxhistH[scenarios,gas4wheels]),0) Units:1/Year Growthofpercentofgas4wwithoutrestrictionsderivedfrom saturationandshortageofelectricityPercentrelativetototal numberofvehicles2w+4w.(0545)Hhibadaptgrowth[scenarios]= Hhibinitialgrowth[scenarios] Units:1/Year Percentrelativetototalnumberofvehicles2w+4w.growthofthe percentageofhibridvehiclesislinearatfirstbutslowsdown whenthemaximumisreached(0546)Hhibinitialgrowth[scenarios]= IFTHENELSE(Time<2050,IFTHENELSE(Activatepolicy2050Htransp[scenarios ]=1:AND:Time>TpolicyHveh[scenarios],(PHvehicle2050[scenarios,hib4wheels ]-percentHvehiclesinitial[hib4wheels])/(2050-TpolicyHveh[scenarios ]),auxhistH[scenarios,hib4wheels]),0) Units:1/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

115

Growthofpercentofhibrid4wwithoutrestrictionsderivedfrom saturationandshortageofelectricityPercentrelativetototal numberofvehicles2w+4w.(0547)"Heat-comdistributionlosses"[scenarios]= "FEDHeat-comEJ"[scenarios]*Shareheatdistributionlosses Units:EJ/Year Distributionlossesassociatedtoheatcommercial.(0548)"Heat-ncdistributionlosses"[scenarios]= "TotalFEDHeat-ncEJ"[scenarios]-"FEDHeat-ncEJ"[scenarios] Units:EJ/Year Distributionlossesassociatedtonon-commercialheat.(0549)"FESHeatfromnat.gas"[scenarios]= ("PESnat.gasforHeat-complants"[scenarios]+"PESnat.gasforHeat-ncplants" [scenarios])*efficiencygasesforheatplants Units:EJ HeatfromHeatplantsthatburnfossilnaturalgas(both commercialandnon-commercial).(0550)FESHeatfromoil[scenarios]= ("PESoilforHeat-complants"[scenarios]+"PESoilforHeat-ncplants"[scenarios ])*efficiencyliquidsforheatplants Units:EJ HeatfromHeatplantsthatburnoil(bothcommercialand non-commercial).(0551)"FESheat-comfossilfuelsCHPplantsEJ"[scenarios]= FEDheatfossilfuelsCHPplantsEJ[scenarios] Units:EJ FinalEnergysupplyofheatfromfossilfuelsinCHPplants.We assignprioritytoitduetoitsbetterefficiency.(0552)"FESHeat-comnuclearCHPplantsEJ"[scenarios]= MIN("PotentialFESHeat-comnuclearCHPplantsEJ"[scenarios],"FEDHeat-comNREEJ" [scenarios]) Units:EJ Commercialheatproducedincogerationnuclearplants.(0553)fractionstored[hydro,scenarios]= 0 fractionstored["geot-elec",scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

116

0 fractionstored["solidbioE-elec",scenarios]= 0 fractionstored[oceanic,scenarios]= 0 fractionstored[windonshore,scenarios]= 0.2 fractionstored[windoffshore,scenarios]= 0.2 fractionstored[solarPV,scenarios]= 0.2 fractionstored[CSP,scenarios]= 0.2 Units:Dmnl (0554)gCH4perMJoil= GETXLSCONSTANTS('inputs.xlsx','Parameters','C100') Units:GtCO2/MToe CH4emissionsassociatedtotheextractionofoil.Ref:Fig.2 Howarth(2015).(0555)gCO2perMJshaleoil= GETXLSCONSTANTS('inputs.xlsx','Parameters','C96') Units:gCO2/MJ CO2emissionfactorshaleoil.(0556)gCO2eperKWhbiomass= GETXLSCONSTANTS('inputs.xlsx','Parameters','E8') Units:gCO2e/kWh Nodata.(0557)GJperEJ= GETXLSCONSTANTS('inputs.xlsx','Constants','C14') Units:Dmnl ConversionfromGJtoEJ(1EJ=1e9GJ).(0558)Globalenergyintensitybysector[scenarios,sectors]= SUM(Evolfinalenergyintensitybysectorandfuel[scenarios,sectors,finalsources !]) Units:**undefined** (0559)Grossfixedcapitalformation[scenarios,sectors]=INTEG( variationGFCF[scenarios,sectors]-GFCFnotcovered[scenarios,sectors], initialGFCF[sectors])

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

117

Units:Mdollars Valueofgrossfixedcapitalformation(0560)GtCcumulated: GtCA2,GtCA1G,GtCB1 (0561)GtCO2IPCCemissions: GtCO2eA1,GtCO2eA2,GtCO2eB1,GtCO2eB2 (0562)GTLpotentialproduction[scenarios]=INTEG( replacementGTL[scenarios]+variationGTL[scenarios]-wearGTL[scenarios], initialGTLproduction) Units:EJ/Year AnnualGTLpotentialproduction.(0563)HeatCapacityRatio= GETXLSCONSTANTS('inputs.xlsx','Parameters','C117') Units:watt/(meter*meter*DegreesC)[0.1,1] [Fidddaman]RatioofThermalCapacityofDeepOceantoHeat TransferTimeConstant[R2/Tau12]./0.44/[DICE-2013R]c3 Transfercoefficientuppertolowerstratum/0.088/(0564)HistgrowthCTL= GETXLSCONSTANTS('inputs.xlsx','Constants','C82') Units:1/Year HistoricgrowthofCTL1990-2014(IEABalances).(0565)HistgrowthGTL= GETXLSCONSTANTS('inputs.xlsx','Constants','C83') Units:1/Year HistoricgrowthofGTL2000-2014(IEABalances).(0566)"Histsharegas/(coal+gas)Elec":INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','25','H40') Units:Dmnl Shareofnaturalgasforelectricityinrelationtothetotal gas+coal.(0567)HistshareoilElec:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','25','H39') Units:Dmnl Shareofoilforelectricity(DataextractedfromdatabaseWorld Bank:"Electricityproductionfromoilsources(%oftotal)"/ "Electricityproductionfromoil,gasandcoalsources(%of

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

118

total)").(0568)histvarinlandT[scenarios,vehicleT]= 0 Units:**undefined** historicalgrowthofalternativepercentagesoftransport vehicles.(0569)histvarpercentH[scenarios,liq4wheels]= 0 histvarpercentH[scenarios,hib4wheels]= IFTHENELSE(Time>2005,(percentHvehiclesinitial[hib4wheels]-0)/(ThistHtransp [BAU]-2005),0) histvarpercentH[scenarios,elec4wheels]= IFTHENELSE(Time<2005,0,(percentHvehiclesinitial[elec4wheels]-0)/( ThistHtransp[BAU]-2005)) histvarpercentH[scenarios,gas4wheels]= IF THEN ELSE( Time<2005,0, (percent H vehicles initial[gas 4wheels]-0)/(T hist Htransp [BAU]-2005)) histvarpercentH[scenarios,liq2wheels]= 0 histvarpercentH[scenarios,elec2wheels]= IFTHENELSE(Time<2005,0,(percentHvehiclesinitial[elec2wheels]-0)/( ThistHtransp[BAU]-2005)) Units:Mvehicles/yr historicalevolutionofpercentofvehiclesbasedonthelinear interpolationbetween2005andThistHtransp(default2015). Before2005allvehiclesareliquidbased.Percentsrelativeto 2w+4w(0570)HistoricbiogasPES= GETXLSLOOKUPS('inputs.xlsx','Constants','216','B231') Units:EJ/Year Historicproductionofbiogases(1990-2014).(0571)Historicdemandbysector[sectors]= GETXLSLOOKUPS('inputs.xlsx','Economy','1','B2') Units:Mdollars Historicdemand(35WIODsectors).US$1995(0572)Historicfinalenergyintensitybysectorandfuel[electricity,sectors ]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C48')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

119

Historicfinalenergyintensitybysectorandfuel[heat,sectors]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C84') Historicfinalenergyintensitybysectorandfuel[liquids,sectors]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C120') Historicfinalenergyintensitybysectorandfuel[gases,sectors]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C156') Historicfinalenergyintensitybysectorandfuel[solids,sectors]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C192') Units:EJ/Tdollars Energyintensity.(35WIODsectors&finalsources).US$1995(0573)HistoricfinalenergyintensityH[electricity]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C83') HistoricfinalenergyintensityH[heat]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C119') HistoricfinalenergyintensityH[liquids]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C155') HistoricfinalenergyintensityH[solids]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C227') HistoricfinalenergyintensityH[gases]= GETXLSLOOKUPS('inputs.xlsx','Economy','47','C191') Units:EJ/Tdollars Historicfinalenergyintensitybyfinalsouerce(WIODdata)(0574)historicGDPgrowth:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Economy','324','B325') Units:Dmnl HistoricGDPWorld.WIOD(1995-2009)andWorldBank(2009-2014)(0575)HistoricGFCF[sectors]= GETXLSLOOKUPS('inputs.xlsx','Economy','514','B515') Units:Mdollars Historicgrossfixedcapitalformation(WIOD-35sectors)(0576)historicgrowthcapitalshare[scenarios]= -growthlabourshare[scenarios]*labourshare[scenarios]/(1-labourshare[scenarios ]) Units:Dmnl Historiccapitalsharevariation(owncalculationsfrom WIOD-SEA).(0577)historicgrowthlabourshare:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Economy','324','B326') Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

120

Historicvariationoflabourshare(owncalculationsfrom WIOD-SEA).(0578)HistoricHD[sectors]= GETXLSLOOKUPS('inputs.xlsx','Economy','475','B476') Units:**undefined** Historicalfinaldemandbyhouseholds(WIOD-35sectors)(0579)Historicimprovementrecyclingratesminerals[materials]= 0 Units:percent Duetothelargeuncertaintyandslowevolutionofthesedata, historicalrecyclingratesmineralscorrespondwiththecurrent estimates(UNEP,2011).(0580)HistoricnewplannedcapacityRESelec[RESelec]= tablehistcapacityRESelec[RESelec](Time+"totaltimeplan+constrRESelec" [RESelec]+1)-tablehistcapacityRESelec[RESelec](Time+"totaltimeplan+constrRESelec" [RESelec]) Units:TW (Assuming100%ofplannedwasconstructed).(0581)"Historicnon-energyuse"[liquids]= GETXLSLOOKUPS('inputs.xlsx','Constants','189','C191') "Historicnon-energyuse"[solids]= GETXLSLOOKUPS('inputs.xlsx','Constants','189','C190') "Historicnon-energyuse"[gases]= GETXLSLOOKUPS('inputs.xlsx','Constants','189','C192') "Historicnon-energyuse"[electricity]( GETXLSLOOKUPS('inputs.xlsx','Constants','189','C193')) "Historicnon-energyuse"[heat]( GETXLSLOOKUPS('inputs.xlsx','Constants','189','C193')) Units:EJ Historicdatanon-energyusebyfinalfuel.(0582)HistoricnucleargenerationTWh( GETXLSLOOKUPS('inputs.xlsx','Constants','25','C69')) Units:TWh/Year HistoricdataofannualproductionfromnuclearenergyinTWh.(0583)HistoricPESpeatEJ:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','216','B230') Units:EJ Historicprimaryenergysupplyofpeat.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

121

(0584)HistoricPESwasteEJ= GETXLSLOOKUPS('inputs.xlsx','Constants','216','B218') Units:EJ/Year Historicprimaryenergysupplyofwaste(1990-2014).(0585)historicratefinalenergyintensity[sectors,finalsources]= Historicfinalenergyintensitybysectorandfuel[finalsources,sectors] (Time+1)-Historicfinalenergyintensitybysectorandfuel[finalsources, sectors](Time) Units:**undefined** (0586)historicratefinalenergyintensityH[finalsources]= HistoricfinalenergyintensityH[finalsources](Time+1)-HistoricfinalenergyintensityH [finalsources](Time) Units:EJ/Tdollars/Year Historicvariationoffinalenergyintensitybyfinalsouerce (WIODdata)(0587)"HistoricREScapacityforheat-com0"["solar-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H66')) "HistoricREScapacityforheat-com0"["geot-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H67')) "HistoricREScapacityforheat-com0"["solidbioE-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H65')) Units:TW HistoricinstalledcapacityofREStechnologiesforheat generation.(0588)"HistoricREScapacityforheat-com"["solar-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H66')) "HistoricREScapacityforheat-com"["geot-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H67')) "HistoricREScapacityforheat-com"["solidbioE-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H65')) Units:TW HistoricinstalledcapacityofREStechnologiesforcommercial heatgeneration.(0589)"HistoricREScapacityforheat-nc"["solar-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H62')) "HistoricREScapacityforheat-nc"["geot-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H63'))

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

122

"HistoricREScapacityforheat-nc"["solidbioE-heat"]( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H61')) Units:TW HistoricinstalledcapacityofREStechnologiesfor non-commercialheatgeneration.(0590)historicshareCHPplantsgas:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','25','H30') Units:Dmnl Historicshareofnaturalgasforelectricityinrelationtothe totalfossilfuelsforCHPplants(0591)historicshareCHPplantsoil:= GETXLSDATA('inputs.xlsx','Constants','25','H32') Units:Dmnl historicshareCHPplantsoil(0592)Historicshareliquidsforheatplants:= GETXLSDATA('inputs.xlsx','Constants','25','H75') Units:Dmnl Historicshareliquidsforheatplants(0593)Historicshareoflossesvsextraction[liquids]:= GETXLSDATA('inputs.xlsx','Constants','196','B198') Historicshareoflossesvsextraction[solids]:= GETXLSDATA('inputs.xlsx','Constants','196','B197') Historicshareoflossesvsextraction[gases]:= GETXLSDATA('inputs.xlsx','Constants','196','B199') Units:Dmnl Historicsharelossesofeachfossilfuelvsannualextraction. (OwnelaborationfromIEAbalances)(0594)Historicshareoftransformationlossesvsextraction[liquids]:= GETXLSDATA('inputs.xlsx','Constants','203','B204') Historicshareoftransformationlossesvsextraction[solids]:= GETXLSDATA('inputs.xlsx','Constants','203','B205') Units:Dmnl Historicsharetransformationlossesofeachfossilfuelvs annualextraction.(OwnelaborationfromIEAbalances)(0595)Historicunconvgas:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','25','C35') Units:EJ/Year HistoricunconventionalextractionfromMohretal(2015).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

123

(0596)Historicunconvoil:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','25','C34') Units:EJ/Year HistoricunconventionalextractionfromMohretal(2015).(0597)historicvariationdemand[scenarios,sectors]= Historicdemandbysector[sectors](Time+1)-Historicdemandbysector[sectors ](Time) Units:Mdollars Historicvariationofdemand(35WIODsectors).US$1995(0598)HistoricalextractionmineralsRest[Adhesive]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD5')) HistoricalextractionmineralsRest[Aluminium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD6')) HistoricalextractionmineralsRest[Aluminiummirrors]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD7')) HistoricalextractionmineralsRest[Cadmium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD8')) HistoricalextractionmineralsRest[Carbonfiber]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD9')) HistoricalextractionmineralsRest[Cement]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD10')) HistoricalextractionmineralsRest[Chromium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD11')) HistoricalextractionmineralsRest[Copper]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD12')) HistoricalextractionmineralsRest[diesel]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD13')) HistoricalextractionmineralsRest[Dy]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD14')) HistoricalextractionmineralsRest["Electric/electroniccomponents"]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD15')) HistoricalextractionmineralsRest[Evacuationlines]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD16')) HistoricalextractionmineralsRest[Fiberglass]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD17')) HistoricalextractionmineralsRest[Foamglass]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD18')) HistoricalextractionmineralsRest[Galium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD19')) HistoricalextractionmineralsRest[Glass]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD20'))

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

124

HistoricalextractionmineralsRest[Glassreinforcingplastic]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD21')) HistoricalextractionmineralsRest[gravel]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD22')) HistoricalextractionmineralsRest[Indium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD23')) HistoricalextractionmineralsRest[Iron]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD24')) HistoricalextractionmineralsRest[KNO3mined]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD25')) HistoricalextractionmineralsRest[Asphalt]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD26')) HistoricalextractionmineralsRest[Lime]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD27')) HistoricalextractionmineralsRest[Limestone]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD28')) HistoricalextractionmineralsRest[Lithium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD29')) HistoricalextractionmineralsRest[Lubricant]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD30')) HistoricalextractionmineralsRest[Magnesium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD31')) HistoricalextractionmineralsRest[Manganese]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD32')) HistoricalextractionmineralsRest[Heavyequipment]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD33')) HistoricalextractionmineralsRest[Concrete]( GETXLSLOOKUPS('inputs.xlsx','Constants','3','BD34')) HistoricalextractionmineralsRest[Molybdenum]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD35')) HistoricalextractionmineralsRest[NaNO3mined]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD36')) HistoricalextractionmineralsRest[NaNO3synthetic]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD37')) HistoricalextractionmineralsRest[Neodymium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD38')) HistoricalextractionmineralsRest[Nickel]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD39')) HistoricalextractionmineralsRest["Overgrid(15%)"]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD40')) HistoricalextractionmineralsRest["Overgrid(5%)"]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD41')) HistoricalextractionmineralsRest[Paint]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD42'))

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

125

HistoricalextractionmineralsRest[Lead]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD43')) HistoricalextractionmineralsRest[Plastics]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD44')) HistoricalextractionmineralsRest[Polypropylene]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD45')) HistoricalextractionmineralsRest[Rock]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD46')) HistoricalextractionmineralsRest[Rockwool]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD47')) HistoricalextractionmineralsRest[Sand]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD48')) HistoricalextractionmineralsRest[Siliconsand]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD49')) HistoricalextractionmineralsRest[Siliconwafermodules]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD50')) HistoricalextractionmineralsRest[Silver]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD51')) HistoricalextractionmineralsRest[Sitepreparation]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD52')) HistoricalextractionmineralsRest[Tin]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD53')) HistoricalextractionmineralsRest[sodaash]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD54')) HistoricalextractionmineralsRest[steel]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD55')) HistoricalextractionmineralsRest[syntheticoil]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD56')) HistoricalextractionmineralsRest[tellurium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD57')) HistoricalextractionmineralsRest[titanium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD58')) HistoricalextractionmineralsRest[titaniumdioxide]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD59')) HistoricalextractionmineralsRest[vanadium]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD60')) HistoricalextractionmineralsRest[wires]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD61')) HistoricalextractionmineralsRest[zinc]( GETXLSLOOKUPS('inputs.xlsx','Materials','3','BD62')) Units:tonnes Historicalextractionofmineralsoftherestoftheeconomy.(0599)historicalmeanrateenergyintensity[AgricultureHuntingForestryandFishing

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

126

,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B4') historicalmeanrateenergyintensity[MiningandQuarrying,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G4') historicalmeanrateenergyintensity[FoodBeveragesandTobacco,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L4') historicalmeanrateenergyintensity[TextilesandTextileProducts,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q4') historicalmeanrateenergyintensity[LeatherLeatherandFootwear,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V4') historicalmeanrateenergyintensity[WoodandProductsofWooodandCork, finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA4') historicalmeanrateenergyintensity[PulpPaperPrintingandPublishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF4') historicalmeanrateenergyintensity[CokeRefinedPetroleumandNuclearFuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK4') historicalmeanrateenergyintensity[ChemicalsandChemicalproducts,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP4') historicalmeanrateenergyintensity[RubberandPlastics,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU4') historicalmeanrateenergyintensity[OtherNonMetalicMineral,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ4') historicalmeanrateenergyintensity[BasicMetalsandFabricatedMetal,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE4') historicalmeanrateenergyintensity[MachineryNec,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ4') historicalmeanrateenergyintensity[ElectricalandOpticalEquipment,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO4') historicalmeanrateenergyintensity[TransportEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT4') historicalmeanrateenergyintensity[ManufacturingNecRecycling,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY4') historicalmeanrateenergyintensity[ElectricityGasandWaterSupply,finalsources

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

127

]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD4') historicalmeanrateenergyintensity[Construction,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI4') historicalmeanrateenergyintensity[SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN4') historicalmean rate energy intensity[Wholesale Trade andCommissions Trade Except ofMotorvehiclesandMotorcycles ,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS4') historicalmeanrateenergyintensity[RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX4') historicalmeanrateenergyintensity[HotelsandRestaurants,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC4') historicalmeanrateenergyintensity[InlandTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH4') historicalmeanrateenergyintensity[WaterTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM4') historicalmeanrateenergyintensity[AirTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR4') historicalmean rate energy intensity[Other Supporting and Auxiliary Transport ActivitiesActivitiesofTravelAgencies , finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW4') historicalmeanrateenergyintensity[PostandTelecommunications,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB4') historicalmeanrateenergyintensity[FinancialIntermedation,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG4') historicalmeanrateenergyintensity[RealEstateActivities,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL4') historicalmeanrateenergyintensity[RentingodMEqandOtherBusinessActivities ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ4')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

128

historicalmeanrateenergyintensity[PublicAdminandDefenceCompulsorySocialSecurity ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV4') historicalmeanrateenergyintensity[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA4') historicalmeanrateenergyintensity[HealthandSocialWork,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF4') historicalmeanrateenergyintensity[OtherCommunitySocialandPersonaServices ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK4') historicalmeanrateenergyintensity[PrivateHouseholdswithEmployedPersons ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP4') Units:**undefined** (0600)historicalmeanrateenergyintensityH[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU4') Units:Dmnl Historicaltrendofhouseholdsenergyintensitybyfinalsouerce (OLSmethod)(0601)HistoricalvariationmineralsextractionRest[materials]= HistoricalextractionmineralsRest[materials](Time+1)-HistoricalextractionmineralsRest [materials](Time) Units:tonnes Historicalvariationintheextractionofmineralsoftherest oftheeconomy.(0602)Householddemand[scenarios,sectors]=INTEG(variationhouseholddemand [scenarios,sectors]-Householddemandnotcovered[scenarios,sectors], initialhouseholddemand[sectors]) Units:Mdollars FinalddemandbyHouseholds(0603)Householddemandnotcovered[scenarios,sectors]= IF THEN ELSE(Time<2009,0,Household demand[scenarios,sectors]-Real Householddemand [scenarios,sectors]) Units:Mdollars/Year Gapbetweenhouseholdsconsumptionrequiredandhouseholdsreal consumption(afterenergy-economyfeedback)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

129

(0604)Householddemandtotal[scenarios]= SUM(Householddemand[scenarios,sectors!])/1e+006 Units:Tdollars Economichouseholdsdemand(inmillionUS$1995)(0605)Householdsfinalenergydemand[scenarios,finalsources]= Householddemandtotal[scenarios]*Energyintensityofhouseholds[scenarios ,finalsources] Units:EJ Finalenergydemandofhouseholds(0606)Householdsvehicles: liq4wheels,hib4wheels,elec4wheels,gas4wheels,liq2wheels,elec2wheels (0607) IMatrix[sectors,sectors1]= GETXLSCONSTANTS('inputs.xlsx','Economy','A282') Units:**undefined** IdentityMatrix(0608) IAMatrix[sectors,sectors1]= IMatrix[sectors,sectors1]-AMatrix[sectors,sectors1] Units:**undefined** Matrix(I-A)inIOA.AprevioussteptoobtainLeontiefMatrix andtocalculatefinalddemandonceproductionisgiven.(0609) Implementatiopolicytochangefinalenergy[scenarios,sectors,finalsources ]= IFTHENELSE(Yearpolicychangeenergy[sectors,finalsources]=2020,IFTHENELSE (Policychangeenergyspeed[sectors ,finalsources]=1,QuickimplementationpolicyOT,IFTHENELSE(Policychangeenergyspeed [sectors,finalsources]=3,SlowimplementationpolicyOT,MediumimplementationpolicyOT )),IFTHENELSE(Yearpolicychangeenergy[sectors,finalsources]=2030,IFTHENELSE (Policychangeenergyspeed[sectors,finalsources]=1,QuickimplementationpolicyMLT1 , IFTHENELSE(Policychangeenergyspeed[sectors,final sources]=3,Slow implementationpolicyMLT1 ,MediumimplementatiopolicyMLT1)),IFTHENELSE(Yearpolicychangeenergy [sectors,finalsources]=2040,IFTHENELSE(Policychangeenergyspeed[sectors ,final sources]=1,Quick implementation policyMLT2, IF THENELSE(Policy change energyspeed [sectors,finalsources]=3,SlowimplemenationpolicyMLT2,MediumimplementationpolicyMLT2 )),0))) Units:**undefined**

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

130

(0610) ImplementatiopolicytochangefinalenergyH[scenarios,finalsources ]= IFTHENELSE(YearpolicychangeenergyH[finalsources]=2020,IFTHENELSE (PolicychangeenergyspeedH[finalsources]=1,QuickimplementationpolicyOTH , IFTHENELSE(PolicychangeenergyspeedH[finalsources]=3,SlowimplementationpolicyOTH ,MediumimplementationpolicyOTH )),IFTHENELSE(YearpolicychangeenergyH[finalsources]=2030,IFTHENELSE (PolicychangeenergyspeedH[finalsources]=1,QuickimplementationpolicyMLT1H ,IFTHENELSE(PolicychangeenergyspeedH[finalsources]=3,SlowimplementationpolicyMLT1H ,MediumimplementatiopolicyMLT1H)),IFTHENELSE(YearpolicychangeenergyH [finalsources]=2040,IFTHENELSE(PolicychangeenergyspeedH[finalsources ]=1,QuickimplementationpolicyMLT2H,IFTHENELSE(PolicychangeenergyspeedH [finalsources]=3,SlowimplemenationpolicyMLT2H,MediumimplementationpolicyMLT2H )),0))) Units:**undefined** (0611) Implementationpolicytoimproveenergyintensityeffciency[scenarios ,sectors,finalsources]= IFTHENELSE(Yearpolicytoimproveefficiency[sectors,finalsources]=2020 ,IFTHENELSE(Policytoimproveefficiencyspeed[sectors,finalsources]=1 ,QuickimplementationpolicyOT,IFTHENELSE(Policytoimproveefficiencyspeed [sectors,finalsources]=3,SlowimplementationpolicyOT,MediumimplementationpolicyOT )),IFTHENELSE(Yearpolicytoimproveefficiency[sectors,finalsources] =2030,IFTHENELSE(Policytoimproveefficiencyspeed[sectors,finalsources ]=1,QuickimplementationpolicyMLT1,IFTHENELSE(Policytoimproveefficiencyspeed [sectors,finalsources]=3,SlowimplementationpolicyMLT1,MediumimplementatiopolicyMLT1 )),IFTHENELSE(Yearpolicytoimproveefficiency[sectors,finalsources]= 2040,IFTHENELSE(Policytoimproveefficiencyspeed[sectors,finalsources ]=1,QuickimplementationpolicyMLT2,IFTHENELSE(Policytoimproveefficiencyspeed [sectors,finalsources]=3,SlowimplemenationpolicyMLT2,MediumimplementationpolicyMLT2 )),0))) Units:**undefined** (0612) ImplementationpolicytoimproveenergyintensityeffciencyH[scenarios ,finalsources]= IFTHENELSE(YearpolicytoimproveefficiencyH[finalsources]=2020,IFTHENELSE (PolicytoimproveefficiencyspeedH[finalsources]=1,QuickimplementationpolicyOTH

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

131

, IFTHENELSE(PolicytoimproveefficiencyspeedH[finalsources]=3,SlowimplementationpolicyOTH ,MediumimplementationpolicyOTH )),IFTHENELSE(YearpolicytoimproveefficiencyH[finalsources]=2030, IFTHENELSE(PolicytoimproveefficiencyspeedH[finalsources]=1,QuickimplementationpolicyMLT1H ,IFTHENELSE(PolicytoimproveefficiencyspeedH[finalsources]=3,SlowimplementationpolicyMLT1H ,MediumimplementatiopolicyMLT1H)),IFTHENELSE(YearpolicytoimproveefficiencyH [finalsources]=2040,IFTHENELSE(PolicytoimproveefficiencyspeedH[finalsources ]=1,QuickimplementationpolicyMLT2H,IFTHENELSE(PolicytoimproveefficiencyspeedH [finalsources]=3,SlowimplemenationpolicyMLT2H,MediumimplementationpolicyMLT2H )),0))) Units:**undefined** (0613) improvementrecyclingratesmineralsalttechn[materials,scenarios]= IFTHENELSE(Time<2015,Historicimprovementrecyclingratesminerals[materials ],recyclingratesmineralsalttechn[materials,scenarios]*remainingrecyclingrateimprovforalttechnpermineral [materials,scenarios]*Precyclingmineralsalttechn[scenarios]) Units:Dmnl Annualimprovementoftherecyclingratesofmineralsfor alternativetechnologies(RESelec&EVbatteries).(0614) improvementrecyclingratesmineralsRest[materials,scenarios]= IFTHENELSE(Time<2015,Historicimprovementrecyclingratesminerals[materials ],recyclingratesmineralsRest [materials,scenarios]*remainingrecyclingrateimprovRestpermineral[materials ,scenarios]*PrecyclingmineralsRest [scenarios]) Units:Dmnl Annualimprovementoftherecyclingratesofmineralsforthe restoftheeconomy.(0615)"includematerialsforovergrids?"= 0 Units:Dmnl 1.IncludematerialsforovergridsintheCEDofRESelecvar0: NOTincludematerialsforovergridsintheCEDofRESelecvar(0616) increaseabundanceunconvoil[scenarios]= abundanceunconvoil[scenarios]-abundanceunconvoildelayed1yr[scenarios

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

132

] Units:Dmnl (0617) IncreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,liquids]= DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,solids]*efficiencyrateofsubstitutionH[liquids,solids]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,gases]*efficiencyrateofsubstitutionH[liquids,gases]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,electricity]*efficiencyrateofsubstitutionH[liquids,electricity ]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,heat]*efficiencyrateofsubstitutionH[liquids,heat] IncreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,gases]= DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,solids]*efficiencyrateofsubstitutionH[gases,solids]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,electricity]*efficiencyrateofsubstitutionH[gases,electricity ]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,heat]*efficiencyrateofsubstitutionH[gases,heat]+Decreaseof intensityduetoenergyatechnologychangeHTOPDOWN [scenarios,liquids]*efficiencyrateofsubstitutionH[gases,liquids] IncreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,solids]= DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,gases]*efficiencyrateofsubstitutionH[solids,gases]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,electricity]*efficiencyrateofsubstitutionH[solids,electricity ]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,heat]*efficiencyrateofsubstitutionH[solids,heat]+Decreaseof intensityduetoenergyatechnologychangeHTOPDOWN [scenarios,liquids]*efficiencyrateofsubstitutionH[solids,liquids] IncreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,electricity]= DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,solids]*efficiency rate of substitution H[electricity,solids]+Decrease of intensity due toenergyatechnologychangeHTOPDOWN [scenarios,gases]*efficiency rate of substitution H[electricity,gases]+Decrease of intensityduetoenergyatechnologychangeHTOPDOWN [scenarios,heat]*efficiencyrateofsubstitutionH[electricity,heat]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,liquids]*efficiencyrateofsubstitutionH[electricity,liquids] IncreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

133

,heat]= DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,solids]*efficiencyrateofsubstitutionH[heat,solids]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,gases]*efficiencyrateofsubstitutionH[heat,gases]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN [scenarios,electricity]*efficiencyrateofsubstitutionH[heat,electricity ]+DecreaseofintensityduetoenergyatechnologychangeHTOPDOWN[scenarios ,liquids]*efficiencyrateofsubstitutionH[heat,liquids] Units:EJ/Tdollars Wheninhouseholds,onetypeofenergy(a)isreplacedby another(b),theenergyintensityof(b)willincreaseandthe energyintensityof(a)willdecrease.Thisflowrepresentsthe increaseof(b).(0618) IncreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,liquids]= DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,solids]*efficiency rate of substitution[sectors,liquids,solids]+Decrease of intensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,gases]*efficiencyrateofsubstitution[sectors,liquids, gases]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,electricity]*efficiencyrateofsubstitution[sectors,liquids,electricity ]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,heat]*efficiencyrateofsubstitution[sectors,liquids,heat] IncreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,gases]= DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,solids]*efficiency rate of substitution[sectors,gases, solids]+Decrease of intensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,electricity]*efficiencyrateofsubstitution[sectors,gases ,electricity]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,heat]*efficiencyrateofsubstitution[sectors,gases,heat ]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,liquids]*efficiencyrateofsubstitution[sectors,gases,liquids] IncreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,solids]= DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,gases]*efficiency rate of substitution[sectors,solids,gases]+Decrease of intensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,electricity]*efficiencyrateofsubstitution[sectors,solids ,electricity]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,heat]*efficiencyrateofsubstitution[sectors,solids,heat ]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

134

,sectors,liquids]*efficiencyrateofsubstitution[sectors,solids,liquids] IncreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,electricity]= DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,solids]*efficiencyrateofsubstitution[sectors,electricity,solids ]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,gases]*efficiencyrateofsubstitution[sectors,electricity,gases] +DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,heat]*efficiencyrateofsubstitution[sectors,electricity,heat]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,liquids]*efficiencyrateofsubstitution[sectors,electricity ,liquids] IncreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,heat]= DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,solids]*efficiencyrateofsubstitution[sectors,heat,solids]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN [scenarios,sectors,gases]*efficiencyrateofsubstitution[sectors,heat,gases ]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,electricity]*efficiencyrateofsubstitution[sectors,heat,electricity ]+DecreaseofintensityduetoenergyatechnologychangeTOPDOWN[scenarios ,sectors,liquids]*efficiencyrateofsubstitution[sectors,heat,liquids] Units:**undefined** Wheninoneeconomicsector,onetypeofenergy(a)isreplaced byanother(b),theenergyintensityof(b)willincreaseand theenergyintensityof(a)willdecrease.Thisflowrepresents theincreaseof(b).(0619) increasescarcityconvgas[scenarios]= scarcity convgas stock[scenarios]*ZIDZ( (scarcity convgas[scenarios]-scarcity convgasdelayed1yr [scenarios]),scarcityconvgas[scenarios]) Units:Dmnl (0620) inertialrateenergyintensityHTOPDOWN[scenarios,finalsources]= IFTHENELSE(Time>2008,IFTHENELSE((historicalmeanrateenergyintensityH [finalsources]+EfficiencyenergyacelerationH [scenarios,finalsources])<0,EvolfinalenergyintensityH[scenarios,finalsources ] *(historicalmeanrateenergyintensityH[finalsources] +Efficiency energy aceleration H[scenarios,final sources])*available improvementefficiencyH [scenarios],Initialenergyintensity1995H [finalsources]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

135

*(historicalmeanrateenergyintensityH[finalsources]+EfficiencyenergyacelerationH [scenarios,finalsources])), historicratefinalenergyintensityH[finalsources]) Units:EJ/Tdollars Thisvariablemodelsthevariationoftheenergyintensity accordingtothehistoricaltrendandrepresentsthevariation ofthetechnologicalenergyefficiencyinhouseholdsforeach typeofenergy.Bydefaultitwillfollowthehistoricaltrend butcanbemodifiedbypoliciesormarketconditionsthat acceleratechange.(0621) inertialrateenergyintensityTOPDOWN[scenarios,sectors,finalsources ]= IFTHENELSE(Time>2008,IFTHENELSE(ActivateBOTTOMUPmethod[sectors]=0 :OR:ratechangeintensityBOTTOMUP[scenarios,sectors,finalsources]=0,IFTHENELSE ((historicalmeanrateenergyintensity [sectors,finalsources]+Efficiencyenergyaceleration[scenarios,sectors,finalsources ])<0,Evolfinalenergyintensitybysectorandfuel [scenarios,sectors,finalsources]*(historicalmeanrateenergyintensity [sectors,finalsources ]+Efficiency energy aceleration[scenarios,sectors,final sources])*availableimprovementefficiency [scenarios,sectors],Initialenergyintensitybyfuelandsector1995 [sectors,finalsources]*(historicalmeanrateenergyintensity[sectors,finalsources ]+Efficiencyenergyaceleration[scenarios ,sectors,finalsources])),0), historicratefinalenergyintensity[sectors,finalsources]) Units:**undefined** Thisvariablemodelsthevariationoftheenergyintensity accordingtothehistoricaltrendandrepresentsthevariation ofthetechnologicalenergyefficiencyineacheconomicsector foreachtypeofenergy.Bydefaultitwillfollowthe historicaltrendbutcanbemodifiedbypoliciesormarket conditionsthatacceleratechange.(0622) initCO2inAtmos= initCO2inAtmosppm*ppmperGtC*tperGt Units:TonC InitialCO2inatmosphere.[DICE-1994]InitialGreenhouseGases inAtmosphere1965[M(t)](tCequivalent).[Cowles,pg.21] /6.77e+011/[DICE-2013R]mat0:Initialconcentrationin atmosphere2010(GtC)/830.4/

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

136

(0623) initCO2inAtmosppm= GETXLSCONSTANTS('inputs.xlsx','Parameters','C111') Units:ppm InitialCO2inatmosphere.HistoricalMaunaLoaCO2Record: Averagebetween1standlastmonthof1990was: (353.74+355.12)/2=354.43ppmHistoricalMaunaLoaCO2Record: Averagebetween1standlastmonthof1995was: (359.92+360.68)/2=360.3ppm ftp://ftp.cmdl.noaa.gov/products/trends/co2/co2_mm_mlo.txt [DICE-1994]InitialGreenhouseGasesinAtmosphere1965[M(t)] (tCequivalent).[Cowles,pg.21]/6.77e+011/[DICE-2013R] mat0:Initialconcentrationinatmosphere2010(GtC)/830.4/(0624) initial2wpercent= GETXLSCONSTANTS('inputs.xlsx','Transportation','B32') Units:**undefined** 2015percentof2wheelers0,332(0625) initialcapacityinconstructionnuclear= 0 Units:TW Initialcapacityinconstructionofnuclear(year1995).(0626) initialcapacityinconstructionRESelec[RESelec]= initialplannedcapacityRESelec[RESelec] Units:GW InitialcapacityofRESbytechnologyinconstruction(year 1995).Weassumethatitisthesamethantheadditional installedcapacitybetween1995and1996.(0627) initialcapacityinstallednuclear= initialgennuclear*TWeperTWh/Cpnuclearinitial Units:TW Initialcapacityinstalledofnuclearpower.(0628) initialCTLproduction= GETXLSCONSTANTS('inputs.xlsx','Constants','H36') Units:EJ/Year CTLproductionintheinitialyear1995(IEAbalances).(0629) initialcumulatedmaterialrequirementsforEVbatteries1995= 0 Units:Mt

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

137

(0630) initialcumulatedmaterialrequirementsforRESelec1995= 0 Units:Mt (0631) initialcumulatedmaterialrequirementsforRest1995= 0 Units:Mt (0632) initialdemandbysectot[sectors]= GETXLSCONSTANTS('inputs.xlsx','Economy','B341') Units:Mdollars (0633)"Initialenergyconsperunitofmaterialcons(recycled)-data"[Adhesive ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z5') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Aluminium ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z6') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Aluminiummirrors ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z7') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Cadmium] = GETXLSCONSTANTS('inputs.xlsx','Materials','Z8') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Carbonfiber ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z9') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z10') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Chromium ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z11') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z12') "Initialenergyconsperunitofmaterialcons(recycled)-data"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z13') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z14') "Initial energy cons per unit of material cons (recycled) - data"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z15') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Evacuationlines ]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

138

GETXLSCONSTANTS('inputs.xlsx','Materials','Z16') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Fiberglass ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z17') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Foamglass ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z18') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z19') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z20') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z21') "Initialenergyconsperunitofmaterialcons(recycled)-data"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z22') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z23') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z24') "Initialenergyconsperunitofmaterialcons(recycled)-data"[KNO3mined ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z25') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Asphalt] = GETXLSCONSTANTS('inputs.xlsx','Materials','Z26') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z27') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Limestone ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z28') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Lithium] = GETXLSCONSTANTS('inputs.xlsx','Materials','Z29') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Lubricant ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z30') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Magnesium ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z31') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Manganese ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z32') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Heavyequipment

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

139

]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z33') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Concrete ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z34') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Molybdenum ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z35') "Initialenergyconsperunitofmaterialcons(recycled)-data"[NaNO3mined ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z36') "Initialenergyconsperunitofmaterialcons(recycled)-data"[NaNO3synthetic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z37') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Neodymium ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z38') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z39') "Initialenergyconsperunitofmaterialcons(recycled)-data"["Overgrid(15%)" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z40') "Initialenergyconsperunitofmaterialcons(recycled)-data"["Overgrid(5%)" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z41') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z42') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z43') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Plastics ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z44') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Polypropylene ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z45') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z46') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Rockwool ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z47') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z48') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Siliconsand ]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

140

GETXLSCONSTANTS('inputs.xlsx','Materials','Z49') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z50') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z51') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Sitepreparation ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z52') "Initialenergyconsperunitofmaterialcons(recycled)-data"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z53') "Initialenergyconsperunitofmaterialcons(recycled)-data"[sodaash ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z54') "Initialenergyconsperunitofmaterialcons(recycled)-data"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z55') "Initialenergyconsperunitofmaterialcons(recycled)-data"[syntheticoil ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z56') "Initialenergyconsperunitofmaterialcons(recycled)-data"[tellurium ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z57') "Initialenergyconsperunitofmaterialcons(recycled)-data"[titanium ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Z58') "Initialenergyconsperunitofmaterialcons(recycled)-data"[titaniumdioxide ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y59') "Initialenergyconsperunitofmaterialcons(recycled)-data"[vanadium ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y60') "Initialenergyconsperunitofmaterialcons(recycled)-data"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y61') "Initialenergyconsperunitofmaterialcons(recycled)-data"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y62') Units:MJ/kg Energyconsumptionrequiredtouserecycledmaterialsperunit ofmaterialconsumption.Thisvariablereadsdirectlyfrom "inputs.xlsx"buthas0sforthosematerialsforwhich informationwasnotfound.(0634)"Initialenergyconsperunitofmaterialcons(recycled)"[materials ]= IFTHENELSE("Initialenergyconsperunitofmaterialcons(recycled)-data"

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

141

[materials]=0,"Initialenergyconsperunitofmaterialcons(virgin)"[materials ],"Initialenergyconsperunitofmaterialcons(recycled)-data"[materials ]) Units:MJ/kg Energyconsumptionrequiredtouserecycledmaterialsperunit ofmaterialconsumption.Whendataforrecycledmaterialswas notavailable,theenergyconsumptionforvirginmaterialswas assumed.(0635)"Initialenergyconsperunitofmaterialcons(virgin)"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y5') "Initialenergyconsperunitofmaterialcons(virgin)"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y6') "Initialenergyconsperunitofmaterialcons(virgin)"[Aluminiummirrors ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y7') "Initialenergyconsperunitofmaterialcons(virgin)"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y8') "Initialenergyconsperunitofmaterialcons(virgin)"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y9') "Initialenergyconsperunitofmaterialcons(virgin)"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y10') "Initialenergyconsperunitofmaterialcons(virgin)"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y11') "Initialenergyconsperunitofmaterialcons(virgin)"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y12') "Initialenergyconsperunitofmaterialcons(virgin)"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y13') "Initialenergyconsperunitofmaterialcons(virgin)"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y14') "Initialenergyconsperunitofmaterialcons(virgin)"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y15') "Initialenergyconsperunitofmaterialcons(virgin)"[Evacuationlines] = GETXLSCONSTANTS('inputs.xlsx','Materials','Y16') "Initialenergyconsperunitofmaterialcons(virgin)"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y17') "Initialenergyconsperunitofmaterialcons(virgin)"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y18') "Initialenergyconsperunitofmaterialcons(virgin)"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y19') "Initialenergyconsperunitofmaterialcons(virgin)"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y20')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

142

"Initialenergyconsperunitofmaterialcons(virgin)"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y21') "Initialenergyconsperunitofmaterialcons(virgin)"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y22') "Initialenergyconsperunitofmaterialcons(virgin)"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y23') "Initialenergyconsperunitofmaterialcons(virgin)"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y24') "Initialenergyconsperunitofmaterialcons(virgin)"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y25') "Initialenergyconsperunitofmaterialcons(virgin)"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y26') "Initialenergyconsperunitofmaterialcons(virgin)"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y27') "Initialenergyconsperunitofmaterialcons(virgin)"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y28') "Initialenergyconsperunitofmaterialcons(virgin)"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y29') "Initialenergyconsperunitofmaterialcons(virgin)"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y30') "Initialenergyconsperunitofmaterialcons(virgin)"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y31') "Initialenergyconsperunitofmaterialcons(virgin)"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y32') "Initialenergyconsperunitofmaterialcons(virgin)"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y33') "Initialenergyconsperunitofmaterialcons(virgin)"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y34') "Initialenergyconsperunitofmaterialcons(virgin)"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y35') "Initialenergyconsperunitofmaterialcons(virgin)"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y36') "Initialenergyconsperunitofmaterialcons(virgin)"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y37') "Initialenergyconsperunitofmaterialcons(virgin)"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y38') "Initialenergyconsperunitofmaterialcons(virgin)"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y39') "Initialenergyconsperunitofmaterialcons(virgin)"["Overgrid(15%)" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y40') "Initialenergyconsperunitofmaterialcons(virgin)"["Overgrid(5%)"] =

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

143

GETXLSCONSTANTS('inputs.xlsx','Materials','Y41') "Initialenergyconsperunitofmaterialcons(virgin)"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y42') "Initialenergyconsperunitofmaterialcons(virgin)"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y43') "Initialenergyconsperunitofmaterialcons(virgin)"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y44') "Initialenergyconsperunitofmaterialcons(virgin)"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y45') "Initialenergyconsperunitofmaterialcons(virgin)"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y46') "Initialenergyconsperunitofmaterialcons(virgin)"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y47') "Initialenergyconsperunitofmaterialcons(virgin)"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y48') "Initialenergyconsperunitofmaterialcons(virgin)"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y49') "Initialenergyconsperunitofmaterialcons(virgin)"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y50') "Initialenergyconsperunitofmaterialcons(virgin)"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y51') "Initialenergyconsperunitofmaterialcons(virgin)"[Sitepreparation] = GETXLSCONSTANTS('inputs.xlsx','Materials','Y52') "Initialenergyconsperunitofmaterialcons(virgin)"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y53') "Initialenergyconsperunitofmaterialcons(virgin)"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y54') "Initialenergyconsperunitofmaterialcons(virgin)"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y55') "Initialenergyconsperunitofmaterialcons(virgin)"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y56') "Initialenergyconsperunitofmaterialcons(virgin)"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y57') "Initialenergyconsperunitofmaterialcons(virgin)"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y58') "Initialenergyconsperunitofmaterialcons(virgin)"[titaniumdioxide] = GETXLSCONSTANTS('inputs.xlsx','Materials','Y59') "Initialenergyconsperunitofmaterialcons(virgin)"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y60') "Initialenergyconsperunitofmaterialcons(virgin)"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y61')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

144

"Initialenergyconsperunitofmaterialcons(virgin)"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','Y62') Units:MJ/kg Energyconsumptionrequiredtoextractandusevirginmaterials perunitofmaterialconsumption.(0636) Initialenergyintensity1995H[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU5') Units:**undefined** (0637) Initialenergyintensitybyfuelandsector1995[AgricultureHuntingForestryandFishing ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B5') Initialenergyintensitybyfuelandsector1995[MiningandQuarrying,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G5') Initialenergyintensitybyfuelandsector1995[FoodBeveragesandTobacco ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L5') Initialenergyintensitybyfuelandsector1995[TextilesandTextileProducts ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q5') Initialenergyintensitybyfuelandsector1995[LeatherLeatherandFootwear ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V5') Initialenergyintensitybyfuelandsector1995[WoodandProductsofWooodandCork ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA5') Initialenergyintensitybyfuelandsector1995[PulpPaperPrintingandPublishing ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF5') Initialenergyintensitybyfuelandsector1995[CokeRefinedPetroleumandNuclearFuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK5') Initialenergyintensitybyfuelandsector1995[ChemicalsandChemicalproducts ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP5') Initialenergyintensitybyfuelandsector1995[RubberandPlastics,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU5') Initialenergyintensitybyfuelandsector1995[OtherNonMetalicMineral ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ5') Initialenergyintensitybyfuelandsector1995[BasicMetalsandFabricatedMetal

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

145

,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE5') Initialenergyintensitybyfuelandsector1995[MachineryNec,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ5') Initialenergyintensitybyfuelandsector1995[ElectricalandOpticalEquipment ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO5') Initialenergyintensitybyfuelandsector1995[TransportEquipment,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT5') Initialenergyintensitybyfuelandsector1995[ManufacturingNecRecycling ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY5') Initialenergyintensitybyfuelandsector1995[ElectricityGasandWaterSupply ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD5') Initialenergyintensitybyfuelandsector1995[Construction,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI5') Initial energy intensity by fuel and sector 1995[Sale Maintenance and Repair of MotorVehiclesandaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN5') Initial energy intensity by fuel and sector 1995[Wholesale Trade andCommissions TradeExceptofMotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS5') Initialenergyintensitybyfuelandsector1995[RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX5') Initialenergyintensitybyfuelandsector1995[HotelsandRestaurants,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC5') Initialenergyintensitybyfuelandsector1995[InlandTransport,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH5') Initialenergyintensitybyfuelandsector1995[WaterTransport,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM5') Initialenergyintensitybyfuelandsector1995[AirTransport,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR5')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

146

Initial energy intensityby fuel and sector 1995[Other Supporting andAuxiliary TransportActivitiesActivitiesofTravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW5') Initialenergyintensitybyfuelandsector1995[PostandTelecommunications ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB5') Initialenergyintensitybyfuelandsector1995[FinancialIntermedation,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG5') Initialenergyintensitybyfuelandsector1995[RealEstateActivities,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL5') Initialenergyintensitybyfuelandsector1995[RentingodMEqandOtherBusinessActivities ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ5') Initialenergyintensitybyfuelandsector1995[PublicAdminandDefenceCompulsorySocialSecurity ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV5') Initialenergyintensitybyfuelandsector1995[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA5') Initialenergyintensitybyfuelandsector1995[HealthandSocialWork,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF5') Initialenergyintensitybyfuelandsector1995[OtherCommunitySocialandPersonaServices ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK5') Initialenergyintensitybyfuelandsector1995[PrivateHouseholdswithEmployedPersons ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP5') Units:**undefined** (0638) Initialenergyintensityofhouseholdstransport2009[liquids]= 1.245 Initialenergyintensityofhouseholdstransport2009[solids]= 0 Initialenergyintensityofhouseholdstransport2009[gases]= 0.01711 Initialenergyintensityofhouseholdstransport2009[electricity]= 0.00472 Initialenergyintensityofhouseholdstransport2009[heat]= 0 Units:**undefined**

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

147

(0639) initialESOIPHS= "EROI-iniRESelecdispatch"[hydro]*(CpPHS/Cphydro2015) Units:Dmnl InitialESOIofPHS(beforeaccountingforthereductionofCp ofthebase-loadplantswiththepenetrationoftheintermittent RES(solarandwind)intheelectricitygenerationmix).(0640) initialgennuclear= GETXLSCONSTANTS('inputs.xlsx','Constants','H69') Units:TWh Electricgenerationfromnuclearintheinitialyear1995.(0641) initialGFCF[sectors]= GETXLSCONSTANTS('inputs.xlsx','Economy','B340') Units:Mdollars Initialgrossfixedcapitalformation(0642) InitialglobalenergyintensityH2009= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK37') Units:**undefined** InitialglobalenergyintensityH2009(0643) initialGTLproduction= GETXLSCONSTANTS('inputs.xlsx','Constants','H37') Units:EJ/Year GTLproductionintheinitialyear1995(IEAbalances).(0644) initialhouseholddemand[sectors]= GETXLSCONSTANTS('inputs.xlsx','Economy','B339') Units:**undefined** Initialfinaldemandbyhouseholds(0645) initialinstalcapRESelec[hydro]= GETXLSCONSTANTS('inputs.xlsx','Constants','H174') initialinstalcapRESelec["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H175') initialinstalcapRESelec["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H176') initialinstalcapRESelec[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Constants','H177') initialinstalcapRESelec[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Constants','H178') initialinstalcapRESelec[windoffshore]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

148

GETXLSCONSTANTS('inputs.xlsx','Constants','H179') initialinstalcapRESelec[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Constants','H180') initialinstalcapRESelec[CSP]= GETXLSCONSTANTS('inputs.xlsx','Constants','H181') Units:TWh InstalledcapacityperRESelecbytechnologyintheinitial year1995.(0646) initialmineralsextractionRest[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE5') initialmineralsextractionRest[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE6') initialmineralsextractionRest[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE7') initialmineralsextractionRest[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE8') initialmineralsextractionRest[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE9') initialmineralsextractionRest[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE10') initialmineralsextractionRest[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE11') initialmineralsextractionRest[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE12') initialmineralsextractionRest[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE13') initialmineralsextractionRest[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE14') initialmineralsextractionRest["Electric/electroniccomponents"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE15') initialmineralsextractionRest[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE16') initialmineralsextractionRest[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE17') initialmineralsextractionRest[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE18') initialmineralsextractionRest[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE19') initialmineralsextractionRest[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE20') initialmineralsextractionRest[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE21') initialmineralsextractionRest[gravel]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

149

GETXLSCONSTANTS('inputs.xlsx','Materials','BE22') initialmineralsextractionRest[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE23') initialmineralsextractionRest[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE24') initialmineralsextractionRest[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE25') initialmineralsextractionRest[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE26') initialmineralsextractionRest[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE27') initialmineralsextractionRest[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE28') initialmineralsextractionRest[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE29') initialmineralsextractionRest[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE30') initialmineralsextractionRest[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE31') initialmineralsextractionRest[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE32') initialmineralsextractionRest[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE33') initialmineralsextractionRest[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE34') initialmineralsextractionRest[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE35') initialmineralsextractionRest[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE36') initialmineralsextractionRest[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE37') initialmineralsextractionRest[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE38') initialmineralsextractionRest[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE39') initialmineralsextractionRest["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE40') initialmineralsextractionRest["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE41') initialmineralsextractionRest[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE42') initialmineralsextractionRest[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE43') initialmineralsextractionRest[Plastics]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

150

GETXLSCONSTANTS('inputs.xlsx','Materials','BE44') initialmineralsextractionRest[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE45') initialmineralsextractionRest[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE46') initialmineralsextractionRest[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE47') initialmineralsextractionRest[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE48') initialmineralsextractionRest[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE49') initialmineralsextractionRest[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE50') initialmineralsextractionRest[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE51') initialmineralsextractionRest[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE52') initialmineralsextractionRest[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE53') initialmineralsextractionRest[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE54') initialmineralsextractionRest[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE55') initialmineralsextractionRest[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE56') initialmineralsextractionRest[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE57') initialmineralsextractionRest[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE58') initialmineralsextractionRest[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE59') initialmineralsextractionRest[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE60') initialmineralsextractionRest[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE61') initialmineralsextractionRest[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','BE62') Units:tonnes Initialmineralsextractionoftherestoftheeconomy.(0647)"initialnon-energyuse"[solids]= GETXLSCONSTANTS('inputs.xlsx','Constants','C190') "initialnon-energyuse"[liquids]= GETXLSCONSTANTS('inputs.xlsx','Constants','C191')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

151

"initialnon-energyuse"[gases]= GETXLSCONSTANTS('inputs.xlsx','Constants','C192') "initialnon-energyuse"[electricity]= GETXLSCONSTANTS('inputs.xlsx','Constants','C193') "initialnon-energyuse"[heat]= GETXLSCONSTANTS('inputs.xlsx','Constants','C193') Units:EJ Non-energyuseconsumptionintheyear1995.(0648) initialpercentTvehicles[HVliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B34') initialpercentTvehicles[HVhib]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B35') initialpercentTvehicles[HVgas]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B36') initialpercentTvehicles[LVliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B37') initialpercentTvehicles[LVelec]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B38') initialpercentTvehicles[LVhib]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B39') initialpercentTvehicles[LVgas]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B40') initialpercentTvehicles[busliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B41') initialpercentTvehicles[bushib]= GETXLSCONSTANTS('inputs.xlsx','Transportation','E41') initialpercentTvehicles[busgas]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B42') initialpercentTvehicles[trainliq]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B43') initialpercentTvehicles[trainelec]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B44') initialpercentTvehicles[buselec]= 0 Units:**undefined** Initialpercentageofvehiclesofeachfuel,percentsrelative toeachclassofvehicles(LV;HV,bus,train)(0649) initialPESwaste= GETXLSCONSTANTS('inputs.xlsx','Constants','B218') Units:EJ Wasteprimaryenergysupplyin1995.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

152

(0650) initialplannedcapacitynuclear= 0 Units:TW Initialplannedcapacityofnuclear(year1995).(0651) initialplannedcapacityRESelec[RESelec]= tablehistcapacityRESelec[RESelec](1996)-tablehistcapacityRESelec [RESelec](1995) Units:TW InitialplannedcapacityofRESbytechnology(year1995).We assumethatitisthesamethantheadditionalinstalled capacitybetween1995and1996.(0652) INITIALTIME=1995 Units:Year Theinitialtimeforthesimulation.(0653) initialvaluelandcompetbiofuels2genMha= initialvaluelandcompetbiofuels2genktoe*EJperktoe Units:EJ/Year Initialvalueoflandoccupationbybiofuelsofsecond generation.(0654) initialvalueRESforheat0["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H66') initialvalueRESforheat0["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H67') initialvalueRESforheat0["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H65') Units:TW RESsupplyforheatintheyear1995.(0655)"initialvalueRESforheat-com"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H66') "initialvalueRESforheat-com"["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H67') "initialvalueRESforheat-com"["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H65') Units:TW RESsupplybytechnologyforcommercialheatintheyear1995.(0656)"initialvalueRESforheat-nc"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H62') "initialvalueRESforheat-nc"["geot-heat"]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

153

GETXLSCONSTANTS('inputs.xlsx','Constants','H63') "initialvalueRESforheat-nc"["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','H61') Units:TW RESsupplybytechnologyfornon-commercialheatintheyear 1995.(0657) initialXtinland= GETXLSCONSTANTS('inputs.xlsx','Transportation','B65') Units:T$ Economicactivityofinlandtransportsectorintheyearof startofpolicies(2015default)T$(0658) installedcapacitynuclearTW[scenarios]=INTEG( newcapacityinstallednuclear[scenarios]-"nuclearcapacityphase-out"[scenarios ]-wearnuclear[scenarios], initialcapacityinstallednuclear) Units:TW Annualinstalledcapacityofnuclearpower.(0659) installedcapacityRESelecTW[RESelec,scenarios]=INTEG( newcapacityinstalledRESelecTW[RESelec,scenarios]-wearRESelec[RESelec ,scenarios], initialinstalcapRESelec[RESelec]) Units:TW Annualinstalledcapacityofnuclearpower.(0660) installedcapacityRESheatTW0[RESheat,scenarios]=INTEG( "newREScapacityforheat-comTW0"[RESheat,scenarios]+replacementRESforheatTW0 [RESheat,scenarios]-wearREScapacityforheatTW0[RESheat,scenarios], initialvalueRESforheat0[RESheat]) Units:TW InstalledcapacityofRESforheat.(0661)"installedcapacityRESheat-comTW"[RESheat,scenarios]=INTEG( "newREScapacityforheat-comTW"[RESheat,scenarios]+"replacementRESforheat-comTW" [RESheat,scenarios]-"wearREScapacityforheat-comTW"[RESheat,scenarios ], "initialvalueRESforheat-com"[RESheat]) Units:TW InstalledcapacityofRESforcommercialheat.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

154

(0662)"installedcapacityRESheat-ncTW"[RESheat,scenarios]=INTEG( "newREScapacityforheat-ncTW"[RESheat,scenarios]+"replacementRESforheat-ncTW" [RESheat,scenarios]-"wearREScapacityforheat-ncTW"[RESheat,scenarios ], "initialvalueRESforheat-nc"[RESheat]*"Deactivateheatdemcorrection?" ) Units:TW InstalledcapacityofRESfornon-commercialheat.(0663) InstalledPHScapacity[scenarios]= MIN(demandstoragecapacity[scenarios],maxcapacitypotentialPHS[scenarios ]) Units:TW Installedpumpedhydrostorage(PHS)capacity.(0664) investbioWTdolar[scenarios]= investRESelecTdolar["solidbioE-elec",scenarios] Units:Tdollars/Year Investmentcosts.(0665) investcostnuclear:= GETXLSDATA('inputs.xlsx','Parameters','6','G15') Units:Tdollars/TWe Investmentcostofnuclearpowerconsideringthatfuture reactorswouldrequirethesameinvestmentastherecentHinkley PointCnuclearpowerstationinUKof8,000US$/kW(5536.71 1995US$/kW).(0666) investCSPTdolar[scenarios]= investRESelecTdolar[CSP,scenarios] Units:Tdollars/Year Investmentcosts.(0667)"investgeot-elecTdolar"[scenarios]= investRESelecTdolar["geot-elec",scenarios] Units:Tdollars/Year Investmentcosts.(0668) initialvaluelandcompetbiofuels2genktoe= GETXLSCONSTANTS('inputs.xlsx','Constants','H56') Units:EJ/Year Initialvaluein1995derivedfrom(BP2016).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

155

(0669) investcostRESelec[hydro]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Parameters','6','G14') investcostRESelec["geot-elec"]:= GETXLSDATA('inputs.xlsx','Parameters','6','G7') investcostRESelec["solidbioE-elec"]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Parameters','6','G8') investcostRESelec[oceanic]:= GETXLSDATA('inputs.xlsx','Parameters','6','G9') investcostRESelec[windonshore]:= GETXLSDATA('inputs.xlsx','Parameters','6','G10') investcostRESelec[windoffshore]:= GETXLSDATA('inputs.xlsx','Parameters','6','G12') investcostRESelec[solarPV]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Parameters','6','G11') investcostRESelec[CSP]:= GETXLSDATA('inputs.xlsx','Parameters','6','G16') Units:T$/TW InputassumptiononinstallationcostofnewREScapacityfor electricity.(0670) investhydroTdolar[scenarios]= investRESelecTdolar[hydro,scenarios] Units:Tdollars/Year Investmentcosts.(0671) investnuclearTdolar[scenarios]= MAX(0, IF THEN ELSE(new capacity installed nuclear[scenarios]<0,0,(new capacityinstallednuclear [scenarios]+replacementnuclear[scenarios])*investcostnuclear/1000)) Units:Tdollars/Year (0672) investoceanicTdolar[scenarios]= investRESelecTdolar[oceanic,scenarios] Units:Tdollars/Year Investmentcosts.(0673) investoffshorewindTdolar[scenarios]= investRESelecTdolar[windoffshore,scenarios] Units:Tdollars/Year Investmentcosts.(0674) investonshorewindTdolar[scenarios]= investRESelecTdolar[windonshore,scenarios] Units:Tdollars/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

156

Investmentcosts.(0675) investRESelecTdolar[RESelec,scenarios]= MAX(0,newcapacityinstalledRESelecTW[RESelec,scenarios]*investcostRESelec [RESelec]) Units:**undefined** (0676) investsolarTdolar[scenarios]= investRESelecTdolar[solarPV,scenarios] Units:Tdollars/Year Investmentcosts.(0677)JobsnewinstalledRESelecpertechn[RESelec,scenarios]= newcapacityinstalledRESelecTW[RESelec,scenarios]*EmploymentfactorsnewRESelec [RESelec]*MperT Units:people (0678)JobsnewinstalledRESheatpertechn[RESheat,scenarios]= ("new RES capacity for heat-com TW"[RES heat,scenarios]+"replacement RES forheat-comTW" [RESheat,scenarios])*EmploymentfactorsnewRESheat [RESheat]*MperT Units:people (0679)"JobsO&MRESelecpertechn"[RESelec,scenarios]= installedcapacityRESelecTW[RESelec,scenarios]*"EmploymentfactorsO&MRESelec" [RESelec]*MperT Units:people (0680)kgperMt= GETXLSCONSTANTS('inputs.xlsx','Constants','C24') Units:Dmnl ConversionfactorfromMttokg.(0681)kWperbatteryEV= GETXLSCONSTANTS('inputs.xlsx','Parameters','G49') Units:W/battery AveragekWperbatteryofelectricalvehicle.(0682)kWhperTWh= GETXLSCONSTANTS('inputs.xlsx','Constants','C9') Units:kWh/TWh

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

157

ConversionbetweenkWhandTWh(1TWh=1e9kWh).(0683)"Laborsharecte?"= 1 Units:Dmnl 0:Laborshare:cte1:Laborshareevolvesfollowing"Plabor share"(0684) labourshare[scenarios]=INTEG( variationlabourshare[scenarios], 0.6374) Units:Dmnl (0685)Landcompetbiofuels3genMha[scenarios]=INTEG( Landshiftedtobiofuels3gen[scenarios], 0) Units:MHa Landsubjecttocompetitiondedicatedtobiofuels3rdgeneration asashiftofsurfacepreviouslydedicatedtobiofuelsfromthe 2ndgeneration.(0686)Landcompetrequireddedicatedcropsforbiofuels[scenarios]= Land compet biofuels 2gen Mha[scenarios]+Land compet biofuels 3genMha[scenarios ] Units:MHa Landrequirementsforcropsforbiofuels2ndand3rdgeneration (inlandcompetingwithotheruses).(0687)Landoccupationratiobiofuelsmargland= GETXLSCONSTANTS('inputs.xlsx','Parameters','C62') Units:MHa/EJ Fieldetal.(2008)foundthat27EJofNPPcanbeextracted from386MHaofmarginallands.So,thelandoccupationratio wouldbe386MHa/27EJ,i.e.14.3MHa/EJNPP.(0688)Landrequiredbiofuelslandmarg[scenarios]= Potential PEavail biofuels land marg EJ[scenarios]*Land occupation ratio biofuelsmargland /ConvefficiencyfromNPPtobiofuels Units:MHa/Year Marginallandsoccupiedbybiofuels.(0689)LC[scenarios]=INTEG(variationLC[scenarios]-LCnotcovered[scenarios

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

158

], initialLCtotal) Units:Mdollars Labourcompensation(0690)LCnextstep[scenarios]= LC[scenarios]+variationLC[scenarios] Units:Mdollars (0691)LCnotcovered[scenarios]= demandnotcoveredtotalFD[scenarios]*labourshare[scenarios] Units:Mdollars/Year Gapbetweenlabourcompensationrequiredandreallabour compensation(afterenergy-economyfeedback)(0692) lifetimenuclear= GETXLSCONSTANTS('inputs.xlsx','Parameters','C15') Units:Year Lifetimeofnuclear.(0693) lifetimeRESforheat["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C17') lifetimeRESforheat["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C18') lifetimeRESforheat["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C19') Units:Year LifetimeRESthermaltechnologiesandplants.(0694) lifetimeRESforheat0["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C17') lifetimeRESforheat0["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C18') lifetimeRESforheat0["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C19') Units:Year LifetimeRESthermaltechnologiesandplants.(0695) lifetimeCTL= GETXLSCONSTANTS('inputs.xlsx','Parameters','K47') Units:Year LifetimeofCTLplants.(0696) lifetimeGTL=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

159

GETXLSCONSTANTS('inputs.xlsx','Parameters','K48') Units:Year LifetimeofGTLplants.(0697)Liq4w0= GETXLSCONSTANTS('inputs.xlsx','Transportation','B47') Units:EJ liquidsuserdinhouseholds4wheelersintheinitialyearof policy(2015default)45.9341(0698) liquidsperXbus= Energyinitialinlandtransport[busliq]*adjustenergyfortransporttoinlandtransport /initialXtinland Units:**undefined** data'InternationalEnergyAgency(2016),EnergyTechnology Perspectives2016,OECD/IEA,forenergynumberofbusesfrom http://www.theicct.org/global-transportation-roadmap-model(0699) liquidsperXHV= Energyinitialinlandtransport[HVliq]*adjustenergyfortransporttoinlandtransport /initialXtinland Units:**undefined** EJ/vehicleAverageconsumptionofvehiclesfromhistoricaldata= energyusedinthatkindoftransport/numverofvehiclesdata 'InternationalEnergyAgency(2016),EnergyTechnology Perspectives2016,OECD/IEA,(0700) liquidsperXLV= Energyinitialinlandtransport[LVliq]*adjustenergyfortransporttoinlandtransport /initialXtinland Units:**undefined** data'InternationalEnergyAgency(2016),EnergyTechnology Perspectives2016,OECD/IEA,(0701)LossesEJ[scenarios,liquids]= PES fossil fuel extraction delayed[scenarios,liquids]*Historic share of losses vsextraction [liquids] LossesEJ[scenarios,solids]= PES fossil fuel extraction delayed[scenarios,solids]*Historic share of losses vsextraction [solids] LossesEJ[scenarios,gases]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

160

PES fossil fuel extraction delayed[scenarios,gases]*Historic share of losses vsextraction [gases] LossesEJ[scenarios,electricity]= 0 LossesEJ[scenarios,heat]= 0 Units:EJ/Year Lossesofeachfossilfuel(0702)LossesincharcoalplantsEJ:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','216','B229') Units:EJ Lossesofenergy(EJ)producedincharcoalplants.(0703)Lossessolarforheat= GETXLSCONSTANTS('inputs.xlsx','Parameters','G42') Units:Dmnl (0704)Lossessolarforheat0= GETXLSCONSTANTS('inputs.xlsx','Parameters','G42') Units:Dmnl (0705)MperT= GETXLSCONSTANTS('inputs.xlsx','Constants','C23') Units:Dmnl ConversionfactorfromTera(T,1e12)toMega(M,1e6).(0706)materials: Adhesive, Aluminium, Aluminium mirrors, Cadmium, Carbon fiber, Cement,Chromium ,Copper,diesel,Dy,"Electric/electroniccomponents",Evacuationlines, Fiberglass,Foamglass,Galium,Glass,Glassreinforcingplastic,gravel, Indium,Iron,KNO3mined,Asphalt,Lime,Limestone,Lithium,Lubricant,Magnesium ,Manganese,Heavyequipment,Concrete,Molybdenum,NaNO3mined,NaNO3synthetic ,Neodymium,Nickel,"Overgrid(15%)","Overgrid(5%)",Paint,Lead,Plastics ,Polypropylene,Rock,Rockwool,Sand,Siliconsand,Siliconwafermodules ,Silver,Sitepreparation,Tin,sodaash,steel,syntheticoil,tellurium ,titanium,titaniumdioxide,vanadium,wires,zinc (0707)"materialsavailability(annualextraction)"[materials,scenarios]= IF THEN ELSE(Totalmaterials to extractMt[materials,scenarios]<maximum annualextractionmaterials [materials],1,0)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

161

Units:Dmnl If=1:OKIf=0:supplyconstraints.(0708)"materialsavailability(reserves)"[materials,scenarios]= IFTHENELSE(sharetotcumdemvsreservesmaterials[materials,scenarios] <1,1,0) Units:Dmnl =1whilethecumulativedemandislowerthantheestimated resources,and=0whenthecumulativedemandsurpassesthe estimatedresources.(0709)"materialsavailability(resources)"[materials,scenarios]= IFTHENELSE(sharetotcumdemvsresourcesmaterials[materials,scenarios ]<1,1,0) Units:Dmnl =1whilethecumulativedemandislowerthantheestimated reserves,and=0whenthecumulativedemandsurpassesthe estimatedreserves.(0710)"materialsforO&MpercapacityinstalledRESelec"[hydro,materials ]= 0 "materialsforO&MpercapacityinstalledRESelec"["geot-elec",materials ]= 0 "materialsforO&MpercapacityinstalledRESelec"["solidbioE-elec",materials ]= 0 "materialsforO&MpercapacityinstalledRESelec"[oceanic,materials]= 0 "materialsforO&MpercapacityinstalledRESelec"[windonshore,materials ]= "materialsforO&Mpercapacityinstalled-windonshore"[materials] "materialsforO&MpercapacityinstalledRESelec"[windoffshore,materials ]= "materialsforO&Mpercapacityinstalled-windoffshore"[materials] "materialsforO&MpercapacityinstalledRESelec"[solarPV,materials]= "materialsforO&Mpercapacityinstalled-PV"[materials] "materialsforO&MpercapacityinstalledRESelec"[CSP,materials]= "materialsforO&Mpercapacityinstalled-CSP"[materials] Units:kg/MW (0711)"materialspercapacityinstalled-PV0"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','C5')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

162

"materialspercapacityinstalled-PV0"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C6') "materialspercapacityinstalled-PV0"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','C7') "materialspercapacityinstalled-PV0"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C8') "materialspercapacityinstalled-PV0"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','C9') "materialspercapacityinstalled-PV0"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','C10') "materialspercapacityinstalled-PV0"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C11') "materialspercapacityinstalled-PV0"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','C12') "materialspercapacityinstalled-PV0"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C13') "materialspercapacityinstalled-PV0"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','C14') "materialspercapacityinstalled-PV0"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','C15') "materialspercapacityinstalled-PV0"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','C16') "materialspercapacityinstalled-PV0"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C17') "materialspercapacityinstalled-PV0"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C18') "materialspercapacityinstalled-PV0"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C19') "materialspercapacityinstalled-PV0"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C20') "materialspercapacityinstalled-PV0"[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','C21') "materialspercapacityinstalled-PV0"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C22') "materialspercapacityinstalled-PV0"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C23') "materialspercapacityinstalled-PV0"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','C24') "materialspercapacityinstalled-PV0"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','C25') "materialspercapacityinstalled-PV0"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','C26') "materialspercapacityinstalled-PV0"[Lime]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

163

GETXLSCONSTANTS('inputs.xlsx','Materials','C27') "materialspercapacityinstalled-PV0"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','C28') "materialspercapacityinstalled-PV0"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C29') "materialspercapacityinstalled-PV0"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','C30') "materialspercapacityinstalled-PV0"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C31') "materialspercapacityinstalled-PV0"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','C32') "materialspercapacityinstalled-PV0"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','C33') "materialspercapacityinstalled-PV0"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','C34') "materialspercapacityinstalled-PV0"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','C35') "materialspercapacityinstalled-PV0"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','C36') "materialspercapacityinstalled-PV0"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','C37') "materialspercapacityinstalled-PV0"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C38') "materialspercapacityinstalled-PV0"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C39') "materialspercapacityinstalled-PV0"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','C40') "materialspercapacityinstalled-PV0"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','C41') "materialspercapacityinstalled-PV0"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','C42') "materialspercapacityinstalled-PV0"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','C43') "materialspercapacityinstalled-PV0"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','C44') "materialspercapacityinstalled-PV0"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','C45') "materialspercapacityinstalled-PV0"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','C46') "materialspercapacityinstalled-PV0"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','C47') "materialspercapacityinstalled-PV0"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','C48') "materialspercapacityinstalled-PV0"[Siliconsand]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

164

GETXLSCONSTANTS('inputs.xlsx','Materials','C49') "materialspercapacityinstalled-PV0"[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','C50') "materialspercapacityinstalled-PV0"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','C51') "materialspercapacityinstalled-PV0"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','C52') "materialspercapacityinstalled-PV0"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','C53') "materialspercapacityinstalled-PV0"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','C54') "materialspercapacityinstalled-PV0"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C55') "materialspercapacityinstalled-PV0"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','C56') "materialspercapacityinstalled-PV0"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C57') "materialspercapacityinstalled-PV0"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C58') "materialspercapacityinstalled-PV0"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','C59') "materialspercapacityinstalled-PV0"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C60') "materialspercapacityinstalled-PV0"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','C61') "materialspercapacityinstalled-PV0"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','C62') Units:kg/MW (0712)"materialspernewcapacityinstalled-EVbatteries"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','F5') "materialspernewcapacityinstalled-EVbatteries"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F6') "materialspernewcapacityinstalled-EVbatteries"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','F7') "materialspernewcapacityinstalled-EVbatteries"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F8') "materialspernewcapacityinstalled-EVbatteries"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','F9') "materialspernewcapacityinstalled-EVbatteries"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','F10') "materialspernewcapacityinstalled-EVbatteries"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F11') "materialspernewcapacityinstalled-EVbatteries"[Copper]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

165

GETXLSCONSTANTS('inputs.xlsx','Materials','F12') "materialspernewcapacityinstalled-EVbatteries"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','F13') "materialspernewcapacityinstalled-EVbatteries"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','F14') "materialspernewcapacityinstalled-EVbatteries"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','F15') "materialspernewcapacityinstalled-EVbatteries"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','F16') "materialspernewcapacityinstalled-EVbatteries"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','F17') "materialspernewcapacityinstalled-EVbatteries"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','F18') "materialspernewcapacityinstalled-EVbatteries"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F19') "materialspernewcapacityinstalled-EVbatteries"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','F20') "materialspernewcapacityinstalled-EVbatteries"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','F21') "materialspernewcapacityinstalled-EVbatteries"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','F22') "materialspernewcapacityinstalled-EVbatteries"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F23') "materialspernewcapacityinstalled-EVbatteries"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','F24') "materialspernewcapacityinstalled-EVbatteries"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','F25') "materialspernewcapacityinstalled-EVbatteries"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','F26') "materialspernewcapacityinstalled-EVbatteries"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','F27') "materialspernewcapacityinstalled-EVbatteries"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','F28') "materialspernewcapacityinstalled-EVbatteries"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F29') "materialspernewcapacityinstalled-EVbatteries"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','F30') "materialspernewcapacityinstalled-EVbatteries"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F31') "materialspernewcapacityinstalled-EVbatteries"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','F32') "materialspernewcapacityinstalled-EVbatteries"[Heavyequipment]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

166

GETXLSCONSTANTS('inputs.xlsx','Materials','F33') "materialspernewcapacityinstalled-EVbatteries"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','F34') "materialspernewcapacityinstalled-EVbatteries"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','F35') "materialspernewcapacityinstalled-EVbatteries"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','F36') "materialspernewcapacityinstalled-EVbatteries"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','F37') "materialspernewcapacityinstalled-EVbatteries"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F38') "materialspernewcapacityinstalled-EVbatteries"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','F39') "materialspernewcapacityinstalled-EVbatteries"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','F40') "materialspernewcapacityinstalled-EVbatteries"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','F41') "materialspernewcapacityinstalled-EVbatteries"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','F42') "materialspernewcapacityinstalled-EVbatteries"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','F43') "materialspernewcapacityinstalled-EVbatteries"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','F44') "materialspernewcapacityinstalled-EVbatteries"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','F45') "materialspernewcapacityinstalled-EVbatteries"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','F46') "materialspernewcapacityinstalled-EVbatteries"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','F47') "materialspernewcapacityinstalled-EVbatteries"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','F48') "materialspernewcapacityinstalled-EVbatteries"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','F49') "materialspernewcapacityinstalled-EVbatteries"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','F50') "materialspernewcapacityinstalled-EVbatteries"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','F51') "materialspernewcapacityinstalled-EVbatteries"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','F52') "materialspernewcapacityinstalled-EVbatteries"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','F53') "materialspernewcapacityinstalled-EVbatteries"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','F54')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

167

"materialspernewcapacityinstalled-EVbatteries"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','F55') "materialspernewcapacityinstalled-EVbatteries"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','F56') "materialspernewcapacityinstalled-EVbatteries"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F57') "materialspernewcapacityinstalled-EVbatteries"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F58') "materialspernewcapacityinstalled-EVbatteries"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','F59') "materialspernewcapacityinstalled-EVbatteries"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','F60') "materialspernewcapacityinstalled-EVbatteries"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','F61') "materialspernewcapacityinstalled-EVbatteries"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','F62') Units:kg/MW MaterialsrequirementsperEVbattery.(0713)"materialspernewcapacityinstalled-PV"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','C5') "materialspernewcapacityinstalled-PV"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C6') "materialspernewcapacityinstalled-PV"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','C7') "materialspernewcapacityinstalled-PV"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C8') "materialspernewcapacityinstalled-PV"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','C9') "materialspernewcapacityinstalled-PV"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','C10') "materialspernewcapacityinstalled-PV"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C11') "materialspernewcapacityinstalled-PV"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','C12') "materialspernewcapacityinstalled-PV"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C13') "materialspernewcapacityinstalled-PV"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','C14') "materialspernewcapacityinstalled-PV"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','C15') "materialspernewcapacityinstalled-PV"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','C16')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

168

"materialspernewcapacityinstalled-PV"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C17') "materialspernewcapacityinstalled-PV"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C18') "materialspernewcapacityinstalled-PV"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C19') "materialspernewcapacityinstalled-PV"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C20') "materialspernewcapacityinstalled-PV"[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','C21') "materialspernewcapacityinstalled-PV"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C22') "materialspernewcapacityinstalled-PV"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C23') "materialspernewcapacityinstalled-PV"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','C24') "materialspernewcapacityinstalled-PV"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','C25') "materialspernewcapacityinstalled-PV"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','C26') "materialspernewcapacityinstalled-PV"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','C27') "materialspernewcapacityinstalled-PV"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','C28') "materialspernewcapacityinstalled-PV"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C29') "materialspernewcapacityinstalled-PV"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','C30') "materialspernewcapacityinstalled-PV"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C31') "materialspernewcapacityinstalled-PV"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','C32') "materialspernewcapacityinstalled-PV"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','C33') "materialspernewcapacityinstalled-PV"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','C34') "materialspernewcapacityinstalled-PV"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','C35') "materialspernewcapacityinstalled-PV"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','C36') "materialspernewcapacityinstalled-PV"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','C37') "materialspernewcapacityinstalled-PV"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C38')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

169

"materialspernewcapacityinstalled-PV"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C39') "materialspernewcapacityinstalled-PV"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','C40') "materialspernewcapacityinstalled-PV"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','C41') "materialspernewcapacityinstalled-PV"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','C42') "materialspernewcapacityinstalled-PV"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','C43') "materialspernewcapacityinstalled-PV"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','C44') "materialspernewcapacityinstalled-PV"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','C45') "materialspernewcapacityinstalled-PV"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','C46') "materialspernewcapacityinstalled-PV"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','C47') "materialspernewcapacityinstalled-PV"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','C48') "materialspernewcapacityinstalled-PV"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','C49') "materialspernewcapacityinstalled-PV"[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','C50') "materialspernewcapacityinstalled-PV"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','C51') "materialspernewcapacityinstalled-PV"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','C52') "materialspernewcapacityinstalled-PV"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','C53') "materialspernewcapacityinstalled-PV"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','C54') "materialspernewcapacityinstalled-PV"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C55') "materialspernewcapacityinstalled-PV"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','C56') "materialspernewcapacityinstalled-PV"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C57') "materialspernewcapacityinstalled-PV"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C58') "materialspernewcapacityinstalled-PV"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','C59') "materialspernewcapacityinstalled-PV"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C60')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

170

"materialspernewcapacityinstalled-PV"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','C61') "materialspernewcapacityinstalled-PV"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','C62') Units:kg/MW Materialsrequirementsperunitofnewinstalledcapacityof solarPV.(0714)"materialspernewcapacityinstalled-windoffshore"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','E5') "materialspernewcapacityinstalled-windoffshore"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E6') "materialspernewcapacityinstalled-windoffshore"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','E7') "materialspernewcapacityinstalled-windoffshore"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E8') "materialspernewcapacityinstalled-windoffshore"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','E9') "materialspernewcapacityinstalled-windoffshore"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','E10') "materialspernewcapacityinstalled-windoffshore"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E11') "materialspernewcapacityinstalled-windoffshore"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','E12') "materialspernewcapacityinstalled-windoffshore"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','E13') "materialspernewcapacityinstalled-windoffshore"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','E14') "materialspernewcapacityinstalled-windoffshore"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','E15') "materialspernewcapacityinstalled-windoffshore"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','E16') "materialspernewcapacityinstalled-windoffshore"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','E17') "materialspernewcapacityinstalled-windoffshore"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','E18') "materialspernewcapacityinstalled-windoffshore"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E19') "materialspernewcapacityinstalled-windoffshore"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','E20') "materialspernewcapacityinstalled-windoffshore"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','E21')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

171

"materialspernewcapacityinstalled-windoffshore"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','E22') "materialspernewcapacityinstalled-windoffshore"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E23') "materialspernewcapacityinstalled-windoffshore"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','E24') "materialspernewcapacityinstalled-windoffshore"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','E25') "materialspernewcapacityinstalled-windoffshore"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','E26') "materialspernewcapacityinstalled-windoffshore"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','E27') "materialspernewcapacityinstalled-windoffshore"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','E28') "materialspernewcapacityinstalled-windoffshore"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E29') "materialspernewcapacityinstalled-windoffshore"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','E30') "materialspernewcapacityinstalled-windoffshore"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E31') "materialspernewcapacityinstalled-windoffshore"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','E32') "materialspernewcapacityinstalled-windoffshore"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','E33') "materialspernewcapacityinstalled-windoffshore"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','E34') "materialspernewcapacityinstalled-windoffshore"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','E35') "materialspernewcapacityinstalled-windoffshore"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','E36') "materialspernewcapacityinstalled-windoffshore"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','E37') "materialspernewcapacityinstalled-windoffshore"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E38') "materialspernewcapacityinstalled-windoffshore"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','E39') "materialspernewcapacityinstalled-windoffshore"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','E40') "materialspernewcapacityinstalled-windoffshore"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','E41') "materialspernewcapacityinstalled-windoffshore"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','E42') "materialspernewcapacityinstalled-windoffshore"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','E43')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

172

"materialspernewcapacityinstalled-windoffshore"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','E44') "materialspernewcapacityinstalled-windoffshore"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','E45') "materialspernewcapacityinstalled-windoffshore"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','E46') "materialspernewcapacityinstalled-windoffshore"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','E47') "materialspernewcapacityinstalled-windoffshore"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','E48') "materialspernewcapacityinstalled-windoffshore"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','E49') "materialspernewcapacityinstalled-windoffshore"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','E50') "materialspernewcapacityinstalled-windoffshore"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','E51') "materialspernewcapacityinstalled-windoffshore"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','E52') "materialspernewcapacityinstalled-windoffshore"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','E53') "materialspernewcapacityinstalled-windoffshore"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','E54') "materialspernewcapacityinstalled-windoffshore"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','E55') "materialspernewcapacityinstalled-windoffshore"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','E56') "materialspernewcapacityinstalled-windoffshore"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E57') "materialspernewcapacityinstalled-windoffshore"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E58') "materialspernewcapacityinstalled-windoffshore"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','E59') "materialspernewcapacityinstalled-windoffshore"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E60') "materialspernewcapacityinstalled-windoffshore"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','E61') "materialspernewcapacityinstalled-windoffshore"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','E62') Units:kg/MW Materialsrequirementsperunitofnewinstalledcapacityof windoffshore.(0715)materialsrequiredforEVbatteriesMt[materials,scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

173

EVbatteriesTW[scenarios]*"materialspernewcapacityinstalled-EVbatteries" [materials]*MperT/kgperMt Units:Mt AnnualmaterialsrequiredforthefabricationofEVbatteries.(0716)MaterialstoextractRestfrom2015Mt[materials,scenarios]= IFTHENELSE(Time<2015,0,MaterialstoextractRestMt[materials,scenarios ]) Units:Mt/Year Annualmaterialstobeminedfortheitherestoftheeconomy from2015.(0717)MaterialstoextractRestMt[materials,scenarios]= MineralsextractionprojectionRestwithrr[materials,scenarios] Units:Mt/Year Annualmaterialstobeminedfortherestoftheeconomy.(0718)maxcapacityelecstorage[scenarios]= maxcapacitypotentialPHS[scenarios]+EVbatteriesavailableforstorage[ scenarios] Units:TW Maximumcapacitypotentialofelectricitystorage(PHSand electricbateries).(0719)maxcapacitypotentialPHS[scenarios]= maxpotentialPHSTWe[scenarios]/CpPHS Units:TW MaximumcapacitypotentialofPHS.(0720)maxCSPonlandMHa[scenarios]= maxsolaronlandMha[scenarios]-surfacesolarPVMha[scenarios] Units:MHa AvailablelandforsolarCSPtakingintoaccountthetotalland availabilityforsolarandtheactualoccupationfromsolarPV onland.(0721)maxCSPTWe[scenarios]= maxCSPonlandMHa[scenarios]*powerdensityCSP Units:TWe Techno-ecologicalpotentialofsolarCSP.Thispotentialdepends ontheassumedlandavailabilityforsolarCSPpowerplants ("maxsolarPVonlandMHa")anditspowerdensity(1TWe=8760 TWhinoneyear).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

174

(0722)maxextractionconvoilEJ[scenarios]= IFTHENELSE("separateconvandunconvoil?"[scenarios]=1, IF THEN ELSE(choose extraction curve conv oil[scenarios]=1, tablemax extractionMaggio12middleconvoilEJ (TotRURRconvoil[scenarios]), IF THEN ELSE(choose extraction curve conv oil[scenarios]=2, tablemax extractionMaggio12HighconvoilEJ (TotRURRconvoil[scenarios]), IF THEN ELSE(choose extraction curve conv oil[scenarios]=3, tablemax extractionMaggio12LowconoilEJ (TotRURRconvoil[scenarios]),tablemaxconvoilextractionUserdefined (TotRURRconvoil[scenarios])))),0) Units:EJ/Year Maximumextractioncurveselectedforthesimulations.(0723)maxextractiontotagggasEJ[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=0, IFTHENELSE(chooseextractiontotagggascurve[scenarios]=1,tablemaxextractiontotalgasLaherrère10 (TotRURRtotagggas[scenarios]), IFTHENELSE(chooseextractiontotagggascurve[scenarios]=2,tablemaxextractiontotalgasBGMohr12 (TotRURRtotagggas [scenarios]),tablemaxextractiontotalgasUserdefined(TotRURRtotagggas [scenarios]))),0) Units:EJ/Year Maximumextractioncurveselectedforthesimulations.(0724)maxextractiontotaggoilEJ[scenarios]= IFTHENELSE("separateconvandunconvoil?"[scenarios]=0, IFTHENELSE(chooseextractioncurvetotaggoil[scenarios]=1,tablemaxextractiontotaggoilLahèrrere2006 (TotRURRtotaggoil[scenarios]),tablemaxextractiontotaggoilUserdefined (TotRURRtotaggoil[scenarios])),0) Units:EJ/Year Maximumextractioncurvefortotalaggregatedoilselectedfor thesimulations.(0725)MaxFEpotentialRESforheat["solar-heat",scenarios]= MaxPEpotentialRESforheat["solar-heat",scenarios]+EfficiencyRESheat ["solar-heat"]*0 MaxFEpotentialRESforheat["geot-heat",scenarios]= MaxPEpotentialRESforheat["geot-heat",scenarios]*EfficiencyRESheat[ "geot-heat"]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

175

MaxFEpotentialRESforheat["solidbioE-heat",scenarios]= MaxPEpotentialRESforheat["solidbioE-heat",scenarios]*EfficiencyRESheat ["solidbioE-heat"] Units:EJ Potential(finalenergy)forproducingheatfromrenewables.(0726)Maxlandcompetbiofuels2gen[scenarios]= Additional land compet available for biofuels[scenarios]+Historic land competavailableforbiofuels2gen [scenarios] Units:MHa/Year Annualpotentialofbiofuels(finalenergy)2ndgeneration competingwithotherlanduses.(0727)MaxPEavailbiofuelspotential[scenarios]= MaxPEavailpotentialbioE residues forcellulosicbiofuels[scenarios]+"MaxPEavailpotentialbiofuels2-3gen" [scenarios ]+MaxPEavailpotentialbiofuelsmarginallands[scenarios] Units:EJ/Year Maximumbiofuelspotential(primaryenergy)available.(0728)MaxPEavailpotentialbioEresiduesforcellulosicbiofuels[scenarios ]= Max NPP potential BioE residues for cellulosic biofuels[scenarios]*Efficiency bioEresiduestocellulosicliquids [scenarios] Units:**undefined** (0729)"MaxPEavailpotentialbiofuels2-3gen"[scenarios]= IFTHENELSE(Time<startyear3gen[scenarios],Maxlandcompetbiofuels2gen [scenarios]*Landproductivitybiofuels2genEJMHa,Maxlandcompetbiofuels2gen [scenarios]*Land productivity biofuels 2gen EJ MHa*(1+Efficiency improvement biofuels3gen )) Units:EJ/Year Annualbiofuelspotential(primaryenergy)availablefromland competition.(0730)"EmploymentfactorsO&MRESheat"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z17') "EmploymentfactorsO&MRESheat"["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','Z18') "EmploymentfactorsO&MRESheat"["solidbioE-heat"]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

176

GETXLSCONSTANTS('inputs.xlsx','Parameters','Z19') Units:people/MW EmploymentfactorsfortheO&MofRESpowerplantsforheat generation.(0731)EROIcoal= GETXLSCONSTANTS('inputs.xlsx','Parameters','G68') Units:Dmnl (0732)EROIconvgas= GETXLSCONSTANTS('inputs.xlsx','Parameters','G66') Units:Dmnl (0733)EROItotaloil= GETXLSCONSTANTS('inputs.xlsx','Parameters','G64') Units:Dmnl (0734)ESOIPHSfullpotential= GETXLSCONSTANTS('inputs.xlsx','Parameters','G54') Units:Dmnl ESOIPHSofthefullpotentialoftheresource.Weassumethe ESOIofPHSlinearlydecreaseswiththePHScumulatedinstalled capacity.(0735)extractionunconvoilEJ[scenarios]= MIN(IFTHENELSE(RURRunconvoilEJ[scenarios]<0,0, IFTHENELSE(Time>2012, IF THEN ELSE("separate conv and unconv oil?"[scenarios]=1, MIN(max extractionunconvoil [scenarios],maxunconvoilgrowthextractionEJ [scenarios]),0),Historicunconvoil)),PEDtotaloilEJ[scenarios]) Units:EJ/Year Annualextractionofunconventionaloil.MIN(IFTHENELSE(RURR unconvoilEJ[scenarios]<0,0,IFTHENELSE(Time<=2013,Historic unconvoil,IFTHENELSE("separateconvandunconv oil?"[scenarios]=1,MIN(maxextractionunconvoil[scenarios], maxunconvoilgrowthextractionEJ[scenarios]),0))),PEDtotal oilEJ[scenarios])(0736)extractionuraniumEJ[scenarios]= IFTHENELSE("unlimitedNRE?"[scenarios]=1,PEdemanduraniumEJ[scenarios ], IFTHENELSE("unlimiteduranium?"[scenarios]=1,PEdemanduraniumEJ[scenarios ],

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

177

MIN(PEdemanduraniumEJ[scenarios],maxextractionuraniumEJ[scenarios] ))) Units:EJ/Year Annualextractionofuranium.(0737)FEElecgenerationfromcoalTWh[scenarios]= extractioncoalEJ[scenarios]*efficiencycoalforelectricity*sharecoaldemforElec [scenarios]/EJperTWh Units:TWh/Year Finalenergyelectricitygenerationfromcoal(TWh).(0738)FEElecgenerationfromconvgasTWh[scenarios]= realextractionconvgasEJ[scenarios]*"sharenat.gasdemforElec"[scenarios ]*efficiencygasforelectricity /EJperTWh Units:TWh/Year Finalenergyelectricitygenerationfromconventionalgas(TWh).(0739)FEElecgenerationfromtotaloilTWh[scenarios]= PESoilEJ[scenarios]*shareoildemforElec[scenarios]*efficiencyliquidsforelectricity /EJperTWh Units:TWh/Year Electricitygeneration(finalenergy)fromtotaloil.(0740)FEsolarpotentialforheat[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C53') FEsolarpotentialforheat[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C53') FEsolarpotentialforheat[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C53') FEsolarpotentialforheat[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C53') FEsolarpotentialforheat[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C53') FEsolarpotentialforheat[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C53') Units:EJ/Year Globalsolarthermalpotential.Weassumethattheprimary energycoincideswiththefinalenergy.SeeTechnicalReport AppendixD.(0741)GeotPEpotentialforheatEJ[scenarios]= GeotPEpotentialforheatTWth[scenarios]*EJperTWh/TWeperTWh Units:EJ/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

178

Geothermalpotential(primaryenergy)forproducingheat.(0742)GridreinforcementcostsTdollar[scenarios]= Gridreinforcementcosts*newcapacityinstalledonshorewindTW[scenarios ]/GperT Units:Tdollar 1995US$.(0743) increasescarcityconvoil[scenarios]= scarcityconvoil[scenarios]-scarcityconvoildelayed1yr[scenarios] Units:Dmnl (0744) increasevariableRESshareelecvstotalgeneration[scenarios]= SharevariableRESelecgenerationvstotal[scenarios]-SharevariableRESelecvstotalgenerationdelayed1yr [scenarios] Units:Dmnl (0745) initialCCtotal= 1.05739e+007 Units:Mdollars (0746) Initialglobalenergyintensitybysector2009[sectors]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B37') Units:**undefined** Initialglobalenergyintensitybysector2009(0747) initialLCtotal= 1.85847e+007 Units:Mdollars Initiallabourcompensation(0748) initialsharevariableRESelecgenvstotal= 0.0071 Units:Dmnl InitialshareofvariableRESelectricityinrelationtothe totalgeneration.(0749) InvestRESforElec[scenarios]= MAX(invest bioW Tdolar[scenarios]+"invest geot-elec Tdolar"[scenarios]+investhydroTdolar [scenarios]+investoceanicTdolar[scenarios]+investsolarTdolar[scenarios ]+investonshorewindTdolar[scenarios]+investoffshorewindTdolar[scenarios ]+investCSPTdolar[scenarios],0)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

179

Units:Tdollars/Year AnnualinvestmentfortheinstallationofREScapacityfor electricity.(0750)"JobsO&MRESheatpertechn"[RESheat,scenarios]= "installed capacity RES heat-com TW"[RES heat,scenarios]*"Employment factorsO&MRESheat" [RESheat]*MperT Units:people (0751)LeontiefMatrix[sectors,sectors1]= INVERTMATRIX(IAMatrix[sectors,sectors1],35) Units:**undefined** (I-A)^-1.LeontiefinverseinIOA:sensitivenessofproudction tovariationsindemand.(0752) lifetimeRESelec[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C13') lifetimeRESelec["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C7') lifetimeRESelec["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C8') lifetimeRESelec[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C9') lifetimeRESelec[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C10') lifetimeRESelec[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C12') lifetimeRESelec[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C11') lifetimeRESelec[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','C16') Units:Years LifetimeofeachREStechnologyforelectricitygeneration.(0753)LossesCHPbiogas[scenarios]= PESbiogasforCHP[scenarios]-"FESheat-comfrombiogasinCHPplants"[scenarios ]-FESelecfrombiogasinCHPplants[scenarios] Units:EJ LossesinbiogasCHPplants.(0754)LossesCHPwaste[scenarios]= PESwasteforCHPplants[scenarios]-FESelecfromwasteinCHPplants[scenarios ]-"FESheat-comfromwasteinCHPplants"[scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

180

Units:EJ LossesinwasteCHPplants.(0755)materialsfornewRESelecpercapacityinstalled[hydro,materials]= 0 materialsfornewRESelecpercapacityinstalled["geot-elec",materials]= 0 materialsfornewRESelecpercapacityinstalled["solidbioE-elec",materials ]= 0 materialsfornewRESelecpercapacityinstalled[oceanic,materials]= 0 materialsfornewRESelecpercapacityinstalled[windonshore,materials] = "materialspernewcapacityinstalled-windonshore"[materials]+("materialspernewRESeleccapacityinstalled-HVDCs" [materials]+"materialspernewRESeleccapacity installed -materialovergridhighpower" [materials])*"includematerialsforovergrids?" materialsfornewRESelecpercapacityinstalled[windoffshore,materials ]= "materialspernewcapacityinstalled-windoffshore"[materials]+("materialspernewRESeleccapacityinstalled-HVDCs" [materials]+"materialspernewRESeleccapacity installed -materialovergridhighpower" [materials])*"includematerialsforovergrids?" materialsfornewRESelecpercapacityinstalled[solarPV,materials]= "materialspernewcapacityinstalled-PV"[materials]+("materialspernewRESeleccapacityinstalled-HVDCs" [materials ]+"materialspernewRESeleccapacityinstalled-materialovergridhighpower" [materials])*"includematerialsforovergrids?" materialsfornewRESelecpercapacityinstalled[CSP,materials]= "materialspernewcapacityinstalled-CSP"[materials]+("materialspernewRESeleccapacityinstalled-HVDCs" [materials ]+"materialspernewRESeleccapacityinstalled-materialovergridhighpower" [materials])*"includematerialsforovergrids?" Units:kg/MW (0756)"materialsforO&Mpercapacityinstalled-CSP"[Adhesive]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B99')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

181

"materialsforO&Mpercapacityinstalled-CSP"[Aluminiummirrors]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Cadmium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','B100') "materialsforO&Mpercapacityinstalled-CSP"[Cement]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Chromium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','B101') "materialsforO&Mpercapacityinstalled-CSP"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','B102') "materialsforO&Mpercapacityinstalled-CSP"[Dy]= 0 "materialsforO&Mpercapacityinstalled-CSP"["Electric/electroniccomponents" ]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Evacuationlines]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','B103') "materialsforO&Mpercapacityinstalled-CSP"[Foamglass]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Galium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','B104') "materialsforO&Mpercapacityinstalled-CSP"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','B105') "materialsforO&Mpercapacityinstalled-CSP"[gravel]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Indium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Iron]= 0 "materialsforO&Mpercapacityinstalled-CSP"[KNO3mined]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Asphalt]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','B106')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

182

"materialsforO&Mpercapacityinstalled-CSP"[Limestone]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Lithium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','B107') "materialsforO&Mpercapacityinstalled-CSP"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B108') "materialsforO&Mpercapacityinstalled-CSP"[Manganese]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Heavyequipment]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Concrete]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Molybdenum]= 0 "materialsforO&Mpercapacityinstalled-CSP"[NaNO3mined]= 0 "materialsforO&Mpercapacityinstalled-CSP"[NaNO3synthetic]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Neodymium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Nickel]= 0 "materialsforO&Mpercapacityinstalled-CSP"["Overgrid(15%)"]= 0 "materialsforO&Mpercapacityinstalled-CSP"["Overgrid(5%)"]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Paint]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Lead]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','B109') "materialsforO&Mpercapacityinstalled-CSP"[Polypropylene]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Rock]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Rockwool]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Sand]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','B110')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

183

"materialsforO&Mpercapacityinstalled-CSP"[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','B111') "materialsforO&Mpercapacityinstalled-CSP"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','B112') "materialsforO&Mpercapacityinstalled-CSP"[Sitepreparation]= 0 "materialsforO&Mpercapacityinstalled-CSP"[Tin]= 0 "materialsforO&Mpercapacityinstalled-CSP"[sodaash]= 0 "materialsforO&Mpercapacityinstalled-CSP"[steel]= 0 "materialsforO&Mpercapacityinstalled-CSP"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','B113') "materialsforO&Mpercapacityinstalled-CSP"[tellurium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[titanium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[titaniumdioxide]= 0 "materialsforO&Mpercapacityinstalled-CSP"[vanadium]= 0 "materialsforO&Mpercapacityinstalled-CSP"[wires]= 0 "materialsforO&Mpercapacityinstalled-CSP"[zinc]= 0 Units:kg/MW Materialsrequirementsforoperationandmaintenanceperunitof newinstalledcapacityofsolarCSP.(0757)"materialsforO&Mpercapacityinstalled-PV"[Adhesive]= 0 "materialsforO&Mpercapacityinstalled-PV"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C99') "materialsforO&Mpercapacityinstalled-PV"[Aluminiummirrors]= 0 "materialsforO&Mpercapacityinstalled-PV"[Cadmium]= 0 "materialsforO&Mpercapacityinstalled-PV"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','C100') "materialsforO&Mpercapacityinstalled-PV"[Cement]= 0 "materialsforO&Mpercapacityinstalled-PV"[Chromium]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

184

"materialsforO&Mpercapacityinstalled-PV"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','C101') "materialsforO&Mpercapacityinstalled-PV"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','C102') "materialsforO&Mpercapacityinstalled-PV"[Dy]= 0 "materialsforO&Mpercapacityinstalled-PV"["Electric/electroniccomponents" ]= 0 "materialsforO&Mpercapacityinstalled-PV"[Evacuationlines]= 0 "materialsforO&Mpercapacityinstalled-PV"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C103') "materialsforO&Mpercapacityinstalled-PV"[Foamglass]= 0 "materialsforO&Mpercapacityinstalled-PV"[Galium]= 0 "materialsforO&Mpercapacityinstalled-PV"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','C104') "materialsforO&Mpercapacityinstalled-PV"[Glassreinforcingplastic] = GETXLSCONSTANTS('inputs.xlsx','Materials','C105') "materialsforO&Mpercapacityinstalled-PV"[gravel]= 0 "materialsforO&Mpercapacityinstalled-PV"[Indium]= 0 "materialsforO&Mpercapacityinstalled-PV"[Iron]= 0 "materialsforO&Mpercapacityinstalled-PV"[KNO3mined]= 0 "materialsforO&Mpercapacityinstalled-PV"[Asphalt]= 0 "materialsforO&Mpercapacityinstalled-PV"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','C106') "materialsforO&Mpercapacityinstalled-PV"[Limestone]= 0 "materialsforO&Mpercapacityinstalled-PV"[Lithium]= 0 "materialsforO&Mpercapacityinstalled-PV"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','C107') "materialsforO&Mpercapacityinstalled-PV"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','C108') "materialsforO&Mpercapacityinstalled-PV"[Manganese]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

185

"materialsforO&Mpercapacityinstalled-PV"[Heavyequipment]= 0 "materialsforO&Mpercapacityinstalled-PV"[Concrete]= 0 "materialsforO&Mpercapacityinstalled-PV"[Molybdenum]= 0 "materialsforO&Mpercapacityinstalled-PV"[NaNO3mined]= 0 "materialsforO&Mpercapacityinstalled-PV"[NaNO3synthetic]= 0 "materialsforO&Mpercapacityinstalled-PV"[Neodymium]= 0 "materialsforO&Mpercapacityinstalled-PV"[Nickel]= 0 "materialsforO&Mpercapacityinstalled-PV"["Overgrid(15%)"]= 0 "materialsforO&Mpercapacityinstalled-PV"["Overgrid(5%)"]= 0 "materialsforO&Mpercapacityinstalled-PV"[Paint]= 0 "materialsforO&Mpercapacityinstalled-PV"[Lead]= 0 "materialsforO&Mpercapacityinstalled-PV"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','C109') "materialsforO&Mpercapacityinstalled-PV"[Polypropylene]= 0 "materialsforO&Mpercapacityinstalled-PV"[Rock]= 0 "materialsforO&Mpercapacityinstalled-PV"[Rockwool]= 0 "materialsforO&Mpercapacityinstalled-PV"[Sand]= 0 "materialsforO&Mpercapacityinstalled-PV"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','C110') "materialsforO&Mpercapacityinstalled-PV"[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','C111') "materialsforO&Mpercapacityinstalled-PV"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','C112') "materialsforO&Mpercapacityinstalled-PV"[Sitepreparation]= 0 "materialsforO&Mpercapacityinstalled-PV"[Tin]= 0 "materialsforO&Mpercapacityinstalled-PV"[sodaash]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

186

"materialsforO&Mpercapacityinstalled-PV"[steel]= 0 "materialsforO&Mpercapacityinstalled-PV"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','C113') "materialsforO&Mpercapacityinstalled-PV"[tellurium]= 0 "materialsforO&Mpercapacityinstalled-PV"[titanium]= 0 "materialsforO&Mpercapacityinstalled-PV"[titaniumdioxide]= 0 "materialsforO&Mpercapacityinstalled-PV"[vanadium]= 0 "materialsforO&Mpercapacityinstalled-PV"[wires]= 0 "materialsforO&Mpercapacityinstalled-PV"[zinc]= 0 Units:kg/MW Materialsrequirementsforoperationandmaintenanceperunitof newinstalledcapacityofsolarPV.(0758)"materialsforO&Mpercapacityinstalled-windoffshore"[Adhesive] = 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E99') "materialsforO&Mpercapacityinstalled-windoffshore"[Aluminiummirrors ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Cadmium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','E100') "materialsforO&Mpercapacityinstalled-windoffshore"[Cement]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Chromium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','E101') "materialsforO&Mpercapacityinstalled-windoffshore"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','E102') "materialsforO&Mpercapacityinstalled-windoffshore"[Dy]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"["Electric/electroniccomponents" ]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

187

0 "materialsforO&Mpercapacityinstalled-windoffshore"[Evacuationlines ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','E103') "materialsforO&Mpercapacityinstalled-windoffshore"[Foamglass]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Galium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','E104') "materialsforO&Mpercapacityinstalled-windoffshore"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','E105') "materialsforO&Mpercapacityinstalled-windoffshore"[gravel]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Indium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Iron]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[KNO3mined]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Asphalt]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','E106') "materialsforO&Mpercapacityinstalled-windoffshore"[Limestone]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Lithium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','E107') "materialsforO&Mpercapacityinstalled-windoffshore"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','E108') "materialsforO&Mpercapacityinstalled-windoffshore"[Manganese]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Heavyequipment ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Concrete]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Molybdenum]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

188

"materialsforO&Mpercapacityinstalled-windoffshore"[NaNO3mined]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[NaNO3synthetic ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Neodymium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Nickel]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"["Overgrid(15%)" ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"["Overgrid(5%)" ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Paint]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Lead]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','E109') "materialsforO&Mpercapacityinstalled-windoffshore"[Polypropylene]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Rock]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Rockwool]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Sand]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','E110') "materialsforO&Mpercapacityinstalled-windoffshore"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','E111') "materialsforO&Mpercapacityinstalled-windoffshore"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','E112') "materialsforO&Mpercapacityinstalled-windoffshore"[Sitepreparation ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[Tin]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[sodaash]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[steel]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

189

0 "materialsforO&Mpercapacityinstalled-windoffshore"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','E113') "materialsforO&Mpercapacityinstalled-windoffshore"[tellurium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[titanium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[titaniumdioxide ]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[vanadium]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[wires]= 0 "materialsforO&Mpercapacityinstalled-windoffshore"[zinc]= 0 Units:kg/MW Materialsrequirementsforoperationandmaintenanceperunitof newinstalledcapacityofwindoffshore.(0759)"materialsforO&Mpercapacityinstalled-windonshore"[Adhesive]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D99') "materialsforO&Mpercapacityinstalled-windonshore"[Aluminiummirrors ]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Cadmium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','D100') "materialsforO&Mpercapacityinstalled-windonshore"[Cement]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Chromium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','D101') "materialsforO&Mpercapacityinstalled-windonshore"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','D102') "materialsforO&Mpercapacityinstalled-windonshore"[Dy]= 0 "materialsforO&Mpercapacityinstalled-windonshore"["Electric/electroniccomponents" ]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

190

"materialsforO&Mpercapacityinstalled-windonshore"[Evacuationlines ]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','D103') "materialsforO&Mpercapacityinstalled-windonshore"[Foamglass]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Galium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','D104') "materialsforO&Mpercapacityinstalled-windonshore"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','D105') "materialsforO&Mpercapacityinstalled-windonshore"[gravel]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Indium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Iron]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[KNO3mined]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Asphalt]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','D106') "materialsforO&Mpercapacityinstalled-windonshore"[Limestone]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Lithium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','D107') "materialsforO&Mpercapacityinstalled-windonshore"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D108') "materialsforO&Mpercapacityinstalled-windonshore"[Manganese]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Heavyequipment] = 0 "materialsforO&Mpercapacityinstalled-windonshore"[Concrete]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Molybdenum]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[NaNO3mined]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

191

0 "materialsforO&Mpercapacityinstalled-windonshore"[NaNO3synthetic] = 0 "materialsforO&Mpercapacityinstalled-windonshore"[Neodymium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Nickel]= 0 "materialsforO&Mpercapacityinstalled-windonshore"["Overgrid(15%)" ]= 0 "materialsforO&Mpercapacityinstalled-windonshore"["Overgrid(5%)" ]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Paint]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Lead]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','D109') "materialsforO&Mpercapacityinstalled-windonshore"[Polypropylene]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Rock]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Rockwool]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Sand]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','D110') "materialsforO&Mpercapacityinstalled-windonshore"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','D111') "materialsforO&Mpercapacityinstalled-windonshore"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','D112') "materialsforO&Mpercapacityinstalled-windonshore"[Sitepreparation ]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[Tin]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[sodaash]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[steel]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

192

"materialsforO&Mpercapacityinstalled-windonshore"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','D113') "materialsforO&Mpercapacityinstalled-windonshore"[tellurium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[titanium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[titaniumdioxide ]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[vanadium]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[wires]= 0 "materialsforO&Mpercapacityinstalled-windonshore"[zinc]= 0 Units:kg/MW Materialsrequirementsforoperationandmaintenanceperunitof newinstalledcapacityofwindonshore.(0760)"materialspernewcapacityinstalled-CSP"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','B5') "materialspernewcapacityinstalled-CSP"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B6') "materialspernewcapacityinstalled-CSP"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','B7') "materialspernewcapacityinstalled-CSP"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B8') "materialspernewcapacityinstalled-CSP"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','B9') "materialspernewcapacityinstalled-CSP"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','B10') "materialspernewcapacityinstalled-CSP"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B11') "materialspernewcapacityinstalled-CSP"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','B12') "materialspernewcapacityinstalled-CSP"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','B13') "materialspernewcapacityinstalled-CSP"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','B14') "materialspernewcapacityinstalled-CSP"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','B15') "materialspernewcapacityinstalled-CSP"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','B16')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

193

"materialspernewcapacityinstalled-CSP"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','B17') "materialspernewcapacityinstalled-CSP"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','B18') "materialspernewcapacityinstalled-CSP"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B19') "materialspernewcapacityinstalled-CSP"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','B20') "materialspernewcapacityinstalled-CSP"[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','B21') "materialspernewcapacityinstalled-CSP"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','B22') "materialspernewcapacityinstalled-CSP"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B23') "materialspernewcapacityinstalled-CSP"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','B24') "materialspernewcapacityinstalled-CSP"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','B25') "materialspernewcapacityinstalled-CSP"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','B26') "materialspernewcapacityinstalled-CSP"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','B27') "materialspernewcapacityinstalled-CSP"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','B28') "materialspernewcapacityinstalled-CSP"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B29') "materialspernewcapacityinstalled-CSP"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','B30') "materialspernewcapacityinstalled-CSP"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B31') "materialspernewcapacityinstalled-CSP"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','B32') "materialspernewcapacityinstalled-CSP"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','B33') "materialspernewcapacityinstalled-CSP"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','B34') "materialspernewcapacityinstalled-CSP"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','B35') "materialspernewcapacityinstalled-CSP"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','B36') "materialspernewcapacityinstalled-CSP"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','B37') "materialspernewcapacityinstalled-CSP"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B38')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

194

"materialspernewcapacityinstalled-CSP"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','B39') "materialspernewcapacityinstalled-CSP"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','B40') "materialspernewcapacityinstalled-CSP"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','B41') "materialspernewcapacityinstalled-CSP"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','B42') "materialspernewcapacityinstalled-CSP"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','B43') "materialspernewcapacityinstalled-CSP"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','B44') "materialspernewcapacityinstalled-CSP"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','B45') "materialspernewcapacityinstalled-CSP"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','B46') "materialspernewcapacityinstalled-CSP"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','B47') "materialspernewcapacityinstalled-CSP"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','B48') "materialspernewcapacityinstalled-CSP"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','B49') "materialspernewcapacityinstalled-CSP"[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','B50') "materialspernewcapacityinstalled-CSP"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','B51') "materialspernewcapacityinstalled-CSP"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','B52') "materialspernewcapacityinstalled-CSP"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','B53') "materialspernewcapacityinstalled-CSP"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','B54') "materialspernewcapacityinstalled-CSP"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','B55') "materialspernewcapacityinstalled-CSP"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','B56') "materialspernewcapacityinstalled-CSP"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B57') "materialspernewcapacityinstalled-CSP"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B58') "materialspernewcapacityinstalled-CSP"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','B59') "materialspernewcapacityinstalled-CSP"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','B60')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

195

"materialspernewcapacityinstalled-CSP"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','B61') "materialspernewcapacityinstalled-CSP"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','B62') Units:kg/MW Materialsrequirementsperunitofnewinstalledcapacityof solarCSP.(0761)"materialspernewcapacityinstalled-windonshore"[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','D5') "materialspernewcapacityinstalled-windonshore"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D6') "materialspernewcapacityinstalled-windonshore"[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','D7') "materialspernewcapacityinstalled-windonshore"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D8') "materialspernewcapacityinstalled-windonshore"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','D9') "materialspernewcapacityinstalled-windonshore"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','D10') "materialspernewcapacityinstalled-windonshore"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D11') "materialspernewcapacityinstalled-windonshore"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','D12') "materialspernewcapacityinstalled-windonshore"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','D13') "materialspernewcapacityinstalled-windonshore"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','D14') "materialspernewcapacityinstalled-windonshore"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','D15') "materialspernewcapacityinstalled-windonshore"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','D16') "materialspernewcapacityinstalled-windonshore"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','D17') "materialspernewcapacityinstalled-windonshore"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','D18') "materialspernewcapacityinstalled-windonshore"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D19') "materialspernewcapacityinstalled-windonshore"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','D20') "materialspernewcapacityinstalled-windonshore"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','D21')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

196

"materialspernewcapacityinstalled-windonshore"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','D22') "materialspernewcapacityinstalled-windonshore"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D23') "materialspernewcapacityinstalled-windonshore"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','D24') "materialspernewcapacityinstalled-windonshore"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','D25') "materialspernewcapacityinstalled-windonshore"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','D26') "materialspernewcapacityinstalled-windonshore"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','D27') "materialspernewcapacityinstalled-windonshore"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','D28') "materialspernewcapacityinstalled-windonshore"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D29') "materialspernewcapacityinstalled-windonshore"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','D30') "materialspernewcapacityinstalled-windonshore"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D31') "materialspernewcapacityinstalled-windonshore"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','D32') "materialspernewcapacityinstalled-windonshore"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','D33') "materialspernewcapacityinstalled-windonshore"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','D34') "materialspernewcapacityinstalled-windonshore"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','D35') "materialspernewcapacityinstalled-windonshore"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','D36') "materialspernewcapacityinstalled-windonshore"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','D37') "materialspernewcapacityinstalled-windonshore"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D38') "materialspernewcapacityinstalled-windonshore"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','D39') "materialspernewcapacityinstalled-windonshore"["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','D40') "materialspernewcapacityinstalled-windonshore"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','D41') "materialspernewcapacityinstalled-windonshore"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','D42') "materialspernewcapacityinstalled-windonshore"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','D43')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

197

"materialspernewcapacityinstalled-windonshore"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','D44') "materialspernewcapacityinstalled-windonshore"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','D45') "materialspernewcapacityinstalled-windonshore"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','D46') "materialspernewcapacityinstalled-windonshore"[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','D47') "materialspernewcapacityinstalled-windonshore"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','D48') "materialspernewcapacityinstalled-windonshore"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','D49') "materialspernewcapacityinstalled-windonshore"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','D50') "materialspernewcapacityinstalled-windonshore"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','D51') "materialspernewcapacityinstalled-windonshore"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','D52') "materialspernewcapacityinstalled-windonshore"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','D53') "materialspernewcapacityinstalled-windonshore"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','D54') "materialspernewcapacityinstalled-windonshore"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','D55') "materialspernewcapacityinstalled-windonshore"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','D56') "materialspernewcapacityinstalled-windonshore"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D57') "materialspernewcapacityinstalled-windonshore"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D58') "materialspernewcapacityinstalled-windonshore"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','D59') "materialspernewcapacityinstalled-windonshore"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','D60') "materialspernewcapacityinstalled-windonshore"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','D61') "materialspernewcapacityinstalled-windonshore"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','D62') Units:kg/MW Materialsrequirementsperunitofnewinstalledcapacityof windonshore.(0762)"materialspernewRESeleccapacityinstalled-HVDCs"[Adhesive]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

198

GETXLSCONSTANTS('inputs.xlsx','Materials','H5') "materialspernewRESeleccapacityinstalled-HVDCs"[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H6') "materialspernewRESeleccapacityinstalled-HVDCs"[Aluminiummirrors] = GETXLSCONSTANTS('inputs.xlsx','Materials','H7') "materialspernewRESeleccapacityinstalled-HVDCs"[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H8') "materialspernewRESeleccapacityinstalled-HVDCs"[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','H9') "materialspernewRESeleccapacityinstalled-HVDCs"[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','H10') "materialspernewRESeleccapacityinstalled-HVDCs"[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H11') "materialspernewRESeleccapacityinstalled-HVDCs"[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','H12') "materialspernewRESeleccapacityinstalled-HVDCs"[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','H13') "materialspernewRESeleccapacityinstalled-HVDCs"[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','H14') "materialspernewRESeleccapacityinstalled-HVDCs"["Electric/electroniccomponents" ]= GETXLSCONSTANTS('inputs.xlsx','Materials','H15') "materialspernewRESeleccapacityinstalled-HVDCs"[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','H16') "materialspernewRESeleccapacityinstalled-HVDCs"[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','H17') "materialspernewRESeleccapacityinstalled-HVDCs"[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','H18') "materialspernewRESeleccapacityinstalled-HVDCs"[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H19') "materialspernewRESeleccapacityinstalled-HVDCs"[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','H20') "materialspernewRESeleccapacityinstalled-HVDCs"[Glassreinforcingplastic ]= GETXLSCONSTANTS('inputs.xlsx','Materials','H21') "materialspernewRESeleccapacityinstalled-HVDCs"[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','H22') "materialspernewRESeleccapacityinstalled-HVDCs"[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H23') "materialspernewRESeleccapacityinstalled-HVDCs"[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','H24') "materialspernewRESeleccapacityinstalled-HVDCs"[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','H25')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

199

"materialspernewRESeleccapacityinstalled-HVDCs"[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','H26') "materialspernewRESeleccapacityinstalled-HVDCs"[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','H27') "materialspernewRESeleccapacityinstalled-HVDCs"[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','H28') "materialspernewRESeleccapacityinstalled-HVDCs"[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H29') "materialspernewRESeleccapacityinstalled-HVDCs"[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','H30') "materialspernewRESeleccapacityinstalled-HVDCs"[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H31') "materialspernewRESeleccapacityinstalled-HVDCs"[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','H32') "materialspernewRESeleccapacityinstalled-HVDCs"[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','H33') "materialspernewRESeleccapacityinstalled-HVDCs"[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','H34') "materialspernewRESeleccapacityinstalled-HVDCs"[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','H35') "materialspernewRESeleccapacityinstalled-HVDCs"[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','H36') "materialspernewRESeleccapacityinstalled-HVDCs"[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','H37') "materialspernewRESeleccapacityinstalled-HVDCs"[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H38') "materialspernewRESeleccapacityinstalled-HVDCs"[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','H39') "materialspernewRESeleccapacityinstalled-HVDCs"["Overgrid(15%)"] = GETXLSCONSTANTS('inputs.xlsx','Materials','H40') "materialspernewRESeleccapacityinstalled-HVDCs"["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','H41') "materialspernewRESeleccapacityinstalled-HVDCs"[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','H42') "materialspernewRESeleccapacityinstalled-HVDCs"[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','H43') "materialspernewRESeleccapacityinstalled-HVDCs"[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','H44') "materialspernewRESeleccapacityinstalled-HVDCs"[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','H45') "materialspernewRESeleccapacityinstalled-HVDCs"[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','H46') "materialspernewRESeleccapacityinstalled-HVDCs"[Rockwool]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

200

GETXLSCONSTANTS('inputs.xlsx','Materials','H47') "materialspernewRESeleccapacityinstalled-HVDCs"[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','H48') "materialspernewRESeleccapacityinstalled-HVDCs"[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','H49') "materialspernewRESeleccapacityinstalled-HVDCs"[Siliconwafermodules ]= GETXLSCONSTANTS('inputs.xlsx','Materials','H50') "materialspernewRESeleccapacityinstalled-HVDCs"[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','H51') "materialspernewRESeleccapacityinstalled-HVDCs"[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','H52') "materialspernewRESeleccapacityinstalled-HVDCs"[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','H53') "materialspernewRESeleccapacityinstalled-HVDCs"[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','H54') "materialspernewRESeleccapacityinstalled-HVDCs"[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','H55') "materialspernewRESeleccapacityinstalled-HVDCs"[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','H56') "materialspernewRESeleccapacityinstalled-HVDCs"[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H57') "materialspernewRESeleccapacityinstalled-HVDCs"[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H58') "materialspernewRESeleccapacityinstalled-HVDCs"[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','H59') "materialspernewRESeleccapacityinstalled-HVDCs"[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','H60') "materialspernewRESeleccapacityinstalled-HVDCs"[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','H61') "materialspernewRESeleccapacityinstalled-HVDCs"[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','H62') Units:kg/MW Materialsrequirementsforinter-regionalgrids(HVDCs)perunit ofnewinstalledcapacityofRESvariableforelectricity.(0763)"materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','G5') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G6') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Aluminiummirrors]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

201

GETXLSCONSTANTS('inputs.xlsx','Materials','G7') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G8') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','G9') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','G10') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G11') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','G12') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','G13') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','G14') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" ["Electric/electroniccomponents"]= GETXLSCONSTANTS('inputs.xlsx','Materials','G15') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','G16') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','G17') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','G18') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G19') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','G20') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','G21') "materialspernewRESeleccapacityinstalled-materialovergridhighpower"

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

202

[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','G22') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G23') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','G24') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','G25') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','G26') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','G27') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','G28') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G29') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','G30') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G31') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','G32') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','G33') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','G34') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','G35') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','G36')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

203

"materialspernewRESeleccapacityinstalled-materialovergridhighpower" [NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','G37') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G38') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','G39') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" ["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','G40') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" ["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','G41') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','G42') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','G43') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','G44') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','G45') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','G46') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','G47') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','G48') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','G49') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','G50') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Silver]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

204

GETXLSCONSTANTS('inputs.xlsx','Materials','G51') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','G52') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','G53') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','G54') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','G55') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','G56') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G57') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G58') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','G59') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','G60') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','G61') "materialspernewRESeleccapacityinstalled-materialovergridhighpower" [zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','G62') Units:kg/MW Materialsrequirementsforovergridhighpowerperunitofnew installedcapacityofRESvariableforelectricity.(0764)materialsrequiredfornewCSPMt[materials,scenarios]= materialsrequiredfornewRESelecMt[CSP,materials,scenarios] Units:Mt Annualmaterialsrequiredfortheinstallationofnewcapacity ofsolarCSP.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

205

(0765)materialsrequiredfornewPVMt[materials,scenarios]= materialsrequiredfornewRESelecMt[solarPV,materials,scenarios] Units:Mt Annualmaterialsrequiredfortheinstallationofnewcapacity ofsolarPV.(0766)materialsrequiredfornewRESelecMt[RESelec,materials,scenarios ]= newcapacityinstalledRESelecTW[RESelec,scenarios]*materialsfornewRESelecpercapacityinstalled [RESelec,materials]*MperT/kgperMt Units:Mt Annualmaterialsrequiredfortheinstallationofnewcapacity ofRESforelectricitybytechnology.(0767)materialsrequiredfornewwindoffshoreMt[materials,scenarios]= materialsrequiredfornewRESelecMt[windoffshore,materials,scenarios] Units:Mt Annualmaterialsrequiredfortheinstallationofnewcapacity ofwindoffshore.(0768)materialsrequiredfornewwindonshoreMt[materials,scenarios]= materialsrequiredfornewRESelecMt[windonshore,materials,scenarios] Units:Mt Annualmaterialsrequiredfortheinstallationofnewcapacity ofwindoshore.(0769)"materialsrequiredforO&MCSPMt"[materials,scenarios]= "materialsrequiredforO&MRESelecMt"[CSP,materials,scenarios] Units:Mt Annualmaterialsrequiredfortheoperationandmaintenanceof solarCSP.(0770)"materialsrequiredforO&MPVMt"[materials,scenarios]= "materialsrequiredforO&MRESelecMt"[solarPV,materials,scenarios] Units:Mt Annualmaterialsrequiredfortheoperationandmaintenanceof solarPV.(0771)"materialsrequiredforO&MRESelecMt"[RESelec,materials,scenarios ]= installedcapacityRESelecTW[RESelec,scenarios]*"materialsforO&MpercapacityinstalledRESelec" [RESelec,materials]*MperT/kgperMt

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

206

Units:Mt Annualmaterialsrequiredfortheoperationandmaintenanceof thecapacityofRESforelectricityinoperationbytechnology.(0772)"materialsrequiredforO&MwindoffshoreMt"[materials,scenarios]= "materialsrequiredforO&MRESelecMt"[windoffshore,materials,scenarios ] Units:Mt Annualmaterialsrequiredfortheoperationandmaintenanceof windoffshore.(0773)"materialsrequiredforO&MwindonshoreMt"[materials,scenarios]= "materialsrequiredforO&MRESelecMt"[windonshore,materials,scenarios ] Units:Mt Annualmaterialsrequiredfortheoperationandmaintenanceof windonshore.(0774)maxBioETWe[scenarios]= availablepotentialFEsolidbioEforelecEJ[scenarios]*TWeperTWh/EJperTWh Units:TWe Techno-ecologicalpotentialofbiomass&waste.Thispotentialis dynamicanddependantonthepotentialassignedforbioenergy residues.(0775)maxbiogasEJ[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G41') maxbiogasEJ[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G41') maxbiogasEJ[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G41') maxbiogasEJ[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G41') maxbiogasEJ[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G41') maxbiogasEJ[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','G41') Units:EJ Maximunpotencialofbiogasesproduction.(0776)maxextractioncoalEJ[scenarios]= IFTHENELSE(chooseextractioncoalcurve[scenarios]=1, tablemaxextractioncoalMohr2012EJ (TotRURRcoal[scenarios]),

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

207

IFTHENELSE(chooseextractioncoalcurve[scenarios]=2, tablemaxextractioncoalLowMohr15 (TotRURRcoal[scenarios]), IFTHENELSE(chooseextractioncoalcurve[scenarios]=3,tablemaxextractioncoalBGMohr15 (TotRURRcoal[scenarios]), IFTHENELSE(chooseextractioncoalcurve[scenarios]=4, tablemaxextractioncoalHighMohr15 (TotRURRcoal[scenarios]),tablemaxextractioncoalUserdefined(TotRURRcoal [scenarios]))))) Units:EJ/Year Maximumextractioncurveselectedforthesimulations.(0777)maxextractionconvgasEJ[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=1, IFTHENELSE(chooseextractionconvgascurve[scenarios]=1, tablemaxextractionconvgasBGMohr15 (TotRURRconvgas[scenarios]), IFTHENELSE(chooseextractionconvgascurve[scenarios]=2, tablemaxextractionconvgasLowMohr15 (TotRURRconvgas[scenarios]), IFTHENELSE(chooseextractionconvgascurve[scenarios]=3, tablemaxextractionconvgasHighMohr15 (TotRURRconvgas[scenarios]),tablemaxextractionconvgasUserdefined (TotRURRconvgas[scenarios])))),0) Units:EJ/Year Maximumextractioncurveselectedforthesimulations.(0778)maxextractionunconvgas[scenarios]= IFTHENELSE(chooseextractioncurveunconvgas[scenarios]=1,tablemaxextractionunconvgasBGMohr15 (TotRURRunconvgas[scenarios]), IFTHENELSE(chooseextractioncurveunconvgas[scenarios]=2,tablemaxextractionunconvgasLowMohr15 (TotRURRunconvgas[scenarios]), IFTHENELSE(chooseextractioncurveunconvgas[scenarios]=3,tablemaxextractionunconvgasHighMohr15 (TotRURRunconvgas[scenarios]),tablemaxextractionunconvgasUserdefined (TotRURRunconvgas[scenarios])))) Units:EJ/Year Maximumextractioncurveselectedforthesimulations.(0779)maxextractionuraniumEJ[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

208

IF THENELSE(Chooseextractionuraniumcurve[scenarios]=1, tablemaxextractionuraniumEWG13EJ (RURRuranium[scenarios ]),IFTHENELSE(Chooseextractionuraniumcurve[scenarios]=2,tablemaxextractionuraniumZittel12 (RURRuranium[scenarios]),tablemaxextractionuraniumuserdefined(RURRuranium [scenarios]))) Units:EJ/Year Maximumextractioncurveselectedforthesimulations.(0780)"maxgeot-elecTWe"[scenarios]= "maxPEgeot-elecTWth"[scenarios]*EfficiencyconversiongeotPEtoElec Units:TWe Techno-ecologicalpotentialofelectricgeothermal(1TWe=8760 TWhinoneyear).Weassumethattheglobalpotentialof0.2TWe.(0781)maxhydroTWe[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C24') maxhydroTWe[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C24') maxhydroTWe[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C24') maxhydroTWe[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C24') maxhydroTWe[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C24') maxhydroTWe[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C24') Units:TWe Techno-ecologicalpotentialofhydro(1TWe=8760TWhinone year).(0782)MaxNPPpotentialbioEresidues[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G43') MaxNPPpotentialbioEresidues[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G43') MaxNPPpotentialbioEresidues[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G43') MaxNPPpotentialbioEresidues[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G43') MaxNPPpotentialbioEresidues[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G43') MaxNPPpotentialbioEresidues[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','G43')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

209

Units:EJ/Year PotencialfollowingWBGU(2009).(0783)MaxNPPpotentialBioEresiduesforcellulosicbiofuels[scenarios]= Max NPP potential bioE residues[User defined]*share cellulosic biofuels vs BioEresidues [scenarios] Units:EJ/Year PotentialassignedtothecellulosicbiofuelsfrombioEresidues.(0784)MaxNPPpotentialBioEresiduesforheatandelec[scenarios]= MaxNPPpotentialbioEresidues[Userdefined]*(1-sharecellulosicbiofuelsvsBioEresidues [scenarios]) Units:EJ/Year ShareofbioEforheatandelectricity.(0785)maxoceanicTWe[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C27') maxoceanicTWe[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C27') maxoceanicTWe[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C27') maxoceanicTWe[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C27') maxoceanicTWe[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C27') maxoceanicTWe[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C27') Units:TWe Techno-ecologicalpotentialofoceanic(1TWe=8760TWhinone year).(0786)maxoffshorewindTWe[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C29') maxoffshorewindTWe[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C29') maxoffshorewindTWe[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C29') maxoffshorewindTWe[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C29') maxoffshorewindTWe[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C29') maxoffshorewindTWe[Userdefined]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

210

GETXLSCONSTANTS('inputs.xlsx','Userdefined','C29') Units:TWe Techno-ecologicalpotentialofoffshorewind(1TWe=8760TWh inoneyear).(0787)maxonshorewindTWe[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C28') maxonshorewindTWe[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C28') maxonshorewindTWe[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C28') maxonshorewindTWe[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C28') maxonshorewindTWe[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C28') maxonshorewindTWe[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C28') Units:TWe Techno-ecologicalpotentialofonshorewind(1TWe=8760TWhin oneyear).(0788)"maxPEgeot-elecTWth"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C25') "maxPEgeot-elecTWth"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C25') "maxPEgeot-elecTWth"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C25') "maxPEgeot-elecTWth"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C25') "maxPEgeot-elecTWth"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C25') "maxPEgeot-elecTWth"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C25') Units:TWe Primaryenergyofgeothermalforelectricity.(0789)maxPEpotentialbiogasforheat[scenarios]= maxbiogasEJ[scenarios]*sharePESbiogasforheat[scenarios] Units:EJ Primaryenergypotentialofbiogasforheattakingintoaccount thecurrentshare.(0790)MaxPEpotentialRESforheat["solar-heat",scenarios]= FEsolarpotentialforheat[scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

211

MaxPEpotentialRESforheat["geot-heat",scenarios]= GeotPEpotentialforheatEJ[scenarios] MaxPEpotentialRESforheat["solidbioE-heat",scenarios]= availablePEpotentialsolidbioEforheatEJ[scenarios] Units:EJ Potential(primaryenergy)forproducingheatfromrenewables.(0791)maxPEpotentialtotRESheatEJ[scenarios]= maxPEpotentialbiogasforheat[scenarios]+SUM(MaxPEpotentialRESforheat [RESheat!,scenarios]) Units:EJ MaximumtotalprimaryenergypotentialofRESforheat.(0792)MaxPEavailpotentialbiofuelsmarginallands[scenarios]= BioEpotentialNPPmarginallands*ConvefficiencyfromNPPtobiofuels Units:EJ/Year Annualbiofuelspotential(primaryenergy)availablefrom marginallands(0793)maxpercent2wheels[scenarios]=INTEG( rate4wto2w[scenarios], initial2wpercent) Units:Dmnl maximumshareof2wheelvehicles(intermsofnumberof vehicles)policiesorshortagecanmakepeoplemoveform4wheel vehiclestotwowheelers(0794)maxpercent4wheels[scenarios]=INTEG( -rate4wto2w[scenarios], 1-initial2wpercent) Units:Dmnl maxpercentof4wheelersrelativetototalamount2w+4w(0795)MaxpotentialNPPbioEconventionalforheat[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G42') MaxpotentialNPPbioEconventionalforheat[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G42') MaxpotentialNPPbioEconventionalforheat[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G42') MaxpotentialNPPbioEconventionalforheat[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G42') MaxpotentialNPPbioEconventionalforheat[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G42') MaxpotentialNPPbioEconventionalforheat[SCEN4]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

212

GETXLSCONSTANTS('inputs.xlsx','SCEN4','G42') Units:EJ/Year SustainablepotentialNPPofconventionalbioenergyforheat. Source:TechnicalReport.(0796)"MaxpotentialPEnon-electricRES"[scenarios]= maxPEpotentialtotRESheatEJ[scenarios]+MaxPEavailbiofuelspotential [scenarios] Units:EJ/Year Techno-ecologicalsustainablepotential(primaryenergy)of non-electricRES.(0797)maxpotentialPHSTWe[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G24') maxpotentialPHSTWe[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G24') maxpotentialPHSTWe[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G24') maxpotentialPHSTWe[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G24') maxpotentialPHSTWe[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','G24') maxpotentialPHSTWe[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G24') Units:TWe MaximumpotentialforPHS.(0798)maxpotentialRESelecTWe[hydro,scenarios]= maxhydroTWe[scenarios] maxpotentialRESelecTWe["geot-elec",scenarios]= "maxgeot-elecTWe"[scenarios] maxpotentialRESelecTWe["solidbioE-elec",scenarios]= maxBioETWe[scenarios] maxpotentialRESelecTWe[oceanic,scenarios]= maxoceanicTWe[scenarios] maxpotentialRESelecTWe[windonshore,scenarios]= maxonshorewindTWe[scenarios] maxpotentialRESelecTWe[windoffshore,scenarios]= maxoffshorewindTWe[scenarios] maxpotentialRESelecTWe[solarPV,scenarios]= maxsolarPVonlandTWe[scenarios] maxpotentialRESelecTWe[CSP,scenarios]= maxCSPTWe[scenarios] Units:TWe

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

213

MaximumpotentialofRESforelectricitypertechnology consideringanoptimalCp.(0799)maxpotentialRESelecTWh[RESelec,scenarios]= maxpotentialRESelecTWe[RESelec,scenarios]/TWeperTWh Units:TWh MaximumpotentialofRESforelectricitypertechnology consideringanoptimalCp.(0800)maxpotentialtotRESelecTWh[scenarios]= SUM(maxpotentialRESelecTWh[RESelec!,scenarios])+maxpotentialPHSTWe [scenarios]/TWeperTWh+maxbiogasEJ[scenarios]*sharePESbiogasforelec [scenarios]/EJperTWh Units:TWh MaximumtotalpotentialofRESforelectricityconsideringan optimalCp.(0801)Maxrecyclingratesminerals= GETXLSCONSTANTS('inputs.xlsx','Parameters','G56') Units:Dnml Maximumassumedrecyclingratepermineral.(0802)"Maxsharetransm&distreleclosses"= "sharetransm&distreleclossesinitial"*(1+0.0115*EXP(4.2297*1)-0.00251) Units:Dnml Assumedmaximumshareoftransmissionanddistributionelectric losses(whenRESsupply100%ofthetotalconsumption).(0803)demandgasforoilrefinerygains[scenarios]= OilrefinerygainsEJ[scenarios]*Efficiencygasforoilrefinerygains Units:EJ/Year Demandofnaturalgastobeusedasinputintherefineriesto obtaintheso-called"oilrefinerygains".(0804)Efficiencygasforoilrefinerygains= GETXLSCONSTANTS('inputs.xlsx','Parameters','C51') Units:Dmnl Weassumea100%efficiencyasfirstapproximation.(0805)gCO2perMJCTL= GETXLSCONSTANTS('inputs.xlsx','Parameters','C89') Units:gCO2/MJ CO2emissionscoefficientofCTL.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

214

(0806)GenlossesvsPEforelec[scenarios]= ElecgenrelatedlossesEJ[scenarios]/TotalPEforelectricityconsumptionEJ [scenarios] Units:Dmnl GenerationlossesasashareofthetotalPEforelectricity.(0807)GtChistoricemissionsRCPs[scenarios]( [(0,0)-(10,10)],(1990,6.144),(1995,6.4395),(2000,6.735),(2005,7.971)) Units:GtC RCPdatabase: http://tntcat.iiasa.ac.at:8787/RcpDb/dsd?Action=htmlpage&page=wel come(0808)HeatTransCoeff= 1/Transfercoefficientforlowerlevel Units:Year[100,4000] [Fiddaman]HeatTransferCoefficient[tau12](years). Coefficientofheattransferbetweentheatmosphere&upper oceanandthedeepocean./500/[DICE-2013R]1/c4;c4Transfer coefficientforlowerlevel/0.025/(0809)HeatTransfer[scenarios]= TempDiff[scenarios]*DOHeatCap/HeatTransCoeff Units:watt/meter/meter HeatTransferfromtheAtmosphere&UpperOceantotheDeepOcean(0810)HistoricCTLproduction= GETXLSLOOKUPS('inputs.xlsx','Constants','25','C36') Units:EJ/Year HistoricgenerationofCTL1990-2014(IEABalances).(0811)Historicefficiencygasforelectricity( GETXLSLOOKUPS('inputs.xlsx','Constants','25','H70')) Units:percent Historicalevolutionofefficiencyofnaturalgaspowercentrals 1995-2013(IEABalances).(0812)HistoricGTLproduction= GETXLSLOOKUPS('inputs.xlsx','Constants','25','C37') Units:EJ/Year HistoricgenerationofGTL1990-2014(IEABalances).(0813)Historiclandcompetavailableforbiofuels2gen[scenarios]= 74847.7*EJperktoe/Landproductivitybiofuels2genEJMHa

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

215

Units:MHa/Year Landoccupiedbybiofuelsin2015.Biofuelsproductionin2015: 7,4847.7ktoe(BP2016).(0814)Historicpop( GETXLSLOOKUPS('inputs.xlsx','Constants','25','C28')) Units:people Historicpopulation(1990-2015).Ref:Worldbank.(0815)Historicproducbiofuels2gen( GETXLSLOOKUPS('inputs.xlsx','Constants','25','C56')) Units:ktoe/Year Historicproductionofbiofuels2ndgeneration(1990-2015).(0816) improvementefficiencygasforelectricity= IFTHENELSE(Time<2013,(Historicefficiencygasforelectricity(Time+1)- Historicefficiencygasforelectricity(Time))*percenttoshare,efficiencygasforelectricity *remainingefficiencyimprovgasforelectricity*Efficiencyimprovgasforelectricity ) Units:Dmnl Annualefficiencyimprovementofthegaspowercentrals.(0817) initAtmosUOceanTemp= GETXLSCONSTANTS('inputs.xlsx','Parameters','C119') Units:DegreesC GlobalAnnualTemperatureAnomaly(Land+Ocean)in1990from NASAGISSSurfaceTemperature(GISTEMP):+0.43ºC.5-year average:+0.35ºC. http://cdiac.ornl.gov/ftp/trends/temp/hansen/gl_land_ocean.txt [DICE-1994]InitialTemperatureoftheAtmosphereandUpper Ocean[T](degreesC)1965[Cowles,pg.24]/0.2/[DICE-2013R] tatm0Initialatmospherictempchange(degreesCfrom1900)2010 /0.80/(0818) initDeepOceanTemp= GETXLSCONSTANTS('inputs.xlsx','Parameters','C120') Units:DegreesC [DICE-1994]TemperatureoftheDeepOcean[T*](degreesC). [Cowles,pg.24]1965/0.1/[DICE-2013R]tocean0Initiallower stratumtempchange2010(degreesCfrom1990)/0.0068/(0819) initialefficiencygasforelectricity= GETXLSCONSTANTS('inputs.xlsx','Constants','H70') Units:percent

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

216

Efficiencyofgaspowercentralsintheinitialyear1995(IEA balances).(0820) initialpopulation= GETXLSCONSTANTS('inputs.xlsx','Constants','H28') Units:people InitialvaluefromWorldBankin1995.(0821) inlandtransportvariationintensity[scenarios,electricity]= varIinlandElec[scenarios] inlandtransportvariationintensity[scenarios,heat]= 0 inlandtransportvariationintensity[scenarios,liquids]= varIinlandTliq[scenarios] inlandtransportvariationintensity[scenarios,solids]= 0 inlandtransportvariationintensity[scenarios,gases]= varIinlandTGas[scenarios] Units:**undefined** (0822)kturaniumperEJ= GETXLSCONSTANTS('inputs.xlsx','Constants','C10') Units:Kt/EJ Unitconversion(1EJthermal=2.3866).SeeEWG(2006).(0823) landcompet2genvstotallandcompet[scenarios]= Landcompetbiofuels2genMha[scenarios]/Landcompetrequireddedicatedcropsforbiofuels [scenarios] Units:**undefined** Landdedicatedto2ndgenerationbiofuelsvstotalland competitionforbiofuels[topreventstock"Landcompetbiofuels 2genMha"goesnegative].(0824)Landcompetbiofuels2genMha[scenarios]=INTEG( newbiofuels2genlandcompet[scenarios]-Landshiftedtobiofuels3gen[scenarios ], initialvaluelandcompetbiofuels2genMha*Landproductivitybiofuels2genEJMHa ) Units:MHa Totalannuallanddedicatedtobiofuelproductioninland competingwithotheruses.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

217

(0825)Landproductivitybiofuels2genEJMHa= GETXLSCONSTANTS('inputs.xlsx','Parameters','C59') Units:EJ/MHa Energyoutputperareaofbiofuels2ndgeneration(final energy).Source:[Mediavilla2013]:118Gboe/MHa=0.047305EJ/MHa(0826)Landshiftedtobiofuels3gen[scenarios]= IFTHENELSE(Time<startyear3gen[scenarios],0, IFTHENELSE(Time<(startyear3gen[scenarios]+5),Annualshiftfrom2gento3gen [scenarios]*Landcompetbiofuels2genMha[scenarios]*Biofuels3genlandcompetavailable [scenarios]*landcompet2genvstotallandcompet[scenarios],Pbiofuels3gen [scenarios]*Landcompetbiofuels3genMha[scenarios]*Biofuels3genlandcompetavailable [scenarios]*landcompet2genvstotallandcompet[scenarios])) Units:MHa/Year Newlanddedicatedtobiofuels3rdgenerationinlandcompeting withotherusesasashiftofsurfacepreviouslydedicatedto biofuelsfromthe2ndgeneration.Weassumethatnonewland startsdirectlytoproducebiofuels3rdgenerationbiofuels.IF THENELSE(Time<startyear3gen[scenarios],0,IFTHENELSE(check liquids[scenarios]<0,"constrainliquidsexogenous growth?"[scenarios]*Landcompetbiofuels3genMha[scenarios],IF THENELSE(Time<(startyear3gen[scenarios]+5),Annualshiftfrom 2gento3gen[scenarios]*Landcompetbiofuels2gen Mha[scenarios]*Biofuels3genlandcompet available[scenarios]*landcompet2genvstotalland compet[scenarios],Pbiofuels3gen[scenarios]*Landcompet biofuels3genMha[scenarios]*Biofuels3genlandcompet available[scenarios]*landcompet2genvstotalland compet[scenarios])))(0827)MarginalAtmosRetention= GETXLSCONSTANTS('inputs.xlsx','Parameters','C110') Units:Dmnl MarginalAtmosphericRetentionFraction.FractionofGreenhouse GasEmissionswhichaccumulateintheatmosphere.(0828)Maxefficiencygaspowerplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','C48') Units:Dnml Assumedmaximumefficiencylevelforgaspowercentrals.(0829)maxextractioncoalMtoe[scenarios]= maxextractioncoalEJ[scenarios]*MToeperEJ Units:MToe/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

218

Maximumextractioncurveselectedforthesimulations.(0830)maxextractionunconvoil[scenarios]= IFTHENELSE(chooseextractioncurveunconvoil[scenarios]=1,tablemaxextractionunconvoilBGMohr15 (TotRURRunconvoil[scenarios]), IFTHENELSE(chooseextractioncurveunconvoil[scenarios]=2,tablemaxextractionunconvoilLowMohr15 (TotRURRunconvoil[scenarios]), IFTHENELSE(chooseextractioncurveunconvoil[scenarios]=3,tablemaxextractionunconvoilHighMohr15 (TotRURRunconvoil[scenarios]),tablemaxextractionunconvoilUserdefined (TotRURRunconvoil[scenarios])))) Units:EJ/Year Maximumextractioncurveselectedforthesimulations.(0831)maxpercentofchange[scenarios]= 0.448 Units:Dmnl (0832)maxsolaronlandMha[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C30') maxsolaronlandMha[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C30') maxsolaronlandMha[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C30') maxsolaronlandMha[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C30') maxsolaronlandMha[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C30') maxsolaronlandMha[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C30') Units:MHa Assumedlandavailabilityforsolarpowerplantsonland(PVand CSP).(0833)maxsolarPVonlandMHa[scenarios]= maxsolaronlandMha[scenarios]-surfaceCSPMha[scenarios] Units:MHa AvailablelandforsolarPVtakingintoaccountthetotalland availabilityforsolarandtheactualoccupationfromCSP.(0834)maxsolarPVonlandTWe[scenarios]= maxsolarPVonlandMHa[scenarios]*powerdensitysolarPV

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

219

Units:TWe Techno-ecologicalpotentialofsolarPVonland.Thispotential dependsontheassumedlandavailabilityforsolarPVpower plants("maxsolarPVonlandMHa")anditspowerdensity(1TWe =8760TWhinoneyear).(0835)maxunconvgasgrowthextraction[scenarios]= 1+IFTHENELSE(Selectionconstraintextractionunconvgas[scenarios]=1,( Pconstraintgrowthextractionunconvgas[scenarios ])*TIME STEP*scarcity conv gas stock[scenarios],("User-defined extraction growthunconvgas" (Time))*TIMESTEP) Units:Dmnl Constrainttomaximumannualunconventionalgasextraction(%).(0836)maxunconvgasgrowthextractionEJ[scenarios]= IFTHENELSE(checkgasdelayed1yr[scenarios]<-0.01,(1+"constraingasexogenousgrowth?delayed1yr" [scenarios])*extractionunconvgasdelayed[scenarios], extractionunconvgasdelayed[scenarios]*maxunconvgasgrowthextraction [scenarios]) Units:EJ/Year Constrainedunconventionalgasextractiongrowth(EJ/Year),i.e. maximumannualgrowthcompatiblewiththeconstraintselectedin thescenario.(0837)maxunconvoilgrowthextraction[scenarios]= 1+(IFTHENELSE(Selectionconstraintextractionunconvoil[scenarios]=1,( Pconstraintgrowthextractionunconvoil[scenarios ])*TIME STEP*scarcity conv oil stock[scenarios],("User-defined extraction growthunconvoil" (Time)*TIMESTEP)))*abundanceunconvoil2 [scenarios ] Units:Dmnl Constrainttomaximumannualunconventionalgasextraction(%).(0838)maxunconvoilgrowthextractionEJ[scenarios]= IFTHENELSE(checkliquidsdelayed1yr[scenarios]<0,(1+"constrainliquidsexogenousgrowth?delayed1yr" [scenarios ])*extractionunconvoildelayed[scenarios],extractionunconvoildelayed [scenarios]*maxunconvoilgrowthextraction[scenarios]) Units:EJ/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

220

Constrainedunconventionaloilextractiongrowth(EJ/Year),i.e. maximumannualgrowthcompatiblewiththeconstraintselectedin thescenario.(0839)maxwaste[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C10') maxwaste[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C10') maxwaste[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C10') maxwaste[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C10') maxwaste[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C10') maxwaste[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C10') Units:EJ Maximunpotencialofwaste(primaryenergysupply).(0840)Maxyearlychange[AgricultureHuntingForestryandFishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B14') Maxyearlychange[MiningandQuarrying,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G14') Maxyearlychange[FoodBeveragesandTobacco,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L14') Maxyearlychange[TextilesandTextileProducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q14') Maxyearlychange[LeatherLeatherandFootwear,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V14') Maxyearlychange[WoodandProductsofWooodandCork,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA14') Maxyearlychange[PulpPaperPrintingandPublishing,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF14') Maxyearlychange[CokeRefinedPetroleumandNuclearFuel,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK14') Maxyearlychange[ChemicalsandChemicalproducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP14') Maxyearlychange[RubberandPlastics,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU14') Maxyearlychange[OtherNonMetalicMineral,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ14') Maxyearlychange[BasicMetalsandFabricatedMetal,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE14')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

221

Maxyearlychange[MachineryNec,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ14') Maxyearlychange[ElectricalandOpticalEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO14') Maxyearlychange[TransportEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT14') Maxyearlychange[ManufacturingNecRecycling,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY14') Maxyearlychange[ElectricityGasandWaterSupply,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD14') Maxyearlychange[Construction,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI14') Maxyearlychange[SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN14') Maxyearlychange[WholesaleTradeandCommissionsTradeExceptofMotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS14') Max yearly change[Retail Trade Except of Motor Vehicles and Motorcycles Repair ofHouseholdgoods ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX14') Maxyearlychange[HotelsandRestaurants,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC14') Maxyearlychange[InlandTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH14') Maxyearlychange[WaterTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM14') Maxyearlychange[AirTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR14') Maxyearlychange[OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW14') Maxyearlychange[PostandTelecommunications,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB14') Maxyearlychange[FinancialIntermedation,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG14') Maxyearlychange[RealEstateActivities,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL14') Maxyearlychange[RentingodMEqandOtherBusinessActivities,finalsources ]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

222

GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ14') Maxyearlychange[PublicAdminandDefenceCompulsorySocialSecurity,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV14') Maxyearlychange[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA14') Maxyearlychange[HealthandSocialWork,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF14') Maxyearlychange[OtherCommunitySocialandPersonaServices,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK14') Maxyearlychange[PrivateHouseholdswithEmployedPersons,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP14') Units:**undefined** (0841)MaxyearlychangeH[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU14') Units:**undefined** (0842)maximum2w= Pshare2wheelers2050[BAU] Units:**undefined** Maximumpercentof2wheeltransportvehicles(0843)maximumannualextractionmaterials[Adhesive]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT5') maximumannualextractionmaterials[Aluminium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT6') maximumannualextractionmaterials[Aluminiummirrors]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT7') maximumannualextractionmaterials[Cadmium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT8') maximumannualextractionmaterials[Carbonfiber]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT9') maximumannualextractionmaterials[Cement]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT10') maximumannualextractionmaterials[Chromium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT11') maximumannualextractionmaterials[Copper]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT12') maximumannualextractionmaterials[diesel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT13') maximumannualextractionmaterials[Dy]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT14')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

223

maximumannualextractionmaterials["Electric/electroniccomponents"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT15') maximumannualextractionmaterials[Evacuationlines]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT16') maximumannualextractionmaterials[Fiberglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT17') maximumannualextractionmaterials[Foamglass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT18') maximumannualextractionmaterials[Galium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT19') maximumannualextractionmaterials[Glass]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT20') maximumannualextractionmaterials[Glassreinforcingplastic]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT21') maximumannualextractionmaterials[gravel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT22') maximumannualextractionmaterials[Indium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT23') maximumannualextractionmaterials[Iron]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT24') maximumannualextractionmaterials[KNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT25') maximumannualextractionmaterials[Asphalt]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT26') maximumannualextractionmaterials[Lime]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT27') maximumannualextractionmaterials[Limestone]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT28') maximumannualextractionmaterials[Lithium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT29') maximumannualextractionmaterials[Lubricant]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT30') maximumannualextractionmaterials[Magnesium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT31') maximumannualextractionmaterials[Manganese]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT32') maximumannualextractionmaterials[Heavyequipment]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT33') maximumannualextractionmaterials[Concrete]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT34') maximumannualextractionmaterials[Molybdenum]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT35') maximumannualextractionmaterials[NaNO3mined]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT36')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

224

maximumannualextractionmaterials[NaNO3synthetic]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT37') maximumannualextractionmaterials[Neodymium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT38') maximumannualextractionmaterials[Nickel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT39') maximumannualextractionmaterials["Overgrid(15%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT40') maximumannualextractionmaterials["Overgrid(5%)"]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT41') maximumannualextractionmaterials[Paint]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT42') maximumannualextractionmaterials[Lead]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT43') maximumannualextractionmaterials[Plastics]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT44') maximumannualextractionmaterials[Polypropylene]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT45') maximumannualextractionmaterials[Rock]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT46') maximumannualextractionmaterials[Rockwool]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT47') maximumannualextractionmaterials[Sand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT48') maximumannualextractionmaterials[Siliconsand]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT49') maximumannualextractionmaterials[Siliconwafermodules]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT50') maximumannualextractionmaterials[Silver]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT51') maximumannualextractionmaterials[Sitepreparation]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT52') maximumannualextractionmaterials[Tin]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT53') maximumannualextractionmaterials[sodaash]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT54') maximumannualextractionmaterials[steel]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT55') maximumannualextractionmaterials[syntheticoil]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT56') maximumannualextractionmaterials[tellurium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT57') maximumannualextractionmaterials[titanium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT58')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

225

maximumannualextractionmaterials[titaniumdioxide]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT59') maximumannualextractionmaterials[vanadium]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT60') maximumannualextractionmaterials[wires]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT61') maximumannualextractionmaterials[zinc]= GETXLSCONSTANTS('inputs.xlsx','Materials','AT62') Units:Mt/Year MaximumannualextractionpermaterialasestimatedbyL.D. Roper.(0844)Maximunyearlyacelerationofintensityimprovementpct[AgricultureHuntingForestryandFishing ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B9') Maximunyearlyacelerationofintensityimprovementpct[MiningandQuarrying ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G9') Maximunyearlyacelerationofintensityimprovementpct[FoodBeveragesandTobacco ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L9') Maximunyearlyacelerationofintensityimprovementpct[TextilesandTextileProducts ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q9') Maximunyearlyacelerationofintensityimprovementpct[LeatherLeatherandFootwear ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V9') Maximunyearlyacelerationofintensityimprovementpct[WoodandProductsofWooodandCork ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA9') Maximunyearlyacelerationofintensityimprovementpct[PulpPaperPrintingandPublishing ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF9') Maximun yearly aceleration of intensity improvement pct[Coke Refined Petroleum andNuclearFuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK9') Maximunyearlyacelerationofintensityimprovementpct[ChemicalsandChemicalproducts ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP9') Maximunyearlyacelerationofintensityimprovementpct[RubberandPlastics ,finalsources]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

226

GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU9') Maximunyearlyacelerationofintensityimprovementpct[OtherNonMetalicMineral ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ9') Maximunyearlyacelerationofintensityimprovementpct[BasicMetalsandFabricatedMetal ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE9') Maximunyearlyacelerationofintensityimprovementpct[MachineryNec,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ9') Maximunyearlyacelerationofintensityimprovementpct[ElectricalandOpticalEquipment ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO9') Maximunyearlyacelerationofintensityimprovementpct[TransportEquipment ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT9') Maximunyearlyacelerationofintensityimprovementpct[ManufacturingNecRecycling ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY9') Maximunyearlyacelerationofintensityimprovementpct[ElectricityGasandWaterSupply ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD9') Maximunyearlyacelerationofintensityimprovementpct[Construction,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI9') Maximunyearlyacelerationofintensityimprovementpct[SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN9') Maximun yearly aceleration of intensity improvement pct[Wholesale Trade andCommissionsTradeExceptofMotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS9') Maximun yearly aceleration of intensity improvement pct[Retail Trade Except of MotorVehiclesandMotorcyclesRepairofHouseholdgoods ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX9') Maximunyearlyacelerationofintensityimprovementpct[HotelsandRestaurants ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC9') Maximunyearlyacelerationofintensityimprovementpct[InlandTransport,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH9') Maximunyearlyacelerationofintensityimprovementpct[WaterTransport,finalsources

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

227

]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM9') Maximunyearlyacelerationofintensityimprovementpct[AirTransport,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR9') Maximunyearlyacelerationof intensity improvementpct[OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW9') Maximunyearlyacelerationofintensityimprovementpct[PostandTelecommunications ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB9') Maximunyearlyacelerationofintensityimprovementpct[FinancialIntermedation ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG9') Maximunyearlyacelerationofintensityimprovementpct[RealEstateActivities ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL9') Maximun yearly aceleration of intensity improvement pct[Renting od MEq and OtherBusinessActivities ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ9') Maximun yearly aceleration of intensity improvement pct[Public Admin and DefenceCompulsorySocialSecurity ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV9') Maximunyearlyacelerationofintensityimprovementpct[Education,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA9') Maximunyearlyacelerationofintensityimprovementpct[HealthandSocialWork ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF9') Maximun yearly aceleration of intensity improvement pct[Other Community Social andPersonaServices ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK9') Maximun yearly aceleration of intensity improvement pct[Private Households withEmployedPersons ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP9') Units:**undefined** (0845)MaximunyearlyacelerationofintensityimprovementpctH[finalsources ]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

228

GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU9') Units:**undefined** (0846)Maximunyearlyaceleratuinofintensityimprovement[scenarios,sectors ,finalsources]= -Maximunyearlyacelerationofintensityimprovementpct[sectors,finalsources ]*Initialenergyintensitybyfuelandsector1995[sectors,finalsources] Units:**undefined** (0847)MaximunyearlyaceleratuinofintensityimprovementH[scenarios,finalsources ]= -MaximunyearlyacelerationofintensityimprovementpctH[finalsources] *Initialenergyintensity1995H[finalsources] Units:**undefined** (0848)"Mb/dperEJ/year"= GETXLSCONSTANTS('inputs.xlsx','Constants','C17') Units:Mb*Year/(EJ*d) ConversionbetweenMb/dtoEJ/year.(0849)MediumimplementatiopolicyMLT1=WITHLOOKUP( (Time-2030), ([(0,0)-(20,1)],(0,0),(20,1))) Units:**undefined** (0850)MediumimplementatiopolicyMLT1H=WITHLOOKUP( (Time-2030), ([(0,0)-(20,1)],(0,0),(20,1))) Units:**undefined** (0851)MediumimplementationpolicyMLT2=WITHLOOKUP( (Time-2040), ([(0,0)-(10,1)],(0,0),(10,1))) Units:**undefined** (0852)MediumimplementationpolicyMLT2H=WITHLOOKUP( (Time-2040), ([(0,0)-(10,1)],(0,0),(10,1))) Units:**undefined** (0853)MediumimplementationpolicyOT=WITHLOOKUP( (Time-2020), ([(0,0)-(30,1)],(0,0),(30,1))) Units:**undefined**

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

229

(0854)MediumimplementationpolicyOTH=WITHLOOKUP( (Time-2020), ([(0,0)-(30,1)],(0,0),(30,1))) Units:**undefined** (0855)MethodCCimpacts= 0 Units:Dmnl 0:Impactsaffectonlyrealfinalenergyconsumptionviathe shortagecoefficient.1:Impactsaffectbothrealfinalenergy consumptionviatheshortagecoefficientandthedemandofeach finalfuel.***ComentariodeIñigo:yocreoqueestemétodoes incorrecto,aunquenoinfluyemuchoenlosresultados***(0856)"Methodfinalenergyintensity?"= 0 Units:Dmnl 1:Constantfinalenergyintensitiesbyfuelandsectorsafter 2009.0:Evolutionofthefinalenergyintensitiesfollowingthe view"ENERGYINTENSITIES".(0857)minCpbaseloadRES[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V13') minCpbaseloadRES["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V7') minCpbaseloadRES["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V8') minCpbaseloadRES[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V9') minCpbaseloadRES[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V10') minCpbaseloadRES[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V12') minCpbaseloadRES[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V11') minCpbaseloadRES[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','V16') Units:Dmnl AssumptionofminimumCpforbaseloadRESplants.(0858)minCpnuclear= GETXLSCONSTANTS('inputs.xlsx','Parameters','V15') Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

230

AssumptionofminimumCpfornuclear.(0859)minenergyintensityvsintial[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G10') minenergyintensityvsintial[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G10') minenergyintensityvsintial[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G10') minenergyintensityvsintial[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G10') minenergyintensityvsintial[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','G10') minenergyintensityvsintial[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G10') Units:**undefined** (0860)minenergyintensityvsintialH[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G10') minenergyintensityvsintialH[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G10') minenergyintensityvsintialH[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G10') minenergyintensityvsintialH[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G10') minenergyintensityvsintialH[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','G10') minenergyintensityvsintialH[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G10') Units:**undefined** (0861)MineralsconsumptionestimationRestcterr[materials,scenarios]= Minerals extractionprojectionRest cte rr[materials,scenarios]/(1-current recyclingratesminerals [materials]) Units:Mt Projectionofannualmineralconsumptionoftherestofthe economyusinghistoricaldataandassumingrecyclingrates remaingconstant.(0862)MineralsextractionprojectionRestcterr[materials,scenarios]=INTEG ( variationmineralsextractionRest[materials,scenarios], initialmineralsextractionRest[materials]*Mtpertonne) Units:Mt

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

231

Projectionofannualmineralextractionoftherestofthe economyusinghistoricaldataandassumingrecyclingrates remaingconstant.(0863)MineralsextractionprojectionRestwithrr[materials,scenarios]= MineralsconsumptionestimationRestcterr[materials,scenarios]*(1-recyclingratesmineralsRest [materials,scenarios]) Units:Mt Mineralsextractionprojectionoftherestoftheeconomy accountingforthedynamicevolutionofrecyclingrates.(0864)minimumfraction[AgricultureHuntingForestryandFishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B13') minimumfraction[MiningandQuarrying,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G13') minimumfraction[FoodBeveragesandTobacco,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L13') minimumfraction[TextilesandTextileProducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q13') minimumfraction[LeatherLeatherandFootwear,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V13') minimumfraction[WoodandProductsofWooodandCork,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA13') minimumfraction[PulpPaperPrintingandPublishing,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF13') minimumfraction[CokeRefinedPetroleumandNuclearFuel,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK13') minimumfraction[ChemicalsandChemicalproducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP13') minimumfraction[RubberandPlastics,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU13') minimumfraction[OtherNonMetalicMineral,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ13') minimumfraction[BasicMetalsandFabricatedMetal,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE13') minimumfraction[MachineryNec,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ13') minimumfraction[ElectricalandOpticalEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO13') minimumfraction[TransportEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT13') minimumfraction[ManufacturingNecRecycling,finalsources]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

232

GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY13') minimumfraction[ElectricityGasandWaterSupply,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD13') minimumfraction[Construction,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI13') minimumfraction[SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN13') minimumfraction[WholesaleTradeandCommissionsTradeExceptofMotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS13') minimum fraction[Retail Trade Except of Motor Vehicles and Motorcycles Repair ofHouseholdgoods ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX13') minimumfraction[HotelsandRestaurants,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC13') minimumfraction[InlandTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH13') minimumfraction[WaterTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM13') minimumfraction[AirTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR13') minimum fraction[Other Supporting andAuxiliary Transport Activities Activities of TravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW13') minimumfraction[PostandTelecommunications,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB13') minimumfraction[FinancialIntermedation,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG13') minimumfraction[RealEstateActivities,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL13') minimumfraction[RentingodMEqandOtherBusinessActivities,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ13') minimumfraction[PublicAdminandDefenceCompulsorySocialSecurity,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV13') minimumfraction[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA13') minimumfraction[HealthandSocialWork,finalsources]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

233

GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF13') minimumfraction[OtherCommunitySocialandPersonaServices,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK13') minimumfraction[PrivateHouseholdswithEmployedPersons,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP13') Units:**undefined** (0865)minimumfractionH[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU13') Units:**undefined** (0866)MJperEJ= GETXLSCONSTANTS('inputs.xlsx','Constants','G22') Units:Dmnl (0867)modernBioEinhouseholds[scenarios]= Householdsfinalenergydemand[scenarios,solids]-PEtraditionalbiomassEJ [scenarios] Units:EJ (0868)MtperGt= GETXLSCONSTANTS('inputs.xlsx','Constants','C21') Units:**undefined** ConversionfromMegatoGiga(1000M=1G).(0869)Mtpertonne= GETXLSCONSTANTS('inputs.xlsx','Constants','G21') Units:Dmnl Mtonnepertonne.(0870)MToeperEJ= GETXLSCONSTANTS('inputs.xlsx','Constants','C6') Units:MToe/EJ Unitconversion(1000Mtoe=41.868EJ)(0871)NElecLDvehicles[scenarios]= NumbervehiclesH[scenarios,elec4wheels]+vehiclesinlandT[scenarios,LVelec ] Units:Mvehicles Numberofelecetricityligthduttyvehicles(0872)NHibLDvehicles[scenarios]= NumbervehiclesH[scenarios,hib4wheels]+vehiclesinlandT[scenarios,LVhib

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

234

] Units:Mvehicles NumberofhibridsLDvehicles(0873)NTotalLDvehicles[scenarios]= NumbervehiclesH[scenarios,liq4wheels]+NumbervehiclesH[scenarios,hib4wheels ]+NumbervehiclesH[scenarios,elec4wheels]+NumbervehiclesH[scenarios,gas4wheels ]+vehiclesinlandT[scenarios,LVliq]+vehiclesinlandT[scenarios,LVelec]+vehiclesinlandT [scenarios,LVhib]+vehiclesinlandT[scenarios,LVgas] Units:Mvehicles Totalnumberofligthduttyvehicles(0874)NvehiclesH0= GETXLSCONSTANTS('inputs.xlsx','Transportation','B10') Units:Mvehicles InitialnumberofhouseholdvehiclesintimeTinitial,2015by default,millionvehicles2w+4w2476(0875)Nvehiclesinlandt0[HVliq]= 58.4539 Nvehiclesinlandt0[HVhib]= 0.02642 Nvehiclesinlandt0[HVgas]= 0.02642 Nvehiclesinlandt0[LVliq]= 209.703 Nvehiclesinlandt0[LVelec]= 0.15923 Nvehiclesinlandt0[LVhib]= 0.0769961 Nvehiclesinlandt0[LVgas]= 3.40648 Nvehiclesinlandt0[busliq]= 15.6 Nvehiclesinlandt0[buselec]= 0 Nvehiclesinlandt0[bushib]= 0 Nvehiclesinlandt0[busgas]= 0 Nvehiclesinlandt0[trainliq]= 1.62958*0.8 Nvehiclesinlandt0[trainelec]= 1.62958*0.2

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

235

Units:Mvehicle LOSDATOSDELTRENESTANMAL,NOTENGOLASENERGIASDESGLOSADAS, APROX.InitialnumberofvehiclesintimeTpolicyT,2015by default,millionvehicles'InternationalEnergyAgency(2016), EnergyTechnologyPerspectives2016,OECD/IEA,Paris'(0876)"NetcoalextractiondeCastroPhD-ScenI"( [(0,0)-(10,10)],(1985,1378.15),(1986,1422.43),(1987,1466.37),(1988,1509.97 ),(1989,1553.27),(1990,1596.27),(1991,1639),(1992,1681.45),(1993,1723.6),( 1994,1765.43),(1995,1806.88),(1996,1847.87),(1997,1888.31),(1998,1928.08), (1999,1967.04),(2000,2005.02),(2001,2041.85),(2002,2077.35),(2003,2111.34) ,(2004,2143.61),(2005,2174.01),(2006,2202.36),(2007,2228.55),(2008,2252.45 ),(2009,2274),(2010,2293.18),(2011,2310),(2012,2324.5),(2013,2336.78),(2014 ,2346.97),(2015,2355.23),(2016,2360.56),(2017,2358.93),(2018,2349.91),(2019 ,2333.02),(2020,2308.36),(2021,2276.56),(2022,2238.66),(2023,2196.02),(2024 ,2150.19),(2025,2102.72),(2026,2055.42),(2027,2009.48),(2028,1965.96),(2029 ,1925.6),(2030,1888.94),(2031,1856.22),(2032,1827.53),(2033,1802.76),(2034 ,1781.69),(2035,1764.05),(2036,1748.05),(2037,1733.15),(2038,1718.83),(2039 ,1704.69),(2040,1690.47),(2041,1676.02),(2042,1661.3),(2043,1646.32),(2044 ,1631.17),(2045,1615.96),(2046,1598.98),(2047,1581.36),(2048,1563.41),(2049 ,1545.42),(2050,1521.06),(2051,1491.54),(2052,1462.02),(2053,1433.79),(2054 ,1407.58),(2055,1383.71),(2056,1362.23),(2057,1342.98),(2058,1325.69),(2059 ,1310.03),(2060,1295.68),(2061,1282.28),(2062,1269.52),(2063,1257.12),(2064 ,1244.82),(2065,1232.39),(2066,1219.62),(2067,1206.36),(2068,1192.45),(2069 ,1177.78),(2070,1162.23),(2071,1145.74),(2072,1128.25),(2073,1109.71),(2074 ,1090.12),(2075,1069.47),(2076,1047.78),(2077,1025.09),(2078,1001.45),(2079 ,976.929),(2080,951.611),(2081,925.587),(2082,898.96),(2083,871.837),(2084 ,844.332),(2085,816.56),(2086,788.637),(2087,760.675),(2088,732.784),(2089 ,705.067),(2090,677.624),(2091,650.543),(2092,623.906),(2093,597.787),(2094 ,572.25),(2095,547.351),(2096,523.135),(2097,499.642),(2098,476.902),(2099 ,454.936),(2100,433.76)) Units:MToe/Year (0877)"NetcoalextractiondeCastroPhD-ScenIII"( [(0,0)-(10,10)],(1985,1945.63),(1986,1995.96),(1987,2045.03),(1988,2092.89 ),(1989,2139.62),(1990,2185.28),(1991,2229.93),(1992,2273.61),(1993,2316.36 ),(1994,2358.19),(1995,2399.06),(1996,2438.96),(1997,2477.8),(1998,2515.5) ,(1999,2551.95),(2000,2587.03),(2001,2620.58),(2002,2652.48),(2003,2682.56 ),(2004,2710.7),(2005,2736.76),(2006,2760.66),(2007,2782.31),(2008,2801.7) ,(2009,2818.82),(2010,2833.73),(2011,2846.52),(2012,2857.31),(2013,2865.65 ),(2014,2871.1),(2015,2873.47),(2016,2871.23),(2017,2859.31),(2018,2837.16 ),(2019,2804.26),(2020,2760.86),(2021,2707.91),(2022,2646.88),(2023,2579.6 ),(2024,2508.07),(2025,2434.29),(2026,2360.07),(2027,2286.98),(2028,2216.23 ),(2029,2148.71),(2030,2084.94),(2031,2025.17),(2032,1969.39),(2033,1917.4

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

236

),(2034,1868.88),(2035,1823.41),(2036,1779.85),(2037,1737.75),(2038,1696.69 ),(2039,1656.32),(2040,1616.38),(2041,1576.69),(2042,1537.11),(2043,1497.56 ),(2044,1458),(2045,1418.41),(2046,1378.78),(2047,1339.14),(2048,1299.51), (2049,1259.91),(2050,1215.03),(2051,1164.71),(2052,1113.39),(2053,1062.05) ,(2054,1011.37),(2055,961.747),(2056,913.409),(2057,866.46),(2058,820.93), (2059,776.805),(2060,734.051),(2061,692.63),(2062,652.506),(2063,613.653), (2064,576.054),(2065,539.706),(2066,504.611),(2067,470.782),(2068,438.236) ,(2069,406.994),(2070,377.077),(2071,348.507),(2072,321.3),(2073,295.471), (2074,271.027),(2075,247.969),(2076,226.292),(2077,205.981),(2078,187.015) ,(2079,169.365),(2080,152.995),(2081,137.864),(2082,123.924),(2083,111.123 ),(2084,99.4056),(2085,88.714),(2086,78.9881),(2087,70.1672),(2088,62.1905 ),(2089,54.9978),(2090,48.5302),(2091,42.7303),(2092,37.5432),(2093,32.916 ),(2094,28.7988),(2095,25.1446),(2096,21.9093),(2097,19.0516),(2098,16.5334 ),(2099,14.3195),(2100,12.3777)) Units:MToe/Year (0878)"NetgasextractiondeCastroPhD-ScenI"( [(0,0)-(10,10)],(1985,1378.15),(1986,1422.43),(1987,1466.37),(1988,1509.97 ),(1989,1553.27),(1990,1596.27),(1991,1639),(1992,1681.45),(1993,1723.6),( 1994,1765.43),(1995,1806.88),(1996,1847.87),(1997,1888.31),(1998,1928.08), (1999,1967.04),(2000,2005.02),(2001,2041.85),(2002,2077.35),(2003,2111.34) ,(2004,2143.61),(2005,2174.01),(2006,2202.36),(2007,2228.55),(2008,2252.45 ),(2009,2274),(2010,2293.18),(2011,2310),(2012,2324.5),(2013,2336.78),(2014 ,2346.97),(2015,2355.23),(2016,2360.56),(2017,2358.93),(2018,2349.91),(2019 ,2333.02),(2020,2308.36),(2021,2276.56),(2022,2238.66),(2023,2196.02),(2024 ,2150.19),(2025,2102.72),(2026,2055.42),(2027,2009.48),(2028,1965.96),(2029 ,1925.6),(2030,1888.94),(2031,1856.22),(2032,1827.53),(2033,1802.76),(2034 ,1781.69),(2035,1764.05),(2036,1748.05),(2037,1733.15),(2038,1718.83),(2039 ,1704.69),(2040,1690.47),(2041,1676.02),(2042,1661.3),(2043,1646.32),(2044 ,1631.17),(2045,1615.96),(2046,1598.98),(2047,1581.36),(2048,1563.41),(2049 ,1545.42),(2050,1521.06),(2051,1491.54),(2052,1462.02),(2053,1433.79),(2054 ,1407.58),(2055,1383.71),(2056,1362.23),(2057,1342.98),(2058,1325.69),(2059 ,1310.03),(2060,1295.68),(2061,1282.28),(2062,1269.52),(2063,1257.12),(2064 ,1244.82),(2065,1232.39),(2066,1219.62),(2067,1206.36),(2068,1192.45),(2069 ,1177.78),(2070,1162.23),(2071,1145.74),(2072,1128.25),(2073,1109.71),(2074 ,1090.12),(2075,1069.47),(2076,1047.78),(2077,1025.09),(2078,1001.45),(2079 ,976.929),(2080,951.611),(2081,925.587),(2082,898.96),(2083,871.837),(2084 ,844.332),(2085,816.56),(2086,788.637),(2087,760.675),(2088,732.784),(2089 ,705.067),(2090,677.624),(2091,650.543),(2092,623.906),(2093,597.787),(2094 ,572.25),(2095,547.351),(2096,523.135),(2097,499.642),(2098,476.902),(2099 ,454.936),(2100,433.76)) Units:MToe/Year (0879)"NetgasextractiondeCastroPhD-ScenIII"(

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

237

[(0,0)-(10,10)],(1985,1378.15),(1986,1422.43),(1987,1466.37),(1988,1509.97 ),(1989,1553.27),(1990,1596.27),(1991,1639),(1992,1681.45),(1993,1723.6),( 1994,1765.43),(1995,1806.88),(1996,1847.87),(1997,1888.31),(1998,1928.08), (1999,1967.04),(2000,2005.02),(2001,2041.85),(2002,2077.35),(2003,2111.34) ,(2004,2143.61),(2005,2174.01),(2006,2202.36),(2007,2228.55),(2008,2252.45 ),(2009,2274),(2010,2293.18),(2011,2310),(2012,2324.47),(2013,2336.18),(2014 ,2344.72),(2015,2349.88),(2016,2350.38),(2017,2342.04),(2018,2324.36),(2019 ,2296.96),(2020,2260.1),(2021,2214.64),(2022,2161.88),(2023,2103.47),(2024 ,2041.17),(2025,1976.72),(2026,1911.72),(2027,1847.53),(2028,1785.2),(2029 ,1725.49),(2030,1668.87),(2031,1615.53),(2032,1565.49),(2033,1518.59),(2034 ,1474.56),(2035,1433.08),(2036,1393.24),(2037,1354.7),(2038,1317.14),(2039 ,1280.29),(2040,1243.98),(2041,1208.07),(2042,1172.48),(2043,1137.16),(2044 ,1102.09),(2045,1067.27),(2046,1032.71),(2047,998.441),(2048,964.476),(2049 ,930.845),(2050,893.625),(2051,852.817),(2052,811.701),(2053,771.01),(2054 ,731.211),(2055,692.579),(2056,655.254),(2057,619.284),(2058,584.664),(2059 ,551.358),(2060,519.318),(2061,488.491),(2062,458.831),(2063,430.297),(2064 ,402.855),(2065,376.484),(2066,351.166),(2067,326.892),(2068,303.655),(2069 ,281.454),(2070,260.289),(2071,240.158),(2072,221.061),(2073,202.995),(2074 ,185.952),(2075,169.922),(2076,154.893),(2077,140.845),(2078,127.756),(2079 ,115.6),(2080,104.347),(2081,93.9612),(2082,84.4072),(2083,75.6455),(2084, 67.6349),(2085,60.3331),(2086,53.697),(2087,47.6834),(2088,42.2492),(2089, 37.3523),(2090,32.9516),(2091,29.0072),(2092,25.481),(2093,22.3367),(2094, 19.5399),(2095,17.0583),(2096,14.8618),(2097,12.922),(2098,11.2131),(2099, 9.71091),(2100,8.39349)) Units:MToe/Year (0880)"NetoilextractiondeCastroPhD-ScenI"( [(0,0)-(10,10)],(1985,2586.21),(1986,2657.24),(1987,2727.03),(1988,2795.64 ),(1989,2863.08),(1990,2929.39),(1991,2994.56),(1992,3058.58),(1993,3121.38 ),(1994,3182.87),(1995,3242.92),(1996,3301.35),(1997,3357.93),(1998,3412.41 ),(1999,3464.47),(2000,3513.79),(2001,3559.99),(2002,3602.72),(2003,3641.58 ),(2004,3676.21),(2005,3706.25),(2006,3731.41),(2007,3751.42),(2008,3766.07 ),(2009,3775.24),(2010,3778.86),(2011,3776.96),(2012,3769.61),(2013,3756.99 ),(2014,3739.31),(2015,3716.84),(2016,3688.03),(2017,3646.76),(2018,3592.8 ),(2019,3525.96),(2020,3446.96),(2021,3357.36),(2022,3259.3),(2023,3155.32 ),(2024,3048.04),(2025,2940),(2026,2833.9),(2027,2731.45),(2028,2633.99),( 2029,2542.41),(2030,2457.18),(2031,2378.41),(2032,2305.92),(2033,2239.3),( 2034,2178.03),(2035,2121.51),(2036,2067.41),(2037,2015.01),(2038,1963.69), (2039,1913.01),(2040,1862.72),(2041,1812.75),(2042,1763.12),(2043,1713.95) ,(2044,1665.41),(2045,1617.7),(2046,1569.24),(2047,1521.33),(2048,1474.43) ,(2049,1428.88),(2050,1378.91),(2051,1326.44),(2052,1276.28),(2053,1229.49 ),(2054,1186.64),(2055,1147.86),(2056,1113.07),(2057,1082.06),(2058,1054.53 ),(2059,1030.2),(2060,1008.79),(2061,990.086),(2062,973.882),(2063,960.031 ),(2064,948.419),(2065,938.964),(2066,931.608),(2067,926.306),(2068,923.025

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

238

),(2069,921.731),(2070,922.385),(2071,924.939),(2072,929.328),(2073,935.469 ),(2074,943.259),(2075,952.569),(2076,963.248),(2077,975.123),(2078,987.996 ),(2079,1001.65),(2080,1015.86),(2081,1030.38),(2082,1044.96),(2083,1059.33 ),(2084,1073.23),(2085,1086.43),(2086,1098.65),(2087,1109.67),(2088,1119.27 ),(2089,1127.24),(2090,1133.4),(2091,1137.59),(2092,1139.68),(2093,1139.56 ),(2094,1137.17),(2095,1132.46),(2096,1125.41),(2097,1116.04),(2098,1104.39 ),(2099,1090.55),(2100,1074.6)) Units:MToe/Year (0881)"NetoilextractiondeCastroPhD-ScenIII"( [(0,0)-(10,10)],(1985,2586.21),(1986,2657.24),(1987,2727.03),(1988,2795.64 ),(1989,2863.08),(1990,2929.39),(1991,2994.56),(1992,3058.58),(1993,3121.38 ),(1994,3182.87),(1995,3242.92),(1996,3301.35),(1997,3357.93),(1998,3412.41 ),(1999,3464.47),(2000,3513.79),(2001,3559.99),(2002,3602.72),(2003,3641.58 ),(2004,3676.21),(2005,3706.25),(2006,3731.41),(2007,3751.42),(2008,3766.07 ),(2009,3775.24),(2010,3778.86),(2011,3776.96),(2012,3769.56),(2013,3756.02 ),(2014,3735.73),(2015,3708.45),(2016,3672.29),(2017,3621.03),(2018,3554.53 ),(2019,3472.85),(2020,3377.15),(2021,3269.46),(2022,3152.43),(2023,3029.07 ),(2024,2902.39),(2025,2775.22),(2026,2649.98),(2027,2528.6),(2028,2412.5) ,(2029,2302.57),(2030,2199.24),(2031,2102.59),(2032,2012.4),(2033,1928.26) ,(2034,1849.64),(2035,1775.94),(2036,1705.9),(2037,1639),(2038,1574.79),(2039 ,1512.89),(2040,1453.04),(2041,1395.04),(2042,1338.77),(2043,1284.12),(2044 ,1231.05),(2045,1179.51),(2046,1129.49),(2047,1080.95),(2048,1033.89),(2049 ,988.283),(2050,939.916),(2051,888.983),(2052,838.921),(2053,790.425),(2054 ,743.889),(2055,699.498),(2056,657.297),(2057,617.242),(2058,579.24),(2059 ,543.177),(2060,508.93),(2061,476.381),(2062,445.423),(2063,415.961),(2064 ,387.915),(2065,361.216),(2066,335.808),(2067,311.643),(2068,288.683),(2069 ,266.895),(2070,246.251),(2071,226.726),(2072,208.297),(2073,190.943),(2074 ,174.638),(2075,159.36),(2076,145.082),(2077,131.775),(2078,119.409),(2079 ,107.95),(2080,97.3636),(2081,87.6112),(2082,78.6537),(2083,70.4503),(2084 ,62.9592),(2085,56.1382),(2086,49.9448),(2087,44.3368),(2088,39.2727),(2089 ,34.7122),(2090,30.6158),(2091,26.9459),(2092,23.6663),(2093,20.743),(2094 ,18.1435),(2095,15.8376),(2096,13.797),(2097,11.9953),(2098,10.4082),(2099 ,9.01332),(2100,7.79015)) Units:MToe/Year (0882)newbateries[scenarios]= 0.9*"bateriesEV+hib+2wE"[scenarios]*(1-("bateriesEV+hib+2wE"[scenarios] /desirednumberofbateries[scenarios])) Units:**undefined** (0883)"newBioEresiduesforheat+elec"[scenarios]= IFTHENELSE(Time<"startyearBioEresiduesforheat+elec"[scenarios],0,

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

239

IFTHENELSE(Time<"startyearBioEresiduesforheat+elec" [scenarios]+5,startproductionbiofuels(Time-"startyearBioEresiduesforheat+elec" [scenarios])*EJperktoe, "PbioEresiduesforheat+elec"[scenarios]*"PEbioEresiduesforheat+elecEJ" [scenarios]*"BioEresiduesforheat+elecavailable" [scenarios])) Units:EJ/(Year*Year) BioEresiduesusedforheatandelectricity.(0884)newbiofuels2genlandcompet[scenarios]= IFTHENELSE(checkliquids[scenarios]<0,"constrainliquidsexogenousgrowth?" [scenarios]*Landcompetbiofuels2genMha[scenarios], MAX(Annual additional historic land use biofuels 2gen[scenarios]+adapt growthbiofuels2gen [scenarios] *Landcompetbiofuels2genMha[scenarios]*Biofuelslandcompetavailable[ scenarios],0)) Units:MHa/Year Newlanddedicatedtobiofuels2ndgenerationinlandcompeting withotheruses.(0885)newbiofuelslandmarg[scenarios]= IFTHENELSE(Time<startyearbiofuelslandmarg[scenarios],0, IF THEN ELSE(Time<start year biofuels land marg[scenarios]+5, start productionbiofuels (Time-startyearbiofuelslandmarg[scenarios])*EJperktoe, IFTHENELSE(checkliquids[scenarios]<0,"constrainliquidsexogenousgrowth?" [scenarios]*PotentialPEavailbiofuelslandmargEJ[scenarios], adaptgrowthbiofuels2gen[scenarios]*BioEgenlandmargavailable[scenarios ]*PotentialPEavailbiofuelslandmargEJ[scenarios]))) Units:EJ/Year Newannualproductionfrombiofuelsinmarginallands.EJper ktoe[scenarios](0886)newCGtC[scenarios]= CarbonemissionsGtC[scenarios] Units:GtC/Year Annualcarbonemissions.(0887)newcapunderconstructionnuclear[scenarios]= MAX(0,plannedcapacitynuclearTW[scenarios]/timeplanificationnuclear) Units:TW NewcapacityunderconstructionofRESforelectricity generation.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

240

(0888)newcapunderconstructionRESelec[RESelec,scenarios]= MAX(0,plannedcapacityRESelecTW[RESelec,scenarios]/timeplanificationRESelec [RESelec]) Units:TW NewcapacityunderconstructionofRESforelectricity generation.(0889)newcapacityinstalledgrowthrateRESelec[RESelec,scenarios]= IFTHENELSE(installedcapacityRESelecTW[RESelec,scenarios]<=0,0,newcapacityinstalledRESelecTW [RESelec,scenarios]/installedcapacityRESelecTW[RESelec,scenarios]) Units:Dmnl (0890)newcapacityinstallednuclear[scenarios]= IFTHENELSE(Time<2013,(HistoricnucleargenerationTWh(Time+1)-HistoricnucleargenerationTWh (Time)) *TWeperTWh/Cpnuclear[scenarios],capacityinconstructionnuclearTW[scenarios ]/timeconstructionnuclear) Units:TW Newcapacityinstalledofnuclearpower.(0891)newcapacityinstalledonshorewindTW[scenarios]= newcapunderconstructionRESelec[windonshore,scenarios] Units:TW (0892)newcapacityinstalledRESelecTW[RESelec,scenarios]= capacityinconstructionRESelecTW[RESelec,scenarios]/timeconstructionRESelec [RESelec] Units:TW NewcapacityinstalledperREStechnologyforelectricity generation.(0893)newcellulosicbiofuels[scenarios]= IFTHENELSE(Time<startyearcellulosicbiofuels[scenarios],0, IF THEN ELSE(Time<start year cellulosic biofuels[scenarios]+5, start productionbiofuels (Time-startyearcellulosicbiofuels [scenarios])*EJperktoe, IFTHENELSE(checkliquids[scenarios]<0,"constrainliquidsexogenousgrowth?" [scenarios]*PotentialPEcellulosicbiofuelEJ[scenarios ], Pcellulosicbiofuels[scenarios]*PotentialPEcellulosicbiofuelEJ[scenarios

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

241

]*Cellulosicbiofuelsavailable[scenarios]))) Units:EJ/Year NewannualproductionofcellulosicbiofuelsfrombioEresidues.(0894)newPESbiogas[scenarios]= IFTHENELSE(Time<2014,(HistoricbiogasPES(Time+1)-HistoricbiogasPES( Time)),((maxbiogasEJ[scenarios]-PESBiogasEJ[ scenarios])/maxbiogasEJ[scenarios])*adaptgrowthbiogas[scenarios]*PESBiogasEJ [scenarios]) Units:EJ/Year Newannualprimaryenergysupplyofbiogas.(0895)newplannedcapacitynuclear[scenarios]= MAX(0, IFTHENELSE(Time<2014,0, IFTHENELSE(DemandElecNRETWh[scenarios]=0,0,installedcapacitynuclearTW [scenarios]*Pnuclearelecgen [scenarios])))*effectsshortageuranium[scenarios]*Cplimitnuclear[scenarios ] Units:TW Newplannedcapacityofnuclearpowerplants.(0896)newplannedcapacityRESelec[RESelec,scenarios]= IFTHENELSE(Time<(2014-"totaltimeplan+constrRESelec"[RESelec]),HistoricnewplannedcapacityRESelec [RESelec],installedcapacityRESelecTW[RESelec,scenarios]*adaptgrowthRESelecafterallocation [RESelec,scenarios]*remainingpotentialconstraintonnewRESeleccapacity [RESelec,scenarios]*abundanceRESelec2[scenarios]) Units:TW NewplannedcapacityofREStechnologiesforelectricity generation.Weassume100%oftheplannedinfraestructureis constructed(0897)"newREScapacityforheat-comTW0"[RESheat,scenarios]= IFTHENELSE(Time<2013,"HistoricREScapacityforheat-com0"[RESheat]( Time+1)-"HistoricREScapacityforheat-com0"[RESheat](Time),adaptgrowthRESforheat0 [RESheat,scenarios]*installedcapacityRESheatTW0[RESheat,scenarios]* remainingpotentialconstraintonnewRESheatcapacity0 [RESheat,scenarios])*abundanceRESheat20[scenarios] Units:TW/Year NewannualinstalledcapacityofREStechnologiesforheat.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

242

(0898)"newREScapacityforheat-comTW"[RESheat,scenarios]= IFTHENELSE(Time<2013,"HistoricREScapacityforheat-com"[RESheat](Time +1)-"HistoricREScapacityforheat-com"[RESheat](Time),"adaptgrowthRESforheat-com" [RESheat,scenarios]*"installedcapacityRESheat-comTW"[RESheat,scenarios ]*remainingpotentialconstraintonnewRESheatcapacity [RESheat,scenarios])*"abundanceRESheat-com2"[scenarios] Units:TW/Year NewannualinstalledcapacityofREStechnologiesforcommercial heat.(0899)"newREScapacityforheat-ncTW"[RESheat,scenarios]= IFTHENELSE(Time<2013,"HistoricREScapacityforheat-nc"[RESheat](Time +1)-"HistoricREScapacityforheat-nc"[RESheat ](Time),"adaptgrowthRESforheat-nc"[RESheat,scenarios]*"installedcapacityRESheat-ncTW" [RESheat,scenarios]*remainingpotentialconstraintonnewRESheatcapacity [RES heat,scenarios])*"abundance RES heat-nc2"[scenarios]*"Deactivate heat demcorrection?" Units:TW/Year NewannualinstalledcapacityofREStechnologiesfor non-commercialheat.(0900)newwastesupplyEJ[scenarios]= IFTHENELSE(Time<2014,(HistoricPESwasteEJ(Time+1)-HistoricPESwasteEJ (Time)), IFTHENELSE(maxwaste[scenarios]=0,PESwasteEJ[scenarios]*Pwastechange [scenarios], ((max waste[scenarios]-PES waste EJ[scenarios])/max waste[scenarios])*adaptgrowthwaste [scenarios]*PESwasteEJ[scenarios])) Units:EJ/Year Newannualwasteprimaryenergysupply.(0901)"Non-energyusedemandbyfinalfuelEJ"[scenarios,finalsources]=INTEG ( "Annualvariationnon-energyuse"[scenarios,finalsources], "initialnon-energyuse"[finalsources]) Units:EJ Non-energyusedemandbyfinalfuel(0902)"nuclearcapacityphase-out"[scenarios]= IFTHENELSE(selectionofnuclearscenario[scenarios]=4, IF THEN ELSE(Time<"start year nuclear growth scen3-4"[scenarios], 0 , "P nuclearscen3-4"

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

243

[scenarios]*installedcapacitynuclearTW[scenarios]),0) Units:TW Annualnuclearcapacityphase-out(Scenario4fornuclear evolution).(0903)nuclearovercapacity[scenarios]= IFTHENELSE(potentialgenerationnuclearelecTWh[scenarios]=0,0, (potentialgenerationnuclearelecTWh[scenarios]-FEnuclearElecgenerationTWh [scenarios])/potentialgenerationnuclearelecTWh[scenarios]) Units:Dmnl Overcapacityofnuclearpowertakingintoaccounttheinstalled capacityandtherealgeneration.(0904)Number2w[scenarios]= Number vehicles H[scenarios,liq 2wheels]+Number vehicles H[scenarios,elec2wheels ] Units:**undefined** totalnumberof2wvehicleshousehols(0905)Number4w[scenarios]= NumbervehiclesH[scenarios,liq4wheels]+NumbervehiclesH[scenarios,hib4wheels ]+NumbervehiclesH[scenarios,elec4wheels]+NumbervehiclesH[scenarios,gas4wheels ] Units:**undefined** agregatednumberof4wvehicles(0906)Numberall[scenarios]= Number2w[scenarios]+Number4w[scenarios] Units:**undefined** (0907)NumbervehiclesH[scenarios,Householdsvehicles]= ratio N veh Demand H*Household demand total[scenarios]*1e+006*percents Hvehicles [scenarios,Householdsvehicles] Units:Mvehicles Estimatednumberofhouseholdsvehiclesasumingconstantretios ofvehiclesperhouseholdsdemand(0908)NXbusinlandT= (Nvehiclesinlandt0[busliq]+Nvehiclesinlandt0[bushib]+Nvehiclesinlandt0 [busgas]+Nvehiclesinlandt0[buselec])/initialXtinland Units:Mvehicles/Mdollar numberofvehiclesperunitofeconomicactivity(e6dollars)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

244

initialvaluesintheyearofinitialpolicy(default2015)(0909)NXHVinlandT= (Nvehiclesinlandt0[HVliq]+Nvehiclesinlandt0[HVhib]+Nvehiclesinlandt0 [HVgas])/initialXtinland Units:Mvehicles/Mdollar numberofvehiclesperunitofeconomicactivity(e6dollars) initialvaluesintheyearofinitialpolicy(default2015)(0910)NXLVinlandT= (Nvehiclesinlandt0[LVliq]+Nvehiclesinlandt0[LVelec]+Nvehiclesinlandt0 [LVhib]+Nvehiclesinlandt0[LVgas])/initialXtinland Units:Mvehicles/Mdollar numberofvehiclesperunitofeconomicactivity(e6dollars) initialvaluesintheyearofinitialpolicy(default2015)(0911)NXtraininlandT= 1/initialXtinland Units:Mvehicles/Mdollar nonumberoftrainsfoundindata,assumethenumberoftrains is1(0912)NX0vehiclesperXinlandT[HVliq]= NXHVinlandT NX0vehiclesperXinlandT[HVhib]= NXHVinlandT NX0vehiclesperXinlandT[HVgas]= NXHVinlandT NX0vehiclesperXinlandT[LVliq]= NXLVinlandT NX0vehiclesperXinlandT[LVelec]= NXLVinlandT NX0vehiclesperXinlandT[LVhib]= NXLVinlandT NX0vehiclesperXinlandT[LVgas]= NXLVinlandT NX0vehiclesperXinlandT[busliq]= NXbusinlandT NX0vehiclesperXinlandT[bushib]= NXbusinlandT NX0vehiclesperXinlandT[busgas]= NXbusinlandT NX0vehiclesperXinlandT[trainliq]= NXtraininlandT

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

245

NX0vehiclesperXinlandT[trainelec]= NXtraininlandT NX0vehiclesperXinlandT[buselec]= NXbusinlandT Units:**undefined** (0913)OilliquidssavedbybiofuelsEJ[scenarios]= FEStotalbiofuelsproductionEJ[scenarios] Units:EJ/Year Oilliquidssavedbybiofuels.(0914)OilrefinerygainsEJ[scenarios]= Oilrefinerygainsshare*PESoilEJdelayed[scenarios] Units:EJ/Year Oilrefinerygains.(0915)Oilrefinerygainsshare= GETXLSCONSTANTS('inputs.xlsx','Parameters','C74') Units:Dmnl Weassumetheseenergygainsarereachedbyapplyingnaturalgas asenergyinput.Historically,theirsharehasbeengrowingin thelastdecades(1.9%in1980).WEO(2010)givesa2.8%forthe year2009andBP(2007)2.6%.Thevalue2.7%istaken.(0916)OilsavedbybiofuelsMtoe[scenarios]= OilliquidssavedbybiofuelsEJ[scenarios]*MToeperEJ Units:MToe Oilliquidssavedbybiofuels.(0917)oneyear= 1 Units:Year (0918)Othergasesrequired[scenarios]= +TransformationLossesEJ[scenarios,gases]+LossesEJ[scenarios,gases]+"Non-energyusedemandbyfinalfuelEJ" [scenarios,gases] Units:EJ (0919)OtherGHGRadForcing:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Parameters','102','C104') Units:watt/(meter*meter) Source:baselinescenariofromDICE-2013R."Estimatesoffuture impactsofaerosolshaveprovenchallenging,andthecurrent

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

246

modelusesestimatesfromthescenariospreparedfortheFifth AssessmentoftheIPCC.TheestimatesinDICE-2013Raredrawn fromtheguidanceforthe“RepresentativeConcentration Pathways"(RCPs,seehttp://tntcat.iiasa.ac.at:8787/RcpDb/ dsd?ction=htmlpage&page=compare).Thehighpathhas exceptionallyhighandunreasonableestimatesofmethane forcings.TheestimateshereusetheRCP6.0W/m2 representativescenario,whichismoreconsistentwiththeother scenariosandwithhistoricaltrends.Theseestimatenon-CO2 forcingsof0.25W/m2in2010and0.7W/m2in2100.Non-CO2 forcingsaresmallrelativetoestimatedCO2forcings,with6.5 W/m2offorcingsfromCO2in2100intheDICEbaseline projection."Nordhaus&Sztorc(2013).(0920)OtherliquidsrequiredEJ[scenarios]= LossesEJ[scenarios,liquids]+TransformationLossesEJ[scenarios,liquids]+ "Non-energyusedemandbyfinalfuelEJ"[scenarios,liquids] Units:EJ (0921)OtherliquidssupplyEJ[scenarios]= Oil refinery gains EJ[scenarios]+"FES CTL+GTL EJ"[scenarios]+FES total biofuelsproductionEJ [scenarios] Units:EJ/Year Otherliquidsreferto:refinerygains,CTL,GTLandbiofuels.(0922)Othersolidsrequired[scenarios]= TransformationLossesEJ[scenarios,solids]+LossesEJ[scenarios,solids]+"Non-energyusedemandbyfinalfuelEJ" [scenarios,solids] Units:EJ (0923)outputelecoverlifetimeRESelec[RESelec,scenarios]= realCpRESelec[RESelec,scenarios]*newcapacityinstalledRESelecTW[RESelec ,scenarios]*(1/TWeperTWh)*lifetimeRESelec[RESelec]*EJperTWh Units:EJ Totalelectricityoutputgeneratedoverthefulloperationof theinfrastructureofthenewcapacityinstalled.(0924)outputelecoverlifetimeRESelecforallocation[RESelec,scenarios ]= outputelecoverlifetimeRESelec[RESelec,scenarios]*remainingpotentialRESelecswitch [RESelec,scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

247

Units:EJ (0925)outputelecoverlifetimeRESelecforallocation2[RESelec,scenarios ]= "'static' EROIgrid RES elec"[RES elec,scenarios]*CEDtot over lifetime RES elec forallocation [RESelec,scenarios]*qualityofelectricity[scenarios] Units:**undefined** (0926)"overcapacityvs.intermittentRESpenetration0"[scenarios]= MAX(1,0.9599*EXP(0.8938*SharevariableRESelecvstotalgenerationdelayed1yr [scenarios])) Units:Dmnl Totalovercapacityvs.intermittentRESpenetrationin electricitygeneration.(0927)overdemandelectot[scenarios]= IFTHENELSE(EROIpoutotelec[scenarios]>1.1,1/(EROIpoutotelec[scenarios ]-1),5) Units:Dmnl OverdemandduetoEROIpouoftheelectricitysector.Notethat iftheEROIoftheelectricalsystemishigherthanintheyear 2015,theoverdemandisnegative,i.e.lesselectricitythanthe initialestimateddemandisrequired.(0928)overdemandelectotuntil2015[scenarios]= IFTHENELSE(Time<2015,overdemandelectot[scenarios],aux2[scenarios]) Units:Dmnl OverdemandduetoEROIpouoftheelectricitysectoruntilthe year2015.(0929)P2wE2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C180') P2wE2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C180') P2wE2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C180') P2wE2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C180') P2wE2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C180') P2wE2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C180') Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

248

Desiredpercentofelectrical2wheelersin2050ourofTOTAL2 WHEELvehicles(0930)PannualGDPgrowthrate[BAU]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','BAU','3','E4') PannualGDPgrowthrate[SCEN1]:= GETXLSDATA('inputs.xlsx','SCEN1','3','E4') PannualGDPgrowthrate[SCEN2]:= GETXLSDATA('inputs.xlsx','SCEN2','3','E4') PannualGDPgrowthrate[SCEN3]:= GETXLSDATA('inputs.xlsx','SCEN3','3','E4') PannualGDPgrowthrate[SCEN4]:= GETXLSDATA('inputs.xlsx','SCEN4','3','E4') PannualGDPgrowthrate[Userdefined]:= GETXLSDATA('inputs.xlsx','Userdefined','3','E4') Units:Dmnl ExogenousannualGDPgrowthratefrom2015.(0931)"PbioEresiduesforheat+elec"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C46') "PbioEresiduesforheat+elec"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C46') "PbioEresiduesforheat+elec"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C46') "PbioEresiduesforheat+elec"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C46') "PbioEresiduesforheat+elec"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C46') "PbioEresiduesforheat+elec"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C46') Units:1/Year Annualgrowthinenergyoutputdemanddependingonthepolicyof thescenario.(0932)Pbiofuels2gen[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C40') Pbiofuels2gen[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C40') Pbiofuels2gen[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C40') Pbiofuels2gen[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C40') Pbiofuels2gen[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C40')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

249

Pbiofuels2gen[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C40') Units:1/Year Annualgrowthinenergyoutputdemanddependingonthepolicyof thescenario.(0933)Pbiofuels3gen[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C42') Pbiofuels3gen[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C42') Pbiofuels3gen[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C42') Pbiofuels3gen[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C42') Pbiofuels3gen[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C42') Pbiofuels3gen[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C42') Units:1/Year Annualgrowthinenergyoutputdemanddependingonthepolicyof thescenario.(0934)Pbuselec2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C188') Pbuselec2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C188') Pbuselec2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C188') Pbuselec2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C188') Pbuselec2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C188') Pbuselec2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C188') Units:**undefined** Policyofchangeofbus.Percentofbuselectricin2050 relativetothetotalofbus(0935)Pbusgas2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C190') Pbusgas2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C190') Pbusgas2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C190')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

250

Pbusgas2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C190') Pbusgas2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C190') Pbusgas2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C190') Units:**undefined** Policyofchangeofbus.Percentofbusgasin2050relativeto thetotalofbus(0936)Pbushib2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C189') Pbushib2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C189') Pbushib2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C189') Pbushib2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C189') Pbushib2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C189') Pbushib2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C189') Units:**undefined** Policyofchangeofbus.Percentofbushibridin2050relative tothetotalofbus(0937)Pcellulosicbiofuels[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C49') Pcellulosicbiofuels[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C49') Pcellulosicbiofuels[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C49') Pcellulosicbiofuels[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C49') Pcellulosicbiofuels[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C49') Pcellulosicbiofuels[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C49') Units:1/Year Annualgrowthinenergyoutputdemanddependingonthepolicyof thescenario.(0938)Pconstraintgrowthextractionunconvgas[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C96')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

251

Pconstraintgrowthextractionunconvgas[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C96') Pconstraintgrowthextractionunconvgas[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C96') Pconstraintgrowthextractionunconvgas[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C96') Pconstraintgrowthextractionunconvgas[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C96') Pconstraintgrowthextractionunconvgas[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C96') Units:Dmnl Constantconstrainttoannualextractionofunconventionalgas.(0939)Pconstraintgrowthextractionunconvoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C80') Pconstraintgrowthextractionunconvoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C80') Pconstraintgrowthextractionunconvoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C80') Pconstraintgrowthextractionunconvoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C80') Pconstraintgrowthextractionunconvoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C80') Pconstraintgrowthextractionunconvoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C80') Units:Dmnl Constantconstrainttoannualextractionofunconventionaloil.(0940)PCSPgrowth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','G38') PCSPgrowth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','G38') PCSPgrowth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','G38') PCSPgrowth[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','G38') PCSPgrowth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','G38') PCSPgrowth[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','G38') Units:Dmnl Annualgrowthinrelationtotheexistinginstalledcapacity.(0941)PCTL[BAU]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

252

GETXLSCONSTANTS('inputs.xlsx','BAU','C110') PCTL[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C110') PCTL[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C110') PCTL[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C110') PCTL[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C110') PCTL[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C110') Units:1/Year Annualgrowthinenergyoutputdemanddependingonthepolicyof thescenario.(0942)PEV2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C177') PEV2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C177') PEV2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C177') PEV2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C177') PEV2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C177') PEV2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C177') Units:Dmnl Desiredpercentofelectricalvehicles(4wheelers)in2050our ofTOTAL4WHEELvehicles(0943)Pgas2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C179') Pgas2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C179') Pgas2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C179') Pgas2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C179') Pgas2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C179') Pgas2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C179') Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

253

Desiredpercentofgasvehicles(4wheelers)in2050ourof TOTAL4WHEELvehicles(0944)Pgeotgrowth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C33') Pgeotgrowth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C33') Pgeotgrowth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C33') Pgeotgrowth[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C33') Pgeotgrowth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C33') Pgeotgrowth[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C33') Units:Dmnl Annualgrowthinrelationtopastgrowthtrends.(0945)Pgeothermalforheat[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F58') Pgeothermalforheat[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F58') Pgeothermalforheat[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F58') Pgeothermalforheat[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F58') Pgeothermalforheat[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F58') Pgeothermalforheat[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F58') Units:1/Year Annualgrowthinrelationtotheexistinginstalledcapacity.(0946)Pgeothermalforheat0[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F58') Pgeothermalforheat0[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F58') Pgeothermalforheat0[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F58') Pgeothermalforheat0[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F58') Pgeothermalforheat0[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F58') Pgeothermalforheat0[Userdefined]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

254

GETXLSCONSTANTS('inputs.xlsx','Userdefined','F58') Units:1/Year Annualgrowthinrelationtotheexistinginstalledcapacity.(0947)Pgrowthpop[BAU]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','BAU','7','A8') Pgrowthpop[SCEN1]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','SCEN1','7','A8') Pgrowthpop[SCEN2]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','SCEN2','7','A8') Pgrowthpop[SCEN3]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','SCEN3','7','A8') Pgrowthpop[SCEN4]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','SCEN4','7','A8') Pgrowthpop[Userdefined]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Userdefined','7','A8') Units:1/Year Annualpopulationgrowth.(0948)PGTL[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C112') PGTL[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C112') PGTL[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C112') PGTL[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C112') PGTL[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C112') PGTL[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C112') Units:1/Year Annualgrowthinenergyoutputdemanddependingonthepolicyof thescenario.(0949)PHvehicle2050[scenarios,liq4wheels]= (1-Pshare2wheelers2050[scenarios])*(-PEV2050[scenarios]-Pgas2050[ scenarios]-Phib2050[scenarios]) PHvehicle2050[scenarios,elec4wheels]= PEV2050[scenarios]*(1-Pshare2wheelers2050[scenarios]) PHvehicle2050[scenarios,hib4wheels]= Phib2050[scenarios]*(1-Pshare2wheelers2050[scenarios]) PHvehicle2050[scenarios,gas4wheels]= Pgas2050[scenarios]*(1-Pshare2wheelers2050[scenarios])

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

255

PHvehicle2050[scenarios,liq2wheels]= Pshare2wheelers2050[scenarios]*(1-P2wE2050[scenarios]) PHvehicle2050[scenarios,elec2wheels]= Pshare2wheelers2050[scenarios]*P2wE2050[scenarios] Units:Dmnl desiredpercentofvehiclesfromeachtypein2050.Theseare percentagesrelativesTOTHETOTALAMOUNTOFVEHICLES(2 wheelers+4wheelers).(0950)Phib2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C178') Phib2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C178') Phib2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C178') Phib2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C178') Phib2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C178') Phib2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C178') Units:Dmnl Desiredpercentofhibridvehicles(4wheelers)in2050ourof TOTAL4WHEELvehicles(0951)PHVgas2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C184') PHVgas2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C184') PHVgas2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C184') PHVgas2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C184') PHVgas2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C184') PHVgas2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C184') Units:**undefined** Policyofchangeofheavyvehicles.PercentofHVgasin2050 relativetothetotalofHV(0952)PHVhib2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C183') PHVhib2050[SCEN1]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

256

GETXLSCONSTANTS('inputs.xlsx','SCEN1','C183') PHVhib2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C183') PHVhib2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C183') PHVhib2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C183') PHVhib2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C183') Units:**undefined** Policyofchangeofheavyvehicles.PercentofHVhibridin2050 relativetothetotalofHV(0953)Phydrogrowth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C32') Phydrogrowth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C32') Phydrogrowth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C32') Phydrogrowth[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C32') Phydrogrowth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C32') Phydrogrowth[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C32') Units:Dmnl Annualgrowthinrelationtopastgrowthtrends.(0954)PinlandT2050[scenarios,HVliq]= -PHVgas2050[scenarios]-PHVhib2050[scenarios] PinlandT2050[scenarios,HVhib]= PHVhib2050[scenarios] PinlandT2050[scenarios,HVgas]= PHVgas2050[scenarios] PinlandT2050[scenarios,LVliq]= -PLVelec2050[scenarios]-PLVhib2050[scenarios]-PLVgas2050[scenarios ] PinlandT2050[scenarios,LVelec]= PLVelec2050[scenarios] PinlandT2050[scenarios,LVgas]= PLVgas2050[scenarios] PinlandT2050[scenarios,busliq]= -Pbushib2050[scenarios]-Pbusgas2050[scenarios]-Pbuselec2050[scenarios ]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

257

PinlandT2050[scenarios,buselec]= Pbuselec2050[scenarios] PinlandT2050[scenarios,bushib]= Pbushib2050[scenarios] PinlandT2050[scenarios,busgas]= Pbusgas2050[scenarios] PinlandT2050[scenarios,trainliq]= -Ptrainelec2050[scenarios] PinlandT2050[scenarios,trainelec]= Ptrainelec2050[scenarios] PinlandT2050[scenarios,LVhib]= PLVhib2050[scenarios] Units:Dmnl Desiredpercenteachtipeofinlandtransportvehiclein2015, Liquidspoliciesareobtainedbysubstractingtherestof vehicles,becarefulnottosurpass1%(0955)Plabourshare[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C4') Plabourshare[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C4') Plabourshare[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C4') Plabourshare[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C4') Plabourshare[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C4') Plabourshare[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C4') Units:Dmnl Variationoflabourshare.(0956)PLVelec2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C185') PLVelec2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C185') PLVelec2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C185') PLVelec2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C185') PLVelec2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C185') PLVelec2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C185')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

258

Units:**undefined** Policyofchangeoflightcargovehicles.PercentofLVelectric in2050relativetothetotalofLV(0957)PLVgas2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C187') PLVgas2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C187') PLVgas2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C187') PLVgas2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C187') PLVgas2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C187') PLVgas2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C187') Units:**undefined** Policyofchangeoflightcargovehicles.PercentofLVgasin 2050relativetothetotalofLV(0958)PLVhib2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C186') PLVhib2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C186') PLVhib2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C186') PLVhib2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C186') PLVhib2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C186') PLVhib2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C186') Units:**undefined** Policyofchangeoflightcargovehicles.PercentofLVhibrid in2050relativetothetotalofLV(0959)"Pnuclear2-3"= 1 Units:Dmnl SiP_nuclear=0-->escenario2.P_nuclear=1-->escenario3 (PLEX)(0960)Pnuclearelecgen[scenarios]= IFTHENELSE(selectionofnuclearscenario[scenarios]=1,0,

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

259

IFTHENELSE(selectionofnuclearscenario[scenarios]=2,0, IFTHENELSE(selectionofnuclearscenario[scenarios]=4,0, IFTHENELSE(selectionofnuclearscenario[scenarios]=3, IF THEN ELSE(Time<"start year nuclear growth scen3-4"[scenarios], 0 , "P nuclearscen3-4" [scenarios]) ,0)))) Units:1/Year Annualincreaseofnewplannednuclearcapacity.(0961)Pnuclearscen1= 0 Units:Dmnl SiP_nuclear_1=0-->escenario1.P_nuclear_1=1-->permito losescenarios2y3(PLEX)(0962)"Pnuclearscen3-4"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F22') "Pnuclearscen3-4"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F22') "Pnuclearscen3-4"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F22') "Pnuclearscen3-4"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F22') "Pnuclearscen3-4"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F22') "Pnuclearscen3-4"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F22') Units:1/Year Annualvariation(growthorphase-out)ofnewnuclearpower plants(scenarios3and4ofnuclearevolution)fromtheyear "startyearnucleargrowthscen3-4".(0963)Poceanicgrowth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C35') Poceanicgrowth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C35') Poceanicgrowth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C35') Poceanicgrowth[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C35') Poceanicgrowth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C35') Poceanicgrowth[Userdefined]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

260

GETXLSCONSTANTS('inputs.xlsx','Userdefined','C35') Units:Dmnl Annualgrowthinrelationtotheexistinginstalledcapacity.(0964)Precyclingmineralsalttechn[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C17') Precyclingmineralsalttechn[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C17') Precyclingmineralsalttechn[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C17') Precyclingmineralsalttechn[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C17') Precyclingmineralsalttechn[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C17') Precyclingmineralsalttechn[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C17') Units:Dmnl Annualrecyclingrateimprovementpermineralforalternative technologies(RESelec&EVbatteries).(0965)PrecyclingmineralsRest[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C16') PrecyclingmineralsRest[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C16') PrecyclingmineralsRest[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C16') PrecyclingmineralsRest[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C16') PrecyclingmineralsRest[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C16') PrecyclingmineralsRest[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C16') Units:Dmnl Annualrecyclingrateimprovementpermineralfortherestof theeconomy.(0966)PRESelecgrowth[hydro,scenarios]= Phydrogrowth[scenarios] PRESelecgrowth["geot-elec",scenarios]= Pgeotgrowth[scenarios] PRESelecgrowth["solidbioE-elec",scenarios]= "PsolidbioE-elecgrowth"[scenarios] PRESelecgrowth[oceanic,scenarios]= Poceanicgrowth[scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

261

PRESelecgrowth[windonshore,scenarios]= Pwindonshoregrowth[scenarios] PRESelecgrowth[windoffshore,scenarios]= Pwindoffshoregrowth[scenarios] PRESelecgrowth[solarPV,scenarios]= PsolarPVgrowth[scenarios] PRESelecgrowth[CSP,scenarios]= PCSPgrowth[scenarios] Units:**undefined** Forhydro,geot-elecandsolidbioenergythisvariable representstheprojectedannualgrowthinrelationtopast growthtrends,fortherestofRESelec(oceanic,wind&solar), itrepresentstheannualgrowthinrelationtotheexisting installedcapacity.(0967)PRESforheat["solar-heat",scenarios]= Psolarforheat[scenarios] PRESforheat["geot-heat",scenarios]= Pgeothermalforheat[scenarios] PRESforheat["solidbioE-heat",scenarios]= PsolidbioEforheat[scenarios] Units:1/Year AnnualgrowthinRESsupplyforheatdependingonthepolicyof thescenario.(0968)PRESforheat0["solar-heat",scenarios]= Psolarforheat0[scenarios] PRESforheat0["geot-heat",scenarios]= Pgeothermalforheat0[scenarios] PRESforheat0["solidbioE-heat",scenarios]= PsolidbioEforheat0[scenarios] Units:1/Year AnnualgrowthinRESsupplyforheatdependingonthepolicyof thescenario.(0969)Pshare2wheelers2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C181') Pshare2wheelers2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C181') Pshare2wheelers2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C181') Pshare2wheelers2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C181') Pshare2wheelers2050[SCEN4]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

262

GETXLSCONSTANTS('inputs.xlsx','SCEN4','C181') Pshare2wheelers2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C181') Units:Dmnl desiredpercentofall2WHEELSvehiclesin2050relativeto total2w+4w,initialvaluein2015is0.34(0970)Psolarforheat[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F57') Psolarforheat[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F57') Psolarforheat[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F57') Psolarforheat[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F57') Psolarforheat[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F57') Psolarforheat[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F57') Units:1/Year Annualgrowthinrelationtotheexistinginstalledcapacity.(0971)Psolarforheat0[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F57') Psolarforheat0[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F57') Psolarforheat0[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F57') Psolarforheat0[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F57') Psolarforheat0[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F57') Psolarforheat0[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F57') Units:1/Year Annualgrowthinrelationtotheexistinginstalledcapacity.(0972)PsolarPVgrowth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C38') PsolarPVgrowth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C38') PsolarPVgrowth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C38') PsolarPVgrowth[SCEN3]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

263

GETXLSCONSTANTS('inputs.xlsx','SCEN3','C38') PsolarPVgrowth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C38') PsolarPVgrowth[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C38') Units:Dmnl Annualgrowthinrelationtotheexistinginstalledcapacity.(0973)PsolidbioEforheat[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F59') PsolidbioEforheat[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F59') PsolidbioEforheat[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F59') PsolidbioEforheat[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F59') PsolidbioEforheat[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F59') PsolidbioEforheat[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F59') Units:1/Year Annualgrowthinrelationtotheexistinginstalledcapacity.(0974)PsolidbioEforheat0[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F59') PsolidbioEforheat0[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F59') PsolidbioEforheat0[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F59') PsolidbioEforheat0[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F59') PsolidbioEforheat0[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F59') PsolidbioEforheat0[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F59') Units:1/Year Annualgrowthinrelationtotheexistinginstalledcapacity.(0975)"PsolidbioE-elecgrowth"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C34') "PsolidbioE-elecgrowth"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C34') "PsolidbioE-elecgrowth"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C34')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

264

"PsolidbioE-elecgrowth"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C34') "PsolidbioE-elecgrowth"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C34') "PsolidbioE-elecgrowth"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C34') Units:Dmnl Annualgrowthinrelationtopastgrowthtrends.(0976)Ptrainelec2050[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C191') Ptrainelec2050[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C191') Ptrainelec2050[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C191') Ptrainelec2050[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C191') Ptrainelec2050[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C191') Ptrainelec2050[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C191') Units:**undefined** Policyofchangeoftrains.Percentoftrainelectricin2050 relativetothetotaloftrains(0977)Pwastechange[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C11') Pwastechange[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C11') Pwastechange[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C11') Pwastechange[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C11') Pwastechange[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C11') Pwastechange[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C11') Units:1/Year AnnualPESgrowthdependingonthepolicyofthescenario.(0978)Pwindoffshoregrowth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C37') Pwindoffshoregrowth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C37')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

265

Pwindoffshoregrowth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C37') Pwindoffshoregrowth[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C37') Pwindoffshoregrowth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C37') Pwindoffshoregrowth[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C37') Units:Dmnl Annualgrowthinrelationtotheexistinginstalledcapacity.(0979)Pwindonshoregrowth[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C36') Pwindonshoregrowth[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C36') Pwindonshoregrowth[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C36') Pwindonshoregrowth[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C36') Pwindonshoregrowth[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C36') Pwindonshoregrowth[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C36') Units:Dmnl Annualgrowthinrelationtotheexistinginstalledcapacity.(0980)pastbiofuels2gen= GETXLSCONSTANTS('inputs.xlsx','Constants','C81') Units:1/Year Currentgrowthpatterns(1990-2015).(0981)pastbiogasgrowth= GETXLSCONSTANTS('inputs.xlsx','Constants','X231') Units:1/Year Currentgrowthpatterns.(0982)pastRESeleccapacitygrowth[hydro]= GETXLSCONSTANTS('inputs.xlsx','Constants','C85') pastRESeleccapacitygrowth["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C86') pastRESeleccapacitygrowth["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C87') pastRESeleccapacitygrowth[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Constants','C88')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

266

pastRESeleccapacitygrowth[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Constants','C89') pastRESeleccapacitygrowth[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Constants','C90') pastRESeleccapacitygrowth[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Constants','C91') pastRESeleccapacitygrowth[CSP]= GETXLSCONSTANTS('inputs.xlsx','Constants','C92') Units:1/Year Currentgrowthpatters.(0983)"pastRESgrowthforheat-com0"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C101') "pastRESgrowthforheat-com0"["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C102') "pastRESgrowthforheat-com0"["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C103') Units:1/Year Historicannualaveragegrowth.(0984)"pastRESgrowthforheat-com"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C101') "pastRESgrowthforheat-com"["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C102') "pastRESgrowthforheat-com"["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C103') Units:1/Year Historicannualaveragegrowth.(0985)"pastRESgrowthforheat-nc"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C104') "pastRESgrowthforheat-nc"["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C105') "pastRESgrowthforheat-nc"["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Constants','C106') Units:1/Year Historicannualaveragegrowth.(0986)Pastwastegrowth= GETXLSCONSTANTS('inputs.xlsx','Constants','X218') Units:Dmnl PastgrowthinPESofwastesupply.(0987)"pctGFCFvsGFCF+HD"[scenarios,sectors]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

267

Grossfixedcapitalformation[scenarios,sectors]/(Grossfixedcapitalformation [scenarios,sectors]+Householddemand[scenarios,sectors]) Units:Dmnl ShareofGrossFixedCapitalFormationinfinaldemandby householdsandenterprises.(0988)PEbioEforElecgenerationEJ[scenarios]= PErealgenerationRESelec["solidbioE-elec",scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).(0989)"PEbioEresiduesforheat+elecEJ"[scenarios]=INTEG( "newBioEresiduesforheat+elec"[scenarios], 0) Units:EJ/Year TotalannualbioEresiduesproduction.(0990)PEbiofuelslandmargEJ[scenarios]= PEavailbiofuelslandmargEJ[scenarios]/ConvefficiencyfromNPPtobiofuels Units:**undefined** Totalannualprimaryenergybiomassforbiofuelproductionin marginallands.(0991)"PEbiofuelsprod2gen+3genEJ"[scenarios]= (PEavailbiofuels2genlandcompetEJ[scenarios]+PEavailbiofuels3genlandcompetEJ [scenarios])/ConvefficiencyfromNPPtobiofuels Units:EJ/Year Totalannualprimaryenergybiomassforbiofuelproduction(2nd and3rdgeneration)inmarginallands.(0992)PEbiomassforbiofuelsproductionEJ[scenarios]= PEbiofuels landmargEJ[scenarios]+PEcellulosicbiofuelEJ[scenarios]+"PEbiofuelsprod2gen+3genEJ" [scenarios ] Units:EJ/Year Primaryenergyofbiomassforbiofuelsproduction.(0993)PEBioWforElecgenerationMtoe[scenarios]= PErealgenerationRESelec["solidbioE-elec",scenarios]*MToeperEJ Units:MToe/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

268

Method).(0994)PEcellulosicbiofuelEJ[scenarios]= PotentialPEcellulosicbiofuelEJ[scenarios]*(1-sharebiofuelsovercapacity [scenarios]) Units:EJ Annualprimaryenergybiomassusedforcellulosicbiofuels.(0995)"PEcoalextractiondeCastroPhD-ScenII"( [(0,0)-(10,10)],(1985,2081.44),(1986,2135.51),(1987,2188.27),(1988,2239.78 ),(1989,2290.12),(1990,2339.37),(1991,2387.58),(1992,2434.81),(1993,2481.08 ),(1994,2526.43),(1995,2570.82),(1996,2614.21),(1997,2656.54),(1998,2697.73 ),(1999,2737.64),(2000,2776.16),(2001,2813.12),(2002,2848.39),(2003,2881.79 ),(2004,2913.19),(2005,2942.43),(2006,2970.14),(2007,2996.14),(2008,3020.47 ),(2009,3043.2),(2010,3064.45),(2011,3084.36),(2012,3103.16),(2013,3121.08 ),(2014,3138.41),(2015,3155.49),(2016,3171.11),(2017,3180.04),(2018,3181.73 ),(2019,3175.59),(2020,3161.8),(2021,3141.21),(2022,3115.28),(2023,3085.91 ),(2024,3055.2),(2025,3025.33),(2026,2998.72),(2027,2977.04),(2028,2961.66 ),(2029,2953.52),(2030,2953.18),(2031,2960.78),(2032,2976.17),(2033,2998.94 ),(2034,3028.5),(2035,3064.18),(2036,3101.34),(2037,3138.56),(2038,3174.51 ),(2039,3208.26),(2040,3239.24),(2041,3267.14),(2042,3291.87),(2043,3313.47 ),(2044,3332.03),(2045,3347.68),(2046,3360.5),(2047,3370.53),(2048,3377.77 ),(2049,3382.15),(2050,3369.61),(2051,3346.49),(2052,3321.23),(2053,3294.99 ),(2054,3268.1),(2055,3240.42),(2056,3211.63),(2057,3181.37),(2058,3149.3) ,(2059,3115.17),(2060,3078.78),(2061,3040.04),(2062,2998.94),(2063,2955.52 ),(2064,2909.85),(2065,2862.1),(2066,2812.42),(2067,2761.01),(2068,2708.07 ),(2069,2653.84),(2070,2598.53),(2071,2542.37),(2072,2485.58),(2073,2428.5 ),(2074,2374.08),(2075,2323.46),(2076,2276.45),(2077,2232.72),(2078,2191.9 ),(2079,2153.67),(2080,2117.71),(2081,2083.74),(2082,2051.52),(2083,2020.82 ),(2084,1991.45),(2085,1963.21),(2086,1935.96),(2087,1909.56),(2088,1883.85 ),(2089,1858.74),(2090,1834.13),(2091,1809.91),(2092,1786.01),(2093,1762.35 ),(2094,1738.88),(2095,1715.54),(2096,1692.29),(2097,1669.09),(2098,1645.91 ),(2099,1622.73),(2100,1599.53)) Units:MToe/Year Primaryenergy(Add"Energíaperdida"tothenetenergy extractionintheoriginalmodel).(0996)PEconsumptiontradbiomassref= GETXLSCONSTANTS('inputs.xlsx','Parameters','C57') Units:EJ/Year Primaryenergyconsumptionoftradbiomass.FromIEAbalances, 39.626EJwereconsumedasprimarysolidsbiofuelsforTFCin 2008.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

269

(0997)PECSPforElecgenerationEJ[scenarios]= PErealgenerationRESelec[CSP,scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).(0998)PEdemandcoalElecplantsEJ[scenarios]= (FEdemandcoalElecplantsTWh[scenarios]/efficiencycoalforelectricity )*EJperTWh Units:EJ/Year Primaryenergydemandofcoal(EJ)forelectricityconsumption (includinggenerationlosses).(0999)PEdemandgasElecplantsEJ[scenarios]= (FEdemandgasElecplantsTWh[scenarios]/efficiencygasforelectricity) *EJperTWh Units:EJ/Year Primaryenergydemandofnaturalgas(EJ)forelectricity consumption(includinggenerationlosses).(1000)PEdemandoilElecplantsEJ[scenarios]= (FEdemandoilElecplantsTWh[scenarios]/efficiencyliquidsforelectricity )*EJperTWh Units:EJ/Year Primaryenergydemandofoil(EJ)forelectricgeneration (includinggenerationlosses).(1001)PEdemanduraniumEJ[scenarios]= potentialgenerationnuclearelecTWh[scenarios]*EJperTWh/efficiencyuraniumforelectricity Units:EJ/Year Primaryenergydemandofuraniumfornuclearpowergeneration.(1002)PEElecgenerationfromRESEJ[scenarios]= PEbioEforElecgenerationEJ[scenarios]+"PEgeot-elecforElecgenerationEJ" [scenarios]+PEhydroforElecgenerationEJ [scenarios]+PE oceanic for Elec generation EJ[scenarios]+PE solar PV for ElecgenerationEJ [scenarios]+PECSPforElecgenerationEJ [scenarios]+PEonshorewindforElecgenerationEJ[scenarios]+PEoffshorewindforElecgenerationEJ [scenarios]+PEStotbiogasforelec[scenarios] Units:EJ/Year PrimaryenergyfromRESelectricitygeneration.Forallsources

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

270

excepting"Bio"thefactor"REStofossilaccounting"isapplied fortheequivalentprimaryenergy.(1003)"PEgasextractiondeCastroPhD-ScenII"( [(0,0)-(10,10)],(1985,1511.25),(1986,1560.28),(1987,1609),(1988,1657.46), (1989,1705.67),(1990,1753.67),(1991,1801.48),(1992,1849.09),(1993,1896.51) ,(1994,1943.7),(1995,1990.62),(1996,2037.18),(1997,2083.29),(1998,2128.84) ,(1999,2173.66),(2000,2217.6),(2001,2260.46),(2002,2302.05),(2003,2342.18) ,(2004,2380.64),(2005,2417.18),(2006,2452.25),(2007,2485.65),(2008,2517.3) ,(2009,2547.21),(2010,2575.39),(2011,2601.9),(2012,2626.83),(2013,2650.34) ,(2014,2672.6),(2015,2693.85),(2016,2713.04),(2017,2725.69),(2018,2731.16) ,(2019,2728.82),(2020,2718.75),(2021,2701.64),(2022,2678.7),(2023,2651.58) ,(2024,2622.12),(2025,2592.25),(2026,2564.02),(2027,2538.98),(2028,2518.29 ),(2029,2502.75),(2030,2492.79),(2031,2488.48),(2032,2489.57),(2033,2495.59 ),(2034,2505.9),(2035,2519.76),(2036,2533.25),(2037,2544.98),(2038,2553.75 ),(2039,2558.7),(2040,2559.31),(2041,2555.33),(2042,2546.69),(2043,2533.45 ),(2044,2515.76),(2045,2493.79),(2046,2467.71),(2047,2437.67),(2048,2403.82 ),(2049,2366.26),(2050,2315.78),(2051,2256.66),(2052,2195.62),(2053,2133.79 ),(2054,2071.61),(2055,2009.2),(2056,1946.54),(2057,1883.58),(2058,1820.32 ),(2059,1756.81),(2060,1693.17),(2061,1629.56),(2062,1566.17),(2063,1503.21 ),(2064,1440.92),(2065,1379.52),(2066,1319.21),(2067,1260.2),(2068,1202.66 ),(2069,1146.75),(2070,1092.58),(2071,1040.26),(2072,989.855),(2073,941.438 ),(2074,895.994),(2075,853.858),(2076,814.762),(2077,778.406),(2078,744.501 ),(2079,712.786),(2080,683.028),(2081,655.029),(2082,628.61),(2083,603.618 ),(2084,579.92),(2085,557.398),(2086,535.948),(2087,515.482),(2088,495.919 ),(2089,477.189),(2090,459.233),(2091,441.995),(2092,425.428),(2093,409.491 ),(2094,394.147),(2095,379.364),(2096,365.113),(2097,351.369),(2098,338.109 ),(2099,325.314),(2100,312.966)) Units:MToe/Year Primaryenergy(Add"Energíaperdida"tothenetenergy extractionintheoriginalmodel).(1004)"PEgeot-elecforElecgenerationEJ"[scenarios]= PErealgenerationRESelec["geot-elec",scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).(1005)PEhydroforElecgenerationEJ[scenarios]= PErealgenerationRESelec[hydro,scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

271

(1006)PElossesBioEforElecEJ[scenarios]= PErealgenerationRESelec["solidbioE-elec",scenarios]-FEElecgenerationfrombioETWh [scenarios]*EJperTWh Units:EJ/Year (Primaryenergy)lossesduetotheproductionofelectricity fromsolidbioenergy.(1007)PElossesbiogasforelec[scenarios]= PEStotbiogasforelec[scenarios]-FESelecfrombiogasEJ[scenarios] Units:EJ (1008)PElossescoalforElecEJ[scenarios]= extractioncoalEJ[scenarios]*sharecoaldemforElec[scenarios]*(1-efficiencycoalforelectricity ) Units:EJ/Year (Primary)Energylossesinthegenerationofelectricityincoal powercentrals.(1009)PElossesconvgasforElecEJ[scenarios]= realextractionconvgasEJ[scenarios]*"sharenat.gasdemforElec"[scenarios ]*(1-efficiencygasforelectricity) Units:EJ/Year (Primary)Energylossesinthegenerationofelectricityingas powercentrals.(1010)PElossesNREelecgeneration[scenarios]= PElossescoalforElecEJ[scenarios]+PElossesconvgasforElecEJ[scenarios ]+PElossesoilforElecEJ[scenarios]+PElossesuncongasforElecEJ[scenarios ]+PElossesuraniumforElecEJ[scenarios] Units:EJ Lossesforelectricitygenerationfromnon-renewableenergy resources.(1011)PElossesoilforElecEJ[scenarios]= PES oil EJ[scenarios]*share oil dem for Elec[scenarios]*(1-efficiency liquids forelectricity ) Units:EJ/Year Primaryenergylossesrelatedwithoilforelectricity generation.(1012)PElossesRESforelec[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

272

PElossesBioEforElecEJ[scenarios]+PElossesbiogasforelec[scenarios ]+PElosseswasteforelec[scenarios] Units:EJ (1013)PElossesuncongasforElecEJ[scenarios]= realextractionunconvgasEJ[scenarios]*"sharenat.gasdemforElec"[scenarios ]*(1-efficiencygasforelectricity) Units:EJ/Year (Primary)Energylossesinthegenerationofelectricityingas powercentrals.(1014)PElossesuraniumforElecEJ[scenarios]= extractionuraniumEJ[scenarios]*(1-efficiencyuraniumforelectricity) Units:EJ/Year (Primary)Energylossesinthegenerationofelectricityin nuclearpowercentrals.(1015)PElosseswasteforelec[scenarios]= PEStotwasteforelec[scenarios]-FESelecfromwasteEJ[scenarios] Units:EJ (1016)PEoceanicforElecgenerationEJ[scenarios]= PErealgenerationRESelec[oceanic,scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).(1017)PEoffshorewindforElecgenerationEJ[scenarios]= PErealgenerationRESelec[windoffshore,scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).(1018)"PEoilextractiondeCastroPhD-ScenII"( [(0,0)-(10,10)],(1985,2853.6),(1986,2932.69),(1987,3010.55),(1988,3087.22 ),(1989,3162.74),(1990,3237.16),(1991,3310.47),(1992,3382.67),(1993,3453.7 ),(1994,3523.47),(1995,3591.83),(1996,3658.6),(1997,3723.55),(1998,3786.39 ),(1999,3846.79),(2000,3904.4),(2001,3958.81),(2002,4009.62),(2003,4056.42 ),(2004,4098.78),(2005,4136.27),(2006,4169.57),(2007,4198.24),(2008,4222.15 ),(2009,4241.19),(2010,4255.33),(2011,4264.62),(2012,4269.17),(2013,4269.15 ),(2014,4264.78),(2015,4256.34),(2016,4242.11),(2017,4215.12),(2018,4174.81 ),(2019,4120.76),(2020,4053.66),(2021,3975.16),(2022,3887.67),(2023,3794.08 ),(2024,3697.45),(2025,3600.71),(2026,3506.78),(2027,3417.66),(2028,3334.64 ),(2029,3258.44),(2030,3189.17),(2031,3126.44),(2032,3069.5),(2033,3017.29

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

273

),(2034,2968.65),(2035,2922.37),(2036,2873.74),(2037,2821.48),(2038,2764.72 ),(2039,2703.17),(2040,2637.04),(2041,2566.93),(2042,2493.69),(2043,2418.33 ),(2044,2341.94),(2045,2265.58),(2046,2190.28),(2047,2116.99),(2048,2046.54 ),(2049,1979.65),(2050,1909.2),(2051,1839.5),(2052,1776.01),(2053,1719.36) ,(2054,1669.55),(2055,1626.19),(2056,1588.74),(2057,1556.59),(2058,1529.08 ),(2059,1505.57),(2060,1485.41),(2061,1467.99),(2062,1452.74),(2063,1439.12 ),(2064,1426.63),(2065,1414.83),(2066,1403.34),(2067,1391.81),(2068,1379.96 ),(2069,1367.57),(2070,1354.44),(2071,1340.44),(2072,1325.47),(2073,1309.44 ),(2074,1293.54),(2075,1278.69),(2076,1264.85),(2077,1251.89),(2078,1239.63 ),(2079,1227.89),(2080,1216.49),(2081,1205.3),(2082,1194.17),(2083,1182.97 ),(2084,1171.6),(2085,1159.95),(2086,1147.95),(2087,1135.52),(2088,1122.6) ,(2089,1109.14),(2090,1095.1),(2091,1080.45),(2092,1065.16),(2093,1049.24) ,(2094,1032.67),(2095,1015.47),(2096,997.651),(2097,979.238),(2098,960.264 ),(2099,940.765),(2100,920.786)) Units:MToe/Year Primaryenergy(Add"Energíaperdida"tothenetenergy extractionintheoriginalmodel).(1019)PEonshorewindforElecgenerationEJ[scenarios]= PErealgenerationRESelec[windonshore,scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).(1020)PErealgenerationRESelec[hydro,scenarios]= realgenerationRESelecTWh[hydro,scenarios]*EJperTWh*REStofossilaccounting PErealgenerationRESelec["geot-elec",scenarios]= real generation RES elec TWh["geot-elec",scenarios]*EJ per TWh*RES to fossilaccounting PErealgenerationRESelec["solidbioE-elec",scenarios]= (realgenerationRESelecTWh["solidbioE-elec",scenarios]/efficiencyconversionbioEtoElec )*EJperTWh PErealgenerationRESelec[oceanic,scenarios]= real generation RES elec TWh[oceanic,scenarios]*EJ per TWh*RES to fossilaccounting PErealgenerationRESelec[windonshore,scenarios]= real generation RES elec TWh[wind onshore,scenarios]*EJ per TWh*RES to fossilaccounting PErealgenerationRESelec[windoffshore,scenarios]= real generation RES elec TWh[wind offshore,scenarios]*EJ per TWh*RES to fossilaccounting PErealgenerationRESelec[solarPV,scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

274

real generation RES elec TWh[solar PV,scenarios]*EJ per TWh*RES to fossilaccounting PErealgenerationRESelec[CSP,scenarios]= realgenerationRESelecTWh[CSP,scenarios]*EJperTWh*REStofossilaccounting Units:EJ PrimaryenergysupplyofelectricityproductionofRES.(1021)PEsolarPVforElecgenerationEJ[scenarios]= PErealgenerationRESelec[solarPV,scenarios] Units:EJ/Year Annualprimaryenergytogenerateelectricity(DirectEquivalent Method).(1022)"PEsupplyfromRESnon-elecwithouttradbioEEJ"[scenarios]= PEStotRESforheat[scenarios]+FEStotalbiofuelsproductionEJ[scenarios ]+PESbiogasforTFC[scenarios] Units:EJ/Year Primaryenergy(nonelectric)supplyfromRESwithout traditionalbiomass.(1023)"PEsupplyRESnon-ElecEJ"[scenarios]= "PEsupplyfromRESnon-elecwithouttradbioEEJ"[scenarios]+PEtraditionalbiomassEJdelayed1yr [scenarios]+LossesincharcoalplantsEJ Units:EJ/Year Primaryenergy(nonelectricity)fromRES,includingtraditional biomass.(1024)PEtraditionalbiomassEJ[scenarios]= Households final energy demand[scenarios,solids]*share trad biomass vs solids inhouseholds Units:EJ Annualprimaryenergyconsumptionoftraditionalbiomass.It alsoincludescharcoalandbiosolidsforsolids.(1025)PEtraditionalbiomassEJdelayed1yr[scenarios]=DELAYFIXED( PEtraditionalbiomassEJ[scenarios],1,30) Units:EJ/Year Annualprimaryenergyconsumptionoftraditionalbiomass.It alsoincludescharcoalandbiosolidsforsolids.(1026)PEavailbiofuels2genlandcompetEJ[scenarios]= Potential PEavail biofuels 2gen land compet EJ[scenarios]*(1-share biofuelsovercapacity

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

275

[scenarios]) Units:EJ/Year Primaryenergyavailableofbiofuelsfromdedicatedcrops(2nd generation).(1027)PEavailbiofuels3genlandcompetEJ[scenarios]= PotentialPEavailbiofuelsprod3genEJ[scenarios]*(1-sharebiofuelsovercapacity [scenarios]) Units:EJ/Year Primaryenergyavailableofbiofuelsfromdedicatedcrops(3rd generation).(1028)PEavailbiofuelslandmargEJ[scenarios]= PotentialPEavailbiofuelslandmargEJ[scenarios]*(1-sharebiofuelsovercapacity [scenarios]) Units:EJ Totalannualbiofuelproductioninmarginallands.(1029)PEavailcellulosicbiofuelEJ[scenarios]= PEcellulosicbiofuelEJ[scenarios]*EfficiencybioEresiduestocellulosicliquids [scenarios] Units:EJ/Year Cellulosicbiofuelsproductionfrombioenergy-residues.(1030)PEDcoalEJ[scenarios]= MAX(0,PEDsolids[scenarios]-(PEtraditionalbiomassEJdelayed1yr[scenarios ]+PESpeatEJ+PESwasteforTFC[scenarios]+LossesincharcoalplantsEJ)) Units:EJ (1031)PEDcoalforCHPplantsEJ[scenarios]= FEDheatcoalCHPplantsEJ[scenarios]/efficiencyHeatcoalCHPplants Units:EJ/Year Primaryenergydemandofcoal(EJ)forCHPplants.(1032)PEDcoalforCTLEJ[scenarios]= CTLproduction[scenarios]/CTLefficiency Units:EJ/Year DemandofcoalforCTL.(1033)PEDcoalforHeatplantsEJ[scenarios]= FEDHeatcoalplantsEJ[scenarios]/efficiencycoalforheatplants Units:EJ/Year Primaryenergydemandofcoal(EJ)forheatconsumption (includinggenerationlosses).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

276

(1034)"PEDcoalHeat-nc"[scenarios]= "TotalFEDNREHeat-nc"[scenarios]*"shareFEDcoalvsNREheat-nc"[scenarios ]/efficiencycoalforheatplants Units:EJ Primaryenergydemandheatnon-commercialtobecoveredbycoal. ItcorrespondstotheFEH(finalenergyuseforheat)metric whichincludesthedistributionandgenerationlosses(seeIEA, 2014).(1035)PEDcoalwithoutCTL[scenarios]= PEDcoalEJ[scenarios]-PEDcoalforCTLEJ[scenarios] Units:EJ TotaldemandofcoalwithoutCTL.(1036)PEDgasforCHPplantsEJ[scenarios]= FEDheatgasCHPplantsEJ[scenarios]/efficiencyHeatgasCHPplants Units:EJ/Year Primaryenergydemandofgas(EJ)forCHPplants.(1037)"PEDgasHeat-nc"[scenarios]= "TotalFEDNREHeat-nc"[scenarios]*"shareFEDgasvsNREheat-nc"[scenarios ]/efficiencygasesforheatplants Units:EJ Primaryenergydemandheatnon-commercialtobecoveredby naturalgas.ItcorrespondstotheFEH(finalenergyusefor heat)metricwhichincludesthedistributionandgeneration losses(seeIEA,2014).(1038)PEDgases[scenarios]= MAX(0,RequiredFEDbygas[scenarios]+"PEDnat.gasforGTLEJ"[scenarios ]+PEdemandgasElecplantsEJ[scenarios]+PEDgasesforHeatplantsEJ[scenarios ]+PEDgasforCHPplantsEJ[scenarios]+"PEDgasHeat-nc"[scenarios]+Othergasesrequired [scenarios]+"E-lossesbyfinalfuelduetoCCimpacts"[scenarios,gases]) Units:EJ Primaryenergydemandtotalgases.(1039)PEDgasesforHeatplantsEJ[scenarios]= FEDHeatgasplantsEJ[scenarios]/efficiencygasesforheatplants Units:EJ/Year Primaryenergydemandofgas(EJ)forheatconsumption (includinggenerationlosses).(1040)PEDliquidsEJ[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

277

MAX(0,RequiredFEDbyliquidsEJ[scenarios]+OtherliquidsrequiredEJ[scenarios ]+PEdemandoilElecplantsEJ[scenarios ]+PEDoilforHeatplantsEJ[scenarios]+PEDoilforCHPplantsEJ[scenarios ]+"PEDliquidsHeat-nc"[scenarios]+"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,liquids]) Units:EJ/Year Primaryenergydemandoftotalliquids.(1041)"PEDliquidsHeat-nc"[scenarios]= "TotalFEDNREHeat-nc"[scenarios]*"shareFEDliquidsvsNREheat-nc"[scenarios ]/efficiencyliquidsforheatplants Units:EJ Primaryenergydemandheatnon-commercialtobecoveredby liquids.ItcorrespondstotheFEH(finalenergyuseforheat) metricwhichincludesthedistributionandgenerationlosses (seeIEA,2014).(1042)"PEDnat.gasEJ"[scenarios]= MAX(0,PEDgases[scenarios]-PESbiogasforTFC[scenarios]) Units:EJ/Year Primaryenergydemandofnatural(fossil)gas.(1043)"PEDnat.gasforGTLEJ"[scenarios]= GTLproduction[scenarios]/GTLefficiency Units:EJ/Year DemandofgasforCTL.(1044)"PEDnat.gaswithoutGTL"[scenarios]= MAX(0,"PEDnat.gasEJ"[scenarios]-"PEDnat.gasforGTLEJ"[scenarios]) Units:EJ/Year TotaldemandofnaturalgaswithoutGTL.(1045)PEDNRELiquids[scenarios]= MAX(0,PEDliquidsEJ[scenarios]-FEStotalbiofuelsproductionEJ[scenarios ]) Units:EJ Primaryenergydemandofnon-renewableenergyfortheproduction ofliquids.(1046)PEDoilforCHPplantsEJ[scenarios]= FEDheatliquidsCHPplantsEJ[scenarios]/efficiencyHeatoilCHPplants Units:EJ/Year Primaryenergydemandofoil(EJ)forCHPplants.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

278

(1047)PEDoilforHeatplantsEJ[scenarios]= FEDHeatliquidsplantsEJ[scenarios]/efficiencyliquidsforheatplants Units:EJ/Year Primaryenergydemandofoil(EJ)forheatconsumption (includinggenerationlosses).(1048)PEDsolids[scenarios]= MAX(0,Required FED solids[scenarios]+PED coal forCTLEJ[scenarios]+PEdemandcoalElecplantsEJ [scenarios]+PEDcoalforHeatplantsEJ [scenarios]+PEDcoalforCHPplantsEJ[scenarios]+"PEDcoalHeat-nc"[scenarios ]+Othersolidsrequired[scenarios]+"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,solids]) Units:EJ Primaryenergydemandofsolids.(1049)PEDtotaloilEJ[scenarios]= MAX(0,PEDNRELiquids[scenarios]-"FESCTL+GTLEJ"[scenarios]-OilrefinerygainsEJ [scenarios]) Units:EJ/Year Primaryenergydemandoftotaloil(conventionaland unconventional).(1050)Peoplerelyingtradbiomassref= GETXLSCONSTANTS('inputs.xlsx','Parameters','C58') Units:people Peoplerelyingontraditionalbiomassin2008.WEO2010reportad thatin2008,2.5billionpeopleconsumed724Mtoeof traditionalbiomass.(1051)percent2w[scenarios]= percentsHvehicles[scenarios,liq2wheels]+percentsHvehicles[scenarios, elec2wheels] Units:**undefined** (1052)percent2wliq0= GETXLSCONSTANTS('inputs.xlsx','Transportation','B29') Units:**undefined** Percentof2wheelersofliquidsintheinitialyearofpolicy (2015default).percentsrelativetototalnumber4w+2wDEFAULT: 0.2712(1053)percent4w[scenarios]= percentsHvehicles[scenarios,liq4wheels]+percentsHvehicles[scenarios,

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

279

hib4wheels]+percentsHvehicles[scenarios,elec4wheels]+percentsHvehicles [scenarios,gas4wheels] Units:**undefined** (1054)percent4wliq0= GETXLSCONSTANTS('inputs.xlsx','Transportation','B25') Units:Dmnl Percentof4wheelersofliquidsintheinitialyearofpolicy (2015default).percentsrelativetototalnumber4w+2w0.658(1055)percentall[scenarios]= percent2w[scenarios]+percent4w[scenarios] Units:**undefined** (1056)percentHvehiclesinitial[liq4wheels]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B25') percentHvehiclesinitial[elec4wheels]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B26') percentHvehiclesinitial[hib4wheels]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B27') percentHvehiclesinitial[gas4wheels]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B28') percentHvehiclesinitial[liq2wheels]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B29') percentHvehiclesinitial[elec2wheels]= GETXLSCONSTANTS('inputs.xlsx','Transportation','B30') Units:Dmnl percentsintheyearofbeginingofpolicy(2015default)of vehcilesrelativetototal4w+2w:(1057)percentTvehicles[scenarios,vehicleT]=INTEG( varpercentTvehicles[scenarios,vehicleT], initialpercentTvehicles[vehicleT]) Units:**undefined** Percentsofinlandtransportvehicles,eachtyperelativetoits own:heavyvehicles(%liq+%hib+%gas)add1,lightvehicles (%liq+%elec+%gas+%hib)add1,bus(%liq+%elec+%gas+%hib)add1 andtrains((%liq+%elec)add1.(1058)percenttoshare= GETXLSCONSTANTS('inputs.xlsx','Constants','C12') Units:Dmnl Conversionofpercenttoshare.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

280

(1059)percents2wHvehicles[scenarios,liq2wheels]= percentsHvehicles[scenarios,liq2wheels]/(percentsHvehicles[scenarios ,elec2wheels]+percentsHvehicles[scenarios,liq2wheels]) percents2wHvehicles[scenarios,elec2wheels]= percentsHvehicles[scenarios,elec2wheels]/(percentsHvehicles[scenarios ,elec2wheels]+percentsHvehicles[scenarios,liq2wheels]) percents2wHvehicles[scenarios,liq4wheels]= 0 percents2wHvehicles[scenarios,elec4wheels]= 0 percents2wHvehicles[scenarios,gas4wheels]= 0 percents2wHvehicles[scenarios,hib4wheels]= 0 Units:**undefined** Percentofelectrica2wheelerasapercentofONLYTWOWHEELERS(1060)percents4wHvehicles[scenarios,liq4wheels]= percentsHvehicles[scenarios,liq4wheels]/(percentsHvehicles[scenarios ,elec4wheels]+percentsHvehicles[scenarios,hib4wheels]+percentsHvehicles [scenarios,gas4wheels]+percentsHvehicles[scenarios,liq4wheels]) percents4wHvehicles[scenarios,elec4wheels]= percentsHvehicles[scenarios,elec4wheels]/(percentsHvehicles[scenarios ,elec4wheels]+percentsHvehicles[scenarios,hib4wheels]+percentsHvehicles [scenarios,gas4wheels]+percentsHvehicles[scenarios,liq4wheels]) percents4wHvehicles[scenarios,hib4wheels]= percentsHvehicles[scenarios,hib4wheels]/(percentsHvehicles[scenarios ,elec4wheels]+percentsHvehicles[scenarios,hib4wheels]+percentsHvehicles [scenarios,gas4wheels]+percentsHvehicles[scenarios,liq4wheels]) percents4wHvehicles[scenarios,gas4wheels]= percentsHvehicles[scenarios,gas4wheels]/(percentsHvehicles[scenarios ,elec4wheels]+percentsHvehicles[scenarios,hib4wheels]+percentsHvehicles [scenarios,gas4wheels]+percentsHvehicles[scenarios,liq4wheels]) percents4wHvehicles[scenarios,liq2wheels]= 0 percents4wHvehicles[scenarios,elec2wheels]= 0 Units:**undefined** Percentofalternative4wheelersasapercentofONLY4WHEELERS(1061)percentsbus[scenarios,HVliq]= 0 percentsbus[scenarios,HVhib]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

281

percentsbus[scenarios,HVgas]= 0 percentsbus[scenarios,LVliq]= 0 percentsbus[scenarios,LVelec]= 0 percentsbus[scenarios,LVgas]= 0 percentsbus[scenarios,busliq]= percentTvehicles[scenarios,busliq] percentsbus[scenarios,buselec]= percentTvehicles[scenarios,buselec] percentsbus[scenarios,bushib]= percentTvehicles[scenarios,bushib] percentsbus[scenarios,busgas]= percentTvehicles[scenarios,busgas] percentsbus[scenarios,trainliq]= 0 percentsbus[scenarios,trainelec]= 0 percentsbus[scenarios,LVhib]= percentTvehicles[scenarios,LVhib] Units:Dmnl percentsofbusofinlandtransportsectorrealtivetoall vehiclesofthistype.(1062)percentsbus0[scenarios,HVliq]= 0 percentsbus0[scenarios,HVhib]= 0 percentsbus0[scenarios,HVgas]= 0 percentsbus0[scenarios,LVliq]= 0 percentsbus0[scenarios,LVelec]= 0 percentsbus0[scenarios,LVgas]= 0 percentsbus0[scenarios,busliq]= 0 percentsbus0[scenarios,buselec]= 0 percentsbus0[scenarios,bushib]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

282

percentsbus0[scenarios,busgas]= 0 percentsbus0[scenarios,trainliq]= percentTvehicles[scenarios,trainliq] percentsbus0[scenarios,trainelec]= percentTvehicles[scenarios,trainelec] percentsbus0[scenarios,LVhib]= percentTvehicles[scenarios,LVhib] Units:Dmnl percentsoftrainsofinlandtransportsectorrealtivetoall vehiclesofthistype.(1063)percentsHvehicles[scenarios,liq4wheels]=INTEG( varpercentsHvehicles[scenarios,liq4wheels], 1-initial2wpercent) percentsHvehicles[scenarios,elec4wheels]=INTEG( varpercentsHvehicles[scenarios,elec4wheels], 0) percentsHvehicles[scenarios,hib4wheels]=INTEG( varpercentsHvehicles[scenarios,hib4wheels], 0) percentsHvehicles[scenarios,gas4wheels]=INTEG( varpercentsHvehicles[scenarios,gas4wheels], 0) percentsHvehicles[scenarios,liq2wheels]=INTEG( varpercentsHvehicles[scenarios,liq2wheels], initial2wpercent) percentsHvehicles[scenarios,elec2wheels]=INTEG( varpercentsHvehicles[scenarios,elec2wheels], 0) Units:**undefined** Percentrelativetototalnumberofvehicles2w+4w.Initial percentagesin1995ofalternativevehiclesareconsideredcero, Thisisdonethatwayinordertoallowanexponentialgrowth thatmatcheshistoricalvehaviourfrom2005to2015.Percents relativetototal4w+2w.(1064)percentsHV[scenarios,HVliq]= percentTvehicles[scenarios,HVliq] percentsHV[scenarios,HVhib]= percentTvehicles[scenarios,HVhib] percentsHV[scenarios,HVgas]= percentTvehicles[scenarios,HVgas] percentsHV[scenarios,LVliq]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

283

0 percentsHV[scenarios,LVelec]= 0 percentsHV[scenarios,LVgas]= 0 percentsHV[scenarios,busliq]= 0 percentsHV[scenarios,buselec]= 0 percentsHV[scenarios,bushib]= 0 percentsHV[scenarios,busgas]= 0 percentsHV[scenarios,trainliq]= 0 percentsHV[scenarios,trainelec]= 0 percentsHV[scenarios,LVhib]= 0 Units:Dmnl percentsofheavyvehiclesrealtivetoallvehiclesofthistype.(1065)percentsLV[scenarios,HVliq]= 0 percentsLV[scenarios,HVhib]= 0 percentsLV[scenarios,HVgas]= 0 percentsLV[scenarios,LVliq]= percentTvehicles[scenarios,LVliq] percentsLV[scenarios,LVelec]= percentTvehicles[scenarios,LVelec] percentsLV[scenarios,LVgas]= percentTvehicles[scenarios,LVgas] percentsLV[scenarios,busliq]= 0 percentsLV[scenarios,buselec]= 0 percentsLV[scenarios,bushib]= 0 percentsLV[scenarios,busgas]= 0 percentsLV[scenarios,trainliq]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

284

percentsLV[scenarios,trainelec]= 0 percentsLV[scenarios,LVhib]= percentTvehicles[scenarios,LVhib] Units:Dmnl percentsoflightcargovehiclesofinlandtransportsector realtivetoallvehiclesofthistype.(1066)PESBiogasEJ[scenarios]=INTEG( newPESbiogas[scenarios], 0.13135) Units:EJ Biogasesprimaryenergysupply.Includesalluses:heat, electricity,totalfinalenergyconsumption,etc.Thesameshare forfinalenergyusesaswellastheefficiencyof transformationthanfornaturalfossilgasareassumed.(1067)PESbiogasforCHP[scenarios]= PESBiogasEJ[scenarios]*sharePESbiogasforCHP Units:EJ PrimaryenergysupplybiogasforCHPplants.(1068)PESbiogasforelecplants[scenarios]= PESBiogasEJ[scenarios]*sharePESbiogasforelecplants Units:EJ PrimaryenergysupplyofheatinHeatplantsfrombiogas.(1069)"PESbiogasforheat-complants"[scenarios]= PESBiogasEJ[scenarios]*"sharePESbiogasforheat-complants" Units:EJ PrimaryenergysupplyofheatincommercialHeatplantsfrom biogas.(1070)PESbiogasforTFC[scenarios]= MIN(PEDgases[scenarios],PotentialPESbiogasforTFC[scenarios]) Units:EJ Primaryenergysupplybiogasfortotalfinalconsumption.(1071)"PEScoalforHeat-complants"[scenarios]= extractioncoalEJ[scenarios]*"sharecoaldemforHeat-com"[scenarios] Units:EJ PrimaryenergysupplyofcoalforcommercialHeatplants.(1072)"PEScoalforHeat-ncplants"[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

285

extractioncoalEJ[scenarios]*"sharecoaldemforHeat-nc"[scenarios] Units:EJ Primaryenergysupplyofcoalfornon-commercialHeatplants.(1073)PESfossilfuelextraction[scenarios,liquids]= PESoilEJ[scenarios] PESfossilfuelextraction[scenarios,solids]= extractioncoalEJ[scenarios] PESfossilfuelextraction[scenarios,gases]= "PESnat.gas"[scenarios] Units:EJ/Year Annualextractionoffossilfuels(1074)PESfossilfuelextractiondelayed[scenarios,liquids]=DELAYFIXED( PESfossilfuelextraction[scenarios,liquids],TIMESTEP,139) PESfossilfuelextractiondelayed[scenarios,solids]=DELAYFIXED( PESfossilfuelextraction[scenarios,solids],TIMESTEP,101) PESfossilfuelextractiondelayed[scenarios,gases]=DELAYFIXED( PESfossilfuelextraction[scenarios,gases],TIMESTEP,79) Units:EJ/Year Annualextractionoffossilfuelsdelayed(1075)PESgases[scenarios]= "PESnat.gas"[scenarios]+PESbiogasforTFC[scenarios] Units:EJ Primaryenergysupplygas.(1076)PESheatRES[scenarios]= "PEStotbiogasforheat-com"[scenarios]+SUM("PESRESforheat-combytechn" [RESheat!,scenarios])+SUM("PESRESforheat-ncbytechn" [RESheat!,scenarios]) Units:EJ PrimaryenergyofRESforheat.(1077)PESLiquidsEJ[scenarios]= PESoilEJ[scenarios]+OtherliquidssupplyEJ[scenarios] Units:EJ/Year Totalprimarysupplyofliquids.(1078)"PESnat.gasforHeat-complants"[scenarios]= "PESnat.gas"[scenarios]*"sharenat.gasdemforHeat-com"[scenarios] Units:EJ PrimaryenergysupplyoffossilnaturalgasforcommercialHeat plants.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

286

(1079)"PESnat.gasforHeat-ncplants"[scenarios]= (PES gases[scenarios]-"PED nat. gas for GTL EJ"[scenarios])*"share gases dem forHeat-nc" [scenarios] Units:EJ Primaryenergysupplyofnaturalgasfornon-commercialHeat plants.(1080)"PESnat.gaswithoutGTL"[scenarios]= "PESnat.gas"[scenarios]-"PEDnat.gasforGTLEJ"[scenarios] Units:EJ/Year Totalextractionofconventionalgasandunconventional(without GTL).(1081)"PESnat.gas"[scenarios]= realextractionconvgasEJ[scenarios]+realextractionunconvgasEJ[scenarios ] Units:EJ/Year (1082)PESNREheat[scenarios]= "PESNREHeat-com"[scenarios]+"PESNREHeat-nc"[scenarios] Units:EJ (1083)"PESNREHeat-com"[scenarios]= "PEScoalforHeat-complants"[scenarios]+"PESnat.gasforHeat-complants" [scenarios]+"PESoilforHeat-complants"[scenarios] Units:EJ (1084)"PESNREHeat-nc"[scenarios]= "PEScoalforHeat-ncplants"[scenarios]+"PESnat.gasforHeat-ncplants" [scenarios]+"PESoilforHeat-ncplants"[scenarios] Units:EJ (1085)PESoilEJ[scenarios]= realextractionconvoilEJ[scenarios]+realextractionunconvoilEJ[scenarios ] Units:EJ/Year Totaloil(conventional+unconventional)extraction.(1086)PESoilEJdelayed[scenarios]=DELAYFIXED( PESoilEJ[scenarios],0.1,139.5) Units:EJ/Year PEStotaloilextractiondelayed.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

287

(1087)"PESoilforHeat-complants"[scenarios]= PESoilEJ[scenarios]*"shareoildemforHeat-com"[scenarios] Units:EJ PrimaryenergysupplyofoilforcommercialHeatplants.(1088)"PESoilforHeat-ncplants"[scenarios]= PESLiquidsEJ[scenarios]*"shareliquidsdemforHeat-nc"[scenarios] Units:EJ Primaryenergysupplyofnaturaloilfornon-commercialHeat plants.(1089)"PESoilMb/d"[scenarios]= PESoilEJ[scenarios]*"Mb/dperEJ/year" Units:Mb/d Totaloil(conventional+unconventional)extraction.(1090)PESpeatEJ= MAX(IFTHENELSE(Time>2014,-0.0125*(Time)+25.3125,HistoricPESpeatEJ) ,0) Units:EJ (1091)PESRESforheatbytechn0["geot-heat",scenarios]= "FErealgenerationRESheat-comEJ0"["geot-heat",scenarios]/EfficiencyRESheat0 ["geot-heat"] PESRESforheatbytechn0["solar-heat",scenarios]= "FE real generation RES heat-com EJ 0"["solar-heat",scenarios]*Efficiency solarpanelsforheat0 /EfficiencyRESheat0["solar-heat"] PESRESforheatbytechn0["solidbioE-heat",scenarios]= "FE real generationRESheat-comEJ0"["solidbioE-heat",scenarios]/EfficiencyRESheat0 ["solidbioE-heat"] Units:EJ PrimaryenergysupplyofREStechnologiesforheat.(1092)"PESRESforheat-combytechn"["geot-heat",scenarios]= "FErealgenerationRESheat-comEJ"["geot-heat",scenarios]/EfficiencyRESheat ["geot-heat"] "PESRESforheat-combytechn"["solar-heat",scenarios]= "FErealgenerationRESheat-comEJ"["solar-heat",scenarios]*Efficiencysolarpanelsforheat /EfficiencyRESheat["solar-heat"] "PESRESforheat-combytechn"["solidbioE-heat",scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

288

"FErealgenerationRESheat-comEJ"["solidbioE-heat",scenarios]/EfficiencyRESheat ["solidbioE-heat"] Units:EJ PrimaryenergysupplyofREStechnologiesforcommercialheat.(1093)"PESRESforheat-ncbytechn"["geot-heat",scenarios]= "FErealgenerationRESheat-ncEJ"["geot-heat",scenarios]/EfficiencyRESheat ["geot-heat"] "PESRESforheat-ncbytechn"["solar-heat",scenarios]= "FE real generation RES heat-nc EJ"["solar-heat",scenarios]*Efficiency solar panelsforheat /EfficiencyRESheat["solar-heat" ] "PESRESforheat-ncbytechn"["solidbioE-heat",scenarios]= "FErealgenerationRESheat-ncEJ"["solidbioE-heat",scenarios]/EfficiencyRESheat ["solidbioE-heat"] Units:EJ PrimaryenergysupplyofREStechnologiesfornon-commercial heat.(1094)PESsolids[scenarios]= extractioncoalEJ[scenarios]+PEtraditionalbiomassEJdelayed1yr[scenarios ]+PESpeatEJ+PESwasteforTFC[scenarios]+LossesincharcoalplantsEJ Units:EJ Primaryenergysupplysolids.(1095)"PESsolidsbioE&wasteEJ"[scenarios]= PESsolidsbioEEJ[scenarios]-PESwasteEJ[scenarios] Units:EJ Totalprimaryenergysupplysolidsbiofuelsandwaste.(1096)PESsolidsbioEEJ[scenarios]= LossesincharcoalplantsEJ+PEbioEforElecgenerationEJ[scenarios]+PEtraditionalbiomassEJdelayed1yr [scenarios] +"PESRESforheat-combytechn"["solidbioE-heat",scenarios]+"PESRESforheat-ncbytechn" ["solidbioE-heat",scenarios] Units:EJ/Year Totalbiomasssupply.Itaggregatessupplyforelectricity,heat andtraditionalbiomass.(1097)PEStotbiogasforelec[scenarios]= PESbiogasforelecplants[scenarios]+FESelecfrombiogasinCHPplants[

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

289

scenarios]+LossesCHPbiogas[scenarios]*shareefficiencybiogasforelecinCHPplants Units:EJ Totalprimaryenergysupplyforgeneratingelectricityfrom biogas(includingCHPplants).(1098)"PEStotbiogasforheat-com"[scenarios]= "PES biogas for heat-com plants"[scenarios]+"FES heat-com from biogas in CHPplants" [scenarios]+LossesCHPbiogas[scenarios]*(1-shareefficiencybiogasforelecinCHPplants ) Units:EJ Totalprimaryenergysupplyforgeneratingcommercialheatfrom biogas(includingCHPplants).(1099)PEStotRESforheat[scenarios]= SUM("PESRESforheat-combytechn"[RESheat!,scenarios])+SUM("PESRESforheat-ncbytechn" [RESheat!,scenarios])+"PEStotbiogasforheat-com"[scenarios] Units:EJ Totalprimaryenergysupplyforgeneratingcommercialand non-commercialheatfromrenewables.(1100)PEStotwasteforelec[scenarios]= PESwasteforelecplants[scenarios]+FESelecfromwasteinCHPplants[scenarios ]+LossesCHPwaste[scenarios]*shareefficiencywasteforelecinCHPplants Units:EJ Totalprimaryenergysupplyforgeneratingelectricityfrom biogas(includingCHPplants).(1101)"PEStotwasteforheat-com"[scenarios]= "PES waste for heat-com plants"[scenarios]+"FES heat-com from waste in CHPplants" [scenarios]+LossesCHPwaste[scenarios]*(1-shareefficiencywasteforelecinCHPplants ) Units:EJ Totalprimaryenergysupplyforgeneratingcommercialheatfrom waste(includingCHPplants).(1102)PESwasteEJ[scenarios]=INTEG( newwastesupplyEJ[scenarios], initialPESwaste) Units:EJ Wasteprimaryenergysupply(includesindustrialandmunicipal (renewandnon-renew).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

290

(1103)PESwasteforCHPplants[scenarios]= PESwasteEJ[scenarios]*sharePESwasteforCHP Units:EJ PrimaryenergysupplywasteforCHPplants.(1104)PESwasteforelecplants[scenarios]= PESwasteEJ[scenarios]*sharePESwasteforelecplants Units:EJ PrimaryenergysupplyofheatinHeatplantsfromwaste.(1105)"PESwasteforheat-complants"[scenarios]= PESwasteEJ[scenarios]*"sharePESwasteforheat-complants" Units:EJ PrimaryenergysupplyofcommercialheatinHeatplantsfrom waste.(1106)PESwasteforTFC[scenarios]= PESwasteEJ[scenarios]*sharePESwasteTFC Units:EJ Primaryenergysupplywastefortotalfinalconsumption.(1107)"pipelinetransportconstant2.6EJin2014"= 2.6 Units:EJ IEAbalances(1108)plannedcapacitynuclearTW[scenarios]=INTEG( newplannedcapacitynuclear[scenarios]-newcapunderconstructionnuclear [scenarios], initialplannedcapacitynuclear) Units:TW Plannedcapacityofnuclearpowerplants.(1109)plannedcapacityRESelecTW[RESelec,scenarios]=INTEG( newplannedcapacityRESelec[RESelec,scenarios]-newcapunderconstructionRESelec [RESelec,scenarios], initialplannedcapacityRESelec[RESelec]) Units:TW PlannedcapacityofREStechnologiesforelectricitygeneration.(1110)policy2wheels[scenarios]= IFTHENELSE(Time<2050,IFTHENELSE(Activatepolicy2050Htransp[scenarios

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

291

]=1:AND:Time>TpolicyHveh[scenarios],(Pshare2wheelers2050[scenarios] -initial2wpercent)/(2050-TpolicyHveh[scenarios]),0),0) Units:**undefined** relativetoallvehicles2w+4w(1111)Policychangeenergyspeed[AgricultureHuntingForestryandFishing, finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B12') Policychangeenergyspeed[MiningandQuarrying,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G12') Policychangeenergyspeed[FoodBeveragesandTobacco,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L12') Policychangeenergyspeed[TextilesandTextileProducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q12') Policychangeenergyspeed[LeatherLeatherandFootwear,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V12') Policychangeenergyspeed[WoodandProductsofWooodandCork,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA12') Policychangeenergyspeed[PulpPaperPrintingandPublishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF12') Policychangeenergyspeed[CokeRefinedPetroleumandNuclearFuel,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK12') Policychangeenergyspeed[ChemicalsandChemicalproducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP12') Policychangeenergyspeed[RubberandPlastics,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU12') Policychangeenergyspeed[OtherNonMetalicMineral,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ12') Policychangeenergyspeed[BasicMetalsandFabricatedMetal,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE12') Policychangeenergyspeed[MachineryNec,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ12') Policychangeenergyspeed[ElectricalandOpticalEquipment,finalsources] = GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO12') Policychangeenergyspeed[TransportEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT12') Policychangeenergyspeed[ManufacturingNecRecycling,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY12') Policychangeenergyspeed[ElectricityGasandWaterSupply,finalsources]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

292

= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD12') Policychangeenergyspeed[Construction,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI12') Policy change energy speed[Sale Maintenance and Repair of Motor Vehicles andaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN12') Policy change energy speed[Wholesale Trade and Commissions Trade Except of MotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS12') Policychangeenergyspeed[RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX12') Policychangeenergyspeed[HotelsandRestaurants,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC12') Policychangeenergyspeed[InlandTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH12') Policychangeenergyspeed[WaterTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM12') Policychangeenergyspeed[AirTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR12') Policychangeenergyspeed[OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW12') Policychangeenergyspeed[PostandTelecommunications,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB12') Policychangeenergyspeed[FinancialIntermedation,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG12') Policychangeenergyspeed[RealEstateActivities,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL12') Policychangeenergyspeed[RentingodMEqandOtherBusinessActivities,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ12') Policychangeenergyspeed[PublicAdminandDefenceCompulsorySocialSecurity ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV12') Policychangeenergyspeed[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA12') Policychangeenergyspeed[HealthandSocialWork,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF12')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

293

Policychangeenergyspeed[OtherCommunitySocialandPersonaServices,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK12') Policychangeenergyspeed[PrivateHouseholdswithEmployedPersons,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP12') Units:**undefined** (1112)PolicychangeenergyspeedH[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU12') Units:**undefined** (1113)PolicyCTL[scenarios]= IFTHENELSE(abundanceliquids[scenarios]>0.95,HistgrowthCTL,PCTL[scenarios ]) Units:1/Year Ifthereisnotscarcityofliquids,CTLproductionincreasesat historicalpastrates.(1114)PolicyGTL[scenarios]= IFTHENELSE(abundanceliquids[scenarios]>0.95,HistgrowthGTL,PGTL[scenarios ]) Units:1/Year Ifthereisnotscarcityofliquids,GTLproductionincreasesat historicalpastrates.(1115)PolicytoimproveefficiencyspeedH[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU8') Units:**undefined** (1116)popvariation[scenarios]= IFTHENELSE(Time<2015,variationhistoricpop,Population[scenarios]*Pgrowthpop [scenarios]) Units:people/Year Populationgrowth.(Historicdatafrom1990-2010;projection 2011-2100)2011UST$(1117)Population[scenarios]=INTEG( popvariation[scenarios], initialpopulation) Units:people Populationprojection.(1118)PotentialFEgenElecfossilfuelCHPplantsEJ[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

294

(PotentialFEgenEleccoalCHPplantsEJ[scenarios]+PotentialFEgenElecgasCHPplantsEJ [scenarios]+PotentialFEgenElecliquidsCHPplantsEJ[scenarios]) Units:EJ/Year PotentialelectricitygenerationfromCHPplantsburningfossil fuels.(1119)"PotentialFESCTL+GTLEJ"[scenarios]= CTLpotentialproduction[scenarios]+GTLpotentialproduction[scenarios] Units:EJ (1120)"PotentialFESHeat-comnuclearCHPplantsEJ"[scenarios]= FEnuclearElecgenerationTWh[scenarios]*shareofheatproductioninCHPplantsvstotalnucelarelecgeneration Units:EJ Potentialcommercialheattobeproducedincogerationnuclear plants.(1121)potentialFESRESforheatEJ0[RESheat,scenarios]= potentialFESRESforheatTWh0[RESheat,scenarios]*EJperTWh Units:EJ Potentialfinalenergysupplyrenewablesforheatgiventhe installedcapacity.(1122)potentialFESRESforheatTWh0[RESheat,scenarios]= installedcapacityRESheatTW0[RESheat,scenarios]*EfficiencyRESheat0 [RESheat]*CpRESforheat0[RESheat]/TWeperTWh Units:TWh Potentialfinalenergysupplyrenewablesforheatgiventhe installedcapacity.(1123)"potentialFESRESforheat-comEJ"[RESheat,scenarios]= "potentialFESRESforheat-comTWh"[RESheat,scenarios]*EJperTWh Units:EJ Potentialfinalenergysupplyrenewablesforcommercialheat giventheinstalledcapacity.(1124)"potentialFESRESforheat-ncEJ"[RESheat,scenarios]= "potentialFESRESforheat-ncTWh"[RESheat,scenarios]*EJperTWh Units:EJ Potentialfinalenergysupplyrenewablesfornon-commercialheat giventheinstalledcapacity.(1125)"potentialFESRESforheat-ncTWh"[RESheat,scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

295

"installedcapacityRESheat-ncTW"[RESheat,scenarios]*EfficiencyRESheat [RESheat]*CpRESforheat[RESheat]/TWeperTWh Units:TWh Potentialfinalenergysupplyrenewablesfornon-commercialheat giventheinstalledcapacity.(1126)PEpcconsumptionpeopledependingontradbiomass= PEconsumptiontradbiomassref/Peoplerelyingtradbiomassref Units:MToe/people Primaryenergypercapitaconsumptionofpeoplecurrently dependingontradbiomass.(1127)Policytoimproveefficiencyspeed[AgricultureHuntingForestryandFishing ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B8') Policytoimproveefficiencyspeed[MiningandQuarrying,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G8') Policytoimproveefficiencyspeed[FoodBeveragesandTobacco,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L8') Policytoimproveefficiencyspeed[TextilesandTextileProducts,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q8') Policytoimproveefficiencyspeed[LeatherLeatherandFootwear,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V8') Policytoimproveefficiencyspeed[WoodandProductsofWooodandCork,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA8') Policytoimproveefficiencyspeed[PulpPaperPrintingandPublishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF8') Policytoimproveefficiencyspeed[CokeRefinedPetroleumandNuclearFuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK8') Policytoimproveefficiencyspeed[ChemicalsandChemicalproducts,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP8') Policytoimproveefficiencyspeed[RubberandPlastics,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU8') Policytoimproveefficiencyspeed[OtherNonMetalicMineral,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ8') Policytoimproveefficiencyspeed[BasicMetalsandFabricatedMetal,finalsources

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

296

]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE8') Policytoimproveefficiencyspeed[MachineryNec,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ8') Policytoimproveefficiencyspeed[ElectricalandOpticalEquipment,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO8') Policytoimproveefficiencyspeed[TransportEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT8') Policytoimproveefficiencyspeed[ManufacturingNecRecycling,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY8') Policytoimproveefficiencyspeed[ElectricityGasandWaterSupply,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD8') Policytoimproveefficiencyspeed[Construction,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI8') Policy to improve efficiency speed[SaleMaintenance andRepair ofMotor Vehicles andaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN8') Policytoimproveefficiencyspeed[WholesaleTradeandCommissionsTradeExceptofMotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS8') Policytoimproveefficiencyspeed[RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX8') Policytoimproveefficiencyspeed[HotelsandRestaurants,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC8') Policytoimproveefficiencyspeed[InlandTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH8') Policytoimproveefficiencyspeed[WaterTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM8') Policytoimproveefficiencyspeed[AirTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR8') Policy to improve efficiency speed[Other Supporting and Auxiliary Transport ActivitiesActivitiesofTravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW8') Policytoimproveefficiencyspeed[PostandTelecommunications,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB8')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

297

Policytoimproveefficiencyspeed[FinancialIntermedation,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG8') Policytoimproveefficiencyspeed[RealEstateActivities,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL8') Policytoimproveefficiencyspeed[RentingodMEqandOtherBusinessActivities ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ8') Policytoimproveefficiencyspeed[PublicAdminandDefenceCompulsorySocialSecurity ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV8') Policytoimproveefficiencyspeed[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA8') Policytoimproveefficiencyspeed[HealthandSocialWork,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF8') Policytoimproveefficiencyspeed[OtherCommunitySocialandPersonaServices ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK8') Policytoimproveefficiencyspeed[PrivateHouseholdswithEmployedPersons ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP8') Units:**undefined** (1128)Popnotdependentontradbiomass[scenarios]= Population[scenarios]-Populationdependentontradbiomass[scenarios] Units:people Globalpopulationnotdependentontraditionalbiomass.(1129)Populationdependentontradbiomass[scenarios]= PE traditional biomass EJ[scenarios]/PEpc consumption people depending on tradbiomass Units:people Populationdependentontraditionalbiomass.(1130)PotentialFEgenEleccoalCHPplantsEJ[scenarios]= PEDcoalforCHPplantsEJ[scenarios]*efficiencyEleccoalCHPplants Units:EJ PotentialelectricitygenerationfromCHPplantsburningcoal.(1131)PotentialFEgenElecgasCHPplantsEJ[scenarios]= PEDgasforCHPplantsEJ[scenarios]*efficiencyElecgasCHPplants Units:EJ PotentialelectricitygenerationfromCHPplantsburningnatural gas.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

298

(1132)PotentialFEgenElecliquidsCHPplantsEJ[scenarios]= PEDoilforCHPplantsEJ[scenarios]*efficiencyElecoilCHPplants Units:EJ PotentialelectricitygenerationfromCHPplantsburningoil liquids.(1133)"potentialFESRESforheat-comTWh"[RESheat,scenarios]= "installedcapacityRESheat-comTW"[RESheat,scenarios]*EfficiencyRESheat [RESheat]*CpRESforheat[RESheat]/TWeperTWh Units:TWh Potentialfinalenergysupplyrenewablesforcommercialheat giventheinstalledcapacity.(1134)potentialFEStotRESforheatEJ0[scenarios]= SUM(potentialFESRESforheatEJ0[RESheat!,scenarios]) Units:EJ Potentialtotalfinalenergysupplyrenewablesforheatgiven theinstalledcapacity.(1135)"potentialFEStotRESforheat-comEJ"[scenarios]= SUM("potentialFESRESforheat-comEJ"[RESheat!,scenarios]) Units:EJ Potentialtotalfinalenergysupplyrenewablesforcommercial heatgiventheinstalledcapacity.(1136)"potentialFEStotRESforheat-ncEJ"[scenarios]= SUM("potentialFESRESforheat-ncEJ"[RESheat!,scenarios]) Units:EJ Potentialtotalfinalenergysupplyrenewablesfor non-commercialheatgiventheinstalledcapacity.(1137)potentialgenerationnuclearelecTWh[scenarios]= MIN(installedcapacitynuclearTW[scenarios]*Cpnuclear[scenarios]/TWeperTWh ,DemandElecNRETWh[scenarios]) Units:TWh/Year Totalpotentialgenerationofelectricityfromnuclearpower plantsgiventheinstalledcapacity.Aminimumfunctionis introducedtoassurethatnomorenuclearthanelectricity required(aftertheRESandoilcontribution)isproduced.(1138)potentialgenerationRESelecTWh[RESelec,scenarios]= installedcapacityRESelecTW[RESelec,scenarios]*CpRESelec[RESelec,scenarios ]/TWeperTWh Units:TWh

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

299

PotentialgenerationofelectricitybyREStechnologygiventhe installedcapacity.(1139)PotentialmaxHDI[scenarios]= MIN(1,0.1395*LN(TFECpercapita[scenarios])+0.1508) Units:Dmnl (1140)PotentialPEcellulosicbiofuelEJ[scenarios]=INTEG( newcellulosicbiofuels[scenarios], 0) Units:EJ/Year Potentialannualprimaryenergybiomassusedforcellulosic biofuels.(1141)PotentialPEavailbiofuels2genlandcompetEJ[scenarios]= Landcompetbiofuels2genMha[scenarios]*Landproductivitybiofuels2genEJMHa Units:EJ/Year Potentialprimaryenergyavailableofbiofuelsfromdedicated crops(2ndgeneration).(1142)PotentialPEavailbiofuelslandmargEJ[scenarios]=INTEG( newbiofuelslandmarg[scenarios], 0) Units:EJ/Year Potentialtotalannualbiofuelproductioninmarginallands.(1143)PotentialPEavailbiofuelsprod3genEJ[scenarios]= Landcompetbiofuels3genMha[scenarios]*Landproductivitybiofuels2genEJMHa *(1+Efficiencyimprovementbiofuels3gen) Units:EJ/Year PotentialFinalEnergyproduction(EJ)ofbiofuelsfrom dedicatedcrops(3rdgeneration).(1144)PotentialPEavailcellulosicbiofuelEJ[scenarios]= PotentialPEcellulosicbiofuelEJ[scenarios]*ConvefficiencyfromNPPtobiofuels Units:EJ (1145)PotentialPEavailtotalbiofuels[scenarios]= PotentialPEavailbiofuels2genlandcompetEJ[scenarios]+PotentialPEavailbiofuelsprod3genEJ [scenarios]+Potential PEavail biofuels landmarg EJ[scenarios]+Potential PEavail cellulosicbiofuelEJ [scenarios] Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

300

(1146)PotentialPESbiogasforTFC[scenarios]= PESBiogasEJ[scenarios]*sharePESbiogasTFC Units:EJ Potentialprimaryenergysupplybiogasfortotalfinal consumption.(1147)potentialRESelecafterintermittTWh[RESelec,scenarios]= maxpotentialRESelecTWe[RESelec,scenarios]*Cpbaseloadreduction[RESelec ,scenarios]/TWeperTWh Units:TWh PotentialofRESforelectricitypertechnologyafteraccounting forthereductionofthemaximalpotentialgiventhereduction oftheCp.(1148)potentialtotgenerationRESelecTWh[scenarios]= SUM(potentialgenerationRESelecTWh[RESelec!,scenarios]) Units:TWh TotalpotentialgenerationofelectricityfromRESgiventhe installedcapacity.(1149)potentialtotRESelecafterintermitt[scenarios]= SUM(potentialRESelecafterintermittTWh[RESelec!,scenarios]) Units:TWh TotalpotentialofRESforelectricityafteraccountingforthe reductionofthemaximalpotentialgiventhereductionoftheCp.(1150)powerdensityCSP= "powerdensityRESelecTWe/Mha"[CSP] Units:TWe/MHa PowerdensityofCSPpowerplants.(1151)"powerdensityRESelecTW/Mha"[RESelec]= "powerdensityRESelecTWe/Mha"[RESelec]/"Cp-iniRESelec"[RESelec] Units:TW/MHa (1152)"powerdensityRESelecTWe/Mha"[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','B13') "powerdensityRESelecTWe/Mha"["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','B7') "powerdensityRESelecTWe/Mha"["solidbioE-elec"]= 0 "powerdensityRESelecTWe/Mha"[oceanic]= 0

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

301

"powerdensityRESelecTWe/Mha"[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','B10') "powerdensityRESelecTWe/Mha"[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','B12') "powerdensityRESelecTWe/Mha"[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','B11') "powerdensityRESelecTWe/Mha"[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','B16') Units:TWe/MHa Inputparameter:powerdensityperREStechnologyfordelivering electricity.(1153)powerdensitysolarPV= "powerdensityRESelecTWe/Mha"[solarPV] Units:TWe/MHa Powerdensity:3.3We/m2(deCastroetal.,2013b;Smil,2015)(1154)ppmperGtC= GETXLSCONSTANTS('inputs.xlsx','Constants','C19') Units:(ppm*Year)/GtC ConversionfromppmtoGtC(1ppmCO2=2.12GtC).(1155)preindustrialvalueppm= GETXLSCONSTANTS('inputs.xlsx','Constants','C20') Units:ppm Pre-industrialCO2concentrations(275ppm).(1156)PreindustrialCO2= GETXLSCONSTANTS('inputs.xlsx','Parameters','C113') Units:TonC PreindustrialCO2contentofatmosphere.[DICE-2013R]588GtC(1157)Pressuretochangeenergytechnology[scenarios,sectors,finalsources ]= MIN(MAX(Energymarketpressure[scenarios,sectors,finalsources]+Implementatiopolicytochangefinalenergy [scenarios,sectors,finalsources],0),1) Units:**undefined** Thisvariablerepresentsthepressureineacheconomicsector forsubstitutingafinalenergysourceforanother.Thischange dependingonthesectorswillhavedifferenttechnological difficultyanddifferentcost.Thispressuremaybedueto(1) energypolicies,egsubstitutionoffossilfuelsforelectrical energy,or(2)byvariationsinthepriceofeachtypeoffinal

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

302

energy.Thispricevariationwillberelatedtotherelative abundanceofenergysources.(1158)PressuretochangeenergytechnologyH[scenarios,finalsources]= MIN(MAX(EnergymarketpressureH[scenarios,finalsources]+ImplementatiopolicytochangefinalenergyH [scenarios,finalsources],0),1) Units:**undefined** Thisvariablerepresentsthepressureinhouseholdsfor substitutingafinalenergysourceforanother.Thispressure maybedueto(1)energypolicies,egsubstitutionoffossil fuelsforelectricalenergy,or(2)byvariationsintheprice ofeachtypeoffinalenergy.Thispricevariationwillbe relatedtotherelativeabundanceofenergysources.(1159)Pressuretoimproveenergyintensityefficiency[scenarios,sectors,finalsources ]= Energy cost pressure[scenarios,final sources]+Implementation policy to improveenergyintensityeffciency [scenarios,sectors,finalsources] Units:**undefined** Thisvariablerepresentsthepressureineacheconomicsectorto improveenergyefficiencyinthetechnologyused.Thischange accordingtothesectorswillhavedifferenttechnological difficultyanddifferentcost.Thispressuremaybedueto(1) energypolicies,egincentivesforenergyefficiency,or(2) significantvariationsinthepricesofeachtypeoffinal energy.Thispricevariationwillberelatedtotheabsolute abundanceofeachenergysource.(1160)PressuretoimproveenergyintensityefficiencyH[scenarios,finalsources ]= Energy costpressureH[scenarios,final sources]+Implementationpolicy to improveenergyintensityeffciencyH [scenarios,finalsources] Units:**undefined** Thisvariablerepresentsthepressureinhouseholdstoimprove energyefficiencyinthetechnologyused.Thispressuremaybe dueto(1)energypolicies,egincentivesforenergyefficiency, or(2)significantvariationsinthepricesofeachtypeof finalenergy.Thispricevariationwillberelatedtothe absoluteabundanceofeachenergysource.(1161)"PrimarycoalextractiondeCastroPhD-Scen'madcoal'"(

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

303

[(0,0)-(10,10)],(1985,2058.92),(1986,2092.27),(1987,2125.72),(1988,2159.47 ),(1989,2193.76),(1990,2228.81),(1991,2264.86),(1992,2302.13),(1993,2340.84 ),(1994,2381.18),(1995,2423.34),(1996,2467.47),(1997,2513.71),(1998,2562.15 ),(1999,2612.87),(2000,2665.92),(2001,2721.31),(2002,2779.03),(2003,2839.06 ),(2004,2901.33),(2005,2965.74),(2006,3032.57),(2007,3101.67),(2008,3172.97 ),(2009,3246.4),(2010,3321.9),(2011,3399.43),(2012,3478.96),(2013,3560.51) ,(2014,3644.12),(2015,3729.86),(2016,3816.11),(2017,3897.75),(2018,3974.81 ),(2019,4046.62),(2020,4112.97),(2021,4174.06),(2022,4230.44),(2023,4282.94 ),(2024,4332.57),(2025,4380.4),(2026,4427.69),(2027,4475.38),(2028,4524.25 ),(2029,4574.94),(2030,4627.89),(2031,4683.41),(2032,4741.63),(2033,4802.57 ),(2034,4866.15),(2035,4932.23),(2036,4997.04),(2037,5059.9),(2038,5120.05 ),(2039,5176.96),(2040,5230.21),(2041,5279.47),(2042,5324.46),(2043,5364.9 ),(2044,5400.52),(2045,5431.05),(2046,5456.18),(2047,5475.61),(2048,5489.04 ),(2049,5496.15),(2050,5485.53),(2051,5462.41),(2052,5433),(2053,5397.99), (2054,5357.58),(2055,5311.76),(2056,5260.45),(2057,5203.57),(2058,5141.1), (2059,5073.11),(2060,4999.72),(2061,4921.11),(2062,4837.56),(2063,4749.39) ,(2064,4656.95),(2065,4560.64),(2066,4460.9),(2067,4358.16),(2068,4252.9), (2069,4145.55),(2070,4036.59),(2071,3926.47),(2072,3815.6),(2073,3704.47), (2074,3595.32),(2075,3489.22),(2076,3386.16),(2077,3286.01),(2078,3188.63) ,(2079,3093.87),(2080,3001.58),(2081,2911.63),(2082,2823.91),(2083,2738.31 ),(2084,2654.74),(2085,2573.11),(2086,2493.35),(2087,2415.41),(2088,2339.22 ),(2089,2264.73),(2090,2191.92),(2091,2120.74),(2092,2051.16),(2093,1983.17 ),(2094,1916.73),(2095,1851.84),(2096,1788.49),(2097,1726.66),(2098,1666.35 ),(2099,1607.54),(2100,1550.24)) Units:MToe/Year Primaryenergy(Add"Energíaperdida"tothenetenergy extractionintheoriginalmodel).(1162)qualityofelectricity[scenarios]= IFTHENELSE("static/dynamicqualityofelectricity?"=1,qualityofelectricity2015 [scenarios],Dynamicqualityofelectricity[scenarios]) Units:Dmnl Qualityofelectricity(TFES/TPES,thelatterwithouttaking intoaccountthenon-energyuses).(1163)qualityofelectricity2015[scenarios]= IFTHENELSE(Time<2015,Dynamicqualityofelectricity[scenarios],aux3[ scenarios]) Units:Dmnl Qualityofelectricityuntiltheyear2015.(1164)QuickimplementationpolicyMLT1=WITHLOOKUP( (Time-2030), ([(0,0)-(20,1)],(0,0),(1.2844,0.381579),(2.263,0.561404),(3.5474,0.710526

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

304

),(6.23853,0.842105),(10.6422,0.929825),(14.5566,0.97807),(20,1))) Units:**undefined** (1165)QuickimplementationpolicyMLT1H=WITHLOOKUP( (Time-2030), ([(0,0)-(20,1)],(0,0),(1.2844,0.381579),(2.263,0.561404),(3.5474,0.710526 ),(6.23853,0.842105),(10.6422,0.929825),(14.5566 ,0.97807),(20,1))) Units:**undefined** (1166)QuickimplementationpolicyMLT2=WITHLOOKUP( (Time-2040), ([(0,0)-(10,1)],(0,0),(0.550459,0.346491),(1.10092,0.535088),(1.83486,0.684211 ),(3.08869,0.789474),(4.31193,0.868421),(6.69725,0.95614),(10,1))) Units:**undefined** (1167)QuickimplementationpolicyMLT2H=WITHLOOKUP( (Time-2040), ([(0,0)-(10,1)],(0,0),(0.550459,0.346491),(1.10092,0.535088),(1.83486,0.684211 ),(3.08869,0.789474),(4.31193,0.868421), (6.69725,0.95614),(10,1))) Units:**undefined** (1168)QuickimplementationpolicyOT=WITHLOOKUP( (Time-2020), ([(0,0)-(30,1)],(0,0),(1.00917,0.438596),(2.29358,0.622807),(4.6789,0.79386 ),(7.88991,0.894737),(13.7615,0.929825),(21.2844,0.964912),(30,1))) Units:**undefined** (1169)QuickimplementationpolicyOTH=WITHLOOKUP( (Time-2020), ([(0,0)-(30,1)],(0,0),(1.00917,0.438596),(2.29358,0.622807),(4.6789,0.79386 ),(7.88991,0.894737),(13.7615,0.929825),(21.2844,0.964912),(30,1))) Units:**undefined** (1170)rate4wto2w[scenarios]= policy2wheels[scenarios] Units:1/Year changefrom4wheelersbasedmobilityto2wheelers,linear changeuntilthelimitaproaches(1171)ratechangeintensityBOTTOMUP[scenarios,AgricultureHuntingForestryandFishing

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

305

,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,MiningandQuarrying,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,FoodBeveragesandTobacco,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,TextilesandTextileProducts,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,LeatherLeatherandFootwear,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,WoodandProductsofWooodandCork ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,PulpPaperPrintingandPublishing ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,CokeRefinedPetroleumandNuclearFuel ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,ChemicalsandChemicalproducts, finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,RubberandPlastics,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,OtherNonMetalicMineral,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,BasicMetalsandFabricatedMetal ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,MachineryNec,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,ElectricalandOpticalEquipment ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,TransportEquipment,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,ManufacturingNecRecycling,finalsources

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

306

]= 0 ratechangeintensityBOTTOMUP[scenarios,ElectricityGasandWaterSupply ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,Construction,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,finalsources]= 0 rate change intensity BOTTOM UP[scenarios,Wholesale Trade and Commissions TradeExceptofMotorvehiclesandMotorcycles ,finalsources]= 0 rate change intensity BOTTOM UP[scenarios,Retail Trade Except of Motor Vehicles andMotorcyclesRepairofHouseholdgoods ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,HotelsandRestaurants,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,InlandTransport,finalsources]= IF THEN ELSE( Activate BOTTOMUPmethod[Inland Transport]=1,inland transportvariationintensity [scenarios,finalsources],0) ratechangeintensityBOTTOMUP[scenarios,WaterTransport,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,AirTransport,finalsources]= 0 rate change intensity BOTTOM UP[scenarios,Other Supporting and Auxiliary TransportActivitiesActivitiesofTravelAgencies ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,PostandTelecommunications,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,FinancialIntermedation,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,RealEstateActivities,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,RentingodMEqandOtherBusinessActivities

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

307

,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,PublicAdminandDefenceCompulsorySocialSecurity ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,Education,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,HealthandSocialWork,finalsources ]= 0 ratechangeintensityBOTTOMUP[scenarios,OtherCommunitySocialandPersonaServices ,finalsources]= 0 ratechangeintensityBOTTOMUP[scenarios,PrivateHouseholdswithEmployedPersons ,finalsources]= 0 Units:**undefined** (1172)RateofCO2Transfer= GETXLSCONSTANTS('inputs.xlsx','Parameters','C112') Units:1/Year FractionalrateofCO2storage(correspondsto120year residencetime)./0.008333/(1173)"ratio=1"= 1 Units:Dmnl (1174)"ratioEROIpertechnvsEROItot(static)"[RESelec,scenarios]= XIDZ("'static'EROIgridRESelec"[RESelec,scenarios],"'static'EROIgridtot-effectiveforallocationRESelec" [scenarios],0) Units:Dmnl (1175)"ratioEROIgridvsEROI(static)"[RESelec,scenarios]= IFTHENELSE("'static'EROIRESelec"[RESelec,scenarios]<=0,0,"'static'EROIgridRESelec" [RESelec,scenarios]/"'static'EROIRESelec"[RESelec,scenarios]) Units:Dmnl (1176)"ratioFEDforheat-ncvsFEDforheat-com"[scenarios]= SUM("FED by fuel for heat-nc"[final sources!,scenarios])*"Deactivate heat demcorrection?"

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

308

/RequiredFEDbyfuelbeforeheatcorrection[scenarios,heat] Units:Dmnl RatioFEDfornon-commercialheatvsFEDforcommercialheat (beforeclimatechangeimpacts).(1177)Ratiogaingasvslosesolidsintranfprocesses:= GETXLSDATA('inputs.xlsx','Constants','203','B206') Units:Dmnl Gasgainintransformationprocessesofcoal(Cokeoven,Blust furnace,...)(OwnelaborationfromIEAbalances)(1178)ratioNvehDemandH= NvehiclesH0/DemandH0 Units:Mvehicles/T$ Rationofnumberofvehiclesbyunitofhouseholdconomic demand,weassumethatitiskeptconstantandvariationsare duetothechangeinthenumberofvehiclesfromonetypeto another(1179)realCpRESelec[RESelec,scenarios]= IFTHENELSE(Time<2015,CpRESelec[RESelec,scenarios], IFTHENELSE(installedcapacityRESelecTW[RESelec,scenarios]=0,0,realgenerationRESelecTWh [RESelec,scenarios]*TWeperTWh/installedcapacityRESelecTW[RESelec,scenarios ])) Units:Dmnl (1180)Realdemand[scenarios]= SUM(Realdemandbysector[scenarios,sectors!]) Units:Mdollars Totaldemand(1181)Realdemandbysector[scenarios,sectors]= MAX(0,IAMatrix[sectors,AgricultureHuntingForestryandFishing]*Realtotaloutputbysector [scenarios,AgricultureHuntingForestryandFishing ]+IAMatrix[sectors,MiningandQuarrying]*Realtotaloutputbysector [scenarios,MiningandQuarrying]+IAMatrix[ sectors ,FoodBeveragesandTobacco]*Realtotaloutputbysector[scenarios,FoodBeveragesandTobacco ]+IAMatrix[sectors,TextilesandTextileProducts ]*Realtotaloutputbysector[scenarios,TextilesandTextileProducts]+IAMatrix [sectors,LeatherLeatherandFootwear

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

309

]*Realtotaloutputbysector[scenarios,LeatherLeatherandFootwear] +IAMatrix[sectors,WoodandProductsofWooodandCork]*Realtotaloutputbysector [scenarios,WoodandProductsofWooodandCork ] +IAMatrix[sectors,PulpPaperPrintingandPublishing]*Realtotaloutputbysector [scenarios,PulpPaperPrintingandPublishing ]+IAMatrix[sectors,CokeRefinedPetroleumandNuclearFuel]*Realtotaloutputbysector [scenarios,CokeRefinedPetroleumandNuclearFuel ]+IAMatrix[sectors,ChemicalsandChemicalproducts]*Realtotaloutputbysector [scenarios,ChemicalsandChemicalproducts ]+IAMatrix[sectors,RubberandPlastics]*Realtotaloutputbysector[scenarios ,RubberandPlastics]+IAMatrix[sectors , Other Non Metalic Mineral]*Real total output by sector[scenarios,Other NonMetalicMineral ]+IAMatrix [sectors,BasicMetalsandFabricatedMetal]*Realtotaloutputbysector [scenarios,BasicMetalsandFabricatedMetal]+ IAMatrix [sectors,MachineryNec]*Realtotaloutputbysector[scenarios,MachineryNec ]+IAMatrix[sectors,ElectricalandOpticalEquipment ]*Realtotaloutputbysector[scenarios,ElectricalandOpticalEquipment] +IAMatrix[sectors,TransportEquipment]*Realtotaloutputbysector [scenarios,TransportEquipment]+IAMatrix[sectors,ManufacturingNecRecycling ]*Realtotaloutputbysector[scenarios, ManufacturingNecRecycling]+IAMatrix[sectors,ElectricityGasandWaterSupply ]*Realtotaloutputbysector[scenarios ,Electricity Gas and Water Supply] + IA Matrix [sectors, Construction]*Real totaloutputbysector [scenarios,Construction ]+ IA Matrix [sectors, Sale Maintenance and Repair of Motor Vehicles andaMotorcyclesRetailSaleoffuel ]*Real total output by sector[scenarios,Sale Maintenance and Repair of MotorVehiclesandaMotorcyclesRetailSaleoffuel ]+IAMatrix [sectors,Wholesale Trade and Commissions Trade Except ofMotor vehicles andMotorcycles ]*Realtotaloutputbysector[ scenarios,Wholesale Trade and Commissions Trade Except ofMotor vehicles andMotorcycles ] +IAMatrix[sectors,RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

310

]*Realtotaloutputbysector [scenarios,Retail Trade Except of Motor Vehicles and Motorcycles Repair ofHouseholdgoods ]+IAMatrix[sectors,HotelsandRestaurants ]*Realtotaloutputbysector[scenarios,HotelsandRestaurants]+IAMatrix [sectors,InlandTransport]*Realtotaloutputbysector [scenarios,InlandTransport]+IAMatrix[sectors,WaterTransport]*Realtotaloutputbysector [scenarios,WaterTransport ]+IAMatrix [sectors,AirTransport]*Realtotaloutputbysector[scenarios,AirTransport ]+IAMatrix[sectors,OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ]*Real total output by sector[scenarios,Other Supporting and Auxiliary TransportActivitiesActivitiesofTravelAgencies ]+IAMatrix [sectors,PostandTelecommunications]*Realtotaloutputbysector[scenarios ,PostandTelecommunications]+IAMatrix[sectors , Financial Intermedation]*Real total output by sector[scenarios,FinancialIntermedation ]+IAMatrix[sectors,RealEstateActivities ]*Realtotaloutputbysector[scenarios,RealEstateActivities]+IAMatrix [sectors,RentingodMEqandOtherBusinessActivities ]*Realtotaloutputbysector[scenarios,RentingodMEqandOtherBusinessActivities ]+IAMatrix[sectors,PublicAdminandDefenceCompulsorySocialSecurity ]*Realtotaloutputbysector[scenarios,PublicAdminandDefenceCompulsorySocialSecurity ]+IAMatrix[sectors,Education ] *Real total output by sector[scenarios,Education]+ IAMatrix [sectors, Health andSocialWork ]*Realtotaloutputbysector [scenarios,HealthandSocialWork]+IAMatrix[sectors,OtherCommunitySocialandPersonaServices ]*Realtotaloutputbysector [scenarios,OtherCommunitySocialandPersonaServices]+IAMatrix[sectors ,PrivateHouseholdswithEmployedPersons]* Realtotaloutputbysector[scenarios,PrivateHouseholdswithEmployedPersons ]) Units:dollars Realdemandbysector(35WIODsectors).US$1995(1182)Realdemandbysectordelayed[scenarios,sectors]= DELAYFIXED(Realdemandbysector[scenarios,sectors],1,10)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

311

Units:$ (1183)realextractionconvgasEJ[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=1,extractionconvgasEJ [scenarios],"extractionconvgas-totagg" [scenarios]) Units:EJ (1184)realextractionconvgasemissionsrelevantEJ[scenarios]= MAX(0,realextractionconvgasEJ[scenarios]-("PEDnat.gasforGTLEJ"[ scenarios]+"Non-energyusedemandbyfinalfuelEJ"[scenarios,gases])*shareconvvstotalgasextraction [scenarios]) Units:EJ Extractionofemission-relevantconventionalgas,i.e.excepting theresourceusedtoproduceGTLandfornon-energyuses.We assumeconventionalandunconventionalresourceareusedto produceGTLandfornon-energyusesfollowingthesameshareas fortheirrelativeextraction.(1185)realextractionconvoilEJ[scenarios]= IFTHENELSE("separateconvandunconvoil?"[scenarios]=1,extractionconvoilEJ [scenarios],"extractionconvoil-totagg"[scenarios]) Units:EJ (1186)realextractionconvoilemissionsrelevantEJ[scenarios]= MAX(0,realextractionconvoilEJ[scenarios]-("Non-energyusedemandbyfinalfuelEJ" [scenarios,liquids])*shareconvvstotaloilextraction [scenarios]) Units:EJ Extractionofemission-relevantconventionaloil,i.e.excepting theresourceusedfornon-energyuses.Weassumeconventional andunconventionalresourceareusedfornon-energyuses followingthesameshareasfortheirrelativeextraction.(1187)"realextractionconvoilMb/d"[scenarios]= realextractionconvoilEJ[scenarios]*"Mb/dperEJ/year" Units:Mb/d (1188)realextractionunconvgasEJ[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=1,extractionunconvgasEJ [scenarios],"extractionunconvgas-totagg"[scenarios])

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

312

Units:EJ (1189)realextractionunconvgasemissionsrelevantEJ[scenarios]= MAX(0,realextractionunconvgasEJ[scenarios]-("PEDnat.gasforGTLEJ" [scenarios]+"Non-energyusedemandbyfinalfuelEJ"[scenarios,gases])*(1- shareconvvstotalgasextraction[scenarios])) Units:EJ Extractionofemission-relevantunconventionalgas,i.e. exceptingtheresourceusedtoproduceGTLandfornon-energy uses.Weassumeconventionalandunconventionalresourceare usedtoproduceGTLandfornon-energyusesfollowingthesame shareasfortheirrelativeextraction.(1190)realextractionunconvoilEJ[scenarios]= IFTHENELSE("separateconvandunconvoil?"[scenarios]=1,extractionunconvoilEJ [scenarios],"extractionunconvoil-totagg" [scenarios]) Units:EJ/Year (1191)realextractionunconvoilemissionsrelevantEJ[scenarios]= MAX(0, realextractionunconvoil EJ[scenarios]-("Non-energyusedemandby finalfuelEJ" [scenarios,liquids])*(1-shareconvvstotaloilextraction[scenarios])) Units:EJ Extractionofemission-relevantunconventionaloil,i.e. exceptingtheresourceusedfornon-energyuses.Weassume conventionalandunconventionalresourceareusedfornon-energy usesfollowingthesameshareasfortheirrelativeextraction.(1192)realFEconsumptionbyfuel[scenarios,electricity]= TotalFEElecconsumptionEJ[scenarios] realFEconsumptionbyfuel[scenarios,heat]= TotalFEHeatconsumptionEJ[scenarios] realFEconsumptionbyfuel[scenarios,liquids]= realFEconsumptionliquidsEJ[scenarios] realFEconsumptionbyfuel[scenarios,solids]= realFEconsumptionsolidsEJ[scenarios] realFEconsumptionbyfuel[scenarios,gases]= realFEconsumptiongasesEJ[scenarios] Units:EJ Realfinalenergyconsumptionbyfuelafteraccountingfor energyavailability.(1193)realFEconsumptionbyfuelbeforeheatcorrection[scenarios,electricity

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

313

]= realFEconsumptionbyfuel[scenarios,electricity] realFEconsumptionbyfuelbeforeheatcorrection[scenarios,heat]= real FE consumption by fuel[scenarios,heat]/(1+"ratio FED for heat-nc vs FED forheat-com" [scenarios]) realFEconsumptionbyfuelbeforeheatcorrection[scenarios,liquids]= realFEconsumptionbyfuel[scenarios,liquids]/(1-shareFEHoverFEDbyfinalfuel [liquids,scenarios]) realFEconsumptionbyfuelbeforeheatcorrection[scenarios,gases]= realFEconsumptionbyfuel[scenarios,gases]/(1-shareFEHoverFEDbyfinalfuel [gases,scenarios]) realFEconsumptionbyfuelbeforeheatcorrection[scenarios,solids]= realFEconsumptionbyfuel[scenarios,solids]/(1-shareFEHoverFEDbyfinalfuel [solids,scenarios]) Units:EJ (1194)realFEconsumptiongasesEJ[scenarios]= (PESgases[scenarios]-"PEDnat.gasforGTLEJ"[scenarios]-"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,gases]-Othergasesrequired[scenarios])*sharegasesforfinalenergy [scenarios] Units:EJ Realfinalenergyconsumptionbygasesafteraccountingfor energyavailability.(1195)realFEconsumptionliquidsEJ[scenarios]= (PESLiquidsEJ[scenarios]-"E-lossesbyfinalfuelduetoCCimpacts"[scenarios , liquids]-OtherliquidsrequiredEJ[scenarios])*shareliquidsforfinalenergy [scenarios] Units:EJ Realfinalenergyconsumptionbyliquidsafteraccountingfor energyavailability.(1196)realFEconsumptionsolidsEJ[scenarios]= (extractioncoalEJ[scenarios]+(PEtraditionalbiomassEJdelayed1yr[scenarios ]+PESwasteforTFC[scenarios ]+PESpeatEJ+LossesincharcoalplantsEJ)-PEDcoalforCTLEJ[scenarios ]-"E-lossesbyfinalfuelduetoCCimpacts"[scenarios ,solids]-Othersolidsrequired[scenarios])*sharesolidsforfinalenergy[ scenarios] Units:EJ Realfinalenergyconsumptionbysolidsafteraccountingfor

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

314

energyavailability.(1197)Realfinalenergybysectorandfuel[scenarios,finalsources,sectors ]= Requiredfinalenergybysectorandfuel[scenarios,finalsources,sectors] *Energy scarcity feedback shortage coeff[scenarios,final sources]*CC impacts feedbackshortagecoeff [scenarios] Units:EJ Realfinalenergytobeusedbyeconomicsectorsandfuelafter accountingforenergyscarcityandCCimpacts.(1198)realgenerationRESelecEJ[RESelec,scenarios]= realgenerationRESelecTWh[RESelec,scenarios]*EJperTWh Units:EJ ElectricitygenerationbyREStechnology.(1199)realgenerationRESelecTWh[RESelec,scenarios]= potentialgenerationRESelecTWh[RESelec,scenarios]*(1-RESelectotovercapacity [scenarios]) Units:TWh ElectricitygenerationbyREStechnology.(1200)realgenerationsolarPVEJ[scenarios]= realgenerationRESelecEJ[solarPV,scenarios] Units:EJ (1201)RealGFCF[scenarios,sectors]= Real demand by sector[scenarios,sectors]*(1-share consum goverment andinventories [sectors])*"pctGFCFvsGFCF+HD"[scenarios,sectors] Units:Mdollars RealGrossFixedCapitalFormation(1202)realgrowthCTL[scenarios]= IFTHENELSE(abundancecoal[scenarios]>=abundanceliquids[scenarios], IFTHENELSE(abundancecoal[scenarios]=1,PolicyCTL[scenarios],0 ),0)*abundanceliquidsCTL [scenarios]*scarcityconvoil[scenarios] Units:1/Year TherealgrowthofCTLdependsontherelativeabundanceofcoal andliquids,aswellasontheavailabilityofcoal.(1203)realgrowthGTL[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

315

IFTHENELSE(abundancegases[scenarios]>=abundanceliquids[scenarios], IFTHENELSE(abundancegases[scenarios]=1,PolicyGTL[scenarios],0),0)*abundanceliquidsGTL [scenarios]*scarcityconvoil[scenarios] Units:1/Year TherealgrowthofGTLdependsontherelativeabundanceofgas andliquids,aswellasontheavailabilityofgas.(1204)RealHouseholddemand[scenarios,sectors]= Real demand by sector[scenarios,sectors]*(1-share consum goverment andinventories [sectors])*(1-"pctGFCFvsGFCF+HD"[scenarios,sectors]) Units:Mdollars (1205)realPEDintensityofElectricity[scenarios]= (TotalFEElecdemandEJ[scenarios]+ElecgenrelatedlossesEJ[scenarios] )/GDP[scenarios] Units:EJ/Tdollars Primaryenergydemandintensityoftheelectricitysector.Note thattheparameter"'a'I-ELECprojection"referstofinal energywhileherewerefertoprimaryenergy.The"realPED intensityofelectricity"maythusdecreasewiththepenetration ofRESintheelectricitygeneration(see"shareRESvsNRE electricitygeneration").(1206)RealTFEC[scenarios]= SUM(realFEconsumptionbyfuel[scenarios,finalsources!]) Units:EJ Realtotalfinalenergyconsumption.(1207)Realtotaloutput[scenarios]= SUM(Realtotaloutputbysector[scenarios,sectors!]) Units:dollars Totaloutput(1995$).(1208)Realtotaloutputbyfuelandsector[scenarios,finalsources,sectors ]= XIDZ(Realfinalenergybysectorandfuel[scenarios,finalsources,sectors ],Finalenergyintensitybysectorandfuel[scenarios,finalsources,sectors ],Requiredtotaloutputbysector[scenarios,sectors]/1e+006)*1e+006 Units:dollars Realtotaloutputbysector(35WIODsectors).US$1995(1209)Realtotaloutputbysector[scenarios,sectors]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

316

MIN(Realtotaloutputbyfuelandsector[scenarios,electricity,sectors], MIN(Realtotaloutputbyfuelandsector[scenarios,heat,sectors],MIN(Realtotaloutputbyfuelandsector [scenarios,liquids,sectors],MIN(Realtotaloutputbyfuelandsector[scenarios ,gases,sectors],Realtotaloutputbyfuelandsector[scenarios,solids,sectors ])))) Units:dollars Realtotaloutputbysector(35WIODsectors).US$1995.We assumethemostlimitingresources.(1210)Realtotaloutputinlandtransport[scenarios]= Realtotaloutputbysector[scenarios,InlandTransport] Units:**undefined** (1211)recyclingratesmineralsalttechn[materials,scenarios]=INTEG( improvementrecyclingratesmineralsalttechn[materials,scenarios], currentrecyclingratesminerals[materials]*"EOL-RRmineralsvariableRESvs.thetotaleconomy" *"Allmineralsvirgin?") Units:Dmnl Recyclingratesmineralsofalternativetechnologies(RESelec& EVbatteries).(1212)recyclingratesmineralsRest[materials,scenarios]=INTEG( improvementrecyclingratesmineralsRest[materials,scenarios], currentrecyclingratesminerals[materials]*"Allmineralsvirgin?") Units:Dmnl Recyclingratesmineralsfortherestoftheeconomy.(1213)"reduceoilshareforelectricity?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C135') "reduceoilshareforelectricity?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C135') "reduceoilshareforelectricity?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C135') "reduceoilshareforelectricity?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C135') "reduceoilshareforelectricity?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C135') "reduceoilshareforelectricity?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C167') Units:Dmnl Activationofapoliciestoreduceoilcontributionin electricitylinearlyfollowinglineardecreasingtrend:If=1:

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

317

ACTIVATED,If=0:DEACTIVATED.(1214)"reduceoilshareforheat-com?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C136') "reduceoilshareforheat-com?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C136') "reduceoilshareforheat-com?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C136') "reduceoilshareforheat-com?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C136') "reduceoilshareforheat-com?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C136') "reduceoilshareforheat-com?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C168') Units:Dmnl Activationofapoliciestoreduceoilcontributioninheat commerciallinearlyfollowinglineardecreasingtrend:If=1: ACTIVATED,If=0:DEACTIVATED.(1215)relativeabundanceofenergy= 0 Units:**undefined** Currently,thispartisnotworking.(1216)relativeabundanceofenergyH= 0 Units:**undefined** Currently,thispartisnotworking.(1217)remainingefficiencyimprovgasforelectricity= (Max efficiency gas power plants-efficiency gas for electricity)/Max efficiency gaspowerplants Units:Dmnl Remainingefficiencyimprovementforgaspowercentrals.(1218)remainingpotentialBioE[scenarios]= IF THEN ELSE(max potential RES elec TWh["solid bioE-elec",scenarios] > realgenerationRESelecTWh ["solidbioE-elec",scenarios], (max potential RES elec TWh["solid bioE-elec",scenarios]-real generation RES elecTWh ["solidbioE-elec",scenarios])/maxpotentialRESelecTWh["solidbioE-elec" ,scenarios],0) Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

318

Remainingpotentialavailableasafractionofunity.(1219)remainingpotentialconstraintonnewRESeleccapacity[RESelec,scenarios ]= IFTHENELSE(remainingpotentialRESelecafterintermitt[RESelec,scenarios ]>thresholdremainingpotentialnewcapacity,1,remainingpotentialRESelecafterintermitt [RESelec,scenarios]*(1/thresholdremainingpotentialnewcapacity)) Units:Dmnl ConstraintofremainingpotentialonnewRESeleccapacity. Anotheralternative:SQRT(remainingpotentialRESelecafter intermitt[RESelec,scenarios])(1220)remainingpotentialconstraintonnewRESheatcapacity[RESheat,scenarios ]= IF THEN ELSE(remaining potential RES for heat[RES heat,scenarios]>thresholdremainingpotentialnewcapacity ,1,remaining potential RES for heat[RES heat,scenarios]*(1/threshold remainingpotentialnewcapacity )) Units:Dmnl ConstraintofremainingpotentialonnewRESeleccapacity. Anotheralternative:SQRT(remainingpotentialRESelecafter intermitt[RESelec,scenarios])(1221)remainingpotentialconstraintonnewRESheatcapacity0[RESheat,scenarios ]= IF THEN ELSE(remaining potential RES for heat 0[RES heat,scenarios]>thresholdremainingpotentialnewcapacity ,1,remaining potential RES for heat 0[RES heat,scenarios]*(1/threshold remainingpotentialnewcapacity )) Units:Dmnl ConstraintofremainingpotentialonnewRESeleccapacity. Anotheralternative:SQRT(remainingpotentialRESelecafter intermitt[RESelec,scenarios])(1222)remainingpotentialCSP[scenarios]= IFTHENELSE(maxpotentialRESelecTWh[CSP,scenarios]>realgenerationRESelecTWh [CSP,scenarios], (maxpotentialRESelecTWh[CSP,scenarios]-realgenerationRESelecTWh[CSP ,scenarios])/maxpotentialRESelecTWh[CSP,scenarios],0) Units:Dmnl Remainingpotentialavailableasafractionofunity.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

319

(1223)remainingpotentialelecstoragebyREStechn[scenarios,RESelec]= IFTHENELSE("RESelecvariables?"[RESelec]=0,1, IFTHENELSE(maxcapacityelecstorage[scenarios]>=demandstoragecapacity [scenarios], (maxcapacityelecstorage[scenarios]-demandstoragecapacity[scenarios]) /maxcapacityelecstorage[scenarios],0)*"RESelecvariables?"[RESelec]) Units:Dmnl Remainingpotentialavailableasafractionofunity.This feedbackensuresthattheelectricitystoragelevelsrequiredby thepenetrationoftheRESvariablesforthegenerationof electricityarerespected.(1224)remainingpotentialelecstoragebyREStechn2[scenarios,RESelec]= IFTHENELSE(remainingpotentialelecstoragebyREStechn[scenarios,RESelec ]>threshold remaining potential new capacity,1,remaining potential elec storage by REStechn [scenarios,RESelec]*(1/thresholdremainingpotentialnewcapacity)) Units:Dmnl Remainingpotentialavailableasafractionofunityafter accountingforthreshold.(1225)"remainingpotentialgeot-elec"[scenarios]= IFTHENELSE(maxpotentialRESelecTWh["geot-elec",scenarios]> realgenerationRESelecTWh ["geot-elec",scenarios], (maxpotentialRESelecTWh["geot-elec",scenarios]-realgenerationRESelecTWh ["geot-elec",scenarios])/maxpotentialRESelecTWh["geot-elec",scenarios] ,0) Units:Dmnl Remainingpotentialavailableasafractionofunity.(1226)remainingpotentialhydro[scenarios]= IFTHENELSE(maxpotentialRESelecTWh[hydro,scenarios]>realgenerationRESelecTWh [hydro,scenarios], (maxpotentialRESelecTWh[hydro,scenarios]-realgenerationRESelecTWh [hydro,scenarios])/maxpotentialRESelecTWh[hydro,scenarios],0) Units:Dmnl Remainingpotentialavailableasafractionofunity.(1227)remainingpotentialoceanic[scenarios]= IFTHENELSE(maxpotentialRESelecTWh[oceanic,scenarios]>realgenerationRESelecTWh

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

320

[oceanic,scenarios], (maxpotentialRESelecTWh[oceanic,scenarios]-realgenerationRESelecTWh [oceanic,scenarios])/maxpotentialRESelecTWh[oceanic,scenarios],0) Units:Dmnl Remainingpotentialavailableasafractionofunity.(1228)remainingpotentialoffshorewind[scenarios]= IFTHENELSE(maxpotentialRESelecTWh[windoffshore,scenarios]>realgenerationRESelecTWh [windoffshore,scenarios], (maxpotentialRESelecTWh[windoffshore,scenarios]-realgenerationRESelecTWh [windoffshore,scenarios])/maxpotentialRESelecTWh[windoffshore,scenarios ],0) Units:Dmnl Remainingpotentialavailableasafractionofunity.(1229)remainingpotentialonshorewind[scenarios]= IFTHENELSE(maxpotentialRESelecTWh[windonshore,scenarios]>realgenerationRESelecTWh [windonshore,scenarios], (maxpotentialRESelecTWh[windonshore,scenarios]-realgenerationRESelecTWh [windonshore,scenarios])/maxpotentialRESelecTWh[windonshore,scenarios ],0) Units:Dmnl Remainingpotentialavailableasafractionofunity.(1230)remainingpotentialRESelecafterintermitt[RESelec,scenarios]= IFTHENELSE(potentialRESelecafterintermittTWh[RESelec,scenarios]> potentialgenerationRESelecTWh[RESelec,scenarios],(potentialRESelecafterintermittTWh [RESelec,scenarios]-potentialgenerationRESelecTWh[RESelec,scenarios] )/potentialRESelecafterintermittTWh[RESelec,scenarios],0) Units:Dmnl (1231)remainingpotentialRESelecswitch[RESelec,scenarios]= IFTHENELSE(remainingpotentialRESelecafterintermitt[RESelec,scenarios ]<0.025,0,1) Units:Dmnl ThisvariabledetectswhenaRESelectechnologyhas(almost, 97.5%)reacheditsfullpotentialsothistechnologyisnot takenintoaccountintheestimationofthetotalEROI aggregatedforthecalculationofthemixallocation.(1232)remainingpotentialRESforheat[RESheat,scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

321

(MaxFEpotentialRESforheat[RESheat,scenarios]-"potentialFESRESforheat-comEJ" [RESheat,scenarios]-"potentialFESRESforheat-ncEJ"[RESheat,scenarios ])/MaxFEpotentialRESforheat[RESheat,scenarios] Units:Dmnl Remainingpotentialavailableasgivenasafractionofunity.(1233)remainingpotentialRESforheat0[RESheat,scenarios]= (MaxFEpotentialRESforheat[RESheat,scenarios]-potentialFESRESforheatEJ0 [RESheat,scenarios])/MaxFEpotentialRESforheat[RESheat,scenarios] Units:Dmnl Remainingpotentialavailableasgivenasafractionofunity.(1234)"remainingpotentialsolar-elecPV"[scenarios]= IFTHENELSE(maxpotentialRESelecTWh[solarPV,scenarios]>realgenerationRESelecTWh [solarPV,scenarios], (maxpotentialRESelecTWh[solarPV,scenarios]-realgenerationRESelecTWh [solarPV,scenarios])/maxpotentialRESelecTWh[solarPV,scenarios],0) Units:Dmnl Remainingpotentialavailableasafractionofunity.(1235)remainingpotentialtotRESelec[scenarios]= IFTHENELSE(maxpotentialtotRESelecTWh[scenarios]>FEtotgenerationallRESelecTWh [scenarios],(maxpotentialtotRESelecTWh[scenarios]-FEtotgenerationallRESelecTWh [scenarios])/maxpotentialtotRESelecTWh[scenarios],0) Units:Dmnl Remainingpotentialavailableasafractionofunity.(1236)remainingpotentialtotRESelecafterintermitt[scenarios]= IFTHENELSE(potentialtotRESelecafterintermitt[scenarios]>FErealtotgenerationRESelecTWh [scenarios], (potentialtotRESelecafterintermitt[scenarios]-FErealtotgenerationRESelecTWh [scenarios])/potentialtotRESelecafterintermitt[scenarios],0) Units:**undefined** (1237)remainingpotentialtotRESheat[scenarios]= IFTHENELSE(maxPEpotentialtotRESheatEJ[scenarios]>PEStotRESforheat [scenarios],(maxPEpotentialtotRESheatEJ [scenarios]-PEStotRESforheat[scenarios])/maxPEpotentialtotRESheatEJ [scenarios],0) Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

322

Remainingpotentialavailableasafractionofunity.(1238)remainingrecyclingrateimprovforalttechnpermineral[materials, scenarios]= ZIDZ(Maxrecyclingratesminerals-recyclingratesmineralsalttechn[materials ,scenarios],Maxrecyclingratesminerals) Units:Dmnl Remainingrecyclingrateimprovementforalternative technologies(RESelec&EVbatteries)permaterial.(1239)remainingrecyclingrateimprovRestpermineral[materials,scenarios ]= ZIDZ(Maxrecyclingratesminerals-recyclingratesmineralsRest[materials ,scenarios],Maxrecyclingratesminerals) Units:Dmnl Remainingrecyclingrateimprovementfortherestoftheeconomy permaterial.(1240)"remainingsharetransm&distreleclosses"[scenarios]= ("Maxsharetransm&distreleclosses"-"sharetransm&distreleclosses"[scenarios ])/"Maxsharetransm&distreleclosses" Units:Dmnl Remainingshareinrelationtotheassumedmaximumtransmission anddistributionlosses.(1241)replacementCTL[scenarios]= IF THEN ELSE(Time<2015,0, IF THEN ELSE(check liquids[scenarios]<0, "constrainliquidsexogenousgrowth?" [scenarios]*wearCTL [scenarios],wearCTL[scenarios]))*scarcityconvoil[scenarios] Units:EJ/Year (1242)replacementGTL[scenarios]= IF THEN ELSE(Time<2015,0, IF THEN ELSE(check liquids[scenarios]<0, "constrainliquidsexogenousgrowth?" [scenarios]*wearGTL [scenarios],wearGTL[scenarios]))*scarcityconvoil[scenarios] Units:EJ/Year (1243)replacementnuclear[scenarios]= IFTHENELSE(Time<2013,newcapacityinstallednuclear[scenarios], IFTHENELSE(selectionofnuclearscenario[scenarios]=2,0, IFTHENELSE(selectionofnuclearscenario[scenarios]=4,0,replacementratenuclear *wearnuclear[scenarios]*(1-nuclearovercapacity[scenarios]))))*Cplimitnuclear

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

323

[scenarios] Units:TW Itisassumedthatthestepofplanningofreplaced infraestructurecanbedonewhiletheinfraestructuretobe replacedisstillunderoperation.(1244)replacementratenuclear= GETXLSCONSTANTS('inputs.xlsx','Parameters','D15') Units:Dmnl If=1,weasumethatallthepowerthatreachestheendofits lifetimeisreplaced.(1245)replacementrateRESelec[RESelec,scenarios]= IFTHENELSE(potentialgenerationRESelecTWh[RESelec,scenarios]<potentialRESelecafterintermittTWh [RESelec,scenarios],1,0.9) Units:Dmnl ReplacementrateofRESforelectricity:bydefaultall decommissionedcapacityisreplaced(=1).Inthecaseof overcapacityinrelationtothepotentialafteraccountingfor intermittency,wereducetheannualreplacementrateto0.9.(1246)replacementRESelec[RESelec,scenarios]= IFTHENELSE(Time<2015,0,replacementrateRESelec[RESelec,scenarios]*wearRESelec [RESelec,scenarios]*(1-RESelectotovercapacity [scenarios]))*remainingpotentialelecstoragebyREStechn2[scenarios,RESelec ] Units:TW AnnualreplacementofRESforelectricityheatbytechnology.It isassumedthatthestepofplanningofreplacedinfraestructure canbedonewhiletheinfraestructuretobereplacedisstill underoperation.(1247)replacementRESforheat0["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D17') replacementRESforheat0["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D18') replacementRESforheat0["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D19') Units:Dmnl If=1,weasumethatallthepowerthatreachestheendofits lifetimeisreplaced.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

324

(1248)replacementRESforheatTW0[RESheat,scenarios]= wearREScapacityforheatTW0[RESheat,scenarios]*replacementRESforheat0 [RESheat]*(1-RESheattotovercapacity0[scenarios]) Units:TW/Year (1249)"replacementRESforheat-comTW"[RESheat,scenarios]= "wear RES capacity for heat-com TW"[RES heat, scenarios]*"replacement RES forheat-com" [RESheat]*(1-"RESheat-comtotovercapacity"[scenarios]) Units:TW/Year AnnualreplacementofRESforcommercialheatbytechnology.(1250)"replacementRESforheat-com"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D17') "replacementRESforheat-com"["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D18') "replacementRESforheat-com"["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D19') Units:Dmnl If=1,weasumethatallthepowerthatreachestheendofits lifetimeisreplaced.(1251)"replacementRESforheat-ncTW"[RESheat,scenarios]= "wearREScapacityforheat-ncTW"[RESheat,scenarios]*"replacementRESforheat-nc" [RESheat]*(1-"RESheat-nctotovercapacity"[scenarios]) Units:TW/Year AnnualreplacementofRESfornon-commercialheatbytechnology.(1252)"replacementRESforheat-nc"["solar-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D17') "replacementRESforheat-nc"["geot-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D18') "replacementRESforheat-nc"["solidbioE-heat"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','D19') Units:Dmnl If=1,weasumethatallthepowerthatreachestheendofits lifetimeisreplaced.(1253)RequiredFEDbyfuel[scenarios,electricity]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,electricity] RequiredFEDbyfuel[scenarios,heat]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,heat]*(1+"ratioFEDforheat-ncvsFEDforheat-com"

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

325

[scenarios]) RequiredFEDbyfuel[scenarios,liquids]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,liquids]*(1-shareFEHoverFEDbyfinalfuel [liquids,scenarios]) RequiredFEDbyfuel[scenarios,gases]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,gases]*(1-shareFEHoverFEDbyfinalfuel [gases,scenarios]) RequiredFEDbyfuel[scenarios,solids]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,solids]*(1-shareFEHoverFEDbyfinalfuel [solids,scenarios]) Units:EJ Requiredfinalenergydemandbyfuelafterheatdemand correction.(1254)RequiredFEDbyfuelbeforeheatcorrection[scenarios,finalsources ]= (required FED sectors by fuel[scenarios,final sources]+Households final energydemand [scenarios,finalsources]) *EROIFC[scenarios] Units:EJ Requiredfinalenergydemandbyfuelbeforeheatdemand correction.Thefinalenergydemandismodifiedwiththe feedbackfromthechangeoftheEROEI.(1255)RequiredFEDbygas[scenarios]= RequiredFEDbyfuel[scenarios,gases] Units:EJ Requiredfinalenergydemandbygas.(1256)RequiredFEDbyliquidsEJ[scenarios]= RequiredFEDbyfuel[scenarios,liquids] Units:EJ Requiredfinalenergydemandbyliquids.(1257)requiredFEDsectorsbyfuel[scenarios,finalsources]= SUM(Requiredfinalenergybysectorandfuel[scenarios,finalsources,sectors !]) Units:EJ (1258)RequiredFEDsolids[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

326

RequiredFEDbyfuel[scenarios,solids] Units:EJ Requiredfinalenergydemandsolids.(1259)Requiredfinalenergyairtransport[scenarios,finalsources]= Requiredfinalenergybysectorandfuel[scenarios,finalsources,AirTransport ] Units:EJ/Year AirtransportfinalEnergyEJ(1260)Requiredfinalenergybysectorandfuel[scenarios,finalsources,sectors ]= Requiredtotaloutputbysector[scenarios,sectors]*Finalenergy intensitybysectorandfuel [scenarios,finalsources,sectors]/1e+006 Units:EJ Requiredfinalenergybysectorandfuel(35WIODsectors&5 finalsources).(1261)Requiredfinalenergyinlandtransport[scenarios,finalsources]= Requiredfinalenergybysectorandfuel[scenarios,finalsources,InlandTransport ] Units:EJ/Year Inlandtransportfinalenergy(1262)Requiredfinalenergyothertransport[scenarios,finalsources]= Requiredfinalenergybysectorandfuel[scenarios,finalsources,OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ] Units:EJ/Year OtherSupportingandAuxiliaryTransportActivitiesActivities ofTravelAgenciesFinalEnergy(1263)Requiredfinalenergywatertransport[scenarios,finalsources]= Requiredfinalenergybysectorandfuel[scenarios,finalsources,WaterTransport ] Units:EJ/Year WatertransportfinalenergyEJ(1264)"Requiredheat-comafterCCimpacts"[scenarios]= RequiredFEDbyfuelbeforeheatcorrection[scenarios,heat]*(1+"shareE-lossesCC" [scenarios]*MethodCCimpacts) Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

327

(1265)RequiredTFED[scenarios]= SUM(RequiredFEDbyfuel[scenarios,finalsources!]) Units:EJ Requiredtotalfinalenergydemandafterheatdemandcorrection.(1266)RequiredTFEDbeforeheatdemcorr[scenarios]= SUM(RequiredFEDbyfuelbeforeheatcorrection[scenarios,finalsources!] ) Units:EJ Totalfinalenergydemandbeforeheatdemandcorrection.(1267)Requiredtotaloutputbysector[scenarios,sectors]= LeontiefMatrix[sectors,AgricultureHuntingForestryandFishing]*Demandbysector [scenarios,AgricultureHuntingForestryandFishing ]+LeontiefMatrix[sectors,MiningandQuarrying]*Demandbysector[scenarios ,MiningandQuarrying]+LeontiefMatrix[ sectors , Food Beverages and Tobacco]*Demand by sector[scenarios,Food Beverages andTobacco ]+LeontiefMatrix[sectors,TextilesandTextileProducts ]*Demandbysector[scenarios,TextilesandTextileProducts]+LeontiefMatrix [sectors,LeatherLeatherandFootwear]*Demandbysector [scenarios,Leather Leather and Footwear]+ Leontief Matrix [sectors, Wood andProductsofWooodandCork ]*Demandbysector [scenarios,WoodandProductsofWooodandCork]+LeontiefMatrix[sectors ,PulpPaperPrintingandPublishing]*Demandbysector [scenarios,PulpPaperPrintingandPublishing]+LeontiefMatrix[sectors, CokeRefinedPetroleumandNuclearFuel]*Demandbysector [scenarios,CokeRefinedPetroleumandNuclearFuel]+LeontiefMatrix[sectors ,ChemicalsandChemicalproducts]*Demandbysector [scenarios,ChemicalsandChemicalproducts]+LeontiefMatrix[sectors,RubberandPlastics ]*Demandbysector[scenarios, RubberandPlastics ]+LeontiefMatrix[sectors,OtherNonMetalicMineral]*Demandbysector [scenarios,OtherNonMetalicMineral]+LeontiefMatrix [sectors,BasicMetalsandFabricatedMetal]*Demandbysector[scenarios, BasicMetalsandFabricatedMetal]+LeontiefMatrix [sectors, Machinery Nec]*Demand by sector[scenarios,Machinery Nec]+ LeontiefMatrix [sectors,ElectricalandOpticalEquipment ]*Demandbysector[scenarios,ElectricalandOpticalEquipment]+LeontiefMatrix [sectors,TransportEquipment]*Demandbysector

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

328

[scenarios,Transport Equipment]+ Leontief Matrix [sectors, Manufacturing NecRecycling ]*Demandbysector[scenarios,ManufacturingNecRecycling ]+LeontiefMatrix[sectors,ElectricityGasandWaterSupply]*Demandbysector [scenarios,ElectricityGasandWaterSupply ]+LeontiefMatrix[sectors,Construction]*Demandbysector[scenarios,Construction ]+ Leontief Matrix [sectors, Sale Maintenance and Repair of Motor Vehicles andaMotorcyclesRetailSaleoffuel ]*Demandbysector[scenarios,SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ]+LeontiefMatrix [sectors,Wholesale Trade and Commissions Trade Except ofMotor vehicles andMotorcycles ]*Demandby sector[scenarios,Wholesale TradeandCommissions TradeExceptofMotorvehiclesandMotorcycles ]+LeontiefMatrix[sectors,RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ]*Demandbysector [scenarios,Retail Trade Except of Motor Vehicles and Motorcycles Repair ofHouseholdgoods ]+LeontiefMatrix[sectors, HotelsandRestaurants ]*Demandbysector[scenarios,HotelsandRestaurants]+LeontiefMatrix[sectors ,InlandTransport]*Demandbysector[scenarios ,InlandTransport]+LeontiefMatrix[sectors,WaterTransport]*Demandbysector [scenarios,WaterTransport]+LeontiefMatrix [sectors,AirTransport]*Demandbysector[scenarios,AirTransport]+LeontiefMatrix [sectors,OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ]*Demand by sector[scenarios,Other Supporting and Auxiliary Transport ActivitiesActivitiesofTravelAgencies ]+LeontiefMatrix [sectors,Post and Telecommunications]*Demand by sector[scenarios,Post andTelecommunications ]+LeontiefMatrix[sectors ,FinancialIntermedation]*Demandbysector[scenarios,FinancialIntermedation ]+LeontiefMatrix[sectors,RealEstateActivities ]*Demandbysector[scenarios,RealEstateActivities]+LeontiefMatrix[sectors ,RentingodMEqandOtherBusinessActivities ]*Demandbysector[scenarios,RentingodMEqandOtherBusinessActivities ]+LeontiefMatrix[sectors,PublicAdminandDefenceCompulsorySocialSecurity ]*Demandbysector[scenarios,PublicAdminandDefenceCompulsorySocialSecurity ]+LeontiefMatrix[sectors,Education ]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

329

*Demandbysector[scenarios,Education]+LeontiefMatrix[sectors,HealthandSocialWork ]*Demandbysector[scenarios,HealthandSocialWork ]+LeontiefMatrix[sectors,OtherCommunitySocialandPersonaServices ]*Demandbysector[scenarios,OtherCommunitySocialandPersonaServices ]+LeontiefMatrix[sectors,PrivateHouseholdswithEmployedPersons]*Demandbysector [scenarios,PrivateHouseholdswithEmployedPersons ] Units:dollars Requiredtotaloutputbysector(35WIODsectors).US$1995(1268)RESelec: hydro,"geot-elec","solidbioE-elec",oceanic,windonshore,windoffshore ,solarPV,CSP (1269)"RESelecevolve?"[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U13') "RESelecevolve?"["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U7') "RESelecevolve?"["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U8') "RESelecevolve?"[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U9') "RESelecevolve?"[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U10') "RESelecevolve?"[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U12') "RESelecevolve?"[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U11') "RESelecevolve?"[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','U16') Units:Dmnl (1270)RESelecgrowth[RESelec,scenarios]= IFTHENELSE("RESelecevolve?"[RESelec]=0,PRESelecgrowth[RESelec,scenarios ],pastRESeleccapacitygrowth[RESelec]*PRESelecgrowth[RESelec,scenarios ]) Units:1/Year Annualcapacitygrowthofnewcapacitydependingonthepolicy ofthescenario.(1271)RESelectotovercapacity[scenarios]= IFTHENELSE(potentialtotgenerationRESelecTWh[scenarios]=0,0,

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

330

(potential tot generationRES elec TWh[scenarios]-FE real tot generationRES elecTWh [scenarios])/potentialtotgenerationRESelecTWh[scenarios]) Units:Dmnl OvercapacityforeachtechnologyRESforelectricitytakinginto accounttheinstalledcapacityandtherealgeneration.(1272)"RESelecvariables?"[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X13') "RESelecvariables?"["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X7') "RESelecvariables?"["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X8') "RESelecvariables?"[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X9') "RESelecvariables?"[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X10') "RESelecvariables?"[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X12') "RESelecvariables?"[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X11') "RESelecvariables?"[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','X16') Units:Dmnl VectortodistinguisbetweenRESelecvariablesand dispatchables:*If=1,RESelecvariables(fullyendogenous calculationfromthematerialsrequirements).*If=0,RESelec dispatchables(partiallyendogenouscalculationrequiringa valueofEROIasstartingpoint).(1273)RESheat: "solar-heat","geot-heat","solidbioE-heat" (1274)RESheattotovercapacity0[scenarios]= IFTHENELSE(potentialFEStotRESforheatEJ0[scenarios]=0,0, (potentialFEStotRESforheatEJ0[scenarios]-FErealsupplyRESforheattotEJ0 [scenarios])/potentialFEStotRESforheatEJ0 [scenarios]) Units:Dmnl OvercapacityforeachtechnologyRESforelectricitytakinginto accounttheinstalledcapacityandtherealgeneration.(1275)"RESheat-comtotovercapacity"[scenarios]= IFTHENELSE("potentialFEStotRESforheat-comEJ"[scenarios]=0,0,

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

331

("potentialFEStotRESforheat-comEJ"[scenarios]-"FErealsupplyRESforheat-comtotEJ" [scenarios])/"potentialFEStotRESforheat-comEJ" [scenarios]) Units:Dmnl OvercapacityforeachtechnologyRESforheat-comtakinginto accounttheinstalledcapacityandtherealgeneration.(1276)"RESheat-nctotovercapacity"[scenarios]= IFTHENELSE("potentialFEStotRESforheat-ncEJ"[scenarios]=0,0, ("potentialFEStotRESforheat-ncEJ"[scenarios]-"FErealsupplyRESforheat-nctotEJ" [scenarios])/"potentialFEStotRESforheat-ncEJ" [scenarios]) Units:Dmnl OvercapacityforeachtechnologyRESforheat-nctakinginto accounttheinstalledcapacityandtherealgeneration.(1277)REStofossilaccounting= 1 Units:Dmnl Therearedifferentmethodstoreportprimaryenergy.If=1,it correspondswiththedirectequivalentmethodwhichcountsone unitofsecondaryenergyprovidedfromnon-combustiblesources asoneunitofprimaryenergy,thatis,1kWhof(useful) electricityorheatisaccountedforas1kWh=3.6MJof primaryenergy.FormoreinformationseeAnnexIIof(IPCC, 2011).(1278)rtelecstorageefficiency[scenarios]= (rtstorageefficiencyPHS*InstalledPHScapacity[scenarios]+rtstorageefficiencyEVbatteries *UsedEVbatteriesforstorage[scenarios])/(InstalledPHScapacity[scenarios ]+UsedEVbatteriesforstorage[scenarios]) Units:Dmnl Round-tripstorageefficiencyofelectricstorage(PHSandEV batteries).(1279)rtstorageefficiencyEVbatteries= GETXLSCONSTANTS('inputs.xlsx','Parameters','G46') Units:Dmnl Round-tripstorageefficiencyofelectricbatteriesfrome electricvehicles.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

332

(1280)rtstorageefficiencyPHS= GETXLSCONSTANTS('inputs.xlsx','Parameters','G51') Units:Dmnl Round-tripstorageefficiency.(1281)RURRcoal[scenarios]=INTEG( -extractioncoalEJ[scenarios]-Flowcoalleftinground[scenarios], URRcoal[scenarios]-cumulatedcoalextractionto1995) Units:EJ RURRcoal.4400EJextractedbefore1990.(1282)RURRcoal2015= 20310 Units:EJ RURRofcoalin2015.(1283)RURRconvgas[scenarios]=INTEG( -Flowconvgasleftinground[scenarios]-extractionconvgasEJ[scenarios ], URRconvgas[scenarios]-cumulatedconvgasextractionto1995) Units:EJ RURRconventionalgas.(1284)RURRconvgas2015= 9619 Units:EJ RURRofconventionalnaturalgasin2015.(1285)RURRconvoil[scenarios]=INTEG( -extractionconvoilEJ[scenarios]-Flowconvoilleftinground[scenarios ], URRconvoil[scenarios]-cumulatedconvoilextractionto1995) Units:EJ RURRconventionaloil.(1286)RURRconvoil2015= 8986 Units:EJ RURRofconventionaloilin2015.(1287)RURRtotagggas[scenarios]=INTEG( -extractiontotagggasEJ[scenarios]-Flowtotagggasleftinground[scenarios ], URRtotagggas[scenarios]-cumulatedtotagggasextractionto1995)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

333

Units:EJ RURRtotalaggregatednaturalgas.(1288)RURRtotagggas2015= RURRconvgas2015+RURRunconvgas2015 Units:EJ RURRoftotalaggregatednaturalgasin2015.(1289)RURRtotaggoil[scenarios]=INTEG( -extractiontotaggoilEJ[scenarios]-Flowtotaggoilleftinground[scenarios ], URRtotaggoil[scenarios]-cumulatedtotaggextractionto1995) Units:EJ RURRtotalaggregatedoil.(1290)RURRtotaggoil2015= RURRconvoil2015+RURRunconvoil2015 Units:EJ RURRoftotalaggregatedoilin2015.(1291)RURRunconvgas[scenarios]=INTEG( -extractionunconvgasEJ[scenarios]-Flowunconvgasleftinground[scenarios ], URRunconvgas[scenarios]-cumulatedunconvgasextractionto1995) Units:EJ RURRunconventionalgas.(1292)RURRunconvgas2015= 14420 Units:EJ RURRofunconventionalnaturalgasin2015.(1293)RURRunconvoil2015= 21890 Units:EJ RURRofunconventionaloilin2015.(1294)RURRunconvoilEJ[scenarios]=INTEG( -extractionunconvoilEJ[scenarios]-Flowunconvoilleftinground[scenarios ], URRunconvoil[scenarios]-cumulatedunconvoilextractionto1995) Units:EJ RURRunconventionaloil.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

334

(1295)RURRuranium[scenarios]=INTEG( -extractionuraniumEJ[scenarios], URRuranium[scenarios]-cumulateduraniumextractionto1995) Units:EJ RURRuranium.720EJextractedbefore1990.(1296)SAVEPER= TIMESTEP Units:Year[0,?] Thefrequencywithwhichoutputisstored.(1297)savinratio2wE= 1/3 Units:**undefined** revisardato,ahorroelectricorespectoaliquidosenmotos(1298)savingratiosV[HVliq]= 1 savingratiosV[HVhib]= 0.6 savingratiosV[HVgas]= 1 savingratiosV[LVliq]= 1 savingratiosV[LVelec]= 0.333 savingratiosV[LVhib]= 0.6 savingratiosV[LVgas]= 1 savingratiosV[busliq]= 1 savingratiosV[bushib]= 0.6 savingratiosV[busgas]= 1 savingratiosV[trainliq]= 1 savingratiosV[trainelec]= 0.42 savingratiosV[buselec]= 0.333 Units:**undefined** savingratiosofdiferentevehiclesperKmcomparedto

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

335

conventionalliquidsvechicles(1299)scarcityconvgas[scenarios]= IFTHENELSE(maxextractionconvgasEJ[scenarios]=0,0, IFTHENELSE(maxextractionconvgasEJ[scenarios]>=extractionconvgasEJ [scenarios],1-((maxextractionconvgasEJ[scenarios]-extractionconvgasEJ [scenarios])/maxextractionconvgasEJ[scenarios])^exponentavailabilityconvgas ,0)) Units:Dmnl Prioritytoconventionalresourcetocoverthedemandwhilethe maximumextractionlevelofenergy/timeisnotreached.(1300)scarcityconvgasdelayed1yr[scenarios]=DELAYFIXED( scarcityconvgas[scenarios],1,0.2502) Units:Dmnl (1301)scarcityconvgasstock[scenarios]=INTEG( increasescarcityconvgas[scenarios], 0.2502) Units:Dmnl (1302)scarcityconvoil[scenarios]= IFTHENELSE(maxextractionconvoilEJ[scenarios]=0,0, IFTHENELSE(maxextractionconvoilEJ[scenarios]>=extractionconvoilEJ [scenarios],1-((maxextractionconvoilEJ[scenarios ]-extractionconvoilEJ[scenarios])/maxextractionconvoilEJ[scenarios] )^exponentavailabilityconvoil,0)) Units:Dmnl Prioritytoconventionalresourcetocoverthedemandwhilethe maximumextractionlevelofenergy/timeisnotreached.If scarcity=1thereisnomoreavailableflowtobeextracted.(1303)scarcityconvoildelayed1yr[scenarios]=DELAYFIXED( scarcityconvoil[scenarios],1,0.3989) Units:Dmnl (1304)scarcityconvoilstock[scenarios]=INTEG( increasescarcityconvoil[scenarios], 0.3989) Units:Dmnl (1305)scenarios: SCEN1,SCEN2,SCEN3,SCEN4,BAU,Userdefined

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

336

(1306)sectors: AgricultureHuntingForestryandFishing,MiningandQuarrying,FoodBeveragesandTobacco ,TextilesandTextileProducts,LeatherLeatherandFootwear,WoodandProductsofWooodandCork ,PulpPaperPrintingandPublishing,CokeRefinedPetroleumandNuclearFuel ,ChemicalsandChemicalproducts,RubberandPlastics,OtherNonMetalicMineral ,BasicMetalsandFabricatedMetal,MachineryNec,ElectricalandOpticalEquipment ,TransportEquipment,ManufacturingNecRecycling,ElectricityGasandWaterSupply ,Construction,SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,WholesaleTradeandCommissionsTradeExceptofMotorvehiclesandMotorcycles ,RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ,HotelsandRestaurants,InlandTransport,WaterTransport,AirTransport ,OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ,PostandTelecommunications,FinancialIntermedation,RealEstateActivities ,RentingodMEqandOtherBusinessActivities,PublicAdminandDefenceCompulsorySocialSecurity ,Education,HealthandSocialWork,OtherCommunitySocialandPersonaServices ,PrivateHouseholdswithEmployedPersons (1307)sectors1: AgricultureHuntingForestryandFishing,MiningandQuarrying,FoodBeveragesandTobacco ,TextilesandTextileProducts,LeatherLeatherandFootwear,WoodandProductsofWooodandCork ,PulpPaperPrintingandPublishing,CokeRefinedPetroleumandNuclearFuel ,ChemicalsandChemicalproducts,RubberandPlastics,OtherNonMetalicMineral ,BasicMetalsandFabricatedMetal,MachineryNec,ElectricalandOpticalEquipment ,TransportEquipment,ManufacturingNecRecycling,ElectricityGasandWaterSupply ,Construction,SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,WholesaleTradeandCommissionsTradeExceptofMotorvehiclesandMotorcycles ,RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods ,HotelsandRestaurants,InlandTransport,WaterTransport,AirTransport ,OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ,PostandTelecommunications,FinancialIntermedation,RealEstateActivities ,RentingodMEqandOtherBusinessActivities,PublicAdminandDefenceCompulsorySocialSecurity ,Education,HealthandSocialWork,OtherCommunitySocialandPersonaServices ,PrivateHouseholdswithEmployedPersons (1308)Selectionconstraintextractionunconvgas[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D96')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

337

Selectionconstraintextractionunconvgas[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D96') Selectionconstraintextractionunconvgas[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D96') Selectionconstraintextractionunconvgas[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D96') Selectionconstraintextractionunconvgas[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D96') Selectionconstraintextractionunconvgas[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D96') Units:Dmnl Selectionoftypeofconstrainttoannualgrowthextractionof unconventionalgas:3?1=Constraintannualgrowth(%)2=User definedasafunctionoftime(1309)Selectionconstraintextractionunconvoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D80') Selectionconstraintextractionunconvoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D80') Selectionconstraintextractionunconvoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D80') Selectionconstraintextractionunconvoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D80') Selectionconstraintextractionunconvoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D80') Selectionconstraintextractionunconvoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D80') Units:Dmnl Selectionoftypeofconstrainttoannualgrowthextractionof unconventionaloil:1=Constraintannualgrowth(%)2=User definedasafunctionoftime(1310)selectionofnuclearscenario[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','D19') selectionofnuclearscenario[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','D19') selectionofnuclearscenario[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','D19') selectionofnuclearscenario[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','D19') selectionofnuclearscenario[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','D19') selectionofnuclearscenario[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','D19')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

338

Units:Dmnl If=1:Constantpowercapacityatcurrentlevels,If=2:No morenuclearinstalled,currentcapacitydepreciates,If=3: Growthofnuclearpower.(1311)selectionshapeELF= 1 Units:Dmnl Parametertoselectdifferentshapesfortheenergylosses function:1:logistic(1312)"self-electricityconsumptionRESelec"[hydro]= 0 "self-electricityconsumptionRESelec"["geot-elec"]= 0 "self-electricityconsumptionRESelec"["solidbioE-elec"]= 0 "self-electricityconsumptionRESelec"[oceanic]= 0 "self-electricityconsumptionRESelec"[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Materials','D120') "self-electricityconsumptionRESelec"[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Materials','E120') "self-electricityconsumptionRESelec"[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Materials','C120') "self-electricityconsumptionRESelec"[CSP]= 0 Units:Dmnl (1313)"separateconvandunconvgas?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C83') "separateconvandunconvgas?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C83') "separateconvandunconvgas?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C83') "separateconvandunconvgas?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C83') "separateconvandunconvgas?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C83') "separateconvandunconvgas?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C83') Units:Dmnl Switchtodisaggregatebetweenconventionalandunconventional fuel:"1"=disaggregation,"0"=conv+unconvaggregated(all

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

339

thegasflowsthenthroughtherightsideofthisview,i.e.the "conventionalgas"modellingside).(1314)"separateconvandunconvoil?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C67') "separateconvandunconvoil?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C67') "separateconvandunconvoil?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C67') "separateconvandunconvoil?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C67') "separateconvandunconvoil?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C67') "separateconvandunconvoil?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C67') Units:Dmnl Switchtodisaggregatebetweenconventionalandunconventional fuel:"1"=disaggregation,"0"=conv+unconvaggregated(all theoilflowsthenthroughtherightsideofthisview,i.e.the "conventionaloil"modellingside).(1315)sharebiofuelsovercapacity[scenarios]= ZIDZ((PotentialPEavailtotalbiofuels[scenarios]-FEStotalbiofuelsproductionEJ2 [scenarios]),PotentialPEavailtotalbiofuels[scenarios]) Units:Dmnl (1316)"sharecapacitystorage/RESelecvar"[scenarios]= 0.099+0.1132*shareElecdemandcoveredbyRES[scenarios] Units:Dmnl Shareinstalledcapacityofstoragevsinstalledcapacityof variableRESforelectricity.EstimationfromNREL(2012).(1317)shareCCnextstep[sectors]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Economy','554','C349') Units:Dmnl (1318)shareCCsectoral[sectors]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Economy','348','B349') Units:Dmnl Sectoralshareofcapitalcompensation.(Capital compensation[i]/Totalcapitalcompensation)(1319)sharecellulosicbiofuelsvsBioEresidues[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C51')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

340

sharecellulosicbiofuelsvsBioEresidues[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C51') sharecellulosicbiofuelsvsBioEresidues[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C51') sharecellulosicbiofuelsvsBioEresidues[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C51') sharecellulosicbiofuelsvsBioEresidues[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C51') sharecellulosicbiofuelsvsBioEresidues[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C51') Units:Dmnl Sharebioenergyresiduespotentialallocatedtocellulosic biofuelsproduction.(1320)shareCHPplantscoal= 1-historicshareCHPplantsgas-shareCHPplantsoil Units:Dmnl CoalisassumedtocovertherestoftheCHPplantsdemandafter RES,nuclear,oilandgas.(1321)shareCHPplantsoil= MAX(IFTHENELSE(Time>2014,-0.002985*(Time)+6.04554,historicshareCHPplantsoil ),0) Units:Dmnl Oilshareofheatdemand.Sincethissharehasbeenfalling globallysincethefirstoilshock,andgiventhedifficulties tosubstituteoilinothersectors(e.g.Transportation)and thattherearemanymoreresourcesthatcansupplyheat,we assumeanexogenouslineardecreasingtrendfortheoilshareof heatdemandtoreach0%around2025.(1322)sharecoaldemforElec[scenarios]= IFTHENELSE(PEDcoalEJ[scenarios]>0,PEdemandcoalElecplantsEJ[scenarios ]/PEDcoalEJ[scenarios],0) Units:Dmnl ShareofcoaldemandtocoverelectricityconsumptioninElec plants.(1323)"sharecoaldemforHeat-com"[scenarios]= IFTHENELSE(PEDcoalEJ[scenarios]>0,PEDcoalforHeatplantsEJ[scenarios ]/PEDcoalEJ[scenarios],0) Units:Dmnl Shareofcoaldemandtocovercommercialheatconsumptionin

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

341

Heatplants.(1324)"sharecoaldemforHeat-nc"[scenarios]= ZIDZ("PEDcoalHeat-nc"[scenarios],PEDcoalEJ[scenarios]) Units:Dmnl Shareofcoaldemandtocovernon-commercialheatconsumptionin Heatplants.(1325)sharecoalforElec[scenarios]= 1-"sharegas/(coal+gas)forElec"[scenarios] Units:Dmnl Coalisassumedtocovertherestoftheelectricitydemand afterRES,nuclear,oilandgas.(1326)"sharecoal(coal+gas)forheatplants"= 1-"sharegas/(coal+gas)forheatplants" Units:Dmnl CoalisassumedtocovertherestoftheheatdemandafterRES, nuclear,oilandgas.(1327)shareconsumgovermentandinventories[sectors]= shareinventories[sectors]+shareconsumgoverments[sectors] Units:Dmnl (1328)shareconsumgoverments[sectors]:= GETXLSDATA('inputs.xlsx','Economy','392','B393') Units:Dmnl (1329)shareconsumgovermentsandinventoriesnextstep[sectors]= shareconsumgovermentsnextstep[sectors]+shareinventoriesnextstep[sectors ] Units:Dmnl SumofshareofPublicexpendituresandchangesininventories.(1330)shareconsumgovermentsnextstep[sectors]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Economy','554','C393') Units:Dmnl Shareofpublicexpendituresovertotal(1331)shareconvgasvstotagg[scenarios]= 1-shareunconvgasvstotagg[scenarios] Units:Dmnl (1332)shareconvoilvstotagg[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

342

1-shareunconvoilvstotagg[scenarios] Units:Dmnl (1333)shareconvvstotalgasextraction[scenarios]= ZIDZ(realextractionconvgasEJ[scenarios],(realextractionconvgasEJ [scenarios]+realextractionunconvgasEJ[scenarios])) Units:EJ Shareofconventionalgasvstotalgasextracted.(1334)shareconvvstotaloilextraction[scenarios]= ZIDZ(realextractionconvoilEJ[scenarios],(realextractionconvoilEJ [scenarios]+realextractionunconvoilEJ[scenarios])) Units:EJ Shareofconventionaloilvstotaloilextracted.(1335)"shareCTL+GTLovercapacity"[scenarios]= ZIDZ(("PotentialFESCTL+GTLEJ"[scenarios]-"FESCTL+GTLEJ"[scenarios]) ,"PotentialFESCTL+GTLEJ"[scenarios]) Units:Dmnl (1336)sharecumdemmaterialstoextractalttechnvstotal[materials,scenarios ]= IFTHENELSE(totalcumulativedemandmaterialstoextractfrom2015[materials ,scenarios]<=0,0,(cummaterialstoextractforalttechnfrom2015[materials ,scenarios])/totalcumulativedemandmaterialstoextractfrom2015[materials ,scenarios]) Units:Dmnl Yearlyshareofcumulativedemandofmaterialstoextractfor alternativetechnologies(RESelec&EVbatteries)vs.total.(1337)Sharedemandbyfuelintransport[scenarios,finalsources]= TotaltransportFEDbyfuel[scenarios,finalsources]/TransportTFED[scenarios ] Units:Dmnl Sharedemandbyfuelintransport(1338)Sharedemandelectricityintransport[scenarios]= Sharedemandbyfuelintransport[scenarios,electricity] Units:Dmnl Shareofelectricityintransport(1339)Sharedemandgasintransport[scenarios]= Sharedemandbyfuelintransport[scenarios,gases] Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

343

Shareofgasintransport(1340)Sharedemandheatintransport[scenarios]= Sharedemandbyfuelintransport[scenarios,heat] Units:Dmnl Sharedemandheatintransport(1341)Sharedemandliquidsintransport[scenarios]= Sharedemandbyfuelintransport[scenarios,liquids] Units:Dmnl Shareofliquidsintransport(1342)Sharedemandsolidsintransport[scenarios]= Sharedemandbyfuelintransport[scenarios,solids] Units:Dmnl Sharedemandsolidsintransport(1343)"shareE-lossesCClogisticfrom2015"[scenarios]= IFTHENELSE(Time<2015,0,MAX(0,MIN(1,"shareE-lossesCClogistic"[scenarios ]-"share-ElossesCClogisticuntil2015"[scenarios]))) Units:Dmnl WeinitializetheshareofenergylossesinrelationtoTFEDto theyear2015((optimistic)assumptionthattherehavenotbeen lossesbefore2015).(1344)"shareE-lossesCClogistic"[scenarios]= 1-1/(1+EXP((CO2ppmconcentrations[scenarios]-alogistic)/blogistic)) Units:Dmnl Logisticequationthatestimatestheshareofenergylossesin relationtoTFEDduetoclimatechangeimpactsgiventhelevel ofCO2concentrationlevels.(1345)"shareE-lossesCC"[scenarios]= IFTHENELSE(Time<2015,0, IFTHENELSE("activateELFallscen?"[scenarios]=0,0, IFTHENELSE("activateELFbyscen?"[scenarios]=0,0, IFTHENELSE(selectionshapeELF=0,0, IFTHENELSE(selectionshapeELF=1,"shareE-lossesCClogisticfrom2015" [scenarios],0))))) Units:Dmnl ShareofenergylossesinrelationtoTFEDduetoclimatechange impacts.(1346)shareefficiencybiogasforelecinCHPplants=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

344

efficiencybiogasforelecCHPplants/(efficiencybiogasforelecCHPplants +efficiencybiogasforheatCHPplants) Units:Dmnl (1347)shareefficiencywasteforelecinCHPplants= efficiencywasteforelecCHPplants/(efficiencywasteforelecCHPplants +efficiencywasteforheatCHPplants) Units:Dmnl (1348)shareElecdemandcoveredbyRES[scenarios]= IFTHENELSE(TotalFEElecdemandTWh[scenarios]>0,FEtotgenerationallRESelecTWh [scenarios]/TotalFEElecdemandTWh[scenarios],0.5) Units:Dmnl ShareoftheelectricitydemandcoveredbyRES.Conditionto avoiderrorwhenthedenominatoriszero(0.5isanarbitrary value).(1349)"shareElec+Hibvehicles"[scenarios]= (NHibLDvehicles[scenarios]+NElecLDvehicles[scenarios])/NTotalLDvehicles [scenarios] Units:Dmnl Shareofelectricity+hibridLDvehicles(1350)shareelectricityvsTFES[scenarios]= realFEconsumptionbyfuel[scenarios,electricity]/SUM(realFEconsumptionbyfuel [scenarios,finalsources!]) Units:Dmnl ShareofelectricityvsTFES.(1351)shareenergyformaterialconsumptionforalttechnvsTFEC[scenarios ]= Totalenergyrequiredfortotalmaterialconsumptionforalttechn[scenarios ]/RealTFEC[scenarios] Units:Dmnl Shareofenergyrequirementsforalternativetechnologies(RES elec&EVBatteries)vsTFES.(1352)shareextramonetinvesttocopewithvariableElecRES[scenarios]= extramonetinvesttocopewithvariableElecRES[scenarios]/TotalmonetinvestRESforelecTdolar [scenarios] Units:**undefined** Shareoftheanualadditionalmonetaryinvestmenttocopewith

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

345

theintermittencyofRES(takingwindasaproxy)inrelationto thetotalinvestmentforRES.(1353)"shareFEDcoalvsNREheat-nc"[scenarios]= ZIDZ("FEDcoalforheat-nc"[scenarios],"FEDNREforheat-nc"[scenarios ]) Units:Dmnl Sharecoalvsnon-renewableenergysourcesfornon-commercial heatgeneration.(1354)"shareFEDgasvsNREheat-nc"[scenarios]= ZIDZ("FEDnat.gasforheat-nc"[scenarios],"FEDNREforheat-nc"[scenarios ]) Units:Dmnl Sharegasvsnon-renewableenergysourcesfornon-commercial heatgeneration.(1355)"ShareFEDheat-comvstotalheat"[scenarios]= "TotalFEDHeat-comEJ"[scenarios]/(TotalFEDHeatEJ[scenarios]+"TotalFEDHeat-comEJ" [scenarios]) Units:Dmnl Shareofcommercialheatinrelationtototalfinalenergyuse forheat.(1356)"shareFEDliquidsvsNREheat-nc"[scenarios]= ZIDZ("FEDoilforheat-nc"[scenarios],"FEDNREforheat-nc"[scenarios] ) Units:Dmnl Shareliquidsvsnon-renewableenergysourcesfornon-commercial heatgeneration.(1357)shareFEHoverFEDbyfinalfuel[electricity,scenarios]= 0*"Deactivateheatdemcorrection?" shareFEHoverFEDbyfinalfuel[heat,scenarios]= 0*"Deactivateheatdemcorrection?" shareFEHoverFEDbyfinalfuel[liquids,scenarios]= shareFEHoverFEDoil*"Deactivateheatdemcorrection?" shareFEHoverFEDbyfinalfuel[gases,scenarios]= "shareFEHoverFEDnat.gas"*"Deactivateheatdemcorrection?" shareFEHoverFEDbyfinalfuel[solids,scenarios]= (share FEH over FED coal+share FEH over FED solid bioE)*"Deactivate heat demcorrection?" Units:Dmnl

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

346

ShareFEHoverFEDbyfinalfuel.(1358)shareFEHoverFEDcoal= GETXLSCONSTANTS('inputs.xlsx','Parameters','K40') Units:Dmnl EstimatedshareofFEHoverFEDforcoalsolids(IEA,2014and owncalculations).GETXLSCONSTANTS('inputs.xlsx', 'Parameters','K40')FEHcoaldelayed[scenarios]/RequiredFEDby fuelbeforeheatcorrection[scenarios,solids](1359)"shareFEHoverFEDnat.gas"= GETXLSCONSTANTS('inputs.xlsx','Parameters','K39') Units:Dmnl EstimatedshareofFEHoverFEDforgases(IEA,2014andown calculations).GETXLSCONSTANTS('inputs.xlsx','Parameters', 'K39')FEHgasdelayed[scenarios]/RequiredFEDbyfuelbefore heatcorrection[scenarios,gases](1360)shareFEHoverFEDoil= GETXLSCONSTANTS('inputs.xlsx','Parameters','K38') Units:Dmnl EstimatedshareofFEHoverFEDforliquids(IEA,2014andown calculations).GETXLSCONSTANTS('inputs.xlsx','Parameters', 'K38')FEHoildelayed[scenarios]/RequiredFEDbyfuelbefore heatcorrection[scenarios,liquids](1361)shareFEHoverFEDsolidbioE= GETXLSCONSTANTS('inputs.xlsx','Parameters','K41') Units:Dmnl EstimatedshareofFEHoverFEDforsolidbioenergyfortheyear 2011(IEA,2014andowncalculations).(1362)sharegasforoilrefinerygains[scenarios]= IFTHENELSE("PEDnat.gaswithoutGTL"[scenarios]>0,demandgasforoilrefinerygains [scenarios]/"PEDnat.gaswithoutGTL"[scenarios],0.5) Units:Dmnl Shareofgastocoveroilrefinerygains.Conditiontoavoid errorwhenthetotaldemandofgaswithoutGTLfallstozero (0.5isanarbitraryvalue).(1363)"sharegas/(coal+gas)forElec"[scenarios]= IFTHENELSE(Time>2014,"futuresharegas/(coal+gas)forElec","Histsharegas/(coal+gas)Elec"

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

347

) Units:Dmnl Shareofnaturalgasforelectricityinrelationtothetotal fossilfuelsforelectricity.(1364)"sharegas/(coal+gas)forheatplants":INTERPOLATE::= GETXLSDATA('inputs.xlsx','Constants','25','H72') Units:Dmnl Shareofnaturalgasforelectricityinrelationtothetotal fossilfuelsforheat(1365)"sharegasesdemforHeat-nc"[scenarios]= ZIDZ("PEDgasHeat-nc"[scenarios],(PESgases[scenarios]-"PEDnat.gasforGTLEJ" [scenarios])) Units:Dmnl Shareofnaturalgasdemandfornon-commercialHeatplantsin relationtothedemandofnaturalfossilgas.(1366)sharegasesforfinalenergy[scenarios]= RequiredFEDbygas[scenarios]/(PEDgases[scenarios]-"PEDnat.gasforGTLEJ" [scenarios]-"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,gases]-Othergasesrequired[scenarios]) Units:Dmnl (1367)sharegasesvsTFES[scenarios]= realFEconsumptionbyfuel[scenarios,gases]/SUM(realFEconsumptionbyfuel [scenarios,finalsources!]) Units:Dmnl ShareofgasesvsTFES.(1368)shareglobalpopdependentontradbiomass[scenarios]= Populationdependentontradbiomass[scenarios]/Population[scenarios] Units:Dmnl (1369)Shareheatdistributionlosses= GETXLSCONSTANTS('inputs.xlsx','Parameters','C77') Units:Dmnl Currentshareofheattransmissionanddistributionlossesin relationtoheatconsumption.Wedefinetheselossesataround 6.5%followinghistoricaldataofIEAdatabase.(1370)shareheatvsTFES[scenarios]= realFEconsumptionbyfuel[scenarios,heat]/SUM(realFEconsumptionbyfuel [scenarios,finalsources!])

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

348

Units:Dmnl ShareofheatvsTFES.(1371)"Shareheat-comCHPplantsNREvsNREtotheat-comgeneration":INTERPOLATE: := GETXLSDATA('inputs.xlsx','Constants','25','H29') Units:Dmnl ShareofcommercialheatproducedinCHPplantsfrom non-renewableenergiesvs.totalcommercialheatgenerationfrom NRE.(1372)shareinventories[sectors]:= GETXLSDATA('inputs.xlsx','Economy','392','B432') Units:Dmnl (1373)shareinventoriesnextstep[sectors]:INTERPOLATE::= GETXLSDATA('inputs.xlsx','Economy','554','C432') Units:Dmnl (1374)Sharelandcompetbiofuels[scenarios]= Landcompetrequireddedicatedcropsforbiofuels[scenarios]/Globalarableland Units:**undefined** Shareofglobalarablelandrequiredbydedicatedcropsfor biofuels(inlandcompetition).(1375)sharelandRESlandcompetvsarable[scenarios]= (Landcompetrequireddedicatedcropsforbiofuels[scenarios]+surfacesolarPVMha [scenarios])/Globalarableland Units:Dmnl LandrequirementsforRESthatcompetewithotherland-uses (solaronlandandbiofuelsonlandcompetition)asashareof theglobalarableland.(1376)sharelandtotalRESvsarable[scenarios]= TotallandrequirementsrenewMha[scenarios]/Globalarableland Units:MHa LandrequirementsforallRESasashareoftheglobalarable land.(1377)sharelandtotalRESvsurbansurface[scenarios]= TotallandrequirementsrenewMha[scenarios]/urbansurface2008 Units:**undefined** LandrequirementsforallRESasashareoftheglobalurban land.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

349

(1378)"shareliquidsdemforHeat-nc"[scenarios]= ZIDZ("PEDliquidsHeat-nc"[scenarios],PESLiquidsEJ[scenarios]) Units:Dmnl Shareofliquidsdemandfornon-commercialHeatplantsin relationtothetotaldemandofliquids.(1379)shareliquidsforfinalenergy[scenarios]= RequiredFEDbyliquidsEJ[scenarios]/(PEDliquidsEJ[scenarios]-"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,liquids]-OtherliquidsrequiredEJ[scenarios]) Units:Dmnl (1380)shareliquidsfotheatplants[scenarios]= IFTHENELSE(Time<2014,Historicshareliquidsforheatplants, IFTHENELSE("reduceoilshareforheat-com?"[scenarios]=1,MAX(0,-0.005936 *(Time)+12.0211),Historicshareliquidsforheatplants)) Units:Dmnl Oilshareofheatdemand.Sincethissharehasbeenfalling globallysincethefirstoilshock,andgiventhedifficulties tosubstituteoilinothersectors(e.g.Transportation)and thattherearemanymoreresourcesthatcansupplyheat,we assumeanexogenouslineardecreasingtrendfortheoilshareof heatdemandtoreach0%around2025.(1381)shareliquidsvsTFES[scenarios]= realFEconsumptionbyfuel[scenarios,liquids]/SUM(realFEconsumptionbyfuel [scenarios,finalsources!]) Units:Dmnl ShareofliquidsvsTFES.(1382)sharematerialscumdemandtoextractvsreservesforRESelec[materials ,scenarios]= IFTHENELSE(currentmineralreservesMt[materials]=0,0,cummaterialstoextractforalttechnfrom2015 [materials,scenarios]/currentmineralreservesMt[materials]) Units:Dmnl ShareofmaterialscumulativedemandtoextractinminesforRES elecvsreservesofeachmaterial.(1383)sharematerialscumdemandtoextractvsresourcesforRESelec[materials ,scenarios]= IFTHENELSE(currentmineralresourcesMt[materials]=0,0,cummaterialstoextractforalttechnfrom2015

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

350

[materials,scenarios]/currentmineralresourcesMt[materials]) Units:Dmnl ShareofmaterialscumulativedemandtoextractinminesforRES elecvsresourcesofeachmaterial.(1384)sharemineralsconsumptionalttechnvstotaleconomy[materials,scenarios ]= ZIDZ("TotalmaterialsrequiredforRESelec+EVbatteriesMt"[materials ,scenarios],(MineralsconsumptionestimationRestcterr[materials,scenarios ]+"TotalmaterialsrequiredforRESelec+EVbatteriesMt"[materials,scenarios ])) Units:Dmnl (1385)"sharenat.gasdemforElec"[scenarios]= IFTHENELSE("PEDnat.gasEJ"[scenarios]>0,PEdemandgasElecplantsEJ [scenarios]/"PEDnat.gasEJ"[scenarios],0) Units:Dmnl Shareofnaturalgasdemandtocoverelectricityconsumption.(1386)"sharenat.gasdemforHeat-com"[scenarios]= IFTHENELSE("PEDnat.gasEJ"[scenarios]>0,PEDgasesforHeatplantsEJ [scenarios]/"PEDnat.gasEJ"[scenarios],0) Units:Dmnl ShareofnaturalgasdemandforcommercialHeatplantsin relationtothedemandofnaturalfossilgas.(1387)shareofelectricLDvehicles[scenarios]= NElecLDvehicles[scenarios]/NTotalLDvehicles[scenarios] Units:Dmnl ShareofelectricLDvehicles(1388)shareofheatproductioninCHPplantsvstotalnucelarelecgeneration = GETXLSCONSTANTS('inputs.xlsx','Parameters','G60') Units:Dmnl ShareofheatproductioninCHPplantsvstotalnucelarelec generation.(1389)shareoildemforElec[scenarios]= IFTHENELSE(PEDtotaloilEJ[scenarios]>0,PEdemandoilElecplantsEJ[ scenarios]/PEDtotaloilEJ[scenarios],0) Units:Dmnl Shareofoildemandtocoverelectricityconsumption.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

351

(1390)"shareoildemforHeat-com"[scenarios]= IFTHENELSE(PEDtotaloilEJ[scenarios]>0,PEDoilforHeatplantsEJ[scenarios ]/PEDtotaloilEJ[scenarios],0) Units:Dmnl ShareofoildemandforcommercialHeatplantsinrelationto thetotaldemandofoil.(1391)shareoilforElec[scenarios]= IFTHENELSE(Time<2010,HistshareoilElec, IFTHENELSE("reduceoilshareforelectricity?"[scenarios]=1,MAX(-0.0029251 *Timedmnl[scenarios](Time)+5.91871,0),HistshareoilElec)) Units:Dmnl Oilshareofelectricitydemand.Sincethissharehasbeen fallinggloballysincethefirstoilshock,andgiventhe difficultiestosubstituteoilinothersectors(e.g. Transportation)andthattherearemanymoreresourcesthatcan supplyelectricity,weassumeanexogenouslineardecreasing trendfortheoilshareofelectricitydemandtoreach0%around 2025.SeeTechnicalReport.IFTHENELSE(Time>2010, MAX(-0.0029251*Timedmnl[scenarios](Time)+5.91871,0),Histshare oilElec)(1392)shareothercumulativedemandtoextractvsreservesmaterials[materials ,scenarios]= IFTHENELSE(currentmineralreservesMt[materials]<=0,0,cummaterialstoextractRestfrom2015 [materials,scenarios]/currentmineralreservesMt[materials]) Units:Dmnl Yearlyshareofothercumulativedemandtobeextractedinmines ofmaterialsvs.reserves.(1393)shareothercumulativedemandtoextractvsresourcesmaterials[materials ,scenarios]= IFTHENELSE(currentmineralresourcesMt[materials]<=0,0,cummaterialstoextractRestfrom2015 [materials,scenarios]/currentmineralresourcesMt[materials]) Units:Dmnl Yearlyshareofothercumulativedemandtobeextractedinmines ofmaterialsvs.resources.(1394)sharePESbiogasforCHP= GETXLSCONSTANTS('inputs.xlsx','Parameters','G81') Units:Dmnl ShareofPESbiogasforCHPplants.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

352

(1395)sharePESbiogasforelec[scenarios]= PEStotbiogasforelec[scenarios]/PESBiogasEJ[scenarios] Units:Dmnl (1396)sharePESbiogasforelecplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','G80') Units:Dmnl ShareofPESbiogasforelecplants.(1397)sharePESbiogasforheat[scenarios]= "PEStotbiogasforheat-com"[scenarios]/PESBiogasEJ[scenarios] Units:Dmnl (1398)"sharePESbiogasforheat-complants"= GETXLSCONSTANTS('inputs.xlsx','Parameters','G79') Units:Dmnl ShareofPESbiogasforcommercialheatplants.(1399)sharePESbiogasTFC= GETXLSCONSTANTS('inputs.xlsx','Parameters','G82') Units:Dmnl ShareofPESbiogasfortotalfinalconsumption.(1400)sharePESwasteforCHP= GETXLSCONSTANTS('inputs.xlsx','Parameters','C81') Units:Dmnl ShareofPESwasteforCHPplants.(1401)sharePESwasteforelecplants= GETXLSCONSTANTS('inputs.xlsx','Parameters','C80') Units:Dmnl ShareofPESwasteforelecplants.(1402)"sharePESwasteforheat-complants"= GETXLSCONSTANTS('inputs.xlsx','Parameters','C79') Units:Dmnl ShareofPESwasteforcommercialheatplants.(1403)sharePESwasteTFC= GETXLSCONSTANTS('inputs.xlsx','Parameters','C82') Units:Dmnl ShareofPESwastefortotalfinalconsumption.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

353

(1404)shareRESelectricitygeneration[scenarios]= FEtotgenerationallRESelecTWh[scenarios]/TotalFEElecgenerationTWh [scenarios] Units:Dmnl ShareofRESintheelectricitygeneration.(1405)shareRESforElecvsTPERES[scenarios]= PEElecgenerationfromRESEJ[scenarios]/("PEsupplyRESnon-ElecEJ"[scenarios ]+PEElecgenerationfromRESEJ[scenarios]) Units:Dmnl ShareofRESforelectricityinrelationtoTPERES.(1406)shareRESheatgeneration[scenarios]= FESRESforheatEJ[scenarios]/TotalFEHeatgenerationEJ[scenarios] Units:Dmnl ShareofRESinthetotalheatgeneration.(1407)shareRESvsTFEC[scenarios]= ZIDZ(TFECRESEJ[scenarios],RealTFEC[scenarios]) Units:Dmnl ShareoftotalfinalenergyconsumptionfromRESoverthetotal.(1408)shareRESvsTFECdelayed1yr[scenarios]=DELAYFIXED( shareRESvsTFEC[scenarios],1,0.1614) Units:Dmnl (1409)shareRESvsTPES[scenarios]= TPEfromRESEJ[scenarios]/TPESEJ[scenarios] Units:Dmnl ShareofprimaryenergyfromRESintheTPES.(1410)shareRESvsTPESdelayed1yr[scenarios]=DELAYFIXED( shareRESvsTPES[scenarios],1,0.123) Units:Dmnl (1411)shareRURRcoaltoleaveunderground[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C131') shareRURRcoaltoleaveunderground[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C131') shareRURRcoaltoleaveunderground[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C131') shareRURRcoaltoleaveunderground[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C131') shareRURRcoaltoleaveunderground[SCEN4]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

354

GETXLSCONSTANTS('inputs.xlsx','SCEN4','C131') shareRURRcoaltoleaveunderground[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C131') Units:Dmnl RURR'scoaltobeleftinthegroundasashareoftheRURRin theyear2015.(1412)shareRURRconvgastoleaveunderground[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C127') shareRURRconvgastoleaveunderground[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C127') shareRURRconvgastoleaveunderground[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C127') shareRURRconvgastoleaveunderground[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C127') shareRURRconvgastoleaveunderground[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C127') shareRURRconvgastoleaveunderground[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C127') Units:Dmnl RURR'sconventionalgastobeleftinthegroundasashareof theRURRintheyear2015.(1413)shareRURRconvoiltoleaveunderground[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C123') shareRURRconvoiltoleaveunderground[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C123') shareRURRconvoiltoleaveunderground[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C123') shareRURRconvoiltoleaveunderground[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C123') shareRURRconvoiltoleaveunderground[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C123') shareRURRconvoiltoleaveunderground[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C123') Units:Dmnl RURR'sconventionaloiltobeleftinthegroundasashareof theRURRintheyear2015.(1414)shareRURRtotagggastoleaveunderground[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F128') shareRURRtotagggastoleaveunderground[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F128') shareRURRtotagggastoleaveunderground[SCEN2]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

355

GETXLSCONSTANTS('inputs.xlsx','SCEN2','F128') shareRURRtotagggastoleaveunderground[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F128') shareRURRtotagggastoleaveunderground[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F128') shareRURRtotagggastoleaveunderground[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F128') Units:Dmnl RURR'stotalaggregatednaturalgastobeleftinthegroundas ashareoftheRURRintheyear2015.(1415)shareRURRtotaggoiltoleaveunderground[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F124') shareRURRtotaggoiltoleaveunderground[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F124') shareRURRtotaggoiltoleaveunderground[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F124') shareRURRtotaggoiltoleaveunderground[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F124') shareRURRtotaggoiltoleaveunderground[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F124') shareRURRtotaggoiltoleaveunderground[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F124') Units:Dmnl RURR'stotalaggregatoidoiltobeleftinthegroundasashare oftheRURRintheyear2015.(1416)shareRURRunconvgastoleaveunderground[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C129') shareRURRunconvgastoleaveunderground[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C129') shareRURRunconvgastoleaveunderground[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C129') shareRURRunconvgastoleaveunderground[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C129') shareRURRunconvgastoleaveunderground[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C129') shareRURRunconvgastoleaveunderground[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C129') Units:Dmnl RURR'sunconventionalnaturalgastobeleftinthegroundasa shareoftheRURRintheyear2015.(1417)shareRURRunconvoiltoleaveunderground[BAU]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

356

GETXLSCONSTANTS('inputs.xlsx','BAU','C125') shareRURRunconvoiltoleaveunderground[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C125') shareRURRunconvoiltoleaveunderground[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C125') shareRURRunconvoiltoleaveunderground[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C125') shareRURRunconvoiltoleaveunderground[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C125') shareRURRunconvoiltoleaveunderground[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C125') Units:Dmnl RURR'sunconventionaloiltobeleftinthegroundasashareof theRURRintheyear2015.(1418)sharesolidsforfinalenergy[scenarios]= RequiredFEDsolids[scenarios]/(PEDsolids[scenarios]-PEDcoalforCTLEJ [scenarios]-"E-lossesbyfinalfuelduetoCCimpacts" [scenarios,solids]-Othersolidsrequired[scenarios]) Units:Dmnl Shareoffinalenergyvsprimaryenergyforsolids.(1419)sharesolidsvsTFES[scenarios]= realFEconsumptionbyfuel[scenarios,solids]/SUM(realFEconsumptionbyfuel [scenarios,finalsources!]) Units:Dmnl ShareofsolidsvsTFES.(1420)sharetotcumdemvsreservesmaterials[materials,scenarios]= IFTHENELSE(currentmineralreservesMt[materials]<=0,0,totalcumulativedemandmaterialstoextractfrom2015 [materials,scenarios]/currentmineralreservesMt[materials]) Units:Dmnl Yearlyshareoftotalcumulativedemandofmaterialsvs. reserves.(1421)sharetotcumdemvsresourcesmaterials[materials,scenarios]= IFTHENELSE(currentmineralresourcesMt[materials]<=0,0,totalcumulativedemandmaterialstoextractfrom2015 [materials,scenarios]/currentmineralresourcesMt[materials]) Units:Dmnl Yearlyshareoftotalcumulativedemandofmaterialsvs. resources.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

357

(1422)sharetotmonetinvestElecRESvsGDP[scenarios]= TotalmonetinvestRESforelecTdolar[scenarios]/GDP[scenarios] Units:1/Year AnnualtotalmonetaryinvestmentforRESforelectricityasa shareoftheannualGDP.(1423)sharetradbiomassvssolidsinhouseholds= GETXLSCONSTANTS('inputs.xlsx','Parameters','G33') Units:Dmnl (1424)"sharetransm&distreleclossesinitial"= GETXLSCONSTANTS('inputs.xlsx','Parameters','C54') Units:Dmnl Currentshareofelectricaltransmissionanddistributionlosses inrelationtoelectricityconsumption.Wedefinetheselosses ataround9.5%followinghistoricaldata.(1425)"sharetransm&distreleclosses"[scenarios]=INTEG( "variationsharetransm&distreleclosses"[scenarios], "sharetransm&distreleclossesinitial") Units:Dmnl Evolutionovertimeoftheshareoftransmissionand distributionlossesofelectricity.Itisassumedthatthese lossesincreaseovertimeastheshareofRESincreaseinthe electricitymix.(1426)shareunconvgasvstotagg[scenarios]= IFTHENELSE(Time>2012,MIN(evolutionshareunconvgasvstotagg[scenarios ],1),Historicunconvgas/"PEDnat.gasEJ"[scenarios]) Units:Dmnl Evolutionoftheshareofunconventionalgasvstotalaggregated gas.(1427)shareunconvgasvstotaggin2050[scenarios]= IFTHENELSE(chooseextractiontotagggascurve[scenarios]=1,shareunconvgasvstotaggin2050Lahèrrere2010 , IFTHENELSE(chooseextractiontotagggascurve[scenarios]=2,shareunconvgasvstotaggin2050Mohr12BG ,shareunconvgasvstotaggin2050Userdefined)) Units:Dmnl Shareofunconventionalgasvstotalaggregatedgasin2050 dependingonthemaximumextractioncurveselectedfortotal aggregatedgas.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

358

(1428)shareunconvgasvstotaggin2050Lahèrrere2010= GETXLSCONSTANTS('inputs.xlsx','Constants','B153') Units:Dmnl (1429)shareunconvgasvstotaggin2050Mohr12BG= GETXLSCONSTANTS('inputs.xlsx','Constants','B155') Units:Dmnl (1430)shareunconvgasvstotaggin2050Userdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','B150') Units:Dmnl (1431)shareunconvoilvstotagg[scenarios]= IFTHENELSE(Time>2012,MIN(evolutionshareunconvoilvstotagg[scenarios ],1),Historicunconvoil/PEDtotaloilEJ[scenarios]) Units:Dmnl Evolutionoftheshareofunconventionaloilvstotalaggregated oil.(1432)shareunconvoilvstotaggin2050[scenarios]= IFTHENELSE(chooseextractioncurvetotaggoil[scenarios]=1,shareunconvoilvstotaggin2050Lahèrrere2006 ,shareunconvoilvstotaggin2050Userdefined) Units:Dmnl Shareofunconventionaloilvstotalaggregatedoilin2050 dependingonthemaximumextractioncurveselectedfortotal aggregatedoil.(1433)shareunconvoilvstotaggin2050Lahèrrere2006= GETXLSCONSTANTS('inputs.xlsx','Constants','B138') Units:Dmnl (1434)shareunconvoilvstotaggin2050Userdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','B143') Units:Dmnl (1435)SharevariableRESelecgenerationvstotal[scenarios]= IFTHENELSE((FEElecgenerationfromNRETWh[scenarios]+ElecgenerationvariablefromRESTWh [scenarios]+"Elec generation base-load from RES TWh"[scenarios])>0, Elec generationvariablefromRESTWh [scenarios]/(FEElecgenerationfromNRETWh[scenarios]+ElecgenerationvariablefromRESTWh

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

359

[scenarios]+"Elecgenerationbase-loadfromRESTWh"[scenarios]),0.5) Units:Dmnl Shareofvariablevs.totalelectricitygeneration.Conditionto avoiderrorwhenthedenominatoriszero(0.5isanarbitrary value).(1436)SharevariableRESelecgenerationvstotalgen[scenarios]=INTEG( increasevariableRESshareelecvstotalgeneration[scenarios], initialsharevariableRESelecgenvstotal) Units:Dmnl SharevariableRESelectricitygenerationvstotalelectricity generation.Samevariableas"sharevariableRESelecgeneration vstotal"butintroducedasstockinordertoavoidsimultaneous equations.(1437)SharevariableRESelecvstotalgenerationdelayed1yr[scenarios]= DELAYFIXED( SharevariableRESelecgenerationvstotal[scenarios],1,0.0071) Units:Dmnl "SharevariableRESelecgenerationvstotal"delayed1year.(1438)"share-ElossesCClogisticuntil2015"[scenarios]= IFTHENELSE(Time<2015,"shareE-lossesCClogistic"[scenarios],aux1[scenarios ]) Units:Dmnl ShareofenergylossesinrelationtoTFEDduetoclimatechange impactsuntiltheyear2015.(1439)"ShortagecoefwithoutMINwithoutE-losses"[scenarios,finalsources ]= realFEconsumptionbyfuelbeforeheatcorrection[scenarios,finalsources ]/RequiredFEDbyfuelbeforeheatcorrection[scenarios,finalsources] Units:Dmnl ***Variabletotesttheconsistencyofthemodeling.ITCAN NEVERBE>1!(thatwouldmeanconsumption>demand.***(1440)SlowimplemenationpolicyMLT2=WITHLOOKUP( (Time-2040), ([(0,0)-(10,1)],(0,0),(1.95719,0.0307018),(3.42508,0.0877193),(5.71865,0.184211 ),(7.21713,0.289474),(8.59327,0.464912),(9.57187,0.741228),(9.78593,0.837719 ),(10,1))) Units:**undefined**

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

360

(1441)SlowimplemenationpolicyMLT2H=WITHLOOKUP( (Time-2040), ([(0,0)-(10,1)],(0,0),(1.95719,0.0307018),(3.42508,0.0877193),(5.71865,0.184211 ),(7.21713,0.289474),(8.59327,0.464912) ,(9.57187,0.741228),(9.78593,0.837719),(10,1))) Units:**undefined** (1442)SlowimplementationpolicyMLT1=WITHLOOKUP( (Time-2030), ([(0,0)-(20,1)],(0,0),(3.48624,0.0263158),(7.33945,0.0745614),(11.3761,0.114035 ),(13.5168,0.149123),(16.2691,0.289474),(18.2263,0.535088),(19.5719,0.745614 ),(20,1))) Units:**undefined** (1443)SlowimplementationpolicyMLT1H=WITHLOOKUP( (Time-2030), ([(0,0)-(20,1)],(0,0),(3.48624,0.0263158),(7.33945,0.0745614),(11.3761,0.114035 ),(13.5168,0.149123),(16.2691,0.289474) ,(18.2263,0.535088),(19.5719,0.745614),(20,1))) Units:**undefined** (1444)SlowimplementationpolicyOT=WITHLOOKUP( (Time-2020), ([(0,0)-(30,1)],(0,0),(7.24771,0.0438596),(13.4862,0.0964912),(19.0826,0.175439 ),(23.578,0.276316),(26.422,0.447368),(28.0734,0.692982),(30,1))) Units:**undefined** (1445)SlowimplementationpolicyOTH=WITHLOOKUP( (Time-2020), ([(0,0)-(30,1)],(0,0),(7.24771,0.0438596),(13.4862,0.0964912),(19.0826,0.175439 ),(23.578,0.276316),(26.422,0.447368),( 28.0734,0.692982),(30,1))) Units:**undefined** (1446)solidbiofuelsemissionsrelevantEJ[scenarios]= PEbioEforElecgenerationEJ[scenarios]+"PESRESforheat-combytechn" ["solidbioE-heat",scenarios]+"PESRESforheat-ncbytechn"["solidbioE-heat" ,scenarios] Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

361

SolidsbiofuelsprimaryenergysupplyforestimatingtheCO2 emissions(weassumetheXO2emissionsfromtraditionalbiomass arealreadyincludedinland-usechangeemissions).(1447)Startpolicyleaveingroundcoal[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C130') Startpolicyleaveingroundcoal[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C130') Startpolicyleaveingroundcoal[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C130') Startpolicyleaveingroundcoal[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C130') Startpolicyleaveingroundcoal[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C130') Startpolicyleaveingroundcoal[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C130') Units:Year Yearwhenthepolicytoleaveinthegroundanamountofcoal RURRentersintoforce.(1448)Startpolicyleaveingroundconvgas[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C126') Startpolicyleaveingroundconvgas[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C126') Startpolicyleaveingroundconvgas[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C126') Startpolicyleaveingroundconvgas[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C126') Startpolicyleaveingroundconvgas[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C126') Startpolicyleaveingroundconvgas[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C126') Units:Year Yearwhenthepolicytoleaveinthegroundanamountof conventionalgasRURRentersintoforce.(1449)Startpolicyleaveingroundconvoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C122') Startpolicyleaveingroundconvoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C122') Startpolicyleaveingroundconvoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C122') Startpolicyleaveingroundconvoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C122')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

362

Startpolicyleaveingroundconvoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C122') Startpolicyleaveingroundconvoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C122') Units:Year Yearwhenthepolicytoleaveinthegroundanamountof conventionaloilRURRentersintoforce.(1450)Startpolicyleaveingroundtotagggas[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F126') Startpolicyleaveingroundtotagggas[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F126') Startpolicyleaveingroundtotagggas[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F126') Startpolicyleaveingroundtotagggas[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F126') Startpolicyleaveingroundtotagggas[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F126') Startpolicyleaveingroundtotagggas[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F126') Units:Year Yearwhenthepolicytoleaveinthegroundanamountoftotal aggregatedgasRURRentersintoforce.(1451)Startpolicyleaveingroundtotaggoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','F122') Startpolicyleaveingroundtotaggoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','F122') Startpolicyleaveingroundtotaggoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','F122') Startpolicyleaveingroundtotaggoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','F122') Startpolicyleaveingroundtotaggoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','F122') Startpolicyleaveingroundtotaggoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','F122') Units:Year Yearwhenthepolicytoleaveinthegroundanamountoftotal aggregatedoilRURRentersintoforce.(1452)Startpolicyleaveingroundunconvgas[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C128') Startpolicyleaveingroundunconvgas[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C128')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

363

Startpolicyleaveingroundunconvgas[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C128') Startpolicyleaveingroundunconvgas[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C128') Startpolicyleaveingroundunconvgas[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C128') Startpolicyleaveingroundunconvgas[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C128') Units:Year Yearwhenthepolicytoleaveinthegroundanamountof unconventionalgasRURRentersintoforce.(1453)Startpolicyleaveingroundunconvoil[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C124') Startpolicyleaveingroundunconvoil[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C124') Startpolicyleaveingroundunconvoil[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C124') Startpolicyleaveingroundunconvoil[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C124') Startpolicyleaveingroundunconvoil[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C124') Startpolicyleaveingroundunconvoil[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C124') Units:Year Yearwhenthepolicytoleaveinthegroundanamountof unconventionaloilRURRentersintoforce.(1454)startproductionbiofuels= GETXLSLOOKUPS('inputs.xlsx','Parameters','28','B29') Units:ktoe/Year Exogenousstartproductionscenariofromtheyear"startyear biofuelslandmarg".Itmimicsthebiofuel2ndgeneration deploymentfromtheyear2000.(1455)startyear3gen[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C43') startyear3gen[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C43') startyear3gen[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C43') startyear3gen[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C43') startyear3gen[SCEN4]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

364

GETXLSCONSTANTS('inputs.xlsx','SCEN4','C43') startyear3gen[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C43') Units:Year Firstyearwhen3rdgenerationbiofuelsareavailable.(1456)"startyearBioEresiduesforheat+elec"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C47') "startyearBioEresiduesforheat+elec"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C47') "startyearBioEresiduesforheat+elec"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C47') "startyearBioEresiduesforheat+elec"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C47') "startyearBioEresiduesforheat+elec"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C47') "startyearBioEresiduesforheat+elec"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C47') Units:Year Firstyearwhenthetechnologyisavailable.(1457)startyearbiofuelslandmarg[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C45') startyearbiofuelslandmarg[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C45') startyearbiofuelslandmarg[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C45') startyearbiofuelslandmarg[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C45') startyearbiofuelslandmarg[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C45') startyearbiofuelslandmarg[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C45') Units:Year Firstyearwhenthetechnology"biofuelslandmarg"isavailable.(1458)startyearcellulosicbiofuels[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C50') startyearcellulosicbiofuels[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C50') startyearcellulosicbiofuels[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C50') startyearcellulosicbiofuels[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C50')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

365

startyearcellulosicbiofuels[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C50') startyearcellulosicbiofuels[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C50') Units:Year Firstyearwhenthetechnologyisavailable.(1459)"startyearnucleargrowthscen3-4"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','H22') "startyearnucleargrowthscen3-4"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','H22') "startyearnucleargrowthscen3-4"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','H22') "startyearnucleargrowthscen3-4"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','H22') "startyearnucleargrowthscen3-4"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','H22') "startyearnucleargrowthscen3-4"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','H22') Units:Year Startyearofincrease/phase-outofnuclearpowerplants (Nuclearscenarios3and4).(1460)"static/dynamicqualityofelectricity?"= 0 Units:Dmnl Thisvariablecontrolsthemethodofcalculationofthe parameter"qualityofelectricity"fromstatic(2015value)or dynamic(MEDEASendogenouscalculation:1.StaticEROI calculation(2015value)0.DynamicEROIcalculation(endogenous MEDEAS)(1461)sum4wshares[scenarios]= percentsHvehicles[scenarios,hib4wheels]+percentsHvehicles[scenarios, elec4wheels]+percentsHvehicles[scenarios,gas4wheels] Units:Dmnl (1462)sumvariation[scenarios]= SUM(variationdemandflowFD[scenarios,sectors!]) Units:Mdollars/Year Variationoftotalfinaldemand(1463)surfaceCSPMha[scenarios]= surfaceRESelec[CSP,scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

366

Units:MHa ArearequiredforCSP.(1464)surfacehydroMha[scenarios]= surfaceRESelec[hydro,scenarios] Units:MHa Surfacerequiredbyhydropowerplants.(1465)surfaceonshorewindMha[scenarios]= surfaceRESelec[windonshore,scenarios] Units:MHa Surfacerequiredtoproduce"onshorewindTWe".(1466)surfaceRESelec[RESelec,scenarios]= IFTHENELSE("powerdensityRESelecTW/Mha"[RESelec]=0,0,installedcapacityRESelecTW [RESelec,scenarios]/"powerdensityRESelecTW/Mha"[RESelec]) Units:MHa (1467)surfacesolarPVMha[scenarios]= surfaceRESelec[solarPV,scenarios] Units:MHa ArearequiredforsolarPVplantsonland.(1468)ThistHtransp[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C175') ThistHtransp[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C175') ThistHtransp[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C175') ThistHtransp[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C175') ThistHtransp[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C175') ThistHtransp[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C175') Units:**undefined** Yearusedtocalibratethehistoricalgrowthofvehicles,2015(1469)tperGt= GETXLSCONSTANTS('inputs.xlsx','Constants','C13') Units:TonC/GtC ConversionfromtonestoGigatonnesofcarbon.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

367

(1470)Tperx= GETXLSCONSTANTS('inputs.xlsx','Constants','G20') Units:Dmnl 1e12=1T(1471)TpolicyHveh[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C173') TpolicyHveh[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C173') TpolicyHveh[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C173') TpolicyHveh[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C173') TpolicyHveh[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C173') TpolicyHveh[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C173') Units:Year Timewhenpoliciesofchangeinpercentagesofhousehold vehiclesstart(1472)tablehistcapacityRESelec[hydro]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H174')) tablehistcapacityRESelec["geot-elec"]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H175')) tablehistcapacityRESelec["solidbioE-elec"]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H176')) tablehistcapacityRESelec[oceanic]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H177')) tablehistcapacityRESelec[windonshore]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H178')) tablehistcapacityRESelec[windoffshore]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H179')) tablehistcapacityRESelec[solarPV]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H180')) tablehistcapacityRESelec[CSP]( GETXLSLOOKUPS('inputs.xlsx','Constants','172','H181')) Units:TW/Year (1473)tablemaxconvoilextractionUserdefined( GETXLSLOOKUPS('inputs.xlsx','Userdefined','139','E140')) Units:EJ/Year (1474)tablemaxextractionASPOoilEJ[scenarios](

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

368

[(0,0)-(13200,200)],(0,0),(600,29.9783),(1200,46.7403),(1800,59.4953),(2400 ,71.3603),(3000,84.9357),(3600,96.0997),(4200,107.465),(4800,118.46),(5400 ,127.537),(6000,137.018),(6600,145.888),(7200,152.005),(7800,156.288),(8400 ,162.47),(9000,166.659),(9600,171.044),(10200,171.044),(10800,171.044),(11400 ,171.044),(12000,171.044),(12600,171.044),(13200,171.044)) Units:EJ/Year CurvaASPOdeextraccióndeoilhasta2050.Unidades:EJ.Para lospuntosapartirdel2050seharealizadounaexponencial negativahastaanularlasreservasen2100./*Consideracrudey unconvencionaloil,asíqueunavezseparadonovaleesta tabla*/(1475)tablemaxextractioncoalBGMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','162','E163')) Units:EJ/Year (1476)tablemaxextractioncoalHighMohr15= GETXLSLOOKUPS('inputs.xlsx','Constants','164','E165') Units:EJ/Year (1477)tablemaxextractioncoalLowMohr15= GETXLSLOOKUPS('inputs.xlsx','Constants','160','E161') Units:EJ/Year (1478)tablemaxextractioncoalMohr2012EJ( GETXLSLOOKUPS('inputs.xlsx','Constants','158','E159')) Units:EJ/Year Curva[Mohr2012]HighCase.updatede[Mohr2009](1479)tablemaxextractioncoalUserdefined( GETXLSLOOKUPS('inputs.xlsx','Userdefined','153','E154')) Units:EJ/Year (1480)tablemaxextractionconvgasBGMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','145','E146')) Units:EJ/Year (1481)tablemaxextractionconvgasHighMohr15= GETXLSLOOKUPS('inputs.xlsx','Constants','143','E144') Units:EJ/Year (1482)tablemaxextractionconvgasLowMohr15= GETXLSLOOKUPS('inputs.xlsx','Constants','141','E142') Units:EJ/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

369

(1483)tablemaxextractionconvgasUserdefined( GETXLSLOOKUPS('inputs.xlsx','Userdefined','146','E147')) Units:EJ/Year (1484)tablemaxextractiongasLaherrere2010[scenarios]( [(0,0)-(13000,175)],(0,0),(500,23.8621),(1000,44.631),(1500,62.3067),(2000 ,77.7729),(2500,93.8891),(3000,107.821),(3500,119.752),(4000,129.033),(4500 ,137.87),(5000,144.16),(5500,148.917),(6000,151.78),(6500,152.895),(7000,152.895 ),(7500,152.895),(8000,152.895),(8500,152.895),(9000,152.895),(9500,152.895 ),(10000,152.895),(10500,152.895),(11000,152.895),(11500,152.895),(12000,152.895 ),(12500,152.895),(13000,152.895)) Units:EJ/Year CurvaLaherrere2010deextraccióndegashasta2100.Unidades: EJ.Paralospuntosapartirdel2100seharealizadouna exponencialnegativahastaanularlasreservasen2120.(1485)tablemaxextractiongasMohrBG2012[scenarios]( [(0,0)-(20000,200)],(0,0),(1000,27.4739),(2000,42.1041),(3000,51.2745),(4000 ,58.1215),(5000,69.3726),(6000,79.5334),(7000,99.1636),(8000,115.575),(9000 ,128.798),(10000,138.387),(11000,147.465),(12000,150.753),(13000,157.008), (14000,159.247),(15000,159.247),(16000,159.247),(17000,159.247),(18000,159.247 ),(19000,159.247),(20000,159.247)) Units:EJ/Year CurvaMohrBG2012deextraccióndegashasta2100.Unidades:EJ.(1486)tablemaxextractiongasMohrHigh2012[scenarios]( [(0,0)-(30000,200)],(0,0),(1500,36.4477),(3000,58.3656),(4500,72.8198),(6000 ,98.5),(7500,130.439),(9000,159.979),(10500,177.268),(12000,190.383),(13500 ,194.052),(15000,194.197),(16500,194.197),(18000,194.197),(19500,194.197), (21000,194.197),(22500,194.197),(24000,194.197),(25500,194.197),(27000,194.197 ),(28500,194.197)) Units:EJ/Year CurvaMohrHighcase2013deextraccióndegashasta2100. Unidades:EJ.(1487)tablemaxextractionMaggio12HighconvoilEJ( GETXLSLOOKUPS('inputs.xlsx','Constants','130','E131')) Units:EJ/Year [Maggio2012].Oilconventional+NGLs.HighscenarioconURR=3000 Gb.(1488)tablemaxextractionMaggio12LowconoilEJ= GETXLSLOOKUPS('inputs.xlsx','Constants','126','E127')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

370

Units:EJ/Year (1489)tablemaxextractionMaggio12middleconvoilEJ( GETXLSLOOKUPS('inputs.xlsx','Constants','128','E129')) Units:EJ/Year [Maggio2012].Oilconventional+NGLs.ScenarioconURR=2600 Gb.(Middlescenario)(1490)tablemaxextractiontotaggoilLahèrrere2006= GETXLSLOOKUPS('inputs.xlsx','Constants','138','E139') Units:EJ/Year (1491)tablemaxextractiontotaggoilUserdefined= GETXLSLOOKUPS('inputs.xlsx','Userdefined','143','E144') Units:EJ/Year (1492)tablemaxextractiontotalgasBGMohr12= GETXLSLOOKUPS('inputs.xlsx','Constants','155','E156') Units:EJ/Year (1493)tablemaxextractiontotalgasLaherrère10= GETXLSLOOKUPS('inputs.xlsx','Constants','153','E154') Units:EJ/Year (1494)tablemaxextractiontotalgasUserdefined= GETXLSLOOKUPS('inputs.xlsx','Userdefined','150','E151') Units:EJ/Year (1495)tablemaxextractionunconvgasBGMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','147','E148')) Units:EJ/Year (1496)tablemaxextractionunconvgasHighMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','149','E150')) Units:EJ/Year (1497)tablemaxextractionunconvgasLowMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','151','E152')) Units:EJ/Year (1498)tablemaxextractionunconvgasUserdefined( GETXLSLOOKUPS('inputs.xlsx','Userdefined','148','E149')) Units:EJ/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

371

(1499)tablemaxextractionunconvoilBGMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','132','E133')) Units:EJ/Year (1500)tablemaxextractionunconvoilHighMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','134','E135')) Units:EJ/Year (1501)tablemaxextractionunconvoilLowMohr15( GETXLSLOOKUPS('inputs.xlsx','Constants','136','E137')) Units:EJ/Year (1502)tablemaxextractionunconvoilUserdefined( GETXLSLOOKUPS('inputs.xlsx','Userdefined','141','E142')) Units:EJ/Year (1503)tablemaxextractionuraniumEWG13EJ( GETXLSLOOKUPS('inputs.xlsx','Constants','169','E170')) Units:EJ/Year [EWG2013](1504)tablemaxextractionuraniumuserdefined= GETXLSLOOKUPS('inputs.xlsx','Userdefined','156','E157') Units:EJ/Year (1505)tablemaxextractionuraniumZittel12= GETXLSLOOKUPS('inputs.xlsx','Constants','167','E168') Units:EJ/Year (1506)Tempchange2C= 2 Units:DegreesC Temperaturechangeof2Casreference.(1507)TempDiff[scenarios]= AtmosUOceanTemp[scenarios]-DeepOceanTemp[scenarios] Units:DegreesC TemperatureDifferencebetweenUpperandDeepOcean(degreesC)(1508)Temperaturechange[scenarios]= AtmosUOceanTemp[scenarios] Units:DegreesC Itcorrespondswiththevariable"AtmosUOceanTemp"thatitis notrenamedinordertokeeptheoriginalnomenclaturefromDICE.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

372

(1509)testconstr[RESelec,scenarios]= ZIDZ(SUM(CEDnewcappermaterialRESelecvar[RESelec,materials!,scenarios ]),newcapacityinstalledRESelecTW [RESelec,scenarios]) Units:EJ/TW (1510)testirrestandoalEROIpou= 4 Units:**undefined** (1511)"testO&M"[RESelec,scenarios]= ZIDZ(SUM("CEDO&MoverlifetimepermaterialRESelecvar"[RESelec,materials !,scenarios]),newcapacityinstalledRESelecTW [RESelec,scenarios]) Units:EJ/TW (1512)TFECfromRESpercapita[scenarios]= ZIDZ(TFECRESEJ[scenarios]*GJperEJ,Population[scenarios]) Units:GJ/person (1513)TFECpercapita[scenarios]= ZIDZ(RealTFEC[scenarios]*GJperEJ,Population[scenarios]) Units:GJ/person (1514)TFECRESdelayed1yr[scenarios]=DELAYFIXED( TFECRESEJ[scenarios],1,43) Units:EJ (1515)TFECRESEJ[scenarios]= FEtotgenerationallRESelecEJ[scenarios]+FESRESforheatEJ[scenarios ]+PEtraditionalbiomassEJ[scenarios]+FEStotalbiofuelsproductionEJ [scenarios]+PESbiogasforTFC[scenarios] Units:EJ TotalfinalenergyconsumptionfromRES.(1516)TFESintensityEJT$[scenarios]= ZIDZ(RealTFEC[scenarios],GDP[scenarios]) Units:EJ/Tdollars Totalfinalenergyintensity.(1517)TFESintensityEJT$delayed1yr[scenarios]=DELAYFIXED( TFESintensityEJT$[scenarios],1,8.827) Units:Tdollars/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

373

TFESintensitydelayed1year.(1518)TFESintensitygrowthrate[scenarios]= -1+TFESintensityEJT$[scenarios]/TFESintensityEJT$delayed1yr[scenarios ] Units:Dmnl TFESintensitygrowthrate.(1519)thresholdremainingpotentialnewcapacity= 0.5 Units:**undefined** Thisthresholdrepresentstheleveloftheremainingpotential thatstartstoaffectstheplanificationofnewRESelec capacity(decreasingreturns).Avoidproblemsof(erroneously) affectingpasthistoricalgrowthtrends.(1520)Time95pcTSpotentialRESelec[RESelec,scenarios]= IFTHENELSE(remainingpotentialRESelecafterintermitt[RESelec,scenarios ]>0.05,0,Time) Units:**undefined** Timewhentheremainingresourceavailabilityfallsbellow5%of thetechno-ecologicalpotential,i.e.whenthe95%ofthe techno-ecologicalpotentialisreached.(1521)timeconstructionnuclear= GETXLSCONSTANTS('inputs.xlsx','Parameters','T15') Units:Time Averageconstructiontimefornuclearpowerplants.(1522)timeconstructionRESelec[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','T13') timeconstructionRESelec["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','T7') timeconstructionRESelec["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','T8') timeconstructionRESelec[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','T9') timeconstructionRESelec[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','T10') timeconstructionRESelec[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','T12') timeconstructionRESelec[solarPV]= GETXLSCONSTANTS('inputs.xlsx','Parameters','T11') timeconstructionRESelec[CSP]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

374

GETXLSCONSTANTS('inputs.xlsx','Parameters','T16') Units:Year AverageconstructiontimeforeachRESgeneratingelectricity.(1523)Timedmnl[scenarios]( [(1990,1990)-(2100,2100)],(1990,1990),(1991,1991),(1992,1992),(1993,1993) ,(1994,1994),(1995,1995),(1996,1996),(1997,1997),(1998,1998),(1999,1999),( 2000,2000),(2001,2001),(2002,2002),(2003,2003),(2004,2004),(2005,2005),(2006 ,2006),(2007,2007),(2008,2008),(2009,2009),(2010,2010),(2011,2011),(2012,2012 ),(2013,2013),(2014,2014),(2015,2015),(2016,2016),(2017,2017),(2018,2018), (2019,2019),(2020,2020),(2021,2021),(2022,2022),(2023,2023),(2024,2024),(2025 ,2025),(2026,2026),(2027,2027),(2028,2028),(2029,2029),(2030,2030),(2031,2031 ),(2032,2032),(2033,2033),(2034,2034),(2035,2035),(2036,2036),(2037,2037), (2038,2038),(2039,2039),(2040,2040),(2041,2041),(2042,2042),(2043,2043),(2044 ,2044),(2045,2045),(2046,2046),(2047,2047),(2048,2048),(2049,2049),(2050,2050 ),(2051,2051),(2052,2052),(2053,2053),(2054,2054),(2055,2055),(2056,2056), (2057,2057),(2058,2058),(2059,2059),(2060,2060),(2061,2061),(2062,2062),(2063 ,2063),(2064,2064),(2065,2065),(2066,2066),(2067,2067),(2068,2068),(2069,2069 ),(2070,2070),(2071,2071),(2072,2072),(2073,2073),(2074,2074),(2075,2075), (2076,2076),(2077,2077),(2078,2078),(2079,2079),(2080,2080),(2081,2081),(2082 ,2082),(2083,2083),(2084,2084),(2085,2085),(2086,2086),(2087,2087),(2088,2088 ),(2089,2089),(2090,2090),(2091,2091),(2092,2092),(2093,2093),(2094,2094), (2095,2095),(2096,2096),(2097,2097),(2098,2098),(2099,2099),(2100,2100)) Units:Dmnl Vectorthatassignsforeveryyearthenumberofthatsameyear.(1524)timeplanificationnuclear= GETXLSCONSTANTS('inputs.xlsx','Parameters','S15') Units:Year Averageplanificationtimefornuclearpowerplants.(1525)timeplanificationRESelec[hydro]= GETXLSCONSTANTS('inputs.xlsx','Parameters','S13') timeplanificationRESelec["geot-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','S7') timeplanificationRESelec["solidbioE-elec"]= GETXLSCONSTANTS('inputs.xlsx','Parameters','S8') timeplanificationRESelec[oceanic]= GETXLSCONSTANTS('inputs.xlsx','Parameters','S9') timeplanificationRESelec[windonshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','S10') timeplanificationRESelec[windoffshore]= GETXLSCONSTANTS('inputs.xlsx','Parameters','S12') timeplanificationRESelec[solarPV]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

375

GETXLSCONSTANTS('inputs.xlsx','Parameters','S11') timeplanificationRESelec[CSP]= GETXLSCONSTANTS('inputs.xlsx','Parameters','S16') Units:Year AverageplanificationtimeforeachRESgeneratingelectricity.(1526)TIMESTEP=0.03125 Units:Year[0,?] Thetimestepforthesimulation.(1527)"TNESdeCastroPhD-ScenI"( [(0,0)-(10,10)],(1985,7173.13),(1986,7368.39),(1987,7560.95),(1988,7750.95 ),(1989,7938.54),(1990,8123.85),(1991,8306.94),(1992,8487.87),(1993,8666.6 ),(1994,8843.01),(1995,9016.91),(1996,9188),(1997,9355.9),(1998,9520.11),( 1999,9680.06),(2000,9835.12),(2001,9984.57),(2002,10127.7),(2003,10263.7), (2004,10391.9),(2005,10511.6),(2006,10622.1),(2007,10723.1),(2008,10814.1) ,(2009,10894.8),(2010,10965.4),(2011,11025.8),(2012,11076.5),(2013,11117.8 ),(2014,11150.3),(2015,11174.8),(2016,11187.2),(2017,11171.3),(2018,11125.6 ),(2019,11048.7),(2020,10941.3),(2021,10806.3),(2022,10648.5),(2023,10473.6 ),(2024,10288),(2025,10098.3),(2026,9914.3),(2027,9737.27),(2028,9572.49), (2029,9422.99),(2030,9290.79),(2031,9176.91),(2032,9081.61),(2033,9004.54) ,(2034,8944.92),(2035,8901.71),(2036,8868.15),(2037,8842.36),(2038,8822.52 ),(2039,8807.44),(2040,8796.45),(2041,8789.34),(2042,8786.33),(2043,8787.93 ),(2044,8794.91),(2045,8800.9),(2046,8805.38),(2047,8813.47),(2048,8826.89 ),(2049,8847.13),(2050,8844.22),(2051,8829.3),(2052,8822.62),(2053,8829.47 ),(2054,8853.12),(2055,8895.31),(2056,8956.7),(2057,9037.27),(2058,9136.56 ),(2059,9253.94),(2060,9388.68),(2061,9540.13),(2062,9707.65),(2063,9890.73 ),(2064,10089),(2065,10302),(2066,10529.6),(2067,10771.5),(2068,11027.7),( 2069,11298),(2070,11582.2),(2071,11880.5),(2072,12192.5),(2073,12518.4),(2074 ,12857.9),(2075,13211),(2076,13577.5),(2077,13957.4),(2078,14350.4),(2079, 14756.5),(2080,15175.4),(2081,15606.9),(2082,16051),(2083,16507.3),(2084,16975.7 ),(2085,17456),(2086,17947.9),(2087,18451.3),(2088,18965.9),(2089,19491.6) ,(2090,20028),(2091,20575.1),(2092,21132.7),(2093,21700.6),(2094,22278.8), (2095,22867.1),(2096,23465.6),(2097,24074.2),(2098,24693.1),(2099,25322.3) ,(2100,25962.1)) Units:MToe/Year TotalnetenergysupplyscenarioI.(1528)"TNESdeCastroPhD-ScenIII"( [(0,0)-(10,10)],(1985,7173.13),(1986,7368.39),(1987,7560.95),(1988,7750.95 ),(1989,7938.54),(1990,8123.85),(1991,8306.94),(1992,8487.87),(1993,8666.6 ),(1994,8843.01),(1995,9016.91),(1996,9188),(1997,9355.9),(1998,9520.11),( 1999,9680.06),(2000,9835.12),(2001,9984.57),(2002,10127.7),(2003,10263.7), (2004,10391.9),(2005,10511.6),(2006,10622.1),(2007,10723.1),(2008,10814.1)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

376

,(2009,10894.8),(2010,10965.4),(2011,11025.8),(2012,11075),(2013,11109.9), (2014,11131.5),(2015,11139.1),(2016,11127.4),(2017,11079.5),(2018,10993.9) ,(2019,10869.3),(2020,10707.1),(2021,10511.3),(2022,10287.5),(2023,10042.6 ),(2024,9783.87),(2025,9518.5),(2026,9252.88),(2027,8992.4),(2028,8741.21) ,(2029,8502.22),(2030,8277.14),(2031,8066.69),(2032,7870.72),(2033,7688.5) ,(2034,7518.87),(2035,7360.42),(2036,7209.45),(2037,7064.52),(2038,6924.25 ),(2039,6787.58),(2040,6653.67),(2041,6521.96),(2042,6392.02),(2043,6263.61 ),(2044,6136.56),(2045,6010.8),(2046,5886.31),(2047,5763.1),(2048,5641.19) ,(2049,5520.62),(2050,5379.15),(2051,5222.66),(2052,5064.42),(2053,4907.35 ),(2054,4753.31),(2055,4603.4),(2056,4458.15),(2057,4317.76),(2058,4182.18 ),(2059,4051.27),(2060,3924.82),(2061,3802.6),(2062,3684.43),(2063,3570.15 ),(2064,3459.62),(2065,3352.78),(2066,3249.57),(2067,3149.98),(2068,3054.03 ),(2069,2961.73),(2070,2873.14),(2071,2788.3),(2072,2707.25),(2073,2630.04 ),(2074,2556.68),(2075,2487.21),(2076,2421.6),(2077,2359.84),(2078,2301.9) ,(2079,2247.7),(2080,2197.16),(2081,2150.2),(2082,2106.69),(2083,2066.5),( 2084,2029.49),(2085,1995.52),(2086,1964.42),(2087,1936.03),(2088,1910.19), (2089,1886.73),(2090,1865.5),(2091,1846.32),(2092,1829.04),(2093,1813.51), (2094,1799.59),(2095,1787.14),(2096,1776.03),(2097,1766.14),(2098,1757.35) ,(2099,1749.56),(2100,1742.67)) Units:MToe/Year TotalnetenergysupplyscenarioIII.(1529)totagggastoleaveunderground[scenarios]= RURRtotagggas2015*shareRURRtotagggastoleaveunderground[scenarios ] Units:EJ Totalaggregatednaturalgastobeleftundergroundduetothe applicationofapolicy.(1530)totaggoiltoleaveunderground[scenarios]= RURRtotaggoil2015*shareRURRtotaggoiltoleaveunderground[scenarios ] Units:EJ Totalaggregatedoiltobeleftundergroundduetothe applicationofapolicy.(1531)TotRURRcoal[scenarios]= RURRcoal[scenarios]+Totalcoalleftinground[scenarios] Units:EJ TotalRURRofcoalconsideringtheavailableRURRandthe eventualamountofRURRleftinthegroundasapolicy.(1532)TotRURRconvgas[scenarios]= RURRconvgas[scenarios]+Totalconvgasleftinground[scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

377

Units:EJ TotalRURRofconventionalnaturalgasconsideringtheavailable RURRandtheeventualamountofRURRleftinthegroundasa policy.(1533)TotRURRconvoil[scenarios]= RURRconvoil[scenarios]+Totalconvoilleftinground[scenarios] Units:EJ TotalRURRofconventionaloilconsideringtheavailableRURR andtheeventualamountofRURRleftinthegroundasapolicy.(1534)TotRURRtotagggas[scenarios]= RURRtotagggas[scenarios]+Totalagggasleftinground[scenarios] Units:EJ TotalRURRoftotalaggregatednaturalgasconsideringthe availableRURRandtheeventualamountofRURRleftinthe groundasapolicy.(1535)TotRURRtotaggoil[scenarios]= RURRtotaggoil[scenarios]+Totalaggoilleftinground[scenarios] Units:EJ TotalRURRoftotalaggregatedoilconsideringtheavailable RURRandtheeventualamountofRURRleftinthegroundasa policy.(1536)TotRURRunconvgas[scenarios]= RURRunconvgas[scenarios]+Totalunconvgasleftinground[scenarios] Units:EJ TotalRURRofunconventionalnaturalgasconsideringthe availableRURRandtheeventualamountofRURRleftinthe groundasapolicy.(1537)TotRURRunconvoil[scenarios]= RURRunconvoilEJ[scenarios]+Totalunconvoilleftinground[scenarios] Units:EJ TotalRURRofunconventionaloilconsideringtheavailableRURR andtheeventualamountofRURRleftinthegroundasapolicy.(1538)Totalagggasleftinground[scenarios]=INTEG( Flowtotagggasleftinground[scenarios], 0) Units:EJ Totalamountofaggregatednaturalgasleftinthegrounddueto policies.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

378

(1539)Totalaggoilleftinground[scenarios]=INTEG( Flowtotaggoilleftinground[scenarios], 0) Units:EJ Totalamountofaggregatedoilleftinthegrounddueto policies.(1540)TotalcapacityelecstorageTW[scenarios]= InstalledPHScapacity[scenarios]+UsedEVbatteriesforstorage[scenarios ] Units:TW (1541)TotalCarbonEmisions[scenarios]= TotalCO2emissionsGTCO2[scenarios]*CperCO2*tperGt Units:TonC/Year Totalannualcarbonemissions.(1542)TotalCH4emissionsfossilfuels[scenarios]= CH4emissionsconvgaswithoutGTL[scenarios]+CH4emissionsunconvgas[scenarios ]+CH4emissionscoalwithoutCTL[scenarios ]+CH4emissionsoil[scenarios]+CH4emissionsCTL[scenarios]+CH4emissionsGTL [scenarios] Units:MtCH4 TotalCH4emissionsfromfossilfuels.(1543)TotalCO2emissionsGTCO2[scenarios]= CO2 fossil fuel emissions[scenarios]+"CO2 land-use change emissions"+BioE CO2emissions [scenarios]+CO2emissionspeat-Afforestationprogram2020GtCO2[scenarios] Units:GtCO2/Year TotalannualCO2emissions.Originalunit:"millTnCO2"(1544)Totalcoalleftinground[scenarios]=INTEG( Flowcoalleftinground[scenarios], 0) Units:EJ (1545)Totalconvgasleftinground[scenarios]=INTEG( Flowconvgasleftinground[scenarios], 0) Units:EJ Totalamountofconventionalnaturalgasleftinthegrounddue topolicies.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

379

(1546)Totalconvoilleftinground[scenarios]=INTEG( Flowconvoilleftinground[scenarios], 0) Units:EJ Totalamountofconventionaloilleftinthegrounddueto policies.(1547)totalcumulativedemandmaterialstoextractfrom2015[materials,scenarios ]= cummaterialstoextractforalttechnfrom2015[materials,scenarios]+cummaterialstoextractRestfrom2015 [materials,scenarios] Units:Mt Totalcumulativedemandmaterialstoextractinmines.(1548)TotalcumulativeemissionsGtC[scenarios]=INTEG( newCGtC[scenarios], Cumulativeemissionsto1995) Units:GtC Totalcumulativeemissions.(1549)TotalcumulativeemissionsGtCO2[scenarios]= TotalcumulativeemissionsGtC[scenarios]/CperCO2 Units:GtCO2 Totalcumulativeemissions.(1550)totaldemand[scenarios]= SUM(DemandbysectorFD[scenarios,sectors!])/1e+006 Units:Tdollars Totalfinaldemand(1551)"Totaldemandliquidsmb/d"[scenarios]= PEDliquidsEJ[scenarios]*"Mb/dperEJ/year" Units:Mb/d Totaldemandofliquids.(1552)Totaldistributionlosses[scenarios]= ElectricaldistributionlossesEJ[scenarios]+"Heat-comdistributionlosses" [scenarios]+"Heat-ncdistributionlosses"[scenarios ]+"pipelinetransportconstant2.6EJin2014"+LossesEJ[scenarios,solids ]+LossesEJ[scenarios,liquids]+LossesEJ[scenarios,gases] Units:EJ/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

380

(1553)"TotalE-lossesduetoCCimpacts"[scenarios]= SUM("E-lossesbyfinalfuelduetoCCimpacts"[scenarios,finalsources!]) Units:EJ (1554)TotalelectricallossesEJ[scenarios]= ElecgenrelatedlossesEJ[scenarios]+ElectricaldistributionlossesEJ[scenarios ] Units:EJ/Year Totallossesfromelectricitygeneration(generation+ distribution).(1555)Totalenergyrequiredfortotalmaterialconsumptionforalttechn[scenarios ]= SUM(EnergyrequiredformaterialconsumptionperRESelec[RESelec!,materials !,scenarios]) Units:EJ/Year Totalenergyrequiredfortotalmaterialconsumptionfor alternativetechnologies(RESelec&EVBatteries).(1556)Totalenergyrequiredpermaterialforalttechn[materials,scenarios ]= SUM(EnergyrequiredformaterialconsumptionperRESelec[RESelec!,materials ,scenarios]) Units:EJ/Year Totalenergyrequiredfortotalmaterialconsumptionper materialforalternativetechnologies(RESelec&EVBatteries).(1557)"TotalenergyrequirementsO&MforwaterconsumptionRESelec"[RESelec ,scenarios]= SUM("EnergyrequirementsforO&MforwaterconsumptionRESelec"[RESelec ,water!,scenarios]) Units:EJ Totalenergyrequirementsforwaterconsumption(alltypes)by REStechnologyforelectricitygeneration.(1558)TotalextractionNREEJ[scenarios]= extractioncoalEJ[scenarios]+realextractionconvgasEJ[scenarios]+realextractionconvoilEJ [scenarios] +realextractionunconvgasEJ[scenarios]+realextractionunconvoilEJ[scenarios ]+extractionuraniumEJ[scenarios] Units:EJ/Year Annualtotalextractionofnon-renewableenergyresources.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

381

(1559)TotalFEElecconsumptionEJ[scenarios]= TotalFEElecconsumptionTWh[scenarios]*EJperTWh Units:EJ Totalfinalenergyelectricityconsumption(fossilfuels, nuclear,waste&renewables)(TWh)excludingdistributionlosses andtheenergylossesduetoimpactsofClimateChange.(1560)TotalFEElecconsumptionTWh[scenarios]= TotalFEElecgenerationTWh[scenarios]/((1+"sharetransm&distreleclosses" [scenarios])*(1+"shareE-lossesCC"[scenarios]*MethodCCimpacts)) Units:TWh/Year Totalfinalenergyelectricityconsumption(fossilfuels, nuclear,waste&renewables)(TWh)excludingdistributionlosses.(1561)TotalFEElecdemandafterprioritiesTWh[scenarios]= MAX(TotalFEElecdemandTWh[scenarios]-FESelecfromRESwithpriorityTWh [scenarios]-FESelecfromwasteTWh[scenarios],0) Units:TWh (1562)TotalFEElecdemandEJ[scenarios]= TotalFEElecdemandTWh[scenarios]*EJperTWh Units:EJ/Year Electricitydemandgeneration(finalenergy,includes distributionlosses).(1563)TotalFEElecdemandTWh[scenarios]= (FEdemandElecconsumTWh[scenarios])*(1+"sharetransm&distreleclosses" [scenarios]) Units:TWh/Year Totalfinalenergyelectricitydemand(TWh).Itincludesnew electricuses(e.g.EV&HEV)andelectricaltransmissionand distributionlosses.(1564)TotalFEElecgenerationTWh[scenarios]= FEElecgenerationfromNRETWh[scenarios]+FEtotgenerationallRESelecTWh [scenarios]+FESelecfromwasteTWh[scenarios] Units:TWh/Year Totalfinalenergyelectricitygeneration(fossilfuels, nuclear,waste&renewables)(TWh).(1565)TotalFEHeatconsumptionEJ[scenarios]= TotalFEHeatgenerationEJ[scenarios]/((1+Shareheatdistributionlosses )*(1+"shareE-lossesCC"[scenarios]*MethodCCimpacts)) Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

382

Totalfinalheatconsumption(fossilfuels,nuclear,waste& renewables)(EJ).(1566)TotalFEHeatgenerationEJ[scenarios]= FESRESforheatEJ[scenarios]+"FESheat-comfromwasteEJ"[scenarios]+FESNREforheat [scenarios] Units:EJ Totalfinalheatgeneration(fossilfuels,nuclear,waste& renewables)(EJ).(1567)"TotalFErealsupplyRESforheat-comEJ"[scenarios]= SUM("FErealgenerationRESheat-comEJ"[RESheat!,scenarios]) Units:EJ TotalfinalenergysupplydeliveredbyRESforcommercialheat.(1568)"TotalFErealsupplyRESforheat-ncEJ"[scenarios]= SUM("FE real generation RES heat-nc EJ"[RES heat!,scenarios])*"Deactivate heatdemcorrection?" Units:EJ TotalfinalenergysupplydeliveredbyRESfornon-commercial heat.(1569)TotalFEDHeatEJ[scenarios]= "TotalFEDHeat-comEJ"[scenarios]+"TotalFEDHeat-ncEJ"[scenarios] Units:EJ Totalfinalenergydemand(includingdistributionlosses)of heat.(1570)"TotalFEDHeat-comEJ"[scenarios]= "FEDHeat-comEJ"[scenarios]*(1+Shareheatdistributionlosses) Units:EJ Totalcommercialheatdemandincludingdistributionlosses.(1571)"TotalFEDHeat-ncEJ"[scenarios]= "FEDHeat-ncEJ"[scenarios]*(1+Shareheatdistributionlosses) Units:EJ Totalnon-commercialheatdemandincludingdistributionlosses (andclimatechangeimpacts).(1572)"TotalFEDNREHeat-nc"[scenarios]= MAX(0,("TotalFEDHeat-ncEJ"[scenarios]-"TotalFErealsupplyRESforheat-ncEJ" [scenarios])) Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

383

Finalenergydemandheatnon-commercialtobecoveredbyNRE (includingdistributionlossesandclimatechangeimpacts).(1573)TotalgenlossesdemandforCHPplantsEJ[scenarios]= PEDgasforCHPplantsEJ[scenarios]*(1-efficiencyElecgasCHPplants-efficiencyHeatgasCHPplants )+PEDoilforCHPplantsEJ[scenarios]*(1-efficiencyElecoilCHPplants-efficiencyHeatoilCHPplants )+PEDcoalforCHPplantsEJ[scenarios]*(1-efficiencyHeatcoalCHPplants -efficiencyEleccoalCHPplants) Units:EJ TotalgenerationlossesassociatedtoCHPplants.(1574)TotalgenlossesdemandforElecplantsEJ[scenarios]= PEdemandgasElecplantsEJ[scenarios]*(1-efficiencygasforelectricity )+PEdemandcoalElecplantsEJ[scenarios]*(1-efficiencycoalforelectricity )+PEdemandoilElecplantsEJ[scenarios]*(1-efficiencyliquidsforelectricity )+PElossesuraniumforElecEJ[scenarios]+PElossesBioEforElecEJ[scenarios ] Units:EJ/Year Totalgenerationlossesassociatedtoelectricitydemand.(1575)TotalgenlossesdemandforHeatplantsEJ[scenarios]= PEDgasesforHeatplantsEJ[scenarios]*(1-efficiencygasesforheatplants )+PEDoilforHeatplantsEJ[scenarios]*(1-efficiencyliquidsforheatplants )+PEDcoalforHeatplantsEJ[scenarios]*(1-efficiencycoalforheatplants ) Units:EJ Totalgenerationlossesassociatedtoheatplants.(1576)TotalinstalledcapacityRESelecvar[scenarios]= installedcapacityRESelecTW[windonshore,scenarios]+installedcapacityRESelecTW [windoffshore,scenarios]+installedcapacityRESelecTW[solarPV,scenarios ]+installedcapacityRESelecTW[CSP,scenarios] Units:TW TotalinstalledcapacityofRESvariablesforelectricity generation.(1577)TotaljobsRES[scenarios]= TotaljobsRESelec[scenarios]+TotaljobsRESheat[scenarios] Units:people TotaljobsRES.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

384

(1578)TotaljobsRESelec[scenarios]= SUM(TotaljobsRESelecpertechn[RESelec!,scenarios]) Units:people TotaljobsRESelec.(1579)TotaljobsRESelecpertechn[RESelec,scenarios]= JobsnewinstalledRESelecpertechn[RESelec,scenarios]+"JobsO&MRESelecpertechn" [RESelec,scenarios] Units:people (1580)TotaljobsRESheat[scenarios]= SUM(TotaljobsRESheatpertechn[RESheat!,scenarios]) Units:people TotaljobsRESheat.(1581)TotaljobsRESheatpertechn[RESheat,scenarios]= JobsnewinstalledRESheatpertechn[RESheat,scenarios]+"JobsO&MRESheatpertechn" [RESheat,scenarios] Units:people (1582)TotallandrequirementsrenewMha[scenarios]= surfacesolarPVMha[scenarios]+surfaceCSPMha[scenarios]+surfacehydroMha [scenarios]+Landcompetrequireddedicatedcropsforbiofuels [scenarios]+Landrequiredbiofuelslandmarg[scenarios]+surfaceonshorewindMha [scenarios]*0 Units:MHa LandrequiredforRESpowerplantsandtotalbioenergy(land competition+marginallands).(1583)TotalmaterialsrequiredforEVbatteries[materials,scenarios]= materialsrequiredforEVbatteriesMt[materials,scenarios] Units:Mt/Year TotalannualmaterialsrequirementsforEVbatteries.(1584)TotalmaterialsrequiredfornewRESelecMt[materials,scenarios]= SUM(materialsrequiredfornewRESelecMt[RESelec!,materials,scenarios] ) Units:Mt Totalannualmaterialsrequirementspernewinstalledcapacity ofRESforelectricitygeneration.(1585)"TotalmaterialsrequiredforO&MRESelecMt"[materials,scenarios]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

385

= SUM("materialsrequiredforO&MRESelecMt"[RESelec!,materials,scenarios ]) Units:Mt Totalannualmaterialsrequiredfortheoperationand maintenanceofthecapacityofRESforelectricityinoperation bytechnology.(1586)"TotalmaterialsrequiredforRESelec+EVbatteriesMt"[materials, scenarios]= Total materials required for EV batteries[materials,scenarios]+Total materialsrequiredforRESelecMt [materials,scenarios] Units:Mt/Year (1587)TotalmaterialsrequiredforRESelecMt[materials,scenarios]= TotalmaterialsrequiredfornewRESelecMt[materials,scenarios]+"TotalmaterialsrequiredforO&MRESelecMt" [materials,scenarios] Units:Mt/Year TotalannualmaterialsrequirementsfortheinstallationandO&M ofRESforelectricitygeneration.(1588)TotalmaterialstoextractforEVbatteriesfrom2015Mt[materials,scenarios ]= IFTHENELSE(Time<2015,0,TotalmaterialstoextractforEVbatteriesMt[materials ,scenarios]) Units:Mt/Year AnnualmaterialstobeminedforEVbatteriesfrom2015.(1589)TotalmaterialstoextractforEVbatteriesMt[materials,scenarios]= Total materials required for EV batteries[materials,scenarios]*(1-recycling ratesmineralsalttechn [materials,scenarios]) Units:Mt/Year AnnualmaterialstobeminedfortheconstructionofEV batteries.(1590)TotalmaterialstoextractforRESelecfrom2015Mt[materials,scenarios ]= IFTHENELSE(Time<2015,0,TotalmaterialstoextractforRESelecMt[materials ,scenarios]) Units:Mt/Year AnnualmaterialstobeminedfortheinstallationandO&MofRES

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

386

forelectricitygenerationfrom2015.(1591)TotalmaterialstoextractforRESelecMt[materials,scenarios]= Total materials required for RES elec Mt[materials,scenarios]*(1-recycling ratesmineralsalttechn [materials,scenarios]) Units:Mt/Year AnnualmaterialstobeminedfortheinstallationandO&MofRES forelectricitygeneration.(1592)TotalmaterialstoextractMt[materials,scenarios]= MaterialstoextractRestMt[materials,scenarios]+TotalmaterialstoextractforRESelecMt [materials,scenarios]+TotalmaterialstoextractforEVbatteriesMt[materials ,scenarios] Units:Mt (1593)TotalmonetinvestRESforelecTdolar[scenarios]= InvestRESforElec[scenarios]+extramonetinvesttocopewithvariableElecRES [scenarios] Units:Tdollars/Year AnnualtotalmonetaryinvestmentforRESforelectricity: capacity,balancingcostsandgridimprovementstocopewith variability(1995US$).(1594)totalNumberLVelec[scenarios]= NumbervehiclesH[scenarios,elec4wheels]+vehiclesinlandT[scenarios,LVelec ] Units:**undefined** numerodevehiculosligeroselectricosdehogares+delsector transporte(1595)totalNumberLVgas[scenarios]= NumbervehiclesH[scenarios,gas4wheels]+vehiclesinlandT[scenarios,LVgas ] Units:**undefined** numerodevehiculosligerosdegasdehogares+delsector transporte(1596)totalNumberLVhib[scenarios]= NumbervehiclesH[scenarios,hib4wheels]+vehiclesinlandT[scenarios,LVhib ] Units:**undefined** numerodevehiculosligeroshibridosdehogares+delsector

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

387

transporte(1597)TotalPEforelectricityconsumptionEJ[scenarios]= TotalFEElecdemandEJ[scenarios]+ElecgenrelatedlossesEJ[scenarios] Units:EJ/Year Totalprimaryenergyforelectricityconsumption(EJ).(1598)"TotalPEsolidbioEpotentialheat+elecEJ"[scenarios]= Max potential NPP bioE conventional for heat[scenarios]+"PE bioE residues forheat+elecEJ" [scenarios] Units:EJ (1599)TotalRadiativeForcing[scenarios]= CO2RadForcing[scenarios]+OtherGHGRadForcing Units:watt/meter/meter RadiativeForcingfromAllGHGs(W/m^2)Additionalsurface warmingfromaccumulationofCO2&CFCs.[Cowles,Sec.III.F](1600)"Totalrealnon-energyuseconsumptionEJ"[scenarios]= SUM("Non-energyusedemandbyfinalfuelEJ"[scenarios,finalsources!]) Units:EJ (1601)TotalrecycledmaterialsforEVbatteriesMt[materials,scenarios]= Total materials required for EV batteries[materials,scenarios]-Total materials toextractforEVbatteriesMt [materials,scenarios] Units:Mt TotalrecycledmaterialsforEVbatteries.(1602)TotalrecycledmaterialsforotherMt[materials,scenarios]= Minerals consumption estimation Rest cte rr[materials,scenarios]-MineralsextractionprojectionRestwithrr [materials,scenarios] Units:Mt (1603)TotalrecycledmaterialsforRESelecMt[materials,scenarios]= Total materials required for RES elec Mt[materials,scenarios]-Total materials toextractforRESelecMt [materials,scenarios] Units:Mt TotalrecycledmaterialsforREStechnologiesforthegeneration ofelectricity.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

388

(1604)"totaltimeplan+constrRESelec"[RESelec]= timeconstructionRESelec[RESelec]+timeplanificationRESelec[RESelec ] Units:Year (1605)TotaltransportFEDbyfuel[scenarios,finalsources]= Required final energy air transport[scenarios,final sources]+Required final energyinlandtransport [scenarios,finalsources]+Requiredfinalenergyothertransport[scenarios, finalsources]+Requiredfinalenergywatertransport[scenarios,finalsources ]+Transporthouseholdsfinalenergydemand[scenarios,finalsources] Units:EJ/Year Totalenergyintransport.Thismodelconsiderstransportthe foursectorinWIODrelatedwithtransportandhouseholds transport.(1606)Totalunconvgasleftinground[scenarios]=INTEG( Flowunconvgasleftinground[scenarios], 0) Units:EJ Totalamountofunconventionalnaturalgasleftintheground duetopolicies.(1607)Totalunconvoilleftinground[scenarios]=INTEG( Flowunconvoilleftinground[scenarios], 0) Units:EJ Totalamountofunconventionaloilleftinthegrounddueto policies.(1608)"TotalwaterforO&MrequiredbyRESelec"[RESelec,scenarios]= SUM("WaterforO&MrequiredforRESelec"[RESelec,water!,scenarios]) Units:Mt AnnualtotalwaterrequiredbyREStechnologyforgenerating electricity.(1609)TPEfromRESEJ[scenarios]= PEElecgenerationfromRESEJ[scenarios]+"PEsupplyRESnon-ElecEJ"[scenarios ] Units:EJ/Year TotalprimaryenergysupplyfromallRES.(1610)TPEfromRESMtoe[scenarios]= TPEfromRESEJ[scenarios]*MToeperEJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

389

Units:MToe/Year TotalprimaryenergysupplyfromallRES.(1611)TPEDacceptablestandardliving= GETXLSCONSTANTS('inputs.xlsx','Parameters','C76') Units:GJ/people Approximativeenergyusevaluetofulfilltheaceptablestandard ofliving(intermsoftotalprimaryenergyuse).Source: (Goldemberg,2011;Raoetal,2014,WBGU,2003)citedinArtoet al.,(2016).(1612)TPEDbyfuel[scenarios]= extraction uranium EJ[scenarios]+"PE supply RES non-Elec EJ"[scenarios]+PE ElecgenerationfromRESEJ [scenarios]+PEDtotaloilEJ [scenarios]+PEDcoalEJ[scenarios]+"PEDnat.gasEJ"[scenarios]+PESwasteEJ [scenarios] Units:EJ/Year Totalprimaryenergydemandbyfuel.(1613)TPEFpcthresholdhighdevelopment= GETXLSCONSTANTS('inputs.xlsx','Parameters','C75') Units:GJ/people Energyusethreshold(intermsoftotalprimaryenergy footprint)foundbyArtoetal.,(2016)toreachhigh development(HDI>0.8).(1614)"TPES(withouttradbiomass)"[scenarios]= TPESEJ[scenarios]-PEtraditionalbiomassEJdelayed1yr[scenarios] Units:EJ TPESwithoutaccountingfortraditionalbiomass.(1615)"TPESdeCastroPhD-Scen'madcoal'EJ"= "TPESdeCastroPhD-Scen'madcoal'"(Time)/MToeperEJ Units:EJ/Year (1616)"TPESdeCastroPhD-Scen'madcoal'"( [(0,0)-(10,10)],(1985,7727.25),(1986,7904.71),(1987,8090.31),(1988,8272.83 ),(1989,8453.11),(1990,8632.09),(1991,8810.72),(1992,8989.94),(1993,9170.63 ),(1994,9353.55),(1995,9539.38),(1996,9728.58),(1997,9921.49),(1998,10118.2 ),(1999,10318.7),(2000,10522.5),(2001,10729.3),(2002,10938.4),(2003,11148.8 ),(2004,11359.5),(2005,11569.5),(2006,11786.3),(2007,11999.6),(2008,12211.4 ),(2009,12420.8),(2010,12626.9),(2011,12829.2),(2012,13027.3),(2013,13221) ,(2014,13410.5),(2015,13596.1),(2016,13774),(2017,13924.7),(2018,14047.6),

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

390

(2019,14141.5),(2020,14208.3),(2021,14251.8),(2022,14277.8),(2023,14292.7) ,(2024,14303.7),(2025,14317.3),(2026,14343.2),(2027,14382.9),(2028,14441.4 ),(2029,14521.6),(2030,14625.6),(2031,14754.7),(2032,14909.2),(2033,15089.5 ),(2034,15295.1),(2035,15525.7),(2036,15768.7),(2037,16021.4),(2038,16282.5 ),(2039,16551.3),(2040,16827.5),(2041,17111.3),(2042,17402.7),(2043,17701.8 ),(2044,18008.4),(2045,18322.2),(2046,18642.6),(2047,18968.8),(2048,19299.8 ),(2049,19634.2),(2050,19970.7),(2051,20218.4),(2052,20503.9),(2053,20792.3 ),(2054,21082),(2055,21370.6),(2056,21655.5),(2057,21933.9),(2058,22202.8) ,(2059,22459.9),(2060,22702.5),(2061,22928.4),(2062,23135.7),(2063,23322.3 ),(2064,23486.7),(2065,23627.4),(2066,23743.2),(2067,23833.1),(2068,23896.3 ),(2069,23932.3),(2070,23940.6),(2071,23921.3),(2072,23874.3),(2073,23810.4 ),(2074,23774.2),(2075,23753),(2076,23746.1),(2077,23752.7),(2078,23771.8) ,(2079,23802.3),(2080,23843.3),(2081,23893.7),(2082,23952.6),(2083,24018.9 ),(2084,24091.6),(2085,24169.7),(2086,24252.2),(2087,24338.1),(2088,24426.4 ),(2089,24516.1),(2090,24606.1),(2091,24695.4),(2092,24783),(2093,24868),( 2094,24949.3),(2095,25026),(2096,25097.2),(2097,25162),(2098,25219.5),(2099 ,25268.9),(2100,25309.5)) Units:MToe/Year Totalprimaryenergyextraction(Add"Energíaperdida"tothe netenergyextractionintheoriginalmodel).(1617)"TPESdeCastroPhD-ScenIIEJ"= "TPESdeCastroPhD-ScenII"(Time)/MToeperEJ Units:EJ/Year TPES.(Add"Energíaperdida"tothenetenergyextractionin theoriginalmodel).(1618)"TPESdeCastroPhD-ScenII"( [(0,0)-(10,10)],(1985,7749.13),(1986,7949.4),(1987,8160.47),(1988,8369.05 ),(1989,8575.33),(1990,8779.44),(1991,8981.51),(1992,9181.61),(1993,9379.72 ),(1994,9575.75),(1995,9769.52),(1996,9960.74),(1997,10149),(1998,10333.8) ,(1999,10514.5),(2000,10690.6),(2001,10861.1),(2002,11025.4),(2003,11182.6 ),(2004,11331.9),(2005,11472.6),(2006,11613.1),(2007,11744),(2008,11868.2) ,(2009,11985.7),(2010,12096.8),(2011,12202),(2012,12302.1),(2013,12398),(2014 ,12490.6),(2015,12581.3),(2016,12667.2),(2017,12730),(2018,12767.9),(2019, 12779.1),(2020,12764.7),(2021,12728.4),(2022,12676),(2023,12615),(2024,12553.4 ),(2025,12499.7),(2026,12465.2),(2027,12453.3),(2028,12470.3),(2029,12519.7 ),(2030,12603.9),(2031,12723.6),(2032,12878.5),(2033,13067.2),(2034,13287.8 ),(2035,13538.2),(2036,13805),(2037,14082.5),(2038,14367),(2039,14656.3),( 2040,14949),(2041,15244.7),(2042,15543.8),(2043,15846.7),(2044,16154.3),(2045 ,16467.1),(2046,16785.7),(2047,17110),(2048,17439.8),(2049,17774.5),(2050, 18113.2),(2051,18354.1),(2052,18638.3),(2053,18929.8),(2054,19227.6),(2055 ,19529.3),(2056,19832.1),(2057,20132.6),(2058,20427.7),(2059,20714.2),(2060 ,20989.2),(2061,21250.3),(2062,21494.8),(2063,21720.8),(2064,21926.3),(2065

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

391

,22109.7),(2066,22269.4),(2067,22404.4),(2068,22513.5),(2069,22596.2),(2070 ,22651.7),(2071,22679.9),(2072,22680.6),(2073,22664.5),(2074,22677.2),(2075 ,22706.2),(2076,22750.8),(2077,22809.7),(2078,22881.7),(2079,22965.5),(2080 ,23059.8),(2081,23163.4),(2082,23275.1),(2083,23393.7),(2084,23518),(2085, 23647),(2086,23779.6),(2087,23914.5),(2088,24050.7),(2089,24187.2),(2090,24322.8 ),(2091,24456.4),(2092,24587),(2093,24713.6),(2094,24835.1),(2095,24950.6) ,(2096,25059.1),(2097,25159.7),(2098,25251.6),(2099,25333.9),(2100,25405.8 )) Units:MToe/Year TPES.(Add"Energíaperdida"tothenetenergyextractionin theoriginalmodel).(1619)TPESEJ[scenarios]= TotalextractionNREEJ[scenarios]+TPEfromRESEJ[scenarios]+PESwasteEJ [scenarios] Units:EJ/Year TotalPrimaryEnergySupply.(1620)TPESheat[scenarios]= PESNREheat[scenarios]+PESheatRES[scenarios]+"PEStotwasteforheat-com" [scenarios] Units:EJ (1621)TPESintensityEJT$[scenarios]= ZIDZ(TPESEJ[scenarios],GDP[scenarios]) Units:EJ/Tdollars Totalprimaryenergyintensity.(1622)TPESintensityEJT$delayed1yr[scenarios]=DELAYFIXED( TPESintensityEJT$[scenarios],1,13.14) Units:Tdollars/Year TPESintensitydelayed1year.(1623)TPESintensitygrowthrate[scenarios]= -1+TPESintensityEJT$[scenarios]/TPESintensityEJT$delayed1yr[scenarios ] Units:Dmnl TPESintensitygrowthrate.(1624)TPESMtoe[scenarios]= TPESEJ[scenarios]*MToeperEJ Units:MToe/Year TotalPrimaryEnergySupply.

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

392

(1625)TPESRESdelayed1yr[scenarios]=DELAYFIXED( TPEfromRESEJ[scenarios],1,48.03) Units:Dmnl (1626)TpolicyT[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','C174') TpolicyT[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','C174') TpolicyT[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','C174') TpolicyT[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','C174') TpolicyT[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','C174') TpolicyT[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C174') Units:**undefined** (1627)Transfercoefficientforlowerlevel= GETXLSCONSTANTS('inputs.xlsx','Parameters','C116') Units:1/Year[100,4000] [Fiddaman]HeatTransferCoefficient[tau12](years). Coefficientofheattransferbetweentheatmosphere&upper oceanandthedeepocean./500/[DICE-2013R]1/c4;c4Transfer coefficientforlowerlevel/0.025/(1628)TransformationLossesEJ[scenarios,liquids]= PESfossilfuelextractiondelayed[scenarios,liquids]*Historicshareoftransformationlossesvsextraction [liquids] TransformationLossesEJ[scenarios,solids]= PESfossilfuelextractiondelayed[scenarios,solids]*Historicshareoftransformationlossesvsextraction [solids] TransformationLossesEJ[scenarios,electricity]= 0 TransformationLossesEJ[scenarios,gases]= Transformation Losses EJ[scenarios,solids]*Ratio gain gas vs lose solids in tranfprocesses TransformationLossesEJ[scenarios,heat]= 0 Units:**undefined** Lossesintransformationprocessesofeachfossilfuel

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

393

(1629)Transporthouseholdsfinalenergydemand[scenarios,finalsources]= Energy intensity of households transport[scenarios,final sources]*Householddemandtotal [scenarios] Units:EJ Finalenergyintransporthouseholds(1630)TransportTFED[scenarios]= SUM(TotaltransportFEDbyfuel[scenarios,finalsources!]) Units:EJ/Year TotalFinalEnergydemandintransport(1631)TransportTFEDenergyintensity[scenarios]= TransportTFED[scenarios]/GDP[scenarios] Units:EJ/Tdollars (1632)TWeperTWh= GETXLSCONSTANTS('inputs.xlsx','Constants','C7') Units:TWe/(TWh/Year) Unitconversion(1TWe=8760TWhperyear)(1633)TWhpergCO2e0= 0.02 Units:gCO2e/TWh 17-22gCO2e/KWh[Arvesen2011]/*Comprobarestarelación*/(1634)unconvgastoleaveunderground[scenarios]= RURRunconvgas2015*shareRURRunconvgastoleaveunderground[scenarios ] Units:EJ Unconventionalnaturalgastobeleftundergroundduetothe applicationofapolicy.(1635)unconvoiltoleaveunderground[scenarios]= RURRunconvoil2015*shareRURRunconvoiltoleaveunderground[scenarios ] Units:EJ Unconventionaloiltobeleftundergroundduetotheapplication ofapolicy.(1636)"unlimitedcoal?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','E83') "unlimitedcoal?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','E83')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

394

"unlimitedcoal?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','E83') "unlimitedcoal?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','E83') "unlimitedcoal?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','E83') "unlimitedcoal?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','E83') Units:Dmnl Switchtoconsiderifcoalisunlimited(1),orifitislimited (0).Iflimitedthentheavailabledepletioncurvesare considered.(1637)"unlimitedgas?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','E83') "unlimitedgas?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','E83') "unlimitedgas?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','E83') "unlimitedgas?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','E83') "unlimitedgas?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','E83') "unlimitedgas?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','E83') Units:Dmnl Switchtoconsiderifgasisunlimited(1),orifitislimited (0).Iflimitedthentheavailabledepletioncurvesare considered.(1638)"unlimitedNRE?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','E66') "unlimitedNRE?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','E66') "unlimitedNRE?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','E66') "unlimitedNRE?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','E66') "unlimitedNRE?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','E66') "unlimitedNRE?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','E66') Units:Dmnl Switchtoconsiderifnon-renewableresources(oil,gas,coal

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

395

anduranium)areunlimited(1),orifitislimited(0).If limitedthentheavailabledepletioncurvesareconsidered.(1639)"unlimitedoil?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','E67') "unlimitedoil?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','E67') "unlimitedoil?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','E67') "unlimitedoil?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','E67') "unlimitedoil?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','E67') "unlimitedoil?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','E67') Units:Dmnl Switchtoconsiderifoilisunlimited(1),orifitislimited (0).Iflimitedthentheavailabledepletioncurvesare considered.(1640)"unlimiteduranium?"[BAU]= GETXLSCONSTANTS('inputs.xlsx','BAU','E104') "unlimiteduranium?"[SCEN1]= GETXLSCONSTANTS('inputs.xlsx','SCEN1','E104') "unlimiteduranium?"[SCEN2]= GETXLSCONSTANTS('inputs.xlsx','SCEN2','E104') "unlimiteduranium?"[SCEN3]= GETXLSCONSTANTS('inputs.xlsx','SCEN3','E104') "unlimiteduranium?"[SCEN4]= GETXLSCONSTANTS('inputs.xlsx','SCEN4','E104') "unlimiteduranium?"[Userdefined]= GETXLSCONSTANTS('inputs.xlsx','Userdefined','E104') Units:Dmnl Switchtoconsiderifuraniumisunlimited(1),orifitis limited(0).Iflimitedthentheavailabledepletioncurvesare considered.(1641)urbansurface2008= GETXLSCONSTANTS('inputs.xlsx','Parameters','C71') Units:MHa Areaoccupiedbyhumansettlementandinfraestructures.This areaisroughly200-400MHa(Wackernageletal.,2002;WWF,2008; Young,1999).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

396

(1642)URRcoal[scenarios]= IFTHENELSE("unlimitedNRE?"[scenarios]=1,URRcoalunlimited, IFTHENELSE("unlimitedcoal?"[scenarios]=1,URRcoalunlimited, IFTHENELSE(chooseextractioncoalcurve[scenarios]=1,URRcoalMohr2012EJ , IFTHENELSE(chooseextractioncoalcurve[scenarios]=2,URRcoalLowMohr15 , IFTHENELSE(chooseextractioncoalcurve[scenarios]=3,URRcoalBGMohr15 , IFTHENELSE(chooseextractioncoalcurve[scenarios]=4,URRcoalHigh15, URRcoalUserdefinedEJ)))))) Units:EJ UltimatelyRecoverableResources(URR)associatedtothe selecteddepletioncurve.(1643)URRcoalBGMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C162') Units:EJ (1644)URRcoalHigh15= GETXLSCONSTANTS('inputs.xlsx','Constants','C164') Units:EJ (1645)URRcoalLowMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C160') Units:EJ (1646)URRcoalMohr2012EJ= GETXLSCONSTANTS('inputs.xlsx','Constants','C158') Units:EJ (1647)URRcoalunlimited= URRcoalHigh15*10000 Units:EJ WeassumethattheURRfortheunlimitedscenariois10000times thehighestestimate.(1648)URRcoalUserdefinedEJ= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C153') Units:EJ (1649)URRconvgas[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=1, IFTHENELSE("unlimitedNRE?"[scenarios]=1,URRconvgasunlimited,

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

397

IFTHENELSE("unlimitedgas?"[scenarios]=1,URRconvgasunlimited, IF THEN ELSE(choose extraction conv gas curve[scenarios]=1, URR conv gas BGMohr15 , IF THEN ELSE(choose extraction conv gas curve[scenarios]=2, URR conv gas LowMohr15 , IF THEN ELSE(choose extraction conv gas curve[scenarios]=3, URR conv gas HighMohr15 ,URRconvgasUserdefined))))),0) Units:EJ UltimatelyRecoverableResources(URR)associatedtothe selecteddepletioncurve.(1650)URRconvgasBGMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C145') Units:EJ (1651)URRconvgasHighMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C143') Units:EJ (1652)URRconvgasLowMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C141') Units:EJ (1653)URRconvgasunlimited= URRconvgasHighMohr15*10000 Units:EJ WeassumethattheURRfortheunlimitedscenariois10000times thehighestestimate.(1654)URRconvgasUserdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C146') Units:EJ (1655)URRconvoil[scenarios]= IFTHENELSE("separateconvandunconvoil?"[scenarios]=1, IFTHENELSE("unlimitedNRE?"[scenarios]=1,URRconvoilunlimited, IFTHENELSE("unlimitedoil?"[scenarios]=1,URRconvoilunlimited, IFTHENELSE(chooseextractioncurveconvoil[scenarios]=1,URRconvoilMaggio12middle ,

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

398

IFTHENELSE(chooseextractioncurveconvoil[scenarios]=2,URRconvoilMaggio12High , IFTHENELSE(chooseextractioncurveconvoil[scenarios]=3,URRconvoilMaggio12Low ,URRconvoilUserdefined))))),0) Units:EJ UltimatelyRecoverableResources(URR)associatedtothe selecteddepletioncurve.(1656)URRconvoilMaggio12High= GETXLSCONSTANTS('inputs.xlsx','Constants','C130') Units:EJ [Maggio2012].Oilconventional+NGLs.HighscenarioconURR=3000 Gb.(1657)URRconvoilMaggio12Low= GETXLSCONSTANTS('inputs.xlsx','Constants','C126') Units:EJ (1658)URRconvoilMaggio12middle= GETXLSCONSTANTS('inputs.xlsx','Constants','C128') Units:EJ [Maggio2012].Oilconventional+NGLs.ScenarioconURR=2600 Gb.(Middlescenario)(1659)URRconvoilunlimited= URRconvoilMaggio12High*10000 Units:EJ WeassumethattheURRfortheunlimitedscenariois10000times thehighestestimate.(1660)URRconvoilUserdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C139') Units:EJ (1661)URRgasLeherrere2010[scenarios]= 13600 Units:EJ (1662)URRgasMohrBG2012[scenarios]= 19900 Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

399

(1663)URRgasMohrHigh2013[scenarios]= 28500 Units:EJ (1664)URRoilASPO[scenarios]= 12800 Units:EJ (1665)URRtotagggas[scenarios]= IFTHENELSE("separateconvandunconvgas?"[scenarios]=1,0, IFTHENELSE("unlimitedNRE?"[scenarios]=1,URRtotalagggasunlimited, IFTHENELSE("unlimitedgas?"[scenarios]=1,URRtotalagggasunlimited, IF THEN ELSE(choose extraction tot agg gas curve[scenarios]=1, URR total gasLaherrère10 , IFTHENELSE(chooseextractiontotagggascurve[scenarios]=2,URRtotalgasMohr12BG ,URRtotalgasUserdefined))))) Units:EJ UltimatelyRecoverableResources(URR)associatedtothe selecteddepletioncurve.(1666)URRtotaggoil[scenarios]= IFTHENELSE("separateconvandunconvoil?"[scenarios]=1,0, IFTHENELSE("unlimitedoil?"[scenarios]=1,URRtotaggoilunlimited, IFTHENELSE("unlimitedNRE?"[scenarios]=1,URRtotaggoilunlimited, IF THEN ELSE(choose extraction curve tot agg oil[scenarios]=1, URR tot agg oilLaherrère2006 ,URRtotaggoilUserdefined)))) Units:EJ UltimatelyRecoverableResources(URR)associatedtothe selecteddepletioncurve.(1667)URRtotaggoilLaherrère2006= GETXLSCONSTANTS('inputs.xlsx','Constants','C138') Units:EJ (1668)URRtotaggoilunlimited= URRtotaggoilLaherrère2006*10000 Units:EJ WeassumethattheURRfortheunlimitedscenariois10000times thehighestestimate.(1669)URRtotaggoilUserdefined=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

400

GETXLSCONSTANTS('inputs.xlsx','Userdefined','C143') Units:EJ (1670)URRtotalagggasunlimited= URRtotalgasMohr12BG*10000 Units:EJ (1671)URRtotalgasLaherrère10= GETXLSCONSTANTS('inputs.xlsx','Constants','C153') Units:EJ (1672)URRtotalgasMohr12BG= GETXLSCONSTANTS('inputs.xlsx','Constants','C155') Units:EJ (1673)URRtotalgasUserdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C150') Units:EJ (1674)URRunconvgas[scenarios]= IFTHENELSE(chooseextractioncurveunconvgas[scenarios]=1,URRunconvgasBGMohr15 ,IFTHENELSE(chooseextractioncurveunconvgas [scenarios]=2,URRunconvgasLowMohr15,IFTHENELSE(chooseextractioncurveunconvgas [scenarios]=3,URRunconvgasHighMohr15,URRunconvgasUserdefined))) Units:EJ (1675)URRunconvgasBGMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C147') Units:EJ (1676)URRunconvgasHighMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C149') Units:EJ (1677)URRunconvgasLowMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C151') Units:EJ (1678)URRunconvgasUserdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C148') Units:EJ

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

401

(1679)URRunconvoil[scenarios]= IFTHENELSE(chooseextractioncurveunconvoil[scenarios]=1,URRunconvoilBGMohr15 , IFTHENELSE(chooseextractioncurveunconvoil[scenarios]=2,URRunconvoilLowMohr15 , IFTHENELSE(chooseextractioncurveunconvoil[scenarios]=3,URRunconvoilHighMohr15 ,URRunconvoilUserdefined))) Units:EJ (1680)URRunconvoilBGMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C132') Units:EJ (1681)URRunconvoilHighMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C134') Units:EJ (1682)URRunconvoilLowMohr15= GETXLSCONSTANTS('inputs.xlsx','Constants','C136') Units:EJ (1683)URRunconvoilUserdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C141') Units:EJ (1684)URRuranium[scenarios]= IFTHENELSE("unlimitedNRE?"[scenarios]=1,URRuraniumunlimited, IFTHENELSE("unlimiteduranium?"[scenarios]=1,URRuraniumunlimited, IFTHENELSE(Chooseextractionuraniumcurve[scenarios]=1,URRuraniumEWG13 , IFTHENELSE(Chooseextractionuraniumcurve[scenarios]=2,URRuraniumZittel12 ,URRuraniumUserdefined)))) Units:EJ UltimatelyRecoverableResources(URR)associatedtothe selecteddepletioncurve.(1685)URRuraniumEWG13= GETXLSCONSTANTS('inputs.xlsx','Constants','C169') Units:EJ 3900Según[EWG2013](curvas_recursos.xlsx).

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

402

(1686)URRuraniumunlimited= URRuraniumEWG13*10000 Units:EJ WeassumethattheURRfortheunlimitedscenariois10000times thehighestestimate.(1687)URRuraniumUserdefined= GETXLSCONSTANTS('inputs.xlsx','Userdefined','C156') Units:EJ (1688)URRuraniumZittel12= GETXLSCONSTANTS('inputs.xlsx','Constants','C167') Units:EJ (1689)UsedEVbatteriesforstorage[scenarios]= IFTHENELSE((demandstoragecapacity[scenarios]-InstalledPHScapacity[scenarios ])=0,0,MIN((demandstoragecapacity[scenarios]-InstalledPHScapacity[scenarios ]),EVbatteriesavailableforstorage[scenarios])) Units:TW Fromthetotalstockofelectricbatteriesinelectricvehicles, poweravailableforelectricstorage(prioritygiventoPHS).(1690)"User-definedextractiongrowthunconvgas"( GETXLSLOOKUPS('inputs.xlsx','Userdefined','163','D164')) Units:Dmnl User-definedannualextractiongrowthconstraintpathasa functionoftimeforunconventionalgas.(1691)"User-definedextractiongrowthunconvoil"( GETXLSLOOKUPS('inputs.xlsx','Userdefined','161','D162') ) Units:Dmnl User-definedannualextractiongrowthconstraintpathasa functionoftimeforunconventionaloil.(1692)varIinlandElec[scenarios]= energyperXt[scenarios,LVelec]*varpercentTvehicles[scenarios,LVelec ]+energyperXt[scenarios,trainelec]*varpercentTvehicles[scenarios,trainelec ]+energyperXt[scenarios,buselec]*varpercentTvehicles[scenarios,buselec ] Units:**undefined** (1693)varIinlandTGas[scenarios]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

403

energyperXt[scenarios,HVgas]*varpercentTvehicles[scenarios,HVgas] +energyperXt[scenarios,busgas]*varpercentTvehicles[scenarios,busgas ]+energyperXt[scenarios,LVgas]*varpercentTvehicles[scenarios,LVgas ] Units:**undefined** (1694)varIinlandTliq[scenarios]= energyperXt[scenarios,HVliq]*varpercentTvehicles[scenarios,HVliq] +energyperXt[scenarios,LVliq]*varpercentTvehicles[scenarios,LVliq] +energyperXt[scenarios,busliq]*varpercentTvehicles[scenarios,busliq ]+energyperXt[scenarios,HVliq]*varpercentTvehicles[scenarios,HVhib ]+energyperXt[scenarios,LVliq]*varpercentTvehicles[scenarios,LVhib ]+energyperXt[scenarios,busliq]*varpercentTvehicles[scenarios,bushib ]+ energyperXt[scenarios,trainliq]*varpercentTvehicles[scenarios,trainliq ] Units:**undefined** (1695)varIHE2[scenarios]= A1coeftH*varpercentsHvehicles[scenarios,elec4wheels]*savingratiosV [LVelec]+A2coeftH*varpercentsHvehicles[scenarios,elec2wheels]*savinratio2wE Units:**undefined** (1696)varIHgas2[scenarios]= A1coeftH*varpercentsHvehicles[scenarios,gas4wheels]*savingratiosV [LVgas] Units:**undefined** (1697)varIHliq2[scenarios]= A1coeftH*varpercentsHvehicles[scenarios,liq4wheels]+A1coeftH*varpercentsHvehicles [scenarios,hib4wheels]+A2coeftH*varpercentsHvehicles[scenarios,liq2wheels ] Units:**undefined** (1698)varpercentTvehicles[scenarios,HVliq]= -adaptvarinlandT[scenarios,HVhib]-adaptvarinlandT[scenarios,HVgas] varpercentTvehicles[scenarios,HVhib]= adaptvarinlandT[scenarios,HVhib] varpercentTvehicles[scenarios,HVgas]= adaptvarinlandT[scenarios,HVgas] varpercentTvehicles[scenarios,LVliq]= -adaptvarinlandT[scenarios,LVhib]-adaptvarinlandT[scenarios,LVelec] -adaptvarinlandT[scenarios,LVgas]

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

404

varpercentTvehicles[scenarios,LVelec]= adaptvarinlandT[scenarios,LVelec] varpercentTvehicles[scenarios,LVhib]= adaptvarinlandT[scenarios,LVhib] varpercentTvehicles[scenarios,LVgas]= adaptvarinlandT[scenarios,LVgas] varpercentTvehicles[scenarios,busliq]= -adaptvarinlandT[scenarios,buselec]-adaptvarinlandT[scenarios,bushib ]-adaptvarinlandT[scenarios,busgas] varpercentTvehicles[scenarios,bushib]= adaptvarinlandT[scenarios,bushib] varpercentTvehicles[scenarios,busgas]= adaptvarinlandT[scenarios,busgas] varpercentTvehicles[scenarios,trainliq]= -adaptvarinlandT[scenarios,trainelec] varpercentTvehicles[scenarios,trainelec]= adaptvarinlandT[scenarios,trainelec] varpercentTvehicles[scenarios,buselec]= adaptvarinlandT[scenarios,buselec] Units:**undefined** growthofpercentsofinlandtransportvehicles,eachtype relativetoitsown:heavyvehicles(%liq+%hib+%gas)add1, lightvehicles(%liq+%elec+%gas+%hib)add1,bus (%liq+%elec+%gas+%hib)add1andtrains((%liq+%elec)add1.The growthofliquidsallwaysadaptstotheoneoftherest,we assumethatthepoliciesarepassingfromliquidstootherfuels(1699)varpercentsHvehicles[scenarios,liq4wheels]= IFTHENELSE(Time<TpolicyHveh[scenarios],auxhistH[scenarios,liq4wheels ],-HEVadaptgrowth[scenarios]-Hhibadaptgrowth[scenarios]-Hgasadaptgrowth [scenarios]-rate4wto2w[scenarios]) varpercentsHvehicles[scenarios,elec4wheels]= IFTHENELSE(Time<TpolicyHveh[scenarios],auxhistH[scenarios,elec4wheels ],HEVadaptgrowth[scenarios]) varpercentsHvehicles[scenarios,hib4wheels]= IFTHENELSE(Time<TpolicyHveh[scenarios],auxhistH[scenarios,hib4wheels ],Hhibadaptgrowth[scenarios]) varpercentsHvehicles[scenarios,gas4wheels]= IFTHENELSE(Time<TpolicyHveh[scenarios],auxhistH[scenarios,gas4wheels ],Hgasadaptgrowth[scenarios]) varpercentsHvehicles[scenarios,liq2wheels]= IFTHENELSE(Time<TpolicyHveh[scenarios],auxhistH[scenarios,liq2wheels ],-H2wEadaptgrowth[scenarios]+rate4wto2w [scenarios])

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

405

varpercentsHvehicles[scenarios,elec2wheels]= IFTHENELSE(Time<TpolicyHveh[scenarios],auxhistH[scenarios,elec2wheels ],H2wEadaptgrowth[scenarios]) Units:**undefined** Percentsrelativetototal4w+2w.BeforeTpolicyHveh(2015by default)thepercentagesfollowhistoricalvariations(1700)variationCC[scenarios]= capitalshare[scenarios]*(ExogenousGDPgrowthratecorrected[scenarios]+ historicgrowthcapitalshare[scenarios]+ExogenousGDPgrowthratecorrected [scenarios]*historicgrowthcapitalshare[scenarios])*Realdemand[scenarios ] Units:Mdollars/Year Variationofcapitalcompensation(1701)variationCCsectoral[scenarios,sectors]= ((CCtotal[scenarios]+variationCC[scenarios])*shareCCnextstep[sectors ])-(CCtotal[scenarios]*shareCCsectoral[sectors]) Units:Mdollars/Year Variationofcapitalcompensationbyindustrialsectors(1702)variationCTL[scenarios]= IFTHENELSE(Time<2013,HistoricCTLproduction(Time+1)-HistoricCTLproduction (Time), IFTHENELSE(checkliquids[scenarios]<0,"constrainliquidsexogenousgrowth?" [scenarios]*CTLpotentialproduction[scenarios], CTLpotentialproduction[scenarios]*realgrowthCTL[scenarios])) Units:EJ/Year NewannualCTLproduction.(1703)variationdemandflowFD[scenarios,sectors]= IFTHENELSE(Time<2009 ,historicvariationdemand[scenarios,sectors],(Gross fixedcapitalformation [scenarios,sectors]* (1-((1-share consum goverments and inventories next step[sectors])/(1-shareconsumgovermentandinventories [sectors]))) +Household demand[scenarios,sectors]*(1-((1-share consum goverments andinventoriesnextstep [sectors])/(1-shareconsumgovermentandinventories [sectors])))+variationGFCF[scenarios,sectors]+variationhouseholddemand [scenarios,sectors])/(1-shareconsumgovermentsandinventoriesnextstep [sectors])) Units:Mdollars/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

406

variationoffinaldemandbyindustrialsectors(1704)variationenergyintensityofhouseholdstransport[scenarios,liquids ]= IFTHENELSE(Time<2009,0,varIHliq2[scenarios]) variationenergyintensityofhouseholdstransport[scenarios,solids]= 0 variationenergyintensityofhouseholdstransport[scenarios,gases]= IFTHENELSE(Time>2009,varIHgas2[scenarios],0) variationenergyintensityofhouseholdstransport[scenarios,electricity] = IFTHENELSE(Time>2009,varIHE2[scenarios],0) variationenergyintensityofhouseholdstransport[scenarios,heat]= 0 Units:**undefined** (1705)variationGFCF[scenarios,sectors]= IFTHENELSE(Time<2009,variationhistoricGFCF[scenarios,sectors],EXP(beta0cap )*EXP(beta1cap[sectors])*((CCsectoralnextstep[scenarios,sectors])^beta2cap -(CCsectoral[scenarios, sectors])^beta2cap)) Units:Mdollars/Year Variationofgrossfixedcapitalformationbyindustrialsectors(1706)variationGTL[scenarios]= IFTHENELSE(Time<2013,HistoricGTLproduction(Time+1)-HistoricGTLproduction (Time), IFTHENELSE(checkliquids[scenarios]<0,"constrainliquidsexogenousgrowth?" [scenarios]*GTLpotentialproduction[scenarios], GTLpotentialproduction[scenarios]*realgrowthGTL[scenarios])) Units:EJ/Year NewannualGTLproduction.(1707)variationhistoricdemand[scenarios,sectors]= HistoricHD[sectors](Time+1)-HistoricHD[sectors](Time) Units:Mdollars/Year Variationoffinaldemandbyhouseholds(1708)variationhistoricGFCF[scenarios,sectors]= HistoricGFCF[sectors](Time+1)-HistoricGFCF[sectors](Time) Units:Mdollars/Year Historicvariationofgrossfixedcapitalformation(WIOD-35 sectors)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

407

(1709)variationhistoricpop= IFTHENELSE(Time<2015,Historicpop(Time+1)-Historicpop(Time),0) Units:people/Year Populationhistoricvariation.(1710)variationhouseholddemand[scenarios,sectors]= IFTHENELSE(Time<2009,variationhistoricdemand[scenarios,sectors],EXP(Bet0lab )*EXP(Beta1lab[sectors])*((LCnextstep[scenarios])^beta2lab-(LC[scenarios ])^beta2lab)) Units:Mdollars/Year Variationoffinaldemandbyhouseholdsbyindustrialsectors(1711)variationlabourshare[scenarios]= growthlabourshare[scenarios]*labourshare[scenarios] Units:1/Year Realvariationoflaborshare.(1712)variationLC[scenarios]= Real demand[scenarios]*labour share[scenarios]*(Exogenous GDP growth ratecorrected [scenarios]+growthlabourshare[scenarios ]+ExogenousGDPgrowthratecorrected[scenarios]*growthlabourshare[scenarios ]) Units:Mdollars Variationoflabourcompensation(1713)variationmineralsextractionRest[materials,scenarios]= IFTHENELSE(Time<2015,HistoricalvariationmineralsextractionRest[materials ], IFTHENELSE(MineralsextractionprojectionRestcterr[materials,scenarios ]>0.01,("'a'extractionprojectionminerals"[materials]*(GDP[scenarios]-GDPdelayed1yr [scenarios])),0))*Mtpertonne Units:Mt Variationofmineralsextractionoftherestoftheeconomy.(1714)"variationnon-energyuse"[electricity,scenarios]= 0 "variationnon-energyuse"[heat,scenarios]= 0 "variationnon-energyuse"[liquids,scenarios]= IFTHENELSE("Non-energyusedemandbyfinalfuelEJ"[scenarios,liquids]> 0.01,0.461414*(GDP[scenarios]-GDPdelayed1yr[scenarios]),0) "variationnon-energyuse"[gases,scenarios]= IFTHENELSE("Non-energyusedemandbyfinalfuelEJ"[scenarios,gases]>0.01

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

408

,0.123925*(GDP[scenarios]-GDPdelayed1yr[scenarios]),0) "variationnon-energyuse"[solids,scenarios]= IFTHENELSE("Non-energyusedemandbyfinalfuelEJ"[scenarios,solids]>0.01 ,0.0797511*(GDP[scenarios]-GDPdelayed1yr[scenarios]),0) Units:EJ (1715)"variationsharetransm&distreleclosses"[scenarios]= IFTHENELSE(Time<2015,0,"variationsharetransm&distrlosseselec"[scenarios ]*"remainingsharetransm&distreleclosses"[scenarios]) Units:Dmnl Annualvariationoftheshareoftransmissionanddistribution lossesofelectricity.(1716)"variationsharetransm&distrlosseselec"[scenarios]= "share transm&distr elec losses initial"*(0.0115*EXP(4.2297*share Elec demandcoveredbyRES [scenarios])-0.00251) Units:Dmnl Relationshipbetweentransmissionanddistributionlossesof electricityandthepenetrationofRESintheelectricitymix. Source:NREL(2012).(1717)VEobjetiveUE2020= 1 Units:Dmnl (1718)VEobjetiveUE2020extrap= 1 Units:Dmnl (1719)vehiclesinlandT[scenarios,vehicleT]= percentTvehicles[scenarios,vehicleT]*Realtotaloutputinlandtransport [scenarios]*NX0vehiclesperXinlandT[vehicleT] Units:**undefined** (1720)vehicleT: HVliq,HVhib,HVgas,LVliq,LVelec,LVhib,LVgas,busliq,buselec,bushib ,busgas,trainliq,trainelec (1721)wastechange[scenarios]= IFTHENELSE(AnnualGDPgrowthrate[scenarios]<0,AnnualGDPgrowthrate[ scenarios],Pwastechange[scenarios]) Units:1/Year IfGDPbecomesnegative,annualPESchangefollowsitdecreasing

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

409

trends.(1722)water: "clean,pumpedwater","distilled,deionizedwater" (1723)"waterforO&M-CSP"["clean,pumpedwater"]= GETXLSCONSTANTS('inputs.xlsx','Materials','B114') "waterforO&M-CSP"["distilled,deionizedwater"]= GETXLSCONSTANTS('inputs.xlsx','Materials','B115') Units:kg/MW (1724)"waterforO&M-PV"["clean,pumpedwater"]= GETXLSCONSTANTS('inputs.xlsx','Materials','C114') "waterforO&M-PV"["distilled,deionizedwater"]= GETXLSCONSTANTS('inputs.xlsx','Materials','C115') Units:kg/MW (1725)"waterforO&M-RESelec"[hydro,water]= 0 "waterforO&M-RESelec"["geot-elec",water]= 0 "waterforO&M-RESelec"["solidbioE-elec",water]= 0 "waterforO&M-RESelec"[oceanic,water]= 0 "waterforO&M-RESelec"[windonshore,water]= "waterforO&M-windonshore"[water] "waterforO&M-RESelec"[windoffshore,water]= "waterforO&M-windoffshore"[water] "waterforO&M-RESelec"[solarPV,water]= "waterforO&M-PV"[water] "waterforO&M-RESelec"[CSP,water]= "waterforO&M-CSP"[water] Units:kg/MW (1726)"waterforO&M-windoffshore"["clean,pumpedwater"]= GETXLSCONSTANTS('inputs.xlsx','Materials','E114') "waterforO&M-windoffshore"["distilled,deionizedwater"]= GETXLSCONSTANTS('inputs.xlsx','Materials','E115') Units:kg/MW (1727)"waterforO&M-windonshore"["clean,pumpedwater"]= GETXLSCONSTANTS('inputs.xlsx','Materials','D114') "waterforO&M-windonshore"["distilled,deionizedwater"]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

410

GETXLSCONSTANTS('inputs.xlsx','Materials','D115') Units:kg/MW (1728)"WaterforO&MrequiredforRESelec"[hydro,water,scenarios]= installedcapacityRESelecTW[hydro,scenarios]*"waterforO&M-RESelec" [hydro,water]*MperT/kgperMt "WaterforO&MrequiredforRESelec"["geot-elec",water,scenarios]= installedcapacityRESelecTW["geot-elec",scenarios]*"waterforO&M-RESelec" ["geot-elec",water]*MperT/kgperMt "WaterforO&MrequiredforRESelec"["solidbioE-elec",water,scenarios]= installed capacity RES elec TW["solid bioE-elec",scenarios]*"water for O&M - RESelec" ["solidbioE-elec",water]*MperT/kgperMt "WaterforO&MrequiredforRESelec"[oceanic,water,scenarios]= installedcapacityRESelecTW[oceanic,scenarios]*"waterforO&M-RESelec" [oceanic,water]*MperT/kgperMt "WaterforO&MrequiredforRESelec"[windonshore,water,scenarios]= installedcapacityRESelecTW[windonshore,scenarios]*"waterforO&M-RESelec" [windonshore,water]*MperT /kgperMt "WaterforO&MrequiredforRESelec"[windoffshore,water,scenarios]= installedcapacityRESelecTW[windoffshore,scenarios]*"waterforO&M-RESelec" [windoffshore,water]*MperT /kgperMt "WaterforO&MrequiredforRESelec"[solarPV,water,scenarios]= installedcapacityRESelecTW[solarPV,scenarios]*"waterforO&M-RESelec" [solarPV,water]*MperT/kgperMt "WaterforO&MrequiredforRESelec"[CSP,water,scenarios]= installedcapacityRESelecTW[CSP,scenarios]*"waterforO&M-RESelec"[ CSP,water]*MperT/kgperMt Units:Mt Annualwaterrequiredfortheoperationandmaintenanceofthe capacityofRESforelectricityinoperationbytechnology.(1729)wearCTL[scenarios]= IFTHENELSE(Time<2015,0,CTLpotentialproduction[scenarios]/lifetimeCTL ) Units:EJ/Year DepreciationofCTLplants.(1730)wearGTL[scenarios]= IFTHENELSE(Time<2015,0,GTLpotentialproduction[scenarios]/lifetimeGTL ) Units:EJ/Year

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

411

DepreciationofGTLplants.(1731)wearnuclear[scenarios]= IF THEN ELSE(Time<2012, 0, installed capacity nuclear TW[scenarios]/life timenuclear ) Units:TW Depreciationofnuclearpowerplants.(1732)wearREScapacityforheatTW0[RESheat,scenarios]= installedcapacityRESheatTW0[RESheat,scenarios]/lifetimeRESforheat0 [RESheat] Units:TW Decommissionofthecapacitythatreachstheendofitslifetime.(1733)"wearREScapacityforheat-comTW"[RESheat,scenarios]= "installedcapacityRESheat-comTW"[RESheat,scenarios]/lifetimeRESforheat [RESheat] Units:TW Decommissionofthecapacitythatreachstheendofitslifetime.(1734)"wearREScapacityforheat-ncTW"[RESheat,scenarios]= "installedcapacityRESheat-ncTW"[RESheat,scenarios]/lifetimeRESforheat [RESheat] Units:TW Decommissionofthecapacitythatreachstheendofitslifetime.(1735)wearRESelec[RESelec,scenarios]= IFTHENELSE(Time<2015,0,installedcapacityRESelecTW[RESelec,scenarios ]/lifetimeRESelec[RESelec]) Units:TW DepreciationofRESinfraestructures.(1736)yearadjust[scenarios]= 1 Units:Year (1737)Yearpolicychangeenergy[AgricultureHuntingForestryandFishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B11') Yearpolicychangeenergy[MiningandQuarrying,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G11') Yearpolicychangeenergy[FoodBeveragesandTobacco,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L11')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

412

Yearpolicychangeenergy[TextilesandTextileProducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q11') Yearpolicychangeenergy[LeatherLeatherandFootwear,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V11') Yearpolicychangeenergy[WoodandProductsofWooodandCork,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA11') Yearpolicychangeenergy[PulpPaperPrintingandPublishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF11') Yearpolicychangeenergy[CokeRefinedPetroleumandNuclearFuel,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK11') Yearpolicychangeenergy[ChemicalsandChemicalproducts,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP11') Yearpolicychangeenergy[RubberandPlastics,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU11') Yearpolicychangeenergy[OtherNonMetalicMineral,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ11') Yearpolicychangeenergy[BasicMetalsandFabricatedMetal,finalsources] = GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE11') Yearpolicychangeenergy[MachineryNec,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ11') Yearpolicychangeenergy[ElectricalandOpticalEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO11') Yearpolicychangeenergy[TransportEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT11') Yearpolicychangeenergy[ManufacturingNecRecycling,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY11') Yearpolicychangeenergy[ElectricityGasandWaterSupply,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD11') Yearpolicychangeenergy[Construction,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI11') Yearpolicychangeenergy[SaleMaintenanceandRepairofMotorVehiclesandaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN11') Year policy change energy[Wholesale Trade and Commissions Trade Except of MotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS11') Yearpolicychangeenergy[RetailTradeExceptofMotorVehiclesandMotorcyclesRepairofHouseholdgoods

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

413

,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX11') Yearpolicychangeenergy[HotelsandRestaurants,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC11') Yearpolicychangeenergy[InlandTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH11') Yearpolicychangeenergy[WaterTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM11') Yearpolicychangeenergy[AirTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR11') Yearpolicychangeenergy[OtherSupportingandAuxiliaryTransportActivitiesActivitiesofTravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW11') Yearpolicychangeenergy[PostandTelecommunications,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB11') Yearpolicychangeenergy[FinancialIntermedation,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG11') Yearpolicychangeenergy[RealEstateActivities,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL11') Yearpolicychangeenergy[RentingodMEqandOtherBusinessActivities,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ11') Yearpolicychangeenergy[PublicAdminandDefenceCompulsorySocialSecurity ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV11') Yearpolicychangeenergy[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA11') Yearpolicychangeenergy[HealthandSocialWork,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF11') Yearpolicychangeenergy[OtherCommunitySocialandPersonaServices,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK11') Yearpolicychangeenergy[PrivateHouseholdswithEmployedPersons,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP11') Units:**undefined** (1738)YearpolicychangeenergyH[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU11') Units:**undefined** (1739)Yearpolicytoimproveefficiency[AgricultureHuntingForestryandFishing ,finalsources]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

414

GETXLSCONSTANTS('inputs.xlsx','Energyintensities','B7') Yearpolicytoimproveefficiency[MiningandQuarrying,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','G7') Yearpolicytoimproveefficiency[FoodBeveragesandTobacco,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','L7') Yearpolicytoimproveefficiency[TextilesandTextileProducts,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','Q7') Yearpolicytoimproveefficiency[LeatherLeatherandFootwear,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','V7') Yearpolicytoimproveefficiency[WoodandProductsofWooodandCork,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AA7') Yearpolicytoimproveefficiency[PulpPaperPrintingandPublishing,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AF7') Yearpolicytoimproveefficiency[CokeRefinedPetroleumandNuclearFuel, finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AK7') Yearpolicytoimproveefficiency[ChemicalsandChemicalproducts,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AP7') Yearpolicytoimproveefficiency[RubberandPlastics,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AU7') Yearpolicytoimproveefficiency[OtherNonMetalicMineral,finalsources] = GETXLSCONSTANTS('inputs.xlsx','Energyintensities','AZ7') Yearpolicytoimproveefficiency[BasicMetalsandFabricatedMetal,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BE7') Yearpolicytoimproveefficiency[MachineryNec,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BJ7') Yearpolicytoimproveefficiency[ElectricalandOpticalEquipment,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BO7') Yearpolicytoimproveefficiency[TransportEquipment,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BT7') Yearpolicytoimproveefficiency[ManufacturingNecRecycling,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','BY7') Yearpolicytoimproveefficiency[ElectricityGasandWaterSupply,finalsources ]=

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

415

GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CD7') Yearpolicytoimproveefficiency[Construction,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CI7') Year policy to improve efficiency[Sale Maintenance and Repair of Motor Vehicles andaMotorcyclesRetailSaleoffuel ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CN7') Yearpolicytoimproveefficiency[WholesaleTradeandCommissionsTradeExceptofMotorvehiclesandMotorcycles ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CS7') Year policy to improve efficiency[Retail Trade Except ofMotorVehicles andMotorcyclesRepairofHouseholdgoods ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','CX7') Yearpolicytoimproveefficiency[HotelsandRestaurants,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DC7') Yearpolicytoimproveefficiency[InlandTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DH7') Yearpolicytoimproveefficiency[WaterTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DM7') Yearpolicytoimproveefficiency[AirTransport,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DR7') Year policy to improve efficiency[Other Supporting and Auxiliary Transport ActivitiesActivitiesofTravelAgencies ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','DW7') Yearpolicytoimproveefficiency[PostandTelecommunications,finalsources ]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EB7') Yearpolicytoimproveefficiency[FinancialIntermedation,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EG7') Yearpolicytoimproveefficiency[RealEstateActivities,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EL7') Yearpolicytoimproveefficiency[RentingodMEqandOtherBusinessActivities ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EQ7') Yearpolicytoimproveefficiency[PublicAdminandDefenceCompulsorySocialSecurity ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','EV7') Yearpolicytoimproveefficiency[Education,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FA7') Yearpolicytoimproveefficiency[HealthandSocialWork,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FF7')

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

416

Yearpolicytoimproveefficiency[OtherCommunitySocialandPersonaServices ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FK7') Yearpolicytoimproveefficiency[PrivateHouseholdswithEmployedPersons ,finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FP7') Units:**undefined** (1740)YearpolicytoimproveefficiencyH[finalsources]= GETXLSCONSTANTS('inputs.xlsx','Energyintensities','FU7') Units:**undefined** (1741)Yearscarcitycoal[scenarios]= IFTHENELSE(abundancecoal[scenarios]>0.95,0,Time) Units:Year Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1742)YearscarcityElec[scenarios]= IFTHENELSE(Abundanceelectricity[scenarios]>0.95,0,Time) Units:Year Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1743)Yearscarcitygases[scenarios]= IFTHENELSE(abundancegases[scenarios]>0.95,0,Time) Units:Year Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1744)YearscarcityHeat[scenarios]= IFTHENELSE(Abundanceheat[scenarios]>0.95,0,Time) Units:Year Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1745)Yearscarcityliquids[scenarios]= IFTHENELSE(abundanceliquids[scenarios]>0.95,0,Time) Units:Year Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1746)Yearscarcityoil[scenarios]= IFTHENELSE(abundancetotaloil[scenarios]>0.95,0,Time)

Pg.MarítimdelaBarceloneta,[email protected]+34932309500F+34932309555

ThisprojecthasreceivedfundingfromtheEuropeanUnion’sHorizon2020researchandinnovationprogrammeundergrantagreementNo691287

417

Units:**undefined** Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1747)"Yearscarcitytotalnat.gas"[scenarios]= IFTHENELSE("abundancetotalnat.gas"[scenarios]>0.95,0,Time) Units:**undefined** Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1748)YearscarcityTPE[scenarios]= IFTHENELSE(abundanceTPE[scenarios]>0.95,0,Time) Units:Year Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.(1749)Yearscarcityuranium[scenarios]= IFTHENELSE(abundanceuranium[scenarios]>0.95,0,Time) Units:Year Yearwhentheparameterabundancefallsbelow0.95,i.e.year whenscarcitystarts.