rubyfromexcel 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. data/examples/ruby-versions/test1-ruby/sheets/sheet1.rb +7 -0
  2. data/examples/ruby-versions/test1-ruby/sheets/sheet2.rb +6 -0
  3. data/examples/ruby-versions/test1-ruby/specs/sheet1_rspec.rb +12 -0
  4. data/examples/ruby-versions/test1-ruby/specs/sheet2_rspec.rb +12 -0
  5. data/examples/ruby-versions/test1-ruby/spreadsheet.rb +9 -0
  6. data/examples/ruby-versions/test2-ruby/sheets/sheet1.rb +1334 -0
  7. data/examples/ruby-versions/test2-ruby/sheets/sheet2.rb +25 -0
  8. data/examples/ruby-versions/test2-ruby/sheets/sheet3.rb +3703 -0
  9. data/examples/ruby-versions/test2-ruby/specs/sheet1_rspec.rb +648 -0
  10. data/examples/ruby-versions/test2-ruby/specs/sheet2_rspec.rb +24 -0
  11. data/examples/ruby-versions/test2-ruby/specs/sheet3_rspec.rb +11364 -0
  12. data/examples/ruby-versions/test2-ruby/spreadsheet.rb +9 -0
  13. data/examples/sheets/test1.xlsx +0 -0
  14. data/examples/sheets/test2.xlsx +0 -0
  15. data/examples/sheets/~$test1.xlsx +0 -0
  16. data/examples/unzipped-sheets/array-formulas/[Content_Types].xml +2 -0
  17. data/examples/unzipped-sheets/array-formulas/docProps/app.xml +2 -0
  18. data/examples/unzipped-sheets/array-formulas/docProps/core.xml +2 -0
  19. data/examples/unzipped-sheets/array-formulas/docProps/thumbnail.jpeg +0 -0
  20. data/examples/unzipped-sheets/array-formulas/xl/_rels/workbook.xml.rels +2 -0
  21. data/examples/unzipped-sheets/array-formulas/xl/calcChain.xml +2 -0
  22. data/examples/unzipped-sheets/array-formulas/xl/sharedStrings.xml +2 -0
  23. data/examples/unzipped-sheets/array-formulas/xl/styles.xml +2 -0
  24. data/examples/unzipped-sheets/array-formulas/xl/theme/theme1.xml +2 -0
  25. data/examples/unzipped-sheets/array-formulas/xl/workbook.xml +2 -0
  26. data/examples/unzipped-sheets/array-formulas/xl/worksheets/sheet1.xml +2 -0
  27. data/examples/unzipped-sheets/array-formulas/xl/worksheets/sheet2.xml +2 -0
  28. data/examples/unzipped-sheets/checkpoint/[Content_Types].xml +2 -0
  29. data/examples/unzipped-sheets/checkpoint/docProps/app.xml +2 -0
  30. data/examples/unzipped-sheets/checkpoint/docProps/core.xml +2 -0
  31. data/examples/unzipped-sheets/checkpoint/xl/_rels/workbook.xml.rels +2 -0
  32. data/examples/unzipped-sheets/checkpoint/xl/calcChain.xml +2 -0
  33. data/examples/unzipped-sheets/checkpoint/xl/charts/chart1.xml +2 -0
  34. data/examples/unzipped-sheets/checkpoint/xl/charts/chart2.xml +2 -0
  35. data/examples/unzipped-sheets/checkpoint/xl/comments1.xml +5 -0
  36. data/examples/unzipped-sheets/checkpoint/xl/comments2.xml +5 -0
  37. data/examples/unzipped-sheets/checkpoint/xl/drawings/_rels/drawing1.xml.rels +2 -0
  38. data/examples/unzipped-sheets/checkpoint/xl/drawings/_rels/drawing2.xml.rels +2 -0
  39. data/examples/unzipped-sheets/checkpoint/xl/drawings/drawing1.xml +2 -0
  40. data/examples/unzipped-sheets/checkpoint/xl/drawings/drawing2.xml +2 -0
  41. data/examples/unzipped-sheets/checkpoint/xl/drawings/vmlDrawing1.vml +47 -0
  42. data/examples/unzipped-sheets/checkpoint/xl/drawings/vmlDrawing2.vml +47 -0
  43. data/examples/unzipped-sheets/checkpoint/xl/sharedStrings.xml +2 -0
  44. data/examples/unzipped-sheets/checkpoint/xl/styles.xml +2 -0
  45. data/examples/unzipped-sheets/checkpoint/xl/theme/theme1.xml +2 -0
  46. data/examples/unzipped-sheets/checkpoint/xl/workbook.xml +2 -0
  47. data/examples/unzipped-sheets/checkpoint/xl/worksheets/_rels/sheet1.xml.rels +2 -0
  48. data/examples/unzipped-sheets/checkpoint/xl/worksheets/_rels/sheet2.xml.rels +2 -0
  49. data/examples/unzipped-sheets/checkpoint/xl/worksheets/sheet1.xml +2 -0
  50. data/examples/unzipped-sheets/checkpoint/xl/worksheets/sheet2.xml +2 -0
  51. data/examples/unzipped-sheets/complex-test/[Content_Types].xml +2 -0
  52. data/examples/unzipped-sheets/complex-test/docProps/app.xml +2 -0
  53. data/examples/unzipped-sheets/complex-test/docProps/core.xml +2 -0
  54. data/examples/unzipped-sheets/complex-test/xl/_rels/workbook.xml.rels +2 -0
  55. data/examples/unzipped-sheets/complex-test/xl/calcChain.xml +2 -0
  56. data/examples/unzipped-sheets/complex-test/xl/charts/chart1.xml +2 -0
  57. data/examples/unzipped-sheets/complex-test/xl/charts/chart2.xml +2 -0
  58. data/examples/unzipped-sheets/complex-test/xl/comments1.xml +5 -0
  59. data/examples/unzipped-sheets/complex-test/xl/comments2.xml +5 -0
  60. data/examples/unzipped-sheets/complex-test/xl/drawings/_rels/drawing1.xml.rels +2 -0
  61. data/examples/unzipped-sheets/complex-test/xl/drawings/_rels/drawing2.xml.rels +2 -0
  62. data/examples/unzipped-sheets/complex-test/xl/drawings/drawing1.xml +2 -0
  63. data/examples/unzipped-sheets/complex-test/xl/drawings/drawing2.xml +2 -0
  64. data/examples/unzipped-sheets/complex-test/xl/drawings/vmlDrawing1.vml +46 -0
  65. data/examples/unzipped-sheets/complex-test/xl/drawings/vmlDrawing2.vml +46 -0
  66. data/examples/unzipped-sheets/complex-test/xl/sharedStrings.xml +2 -0
  67. data/examples/unzipped-sheets/complex-test/xl/styles.xml +2 -0
  68. data/examples/unzipped-sheets/complex-test/xl/theme/theme1.xml +2 -0
  69. data/examples/unzipped-sheets/complex-test/xl/workbook.xml +2 -0
  70. data/examples/unzipped-sheets/complex-test/xl/worksheets/_rels/sheet1.xml.rels +2 -0
  71. data/examples/unzipped-sheets/complex-test/xl/worksheets/_rels/sheet2.xml.rels +2 -0
  72. data/examples/unzipped-sheets/complex-test/xl/worksheets/sheet1.xml +2 -0
  73. data/examples/unzipped-sheets/complex-test/xl/worksheets/sheet2.xml +2 -0
  74. data/examples/unzipped-sheets/namedReferenceTest/[Content_Types].xml +2 -0
  75. data/examples/unzipped-sheets/namedReferenceTest/docProps/app.xml +2 -0
  76. data/examples/unzipped-sheets/namedReferenceTest/docProps/core.xml +2 -0
  77. data/examples/unzipped-sheets/namedReferenceTest/docProps/thumbnail.jpeg +0 -0
  78. data/examples/unzipped-sheets/namedReferenceTest/xl/_rels/workbook.xml.rels +2 -0
  79. data/examples/unzipped-sheets/namedReferenceTest/xl/calcChain.xml +2 -0
  80. data/examples/unzipped-sheets/namedReferenceTest/xl/styles.xml +2 -0
  81. data/examples/unzipped-sheets/namedReferenceTest/xl/theme/theme1.xml +2 -0
  82. data/examples/unzipped-sheets/namedReferenceTest/xl/workbook.xml +2 -0
  83. data/examples/unzipped-sheets/namedReferenceTest/xl/worksheets/sheet1.xml +2 -0
  84. data/examples/unzipped-sheets/namedReferenceTest/xl/worksheets/sheet2.xml +2 -0
  85. data/examples/unzipped-sheets/sharedFormulaTest/[Content_Types].xml +2 -0
  86. data/examples/unzipped-sheets/sharedFormulaTest/docProps/app.xml +2 -0
  87. data/examples/unzipped-sheets/sharedFormulaTest/docProps/core.xml +2 -0
  88. data/examples/unzipped-sheets/sharedFormulaTest/docProps/thumbnail.jpeg +0 -0
  89. data/examples/unzipped-sheets/sharedFormulaTest/xl/_rels/workbook.xml.rels +2 -0
  90. data/examples/unzipped-sheets/sharedFormulaTest/xl/calcChain.xml +2 -0
  91. data/examples/unzipped-sheets/sharedFormulaTest/xl/styles.xml +2 -0
  92. data/examples/unzipped-sheets/sharedFormulaTest/xl/theme/theme1.xml +2 -0
  93. data/examples/unzipped-sheets/sharedFormulaTest/xl/workbook.xml +2 -0
  94. data/examples/unzipped-sheets/sharedFormulaTest/xl/worksheets/sheet1.xml +2 -0
  95. data/examples/unzipped-sheets/table-test/[Content_Types].xml +2 -0
  96. data/examples/unzipped-sheets/table-test/docProps/app.xml +2 -0
  97. data/examples/unzipped-sheets/table-test/docProps/core.xml +2 -0
  98. data/examples/unzipped-sheets/table-test/xl/_rels/workbook.xml.rels +2 -0
  99. data/examples/unzipped-sheets/table-test/xl/calcChain.xml +2 -0
  100. data/examples/unzipped-sheets/table-test/xl/printerSettings/printerSettings1.bin +0 -0
  101. data/examples/unzipped-sheets/table-test/xl/sharedStrings.xml +2 -0
  102. data/examples/unzipped-sheets/table-test/xl/styles.xml +2 -0
  103. data/examples/unzipped-sheets/table-test/xl/tables/table1.xml +2 -0
  104. data/examples/unzipped-sheets/table-test/xl/theme/theme1.xml +2 -0
  105. data/examples/unzipped-sheets/table-test/xl/workbook.xml +2 -0
  106. data/examples/unzipped-sheets/table-test/xl/worksheets/_rels/sheet1.xml.rels +2 -0
  107. data/examples/unzipped-sheets/table-test/xl/worksheets/sheet1.xml +2 -0
  108. data/examples/unzipped-sheets/table-test/xl/worksheets/sheet2.xml +2 -0
  109. data/examples/unzipped-sheets/table-test/xl/worksheets/sheet3.xml +2 -0
  110. data/examples/unzipped-sheets/test1/[Content_Types].xml +2 -0
  111. data/examples/unzipped-sheets/test1/docProps/app.xml +2 -0
  112. data/examples/unzipped-sheets/test1/docProps/core.xml +2 -0
  113. data/examples/unzipped-sheets/test1/docProps/thumbnail.jpeg +0 -0
  114. data/examples/unzipped-sheets/test1/xl/_rels/workbook.xml.rels +2 -0
  115. data/examples/unzipped-sheets/test1/xl/calcChain.xml +2 -0
  116. data/examples/unzipped-sheets/test1/xl/sharedStrings.xml +2 -0
  117. data/examples/unzipped-sheets/test1/xl/styles.xml +2 -0
  118. data/examples/unzipped-sheets/test1/xl/theme/theme1.xml +2 -0
  119. data/examples/unzipped-sheets/test1/xl/workbook.xml +2 -0
  120. data/examples/unzipped-sheets/test1/xl/worksheets/sheet1.xml +2 -0
  121. data/examples/unzipped-sheets/test1/xl/worksheets/sheet2.xml +2 -0
  122. data/examples/unzipped-sheets/test2/[Content_Types].xml +2 -0
  123. data/examples/unzipped-sheets/test2/docProps/app.xml +2 -0
  124. data/examples/unzipped-sheets/test2/docProps/core.xml +2 -0
  125. data/examples/unzipped-sheets/test2/xl/_rels/workbook.xml.rels +2 -0
  126. data/examples/unzipped-sheets/test2/xl/calcChain.xml +2 -0
  127. data/examples/unzipped-sheets/test2/xl/charts/chart1.xml +2 -0
  128. data/examples/unzipped-sheets/test2/xl/charts/chart2.xml +2 -0
  129. data/examples/unzipped-sheets/test2/xl/charts/chart3.xml +2 -0
  130. data/examples/unzipped-sheets/test2/xl/charts/chart4.xml +2 -0
  131. data/examples/unzipped-sheets/test2/xl/drawings/_rels/drawing1.xml.rels +2 -0
  132. data/examples/unzipped-sheets/test2/xl/drawings/drawing1.xml +2 -0
  133. data/examples/unzipped-sheets/test2/xl/sharedStrings.xml +2 -0
  134. data/examples/unzipped-sheets/test2/xl/styles.xml +2 -0
  135. data/examples/unzipped-sheets/test2/xl/tables/table1.xml +2 -0
  136. data/examples/unzipped-sheets/test2/xl/theme/theme1.xml +2 -0
  137. data/examples/unzipped-sheets/test2/xl/workbook.xml +2 -0
  138. data/examples/unzipped-sheets/test2/xl/worksheets/_rels/sheet1.xml.rels +2 -0
  139. data/examples/unzipped-sheets/test2/xl/worksheets/_rels/sheet3.xml.rels +2 -0
  140. data/examples/unzipped-sheets/test2/xl/worksheets/sheet1.xml +2 -0
  141. data/examples/unzipped-sheets/test2/xl/worksheets/sheet2.xml +2 -0
  142. data/examples/unzipped-sheets/test2/xl/worksheets/sheet3.xml +2 -0
  143. data/lib/formulae/parse/formula_peg.rb +4 -3
  144. data/lib/formulae/parse/formula_peg.txt +3 -3
  145. data/lib/formulae/run/reference.rb +1 -1
  146. data/spec/formula_peg_spec.rb +13 -0
  147. metadata +152 -9
@@ -0,0 +1,1334 @@
1
+ # coding: utf-8
2
+ # Control
3
+ class Sheet1 < Spreadsheet
4
+ def a1; "INSTRUCTIONS ARE AVAILBLE AT:"; end
5
+ def e1; "http://2050-wiki.greenonblack.com/pages/72"; end
6
+ def a2; "Trajectory selection"; end
7
+ def h2; "Trajectory Descriptions"; end
8
+ def m2; "Example pathways"; end
9
+ def ae2; "Energy supply and demand"; end
10
+ def av2; "Emissions"; end
11
+ def bc2; "Energy Security Contextual Data"; end
12
+ def bp2; "Trajectory Descriptions (slightly longer for story tab)"; end
13
+ def a4; "Supply"; end
14
+ def e4; "YOUR CHOICE"; end
15
+ def f4; "LIMIT"; end
16
+ def h4; "1 (or A)"; end
17
+ def i4; "2 (or B)"; end
18
+ def j4; "3 (or C)"; end
19
+ def k4; "4 (or D)"; end
20
+ def m4; "All at level 1"; end
21
+ def n4; "Maximium demand, no supply"; end
22
+ def o4; "Maximum supply, no demand"; end
23
+ def q4; "Renewables; Higher electric"; end
24
+ def r4; "Nuclear; Central electric"; end
25
+ def s4; "CCS; Lower electric"; end
26
+ def t4; "MARKAL 3.26 Analog"; end
27
+ def v4; "Atkins"; end
28
+ def x4; "National grid"; end
29
+ def y4; "Mark Brinkley"; end
30
+ def aa4; "CPRE"; end
31
+ def ab4; "FOTE"; end
32
+ def bp4; "1 (or A)"; end
33
+ def bq4; "2 (or B)"; end
34
+ def br4; "3 (or C)"; end
35
+ def bs4; "4 (or D)"; end
36
+ def a5; "Electricity Generation"; end
37
+ def b5; "UK Electricity Generation"; end
38
+ def c5; "II.a"; end
39
+ def d5; "Nuclear power stations"; end
40
+ def e5; 1.7; end
41
+ def f5; 4.0; end
42
+ def h5; "No new nuclear power installed; estimated closure of final plant in 2035"; end
43
+ def i5; "~13 3GW power stations delivering ~280 TWh/yr"; end
44
+ def j5; "~30 3GW power stations delivering ~630 TWh/yr"; end
45
+ def k5; "~50 3GW power stations delivering ~1030 TWh/yr"; end
46
+ def m5; 1.0; end
47
+ def n5; 1.0; end
48
+ def o5; 4.0; end
49
+ def q5; 1.4; end
50
+ def r5; 2.7; end
51
+ def s5; 1.5; end
52
+ def t5; 1.9; end
53
+ def v5; 1.6; end
54
+ def x5; 1.7; end
55
+ def y5; 2.0; end
56
+ def aa5; 1.0; end
57
+ def ab5; 1.0; end
58
+ def bd5; "In the event of a 5 day peak in heating and drop in wind"; end
59
+ def bp5; "No new nuclear power installed. Final nuclear power stattion estimated to close in 2035"; end
60
+ def bq5; "~13 3GW nuclear power stations delivering ~280 TWh/yr"; end
61
+ def br5; "~30 3GW nuclear power stations delivering ~630 TWh/yr"; end
62
+ def bs5; "~50 3GW nuclear power stations delivering ~1030 TWh/yr"; end
63
+ def c6; "I.b"; end
64
+ def d6; "Carbon Capture Storage (CCS)"; end
65
+ def d7; "CCS power stations"; end
66
+ def e7; 1.7; end
67
+ def f7; 4.0; end
68
+ def h7; "Demonstration plants only; no roll-out of CCS"; end
69
+ def i7; "~240 TWh/yr from 25-40 CCS power stations; comparable to current gas & coal generation"; end
70
+ def j7; "~340 TWh/yr from 35-60 CCS power stations; comparable to total current demand"; end
71
+ def k7; "~510 TWh/yr from 50-90 CCS power stations; build rate of gas plants in the 1990s"; end
72
+ def m7; 1.0; end
73
+ def n7; 1.0; end
74
+ def o7; 4.0; end
75
+ def q7; 1.3; end
76
+ def r7; 1.0; end
77
+ def s7; 2.0; end
78
+ def t7; 1.7; end
79
+ def v7; 1.5; end
80
+ def x7; 1.7; end
81
+ def y7; 2.0; end
82
+ def aa7; 1.7; end
83
+ def ab7; 1.0; end
84
+ def bi7; 2007.0; end
85
+ def bj7; 2020.0; end
86
+ def bk7; 2030.0; end
87
+ def bl7; 2050.0; end
88
+ def bp7; "CCS demonstration plants only"; end
89
+ def bq7; "~240 TWh/yr from 25-40 CCS power stations - comparable to current gas & coal generation"; end
90
+ def br7; "~340 TWh/yr from 35-60 CCS power stations - comparable to total current demand"; end
91
+ def bs7; "~510 TWh/yr from 50-90 CCS power stations - this requires a similar build rate to that of gas plants in the 1990s"; end
92
+ def d8; "CCS power station fuel mix"; end
93
+ def e8; 2.0; end
94
+ def f8; "D"; end
95
+ def h8; "100% coal/biomass, 0% gas/biogas CCS after demonstration plants"; end
96
+ def i8; "66% coal/biomass, 33% gas/biogas CCS after demonstration plants"; end
97
+ def j8; "33% coal/biomass, 66% gas/biogas CCS after demonstration plants"; end
98
+ def k8; "0% coal/biomas, 100% gas/biogas CCS after demonstration plants"; end
99
+ def m8; 1.0; end
100
+ def n8; 1.0; end
101
+ def o8; 4.0; end
102
+ def q8; 3.0; end
103
+ def r8; 3.0; end
104
+ def s8; 3.0; end
105
+ def t8; 2.0; end
106
+ def v8; 2.0; end
107
+ def x8; 2.0; end
108
+ def y8; 2.0; end
109
+ def aa8; 2.0; end
110
+ def ab8; 1.0; end
111
+ def bd8; @bd8 ||= :name; end
112
+ def bg8; "%"; end
113
+ def bi8; @bi8 ||= :name; end
114
+ def bj8; @bj8 ||= :name; end
115
+ def bk8; @bk8 ||= :name; end
116
+ def bl8; @bl8 ||= :name; end
117
+ def bp8; "After demonstration plants, all CCS electricity is from solid fuel (coal or biomass)"; end
118
+ def bq8; "After demonstration plants, two thirds of CCS electricity is from solid fuel (coal or biomass), one third from gas (natural gas or biogas)"; end
119
+ def br8; "After demonstration plants, one third of CCS electricity is from solid fuel (coal or biomass), two thirds from gas (natural gas or biogas)"; end
120
+ def bs8; "After demonstration plants, all CCS electricity is from gas (natural gas or biogas)"; end
121
+ def c9; "III.a.2"; end
122
+ def d9; "Offshore wind"; end
123
+ def e9; 1.6; end
124
+ def f9; 4.0; end
125
+ def h9; "~1,400 turbines in 2025, reducing to zero as decommissioned sites are not replanted"; end
126
+ def i9; "~10,000 turbines in 2050, delivering ~180 TWh/yr"; end
127
+ def j9; "~17,000 turbines in 2050, delivering ~310 TWh/yr"; end
128
+ def k9; "~40,000 turbines in 2050, delivering ~430 TWh/yr"; end
129
+ def m9; 1.0; end
130
+ def n9; 1.0; end
131
+ def o9; 4.0; end
132
+ def q9; 1.9; end
133
+ def r9; 1.2; end
134
+ def s9; 1.3; end
135
+ def t9; 1.2; end
136
+ def v9; 2.4; end
137
+ def x9; 1.6; end
138
+ def y9; 2.0; end
139
+ def aa9; 2.5; end
140
+ def ab9; 3.0; end
141
+ def bd9; @bd9 ||= :name; end
142
+ def bg9; @bg9 ||= :name; end
143
+ def bi9; @bi9 ||= :name; end
144
+ def bj9; @bj9 ||= :name; end
145
+ def bk9; @bk9 ||= :name; end
146
+ def bl9; @bl9 ||= :name; end
147
+ def bp9; "~1,400 offshore wind turbines in 2025, reducing to zero as decommissioned sites are not replanted"; end
148
+ def bq9; "~10,000 offshore wind turbines in 2050, delivering ~180 TWh/yr"; end
149
+ def br9; "~17,000 offshore wind turbines in 2050, delivering ~310 TWh/yr"; end
150
+ def bs9; "~40,000 offshore wind turbines in 2050, delivering ~430 TWh/yr"; end
151
+ def c10; "III.a.1"; end
152
+ def d10; "Onshore wind"; end
153
+ def e10; 1.6; end
154
+ def f10; 4.0; end
155
+ def h10; "~4,400 turbines in 2025, reducing to zero as decommissioned sites are not replanted"; end
156
+ def i10; "~8,000 turbines in 2050, delivering ~50 TWh/yr. "; end
157
+ def j10; "~13,000 turbines in 2050, delivering ~80 TWh/yr"; end
158
+ def k10; "~20,000 turbines in 2050, delivering ~130 TWh/yr"; end
159
+ def m10; 1.0; end
160
+ def n10; 1.0; end
161
+ def o10; 4.0; end
162
+ def q10; 2.7; end
163
+ def r10; 1.4; end
164
+ def s10; 1.5; end
165
+ def t10; 1.3; end
166
+ def v10; 1.9; end
167
+ def x10; 1.6; end
168
+ def y10; 1.0; end
169
+ def aa10; 1.3; end
170
+ def ab10; 4.0; end
171
+ def bd10; @bd10 ||= :name; end
172
+ def bg10; @bg10 ||= :name; end
173
+ def bi10; @bi10 ||= :name; end
174
+ def bj10; @bj10 ||= :name; end
175
+ def bk10; @bk10 ||= :name; end
176
+ def bl10; @bl10 ||= :name; end
177
+ def bp10; "~4,400 onshore wind turbines in 2025, reducing to zero as decommissioned sites are not replanted"; end
178
+ def bq10; "~8,000 onshore wind turbines in 2050, delivering ~50 TWh/yr. "; end
179
+ def br10; "~13,000 onshore wind turbines in 2050, delivering ~80 TWh/yr"; end
180
+ def bs10; "~20,000 onshore wind turbines in 2050, delivering ~130 TWh/yr"; end
181
+ def c11; "III.c.Wave"; end
182
+ def d11; "Wave"; end
183
+ def e11; 1.0; end
184
+ def f11; 4.0; end
185
+ def h11; "None in 2050"; end
186
+ def i11; "~300km of wave farms"; end
187
+ def j11; "~600km of wave farms"; end
188
+ def k11; "~900km of wave farms"; end
189
+ def m11; 1.0; end
190
+ def n11; 1.0; end
191
+ def o11; 4.0; end
192
+ def q11; 1.6; end
193
+ def r11; 1.0; end
194
+ def s11; 1.0; end
195
+ def t11; 2.0; end
196
+ def v11; 1.0; end
197
+ def x11; 1.0; end
198
+ def y11; 4.0; end
199
+ def aa11; 2.5; end
200
+ def ab11; 3.0; end
201
+ def bp11; "None in 2050"; end
202
+ def bq11; "~300km of wave farms"; end
203
+ def br11; "~600km of wave farms"; end
204
+ def bs11; "~900km of wave farms"; end
205
+ def c12; "III.c.TidalStream"; end
206
+ def d12; "Tidal Stream"; end
207
+ def e12; 2.0; end
208
+ def f12; 4.0; end
209
+ def h12; "None in 2050"; end
210
+ def i12; "1,000 tidal stream turbines"; end
211
+ def j12; "4,700 tidal stream turbines"; end
212
+ def k12; "10,600 tidal stream turbines"; end
213
+ def m12; 1.0; end
214
+ def n12; 1.0; end
215
+ def o12; 4.0; end
216
+ def q12; 2.0; end
217
+ def r12; 1.0; end
218
+ def s12; 1.0; end
219
+ def t12; 2.5; end
220
+ def v12; 1.0; end
221
+ def x12; 2.0; end
222
+ def y12; 4.0; end
223
+ def aa12; 2.5; end
224
+ def ab12; 3.0; end
225
+ def bp12; "None in 2050"; end
226
+ def bq12; "1,000 tidal stream turbines"; end
227
+ def br12; "4,700 tidal stream turbines"; end
228
+ def bs12; "10,600 tidal stream turbines"; end
229
+ def c13; "III.c.TidalRange"; end
230
+ def d13; "Tidal Range"; end
231
+ def e13; 1.0; end
232
+ def f13; 4.0; end
233
+ def h13; "None in 2050"; end
234
+ def i13; "3 small tidal range schemes"; end
235
+ def j13; "4 tidal range schemes"; end
236
+ def k13; "8 tidal range schemes"; end
237
+ def m13; 1.0; end
238
+ def n13; 1.0; end
239
+ def o13; 4.0; end
240
+ def q13; 2.0; end
241
+ def r13; 1.0; end
242
+ def s13; 1.0; end
243
+ def t13; 2.5; end
244
+ def v13; 2.9; end
245
+ def x13; 1.0; end
246
+ def y13; 4.0; end
247
+ def aa13; 2.5; end
248
+ def ab13; 3.0; end
249
+ def bp13; "None in 2050"; end
250
+ def bq13; "3 small tidal range schemes"; end
251
+ def br13; "4 tidal range schemes"; end
252
+ def bs13; "8 tidal range schemes"; end
253
+ def c14; "I.a"; end
254
+ def d14; "Biomass power stations"; end
255
+ def e14; 1.0; end
256
+ def f14; 4.0; end
257
+ def h14; "Only plants built and under construction (0.6GW)"; end
258
+ def i14; "8GW power stations by 2050 delivering 62TWh/yr"; end
259
+ def j14; "12GW power stations by 2050 delivering 100TWh/yr"; end
260
+ def k14; "Over 20GW installed capacity by 2050 delivering 180TWh/yr"; end
261
+ def m14; 1.0; end
262
+ def n14; 1.0; end
263
+ def o14; 4.0; end
264
+ def q14; 1.0; end
265
+ def r14; 1.0; end
266
+ def s14; 1.0; end
267
+ def t14; 1.0; end
268
+ def v14; 1.0; end
269
+ def x14; 1.0; end
270
+ def y14; 1.0; end
271
+ def aa14; 1.0; end
272
+ def ab14; 1.0; end
273
+ def bd14; "Please use the Storage, demand shifting and interconnection lever to choose balancing and "; end
274
+ def bp14; "Only existing biomass plants and those already under construction (0.6GW)"; end
275
+ def bq14; "8GW of biomass power stations by 2050 delivering 62TWh/yr"; end
276
+ def br14; "12GW of biomass power stations by 2050 delivering 100TWh/yr"; end
277
+ def bs14; "Over 20GW of biomass power stations by 2050 delivering 180TWh/yr"; end
278
+ def c15; "IV.a"; end
279
+ def d15; "Solar panels for electricity"; end
280
+ def e15; 1.2; end
281
+ def f15; 4.0; end
282
+ def h15; "No significant solar PV capacity is installed"; end
283
+ def i15; "4m2 of photovoltaic panels per person in 2050, supplying ~60 TWh/yr of electricity"; end
284
+ def j15; " 5.4m2 of photovoltaic panels per person in 2050, supplying ~80 TWh/yr"; end
285
+ def k15; "9.5m2 of photovoltaic panels per person – all suitable roof and facade space used"; end
286
+ def m15; 1.0; end
287
+ def n15; 1.0; end
288
+ def o15; 4.0; end
289
+ def q15; 1.2; end
290
+ def r15; 1.0; end
291
+ def s15; 1.0; end
292
+ def t15; 1.0; end
293
+ def v15; 2.7; end
294
+ def x15; 1.2; end
295
+ def y15; 1.0; end
296
+ def aa15; 2.0; end
297
+ def ab15; 4.0; end
298
+ def bd15; "storage options"; end
299
+ def bp15; "No significant solar PV capacity is installed"; end
300
+ def bq15; "4m2 of photovoltaic panels per person in 2050, supplying ~60 TWh/yr of electricity"; end
301
+ def br15; " 5.4m2 of photovoltaic panels per person in 2050, supplying ~80 TWh/yr"; end
302
+ def bs15; "9.5m2 of photovoltaic panels per person – all suitable roof and facade space used"; end
303
+ def c16; "IV.b"; end
304
+ def d16; "Solar panels for hot water"; end
305
+ def e16; 1.9; end
306
+ def f16; 4.0; end
307
+ def h16; "As today, a negligible proportion of buildings have solar thermal in 2050"; end
308
+ def i16; "~30% of suitable buildings get ~30% of their hot water from solar thermal"; end
309
+ def j16; "All suitable buildings get ~30% of their hot water from solar thermal"; end
310
+ def k16; "All suitable buildings get ~60% of their hot water from solar thermal"; end
311
+ def m16; 1.0; end
312
+ def n16; 1.0; end
313
+ def o16; 4.0; end
314
+ def q16; 1.8; end
315
+ def r16; 1.0; end
316
+ def s16; 1.0; end
317
+ def t16; 2.0; end
318
+ def v16; 1.6; end
319
+ def x16; 1.9; end
320
+ def y16; 3.0; end
321
+ def aa16; 3.0; end
322
+ def ab16; 4.0; end
323
+ def bc16; "Energy balancing and bio-energy"; end
324
+ def bp16; "As today, a negligible proportion of buildings have solar thermal in 2050"; end
325
+ def bq16; "~30% of suitable buildings get ~30% of their hot water from solar thermal"; end
326
+ def br16; "All suitable buildings get ~30% of their hot water from solar thermal"; end
327
+ def bs16; "All suitable buildings get ~60% of their hot water from solar thermal"; end
328
+ def c17; "III.d"; end
329
+ def d17; "Geothermal electricity"; end
330
+ def e17; 1.0; end
331
+ def f17; 4.0; end
332
+ def h17; "No deployment of geothermal electricity generation"; end
333
+ def i17; "Supply of geothermal electricity grows slowly to 7 TWh/yr in 2035 and is sustained"; end
334
+ def j17; "Supply grows quickly reaching 21 TWh/yr by 2030 and is sustained"; end
335
+ def k17; "Supply grows rapidly reaching 35 TWh/yr by 2030 and is sustained"; end
336
+ def m17; 1.0; end
337
+ def n17; 1.0; end
338
+ def o17; 4.0; end
339
+ def q17; 1.0; end
340
+ def r17; 1.0; end
341
+ def s17; 1.0; end
342
+ def t17; 1.0; end
343
+ def v17; 2.6; end
344
+ def x17; 1.0; end
345
+ def y17; 4.0; end
346
+ def aa17; 3.0; end
347
+ def ab17; 4.0; end
348
+ def bp17; "No deployment of geothermal electricity generation"; end
349
+ def bq17; "Supply of geothermal electricity grows slowly to 7 TWh/yr in 2035 and is sustained"; end
350
+ def br17; "Supply of geothermal electricity grows quickly reaching 21 TWh/yr by 2030 and is sustained"; end
351
+ def bs17; "Supply of geothermal electricity grows rapidly reaching 35 TWh/yr by 2030 and is sustained"; end
352
+ def c18; "III.b"; end
353
+ def d18; "Hydroelectric power stations"; end
354
+ def e18; 1.9; end
355
+ def f18; 4.0; end
356
+ def h18; "Supply of electricity is maintained at current levels of 5 TWh/yr"; end
357
+ def i18; "Supply grows slowly, reaching 7 TWh/yr by 2050"; end
358
+ def j18; "Supply grows more quickly, reaching 8 TWh/yr by 2030 and is sustained"; end
359
+ def k18; "Supply grows rapidly reaching 13 TWh/yr by 2035 and is sustained"; end
360
+ def m18; 1.0; end
361
+ def n18; 1.0; end
362
+ def o18; 4.0; end
363
+ def q18; 2.0; end
364
+ def r18; 1.0; end
365
+ def s18; 1.0; end
366
+ def t18; 1.5; end
367
+ def v18; 1.9; end
368
+ def x18; 1.9; end
369
+ def y18; 1.0; end
370
+ def aa18; 2.0; end
371
+ def ab18; 3.0; end
372
+ def bp18; "Supply of hydroelectricity is maintained at current levels of 5 TWh/yr"; end
373
+ def bq18; "Supply of hydroelectricity grows slowly, reaching 7 TWh/yr by 2050"; end
374
+ def br18; "Supply of hydroelectricity grows more quickly, reaching 8 TWh/yr by 2030 and is sustained"; end
375
+ def bs18; "Supply of hydroelectricity grows rapidly reaching 13 TWh/yr by 2035 and is sustained"; end
376
+ def c19; "IV.c"; end
377
+ def d19; "Small-scale wind"; end
378
+ def e19; 1.0; end
379
+ def f19; 4.0; end
380
+ def h19; "As today, no discernable supply of electricity from micro-wind turbines"; end
381
+ def i19; "Supply increases to 1.3 TWh/yr by 2020 and is sustained"; end
382
+ def j19; "Installed in all ~450,000 suitable domestic properties; supplies 3.5 TWh/year from 2020"; end
383
+ def k19; "Installed in all suitable domestic and non-domestic sties; 8.9 TWh/year from 2020"; end
384
+ def m19; 1.0; end
385
+ def n19; 1.0; end
386
+ def o19; 4.0; end
387
+ def q19; 1.0; end
388
+ def r19; 1.0; end
389
+ def s19; 1.0; end
390
+ def t19; 1.0; end
391
+ def v19; 1.0; end
392
+ def x19; 1.0; end
393
+ def y19; 1.0; end
394
+ def aa19; 1.0; end
395
+ def ab19; 1.0; end
396
+ def bd19; "Oversupply and Imports needed"; end
397
+ def bp19; "As today, no discernable supply of electricity from micro-wind turbines"; end
398
+ def bq19; "Supply of electricity from micro wind turbines increases to 1.3 TWh/yr by 2020 and is sustained"; end
399
+ def br19; "Micro wind turbines installed in all ~450,000 suitable domestic properties, supplying 3.5 TWh/year from 2020"; end
400
+ def bs19; "Micro wind turbines installed in all suitable domestic and non-domestic sties, supplying 8.9 TWh/year from 2020"; end
401
+ def b20; "Imported Electricity"; end
402
+ def c20; "VII.a"; end
403
+ def d20; "Electricity imports"; end
404
+ def e20; 1.0; end
405
+ def f20; 4.0; end
406
+ def h20; "No electricity imports, other than for balancing"; end
407
+ def i20; "30 TWh/yr of electricity imported from Southern Europe"; end
408
+ def j20; "70 TWh/yr imported from UK 10% share of international desert solar project "; end
409
+ def k20; "140 TWh/yr imported from UK 20% share of international desert solar project"; end
410
+ def m20; 1.0; end
411
+ def n20; 1.0; end
412
+ def o20; 4.0; end
413
+ def q20; 1.0; end
414
+ def r20; 1.0; end
415
+ def s20; 1.5; end
416
+ def t20; 1.8; end
417
+ def v20; 1.9; end
418
+ def x20; 1.0; end
419
+ def y20; 1.0; end
420
+ def aa20; 3.0; end
421
+ def ab20; 1.0; end
422
+ def bp20; "No electricity imports, other than for balancing"; end
423
+ def bq20; "30 TWh/yr of electricity imported from Southern Europe"; end
424
+ def br20; "70 TWh/yr of electricity imported from a 10% share of an internationally coordinated desert solar project "; end
425
+ def bs20; "140 TWh/yr of electricity imported from a 20% share of an internationally coordinated desert solar project"; end
426
+ def a21; "Bioenergy Supply"; end
427
+ def b21; "UK Bioenergy"; end
428
+ def c21; "VI.a"; end
429
+ def d21; "Agriculture and land use"; end
430
+ def bd21; "Fuel"; end
431
+ def bh21; @bh21 ||= (sheet2.c3).to_s+" / year"; end
432
+ def bi21; 2007.0; end
433
+ def bj21; 2020.0; end
434
+ def bk21; 2030.0; end
435
+ def bl21; 2050.0; end
436
+ def d22; "Land dedicated to bioenergy"; end
437
+ def e22; 3.0; end
438
+ def f22; 4.0; end
439
+ def h22; "Energy crops and food production similar to today"; end
440
+ def i22; "5% of land used for energy crops"; end
441
+ def j22; "10% of land used for energy crops"; end
442
+ def k22; "17% of land used for energy crops"; end
443
+ def m22; 1.0; end
444
+ def n22; 1.0; end
445
+ def o22; 4.0; end
446
+ def q22; 2.0; end
447
+ def r22; 4.0; end
448
+ def s22; 3.0; end
449
+ def t22; 3.0; end
450
+ def v22; 3.0; end
451
+ def x22; 3.0; end
452
+ def y22; 3.0; end
453
+ def aa22; 2.0; end
454
+ def ab22; 2.0; end
455
+ def bd22; "Y.04"; end
456
+ def be22; @be22 ||= index(:name,match(bd22,:name,0.0)); end
457
+ def bi22; @bi22 ||= sumifs(:ref,:ref,bd22); end
458
+ def bj22; @bj22 ||= sumifs(:ref,:ref,bd22); end
459
+ def bk22; @bk22 ||= sumifs(:ref,:ref,bd22); end
460
+ def bl22; @bl22 ||= sumifs(:ref,:ref,bd22); end
461
+ def bp22; "Energy crops and food production similar to today"; end
462
+ def bq22; "5% of UK land used for energy crops"; end
463
+ def br22; "10% of UK land used for energy crops"; end
464
+ def bs22; "17% of UK land used for energy crops"; end
465
+ def d23; "Livestock and their management"; end
466
+ def e23; 2.0; end
467
+ def f23; 4.0; end
468
+ def h23; "Livestock numbers increase by 10%"; end
469
+ def i23; "Livestock numbers same as today"; end
470
+ def j23; "Livestock numbers decrease by 10%"; end
471
+ def k23; "Livestock numbers decrease by 20%"; end
472
+ def m23; 1.0; end
473
+ def n23; 1.0; end
474
+ def o23; 4.0; end
475
+ def q23; 2.0; end
476
+ def r23; 2.0; end
477
+ def s23; 2.0; end
478
+ def t23; 2.0; end
479
+ def v23; 4.0; end
480
+ def x23; 2.0; end
481
+ def y23; 4.0; end
482
+ def aa23; 3.0; end
483
+ def ab23; 4.0; end
484
+ def bd23; "Y.05"; end
485
+ def be23; @be23 ||= index(:name,match(bd23,:name,0.0)); end
486
+ def bi23; @bi23 ||= sumifs(:ref,:ref,bd23); end
487
+ def bj23; @bj23 ||= sumifs(:ref,:ref,bd23); end
488
+ def bk23; @bk23 ||= sumifs(:ref,:ref,bd23); end
489
+ def bl23; @bl23 ||= sumifs(:ref,:ref,bd23); end
490
+ def bp23; "Livestock numbers increase by 10%"; end
491
+ def bq23; "Livestock numbers same as today"; end
492
+ def br23; "Livestock numbers decrease by 10%"; end
493
+ def bs23; "Livestock numbers decrease by 20%"; end
494
+ def c24; "VI.b"; end
495
+ def d24; "Volume of waste and recycling"; end
496
+ def e24; 2.0; end
497
+ def f24; "C"; end
498
+ def h24; "Overall quantity of waste grows by 60%; quantity of waste to landfill remains the same"; end
499
+ def i24; "Quantity of waste increases by 30%; almost 10-fold reduction in quantity to landfill"; end
500
+ def j24; "Quantity of waste stable; 'zero' landfill, most waste recycled"; end
501
+ def k24; "Same as C"; end
502
+ def m24; 1.0; end
503
+ def n24; 1.0; end
504
+ def o24; 3.0; end
505
+ def q24; 2.0; end
506
+ def r24; 2.0; end
507
+ def s24; 2.0; end
508
+ def t24; 2.0; end
509
+ def v24; 3.0; end
510
+ def x24; 2.0; end
511
+ def y24; 3.0; end
512
+ def aa24; 3.0; end
513
+ def ab24; 3.0; end
514
+ def bd24; "Y.06"; end
515
+ def be24; @be24 ||= index(:name,match(bd24,:name,0.0)); end
516
+ def bi24; @bi24 ||= sumifs(:ref,:ref,bd24); end
517
+ def bj24; @bj24 ||= sumifs(:ref,:ref,bd24); end
518
+ def bk24; @bk24 ||= sumifs(:ref,:ref,bd24); end
519
+ def bl24; @bl24 ||= sumifs(:ref,:ref,bd24); end
520
+ def bp24; "Overall quantity of waste grows by 60%; quantity of waste to landfill remains the same"; end
521
+ def bq24; "Quantity of waste increases by 30%; almost 10-fold reduction in quantity to landfill"; end
522
+ def br24; "Quantity of waste stable; 'zero' landfill, most waste recycled"; end
523
+ def bs24; "Quantity of waste stable; 'zero' landfill, most waste recycled"; end
524
+ def c25; "VI.c"; end
525
+ def d25; "Marine algae"; end
526
+ def e25; 2.0; end
527
+ def f25; 4.0; end
528
+ def h25; "No development of macro-algae cultivation"; end
529
+ def i25; "Area same as half of natural reserve used, delivering ~4 TWh/yr"; end
530
+ def j25; "Area same as all of natural reserve used, delivering ~9 TWh/yr"; end
531
+ def k25; "Area same as four times natural reserve used, delivering ~46 TWh/yr"; end
532
+ def m25; 1.0; end
533
+ def n25; 1.0; end
534
+ def o25; 4.0; end
535
+ def q25; 1.0; end
536
+ def r25; 3.0; end
537
+ def s25; 1.0; end
538
+ def t25; 1.0; end
539
+ def v25; 1.0; end
540
+ def x25; 2.0; end
541
+ def y25; 3.0; end
542
+ def aa25; 1.0; end
543
+ def ab25; 1.0; end
544
+ def bd25; "Y.01"; end
545
+ def be25; @be25 ||= index(:name,match(bd25,:name,0.0)); end
546
+ def bi25; @bi25 ||= sumifs(:ref,:ref,bd25); end
547
+ def bj25; @bj25 ||= sumifs(:ref,:ref,bd25); end
548
+ def bk25; @bk25 ||= sumifs(:ref,:ref,bd25); end
549
+ def bl25; @bl25 ||= sumifs(:ref,:ref,bd25); end
550
+ def bp25; "No development of macro-algae cultivation"; end
551
+ def bq25; "Macro algae covering the same area as half of natural reserve used, delivering ~4 TWh/yr"; end
552
+ def br25; "Macro algae covering the same area as all of natural reserve used, delivering ~9 TWh/yr"; end
553
+ def bs25; "Macro algae covering the same area as four times natural reserve used, delivering ~46 TWh/yr"; end
554
+ def c26; "V.a"; end
555
+ def d26; "Type of fuels from biomass"; end
556
+ def e26; 2.0; end
557
+ def f26; "D"; end
558
+ def h26; "Biomass converted to a mixture of solid, liquid and gas biofuels"; end
559
+ def i26; "Biomass mainly converted to solid biofuel"; end
560
+ def j26; "Biomass mainly converted to liquid biofuel"; end
561
+ def k26; "Biomass mainly converted to biogas fuel"; end
562
+ def m26; 1.0; end
563
+ def n26; 1.0; end
564
+ def o26; 2.0; end
565
+ def q26; 1.0; end
566
+ def r26; 3.0; end
567
+ def s26; 2.0; end
568
+ def t26; 1.0; end
569
+ def v26; 1.0; end
570
+ def x26; 2.0; end
571
+ def y26; 2.0; end
572
+ def aa26; 2.0; end
573
+ def ab26; 1.0; end
574
+ def bd26; "Y.02"; end
575
+ def be26; @be26 ||= index(:name,match(bd26,:name,0.0)); end
576
+ def bi26; @bi26 ||= sumifs(:ref,:ref,bd26); end
577
+ def bj26; @bj26 ||= sumifs(:ref,:ref,bd26); end
578
+ def bk26; @bk26 ||= sumifs(:ref,:ref,bd26); end
579
+ def bl26; @bl26 ||= sumifs(:ref,:ref,bd26); end
580
+ def bp26; "Biomass converted to a mixture of solid, liquid and gas biofuels"; end
581
+ def bq26; "Biomass mainly converted to solid biofuel"; end
582
+ def br26; "Biomass mainly converted to liquid biofuel"; end
583
+ def bs26; "Biomass mainly converted to biogas fuel"; end
584
+ def b27; "Imported Bioenergy"; end
585
+ def c27; "V.b"; end
586
+ def d27; "Bioenergy imports"; end
587
+ def e27; 2.0; end
588
+ def f27; 4.0; end
589
+ def h27; "Imported biofuel declines from ~ 4 TWh/yr currently to zero"; end
590
+ def i27; "Up to 70 TWh/yr of imported bioenergy in 2050"; end
591
+ def j27; "Up to 140 TWh/yr of imported bioenergy in 2050"; end
592
+ def k27; "Up to 280 TWh/yr of imported bioenergy in 2050"; end
593
+ def m27; 1.0; end
594
+ def n27; 1.0; end
595
+ def o27; 4.0; end
596
+ def q27; 2.0; end
597
+ def r27; 3.7; end
598
+ def s27; 3.0; end
599
+ def t27; 2.5; end
600
+ def v27; 1.0; end
601
+ def x27; 2.0; end
602
+ def y27; 1.0; end
603
+ def aa27; 2.0; end
604
+ def ab27; 1.0; end
605
+ def bp27; "Imported biofuel declines from ~ 4 TWh/yr currently to zero"; end
606
+ def bq27; "Up to 70 TWh/yr of imported bioenergy in 2050"; end
607
+ def br27; "Up to 140 TWh/yr of imported bioenergy in 2050"; end
608
+ def bs27; "Up to 280 TWh/yr of imported bioenergy in 2050"; end
609
+ def a28; "Demand"; end
610
+ def bd28; "Bioenergy contextual data"; end
611
+ def a29; "Transport"; end
612
+ def b29; "UK Transport"; end
613
+ def c29; "XII.a"; end
614
+ def d29; "Domestic passenger transport"; end
615
+ def ar29; "NB: Modelled emissions adjusted to match 2007 actuals. See note below emission table."; end
616
+ def d30; "Domestic transport behaviour"; end
617
+ def e30; 3.0; end
618
+ def f30; 4.0; end
619
+ def h30; "In 2050, individuals travel 9% further than today. No noticeable modal shift."; end
620
+ def i30; "Individuals travel 7% further than today, cars and vans are 80% of 2050 passenger mileage"; end
621
+ def j30; "Individuals travel 7% further than today; cars and vans 74% of 2050 passenger mileage"; end
622
+ def k30; "In 2050, individuals travel the same distance as today. Signficant shift to public transport."; end
623
+ def m30; 1.0; end
624
+ def n30; 4.0; end
625
+ def o30; 1.0; end
626
+ def q30; 4.0; end
627
+ def r30; 2.0; end
628
+ def s30; 3.0; end
629
+ def t30; 4.0; end
630
+ def v30; 3.0; end
631
+ def x30; 3.0; end
632
+ def y30; 3.0; end
633
+ def aa30; 4.0; end
634
+ def ab30; 4.0; end
635
+ def bd30; "Source / Use"; end
636
+ def bh30; @bh30 ||= (sheet2.c3).to_s+" / year"; end
637
+ def bi30; 2007.0; end
638
+ def bj30; 2020.0; end
639
+ def bk30; 2030.0; end
640
+ def bl30; 2050.0; end
641
+ def bp30; "In 2050, individuals travel 9% further than today. No noticeable modal shift."; end
642
+ def bq30; "Individuals travel 7% further than today, cars and vans are 80% of 2050 passenger mileage"; end
643
+ def br30; "Individuals travel 7% further than today; cars and vans 74% of 2050 passenger mileage"; end
644
+ def bs30; "In 2050, individuals travel the same distance as today. Signficant shift to public transport."; end
645
+ def d31; "Shift to zero emission transport"; end
646
+ def e31; 3.0; end
647
+ def f31; 4.0; end
648
+ def h31; "By 2050, 20% plug in hybrid electric cars; 2.5% zero emission cars."; end
649
+ def i31; "By 2050, 35% conventional petrol or diesel engine cars; 54% plug-in hybrid vehicles; 11% zero emission vehicles; all buses hybrids; 73% of passenger railway is electrifi"; end
650
+ def j31; "By 2050, 20% conventional combustion engine cars, with 32% in plug-in hybrid vehicles and 48% in zero emission vehicles: 22% of bus travel fully electric or fuel cell electric "; end
651
+ def k31; "By 2050 100% electric motor or hydrogen fuel cell; all passenger trains electrified; 50% bus electrified "; end
652
+ def m31; 1.0; end
653
+ def n31; 4.0; end
654
+ def o31; 1.0; end
655
+ def q31; 4.0; end
656
+ def r31; 3.0; end
657
+ def s31; 2.0; end
658
+ def t31; 3.0; end
659
+ def v31; 3.0; end
660
+ def x31; 3.0; end
661
+ def y31; 4.0; end
662
+ def aa31; 4.0; end
663
+ def ab31; 4.0; end
664
+ def bp31; "By 2050, 20% plug in hybrid electric cars; 2.5% zero emission cars."; end
665
+ def bq31; "By 2050, 35% conventional petrol or diesel engine cars; 54% plug-in hybrid vehicles; 11% zero emission vehicles; all buses hybrids; 73% of passenger railway is electrifi"; end
666
+ def br31; "By 2050, 20% conventional combustion engine cars, with 32% in plug-in hybrid vehicles and 48% in zero emission vehicles: 22% of bus travel fully electric or fuel cell electric "; end
667
+ def bs31; "By 2050 100% electric motor or hydrogen fuel cell; all passenger trains electrified; 50% bus electrified "; end
668
+ def d32; "Choice of electric or hydrogen cars and vans"; end
669
+ def e32; 1.0; end
670
+ def f32; 4.0; end
671
+ def h32; "By 2050, 100% electric"; end
672
+ def i32; "by 2050, 80% electric, 20% hydrogen fuel cell"; end
673
+ def j32; "By 2050, 20% electric, 80% hydrogen fuel cell"; end
674
+ def k32; "By 2050, 100% hydrogen fuel cells"; end
675
+ def m32; 1.0; end
676
+ def n32; 2.0; end
677
+ def o32; 2.0; end
678
+ def q32; 2.0; end
679
+ def r32; 2.0; end
680
+ def s32; 2.0; end
681
+ def t32; 1.0; end
682
+ def v32; 2.0; end
683
+ def x32; 1.0; end
684
+ def y32; 2.0; end
685
+ def aa32; 1.0; end
686
+ def ab32; 2.0; end
687
+ def bp32; "By 2050, 100% electric"; end
688
+ def bq32; "by 2050, 80% electric, 20% hydrogen fuel cell"; end
689
+ def br32; "By 2050, 20% electric, 80% hydrogen fuel cell"; end
690
+ def bs32; "By 2050, 100% hydrogen fuel cells"; end
691
+ def c33; "XII.b"; end
692
+ def d33; "Domestic freight"; end
693
+ def e33; 3.0; end
694
+ def f33; 4.0; end
695
+ def h33; "Road haulage makes up 73% of distance, using conventional engines. Rail all diesel"; end
696
+ def i33; "Some shift from road to rail and water, and more efficient engines"; end
697
+ def j33; "Greater modal shift to rail and water; more efficient HGVs; more efficient logistics"; end
698
+ def k33; "Road modal share falls to half; greater hybridisation. Rail freight is all electric "; end
699
+ def m33; 1.0; end
700
+ def n33; 4.0; end
701
+ def o33; 1.0; end
702
+ def q33; 3.0; end
703
+ def r33; 2.0; end
704
+ def s33; 3.0; end
705
+ def t33; 4.0; end
706
+ def v33; 4.0; end
707
+ def x33; 3.0; end
708
+ def y33; 2.0; end
709
+ def aa33; 4.0; end
710
+ def ab33; 4.0; end
711
+ def ar33; "Modelled emissions, net of capture, by sector (Mt CO2e)"; end
712
+ def bd33; "Consumption of gaseous hydrocarbons"; end
713
+ def bi33; @bi33 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.05",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.05",:ref,0.0))); end
714
+ def bj33; @bj33 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.05",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.05",:ref,0.0))); end
715
+ def bk33; @bk33 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.05",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.05",:ref,0.0))); end
716
+ def bl33; @bl33 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.05",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.05",:ref,0.0))); end
717
+ def bp33; "Road haulage makes up 73% of distance, using conventional engines. Rail all diesel"; end
718
+ def bq33; "Some shift from road to rail and water, and more efficient engines"; end
719
+ def br33; "Greater modal shift to rail and water; more efficient HGVs; more efficient logistics"; end
720
+ def bs33; "Road modal share falls to half; greater hybridisation. Rail freight is all electric "; end
721
+ def b34; "International Transport"; end
722
+ def c34; "XII.c"; end
723
+ def d34; "International aviation"; end
724
+ def e34; 2.0; end
725
+ def f34; 4.0; end
726
+ def h34; "Annual improvement in plane fuel efficiency of 0.8%. CCC “likely” scenario"; end
727
+ def i34; "Annual improvement in plane fuel efficiency of 1%. CCC “optimistic” scenario"; end
728
+ def j34; "Same as level 2"; end
729
+ def k34; "Annual improvement in plane fuel efficiency of 1.5%. CCC “speculative” scenario"; end
730
+ def m34; 1.0; end
731
+ def n34; 4.0; end
732
+ def o34; 1.0; end
733
+ def q34; 2.0; end
734
+ def r34; 2.0; end
735
+ def s34; 2.0; end
736
+ def t34; 1.0; end
737
+ def v34; 2.0; end
738
+ def x34; 2.0; end
739
+ def y34; 4.0; end
740
+ def aa34; 4.0; end
741
+ def ab34; 4.0; end
742
+ def bd34; "V"; end
743
+ def be34; "Supplied from biogas"; end
744
+ def bi34; @bi34 ||= index(:ref,match(bd34,:ref,0.0),match("V.05",:ref,0.0))/bi33; end
745
+ def bj34; @bj34 ||= index(:ref,match(bd34,:ref,0.0),match("V.05",:ref,0.0))/bj33; end
746
+ def bk34; @bk34 ||= index(:ref,match(bd34,:ref,0.0),match("V.05",:ref,0.0))/bk33; end
747
+ def bl34; @bl34 ||= index(:ref,match(bd34,:ref,0.0),match("V.05",:ref,0.0))/bl33; end
748
+ def bp34; "Annual improvement in plane fuel efficiency of 0.8%, similar to the Climate Change Committee's “likely” scenario"; end
749
+ def bq34; "Annual improvement in plane fuel efficiency of 1%, similar to the Climate Change Committee's “optimistic” scenario"; end
750
+ def br34; "Annual improvement in plane fuel efficiency of 1%, similar to the Climate Change Committee's “optimistic” scenario"; end
751
+ def bs34; "Annual improvement in plane fuel efficiency of 1.5%, similar to the Climate Change Committee's “speculative” scenario"; end
752
+ def c35; "XII.e"; end
753
+ def d35; "International shipping"; end
754
+ def e35; 3.0; end
755
+ def f35; 4.0; end
756
+ def h35; "no improvements from energy efficiency; between 2007 and 2050 emissions increase by 139%"; end
757
+ def i35; "1/3 of technical feasible reductions realised; between 2007 and 2050 emissions increase by 78%"; end
758
+ def j35; "2/3 of technical feasible reductions realised; between 2007 and 2050 emissions increase by 16%"; end
759
+ def k35; "maximum technical feasible reductions realised; between 2007 and 2050 emissions decrease by 46%"; end
760
+ def m35; 1.0; end
761
+ def n35; 4.0; end
762
+ def o35; 1.0; end
763
+ def q35; 2.0; end
764
+ def r35; 2.0; end
765
+ def s35; 2.0; end
766
+ def t35; 1.0; end
767
+ def v35; 4.0; end
768
+ def x35; 3.0; end
769
+ def y35; 4.0; end
770
+ def aa35; 3.0; end
771
+ def ab35; 4.0; end
772
+ def ar35; "Sector"; end
773
+ def aw35; 2007.0; end
774
+ def ax35; 2050.0; end
775
+ def ay35; "% of base yr"; end
776
+ def bd35; "IX.a"; end
777
+ def be35; "Used in domestic heating"; end
778
+ def bi35; @bi35 ||= -index(:ref,match(bd35,:ref,0.0),match("V.05",:ref,0.0))/bi33; end
779
+ def bj35; @bj35 ||= -index(:ref,match(bd35,:ref,0.0),match("V.05",:ref,0.0))/bj33; end
780
+ def bk35; @bk35 ||= -index(:ref,match(bd35,:ref,0.0),match("V.05",:ref,0.0))/bk33; end
781
+ def bl35; @bl35 ||= -index(:ref,match(bd35,:ref,0.0),match("V.05",:ref,0.0))/bl33; end
782
+ def bp35; "no improvements from energy efficiency; between 2007 and 2050 emissions increase by 139%"; end
783
+ def bq35; "1/3 of technical feasible reductions realised; between 2007 and 2050 emissions increase by 78%"; end
784
+ def br35; "2/3 of technical feasible reductions realised; between 2007 and 2050 emissions increase by 16%"; end
785
+ def bs35; "maximum technical feasible reductions realised; between 2007 and 2050 emissions decrease by 46%"; end
786
+ def a36; "Households"; end
787
+ def b36; "Residential Heating"; end
788
+ def c36; "IX.a"; end
789
+ def d36; "Domestic space heating and hot water"; end
790
+ def e36; 0.0; end
791
+ def v36; 0.0; end
792
+ def x36; 0.0; end
793
+ def y36; 0.0; end
794
+ def aa36; 0.0; end
795
+ def ab36; 0.0; end
796
+ def ar36; "I"; end
797
+ def as36; @as36 ||= index(:name,match(ar36,:name,0.0)); end
798
+ def aw36; @aw36 ||= sumifs(:ref,:ref,ar36); end
799
+ def ax36; @ax36 ||= sumifs(:ref,:ref,ar36); end
800
+ def ay36; @ay36 ||= ax36*sheet3.h155/sheet3.f205; end
801
+ def bd36; "IX.c"; end
802
+ def be36; "Used in commercial heating"; end
803
+ def bi36; @bi36 ||= -index(:ref,match(bd36,:ref,0.0),match("V.05",:ref,0.0))/bi33; end
804
+ def bj36; @bj36 ||= -index(:ref,match(bd36,:ref,0.0),match("V.05",:ref,0.0))/bj33; end
805
+ def bk36; @bk36 ||= -index(:ref,match(bd36,:ref,0.0),match("V.05",:ref,0.0))/bk33; end
806
+ def bl36; @bl36 ||= -index(:ref,match(bd36,:ref,0.0),match("V.05",:ref,0.0))/bl33; end
807
+ def d37; "Average temperature of homes"; end
808
+ def e37; 2.0; end
809
+ def f37; 4.0; end
810
+ def h37; "Average room temperature increases to 20°C (a 2.5°C increase on 2007)"; end
811
+ def i37; "Average room temperature increases to 18°C (a 0.5°C increase on 2007)"; end
812
+ def j37; "Average room temperature decreases to 17°C (a 0.5°C decrease on 2007)"; end
813
+ def k37; "Average room temperature decreases to 16°C (a 1.5°C decrease on 2007)"; end
814
+ def m37; 1.0; end
815
+ def n37; 4.0; end
816
+ def o37; 1.0; end
817
+ def q37; 4.0; end
818
+ def r37; 2.0; end
819
+ def s37; 3.0; end
820
+ def t37; 4.0; end
821
+ def v37; 2.0; end
822
+ def x37; 2.0; end
823
+ def y37; 4.0; end
824
+ def aa37; 3.0; end
825
+ def ab37; 3.0; end
826
+ def ar37; "V"; end
827
+ def as37; @as37 ||= index(:name,match(ar37,:name,0.0)); end
828
+ def aw37; @aw37 ||= sumifs(:ref,:ref,ar37); end
829
+ def ax37; @ax37 ||= sumifs(:ref,:ref,ar37); end
830
+ def ay37; @ay37 ||= ax37*sheet3.h155/sheet3.f205; end
831
+ def bd37; "XI"; end
832
+ def be37; "Used in Industry"; end
833
+ def bi37; @bi37 ||= -index(:ref,match(bd37,:ref,0.0),match("V.05",:ref,0.0))/bi33; end
834
+ def bj37; @bj37 ||= -index(:ref,match(bd37,:ref,0.0),match("V.05",:ref,0.0))/bj33; end
835
+ def bk37; @bk37 ||= -index(:ref,match(bd37,:ref,0.0),match("V.05",:ref,0.0))/bk33; end
836
+ def bl37; @bl37 ||= -index(:ref,match(bd37,:ref,0.0),match("V.05",:ref,0.0))/bl33; end
837
+ def bp37; "Average room temperature increases to 20°C (a 2.5°C increase on 2007)"; end
838
+ def bq37; "Average room temperature increases to 18°C (a 0.5°C increase on 2007)"; end
839
+ def br37; "Average room temperature decreases to 17°C (a 0.5°C decrease on 2007)"; end
840
+ def bs37; "Average room temperature decreases to 16°C (a 1.5°C decrease on 2007)"; end
841
+ def d38; "Home insulation"; end
842
+ def e38; 3.0; end
843
+ def f38; 4.0; end
844
+ def h38; "Over 7m homes insulated, average thermal leakiness falls by 25%"; end
845
+ def i38; "Over 8m homes insulated, average thermal leakiness falls by 33%"; end
846
+ def j38; "Over 18m homes insulated, average thermal leakiness falls by 42%"; end
847
+ def k38; "Over 24m homes insulated, average thermal leakiness decreases by 50% "; end
848
+ def m38; 1.0; end
849
+ def n38; 4.0; end
850
+ def o38; 1.0; end
851
+ def q38; 4.0; end
852
+ def r38; 3.0; end
853
+ def s38; 3.0; end
854
+ def t38; 3.0; end
855
+ def v38; 4.0; end
856
+ def x38; 3.0; end
857
+ def y38; 2.0; end
858
+ def aa38; 4.0; end
859
+ def ab38; 4.0; end
860
+ def ar38; "XIV"; end
861
+ def as38; @as38 ||= index(:name,match(ar38,:name,0.0)); end
862
+ def aw38; @aw38 ||= sumifs(:ref,:ref,ar38); end
863
+ def ax38; @ax38 ||= sumifs(:ref,:ref,ar38); end
864
+ def ay38; @ay38 ||= ax38*sheet3.h155/sheet3.f205; end
865
+ def bd38; "I.a"; end
866
+ def be38; "Used in unabated power generation"; end
867
+ def bi38; @bi38 ||= -index(:ref,match(bd38,:ref,0.0),match("V.05",:ref,0.0))/bi33; end
868
+ def bj38; @bj38 ||= -index(:ref,match(bd38,:ref,0.0),match("V.05",:ref,0.0))/bj33; end
869
+ def bk38; @bk38 ||= -index(:ref,match(bd38,:ref,0.0),match("V.05",:ref,0.0))/bk33; end
870
+ def bl38; @bl38 ||= -index(:ref,match(bd38,:ref,0.0),match("V.05",:ref,0.0))/bl33; end
871
+ def bp38; "Over 7m homes insulated, average thermal leakiness falls by 25%"; end
872
+ def bq38; "Over 8m homes insulated, average thermal leakiness falls by 33%"; end
873
+ def br38; "Over 18m homes insulated, average thermal leakiness falls by 42%"; end
874
+ def bs38; "Over 24m homes insulated, average thermal leakiness decreases by 50% "; end
875
+ def d39; "Home heating electrification"; end
876
+ def e39; 4.0; end
877
+ def f39; "D"; end
878
+ def h39; "The proportion of domestic heat supplied using electricity is 0-10%, as today"; end
879
+ def i39; "The proportion of new domestic heating systems using electricity is 20%"; end
880
+ def j39; "The proportion of new domestic heating systems supplied using electricity is 30-60%"; end
881
+ def k39; "The proportion of new domestic heating systems supplied using electricity is 80-100%"; end
882
+ def m39; 1.0; end
883
+ def n39; 4.0; end
884
+ def o39; 1.0; end
885
+ def q39; 4.0; end
886
+ def r39; 3.0; end
887
+ def s39; 3.0; end
888
+ def t39; 3.0; end
889
+ def v39; 4.0; end
890
+ def x39; 4.0; end
891
+ def y39; 3.0; end
892
+ def aa39; 3.0; end
893
+ def ab39; 3.0; end
894
+ def ar39; "VI"; end
895
+ def as39; @as39 ||= index(:name,match(ar39,:name,0.0)); end
896
+ def aw39; @aw39 ||= sumifs(:ref,:ref,ar39); end
897
+ def ax39; @ax39 ||= sumifs(:ref,:ref,ar39); end
898
+ def ay39; @ay39 ||= ax39*sheet3.h155/sheet3.f205; end
899
+ def bd39; "I.b"; end
900
+ def be39; "Used in CCS power generation"; end
901
+ def bi39; @bi39 ||= -index(:ref,match(bd39,:ref,0.0),match("V.05",:ref,0.0))/bi33; end
902
+ def bj39; @bj39 ||= -index(:ref,match(bd39,:ref,0.0),match("V.05",:ref,0.0))/bj33; end
903
+ def bk39; @bk39 ||= -index(:ref,match(bd39,:ref,0.0),match("V.05",:ref,0.0))/bk33; end
904
+ def bl39; @bl39 ||= -index(:ref,match(bd39,:ref,0.0),match("V.05",:ref,0.0))/bl33; end
905
+ def bp39; "The proportion of domestic heat supplied using electricity is 0-10%, as today"; end
906
+ def bq39; "The proportion of new domestic heating systems using electricity is 20%"; end
907
+ def br39; "The proportion of new domestic heating systems supplied using electricity is 30-60%"; end
908
+ def bs39; "The proportion of new domestic heating systems supplied using electricity is 80-100%"; end
909
+ def d40; "Home heating that isn't electric"; end
910
+ def e40; 1.0; end
911
+ def f40; "D"; end
912
+ def h40; "The dominant non-electric heat source is gas or gas CHP (biogas if available)"; end
913
+ def i40; "The dominant non-electric heat source is coal or coal CHP (biomass if available)"; end
914
+ def j40; "The dominant non-electric heat source is waste heat from power stations"; end
915
+ def k40; "A mixture of gas/biogas; coal/biomass; and heat from power stations"; end
916
+ def m40; 1.0; end
917
+ def n40; 4.0; end
918
+ def o40; 1.0; end
919
+ def q40; 4.0; end
920
+ def r40; 3.0; end
921
+ def s40; 2.0; end
922
+ def t40; 3.0; end
923
+ def v40; 1.0; end
924
+ def x40; 1.0; end
925
+ def y40; 4.0; end
926
+ def aa40; 3.0; end
927
+ def ab40; 3.0; end
928
+ def ar40; "IX"; end
929
+ def as40; @as40 ||= index(:name,match(ar40,:name,0.0)); end
930
+ def aw40; @aw40 ||= sumifs(:ref,:ref,ar40); end
931
+ def ax40; @ax40 ||= sumifs(:ref,:ref,ar40); end
932
+ def ay40; @ay40 ||= ax40*sheet3.h155/sheet3.f205; end
933
+ def bp40; "The dominant non-electric heat source is gas (biogas if available)"; end
934
+ def bq40; "The dominant non-electric heat source is coal (biomass if available)"; end
935
+ def br40; "The dominant non-electric heat source is waste heat from power stations"; end
936
+ def bs40; "A mixture of gas/biogas; coal/biomass; and heat from power stations"; end
937
+ def b41; "Residential Lighting & Appliances"; end
938
+ def c41; "X.a"; end
939
+ def d41; "Domestic lighting, appliances, and cooking"; end
940
+ def e41; 0.0; end
941
+ def v41; 0.0; end
942
+ def x41; 0.0; end
943
+ def y41; 0.0; end
944
+ def aa41; 0.0; end
945
+ def ab41; 0.0; end
946
+ def ar41; "X"; end
947
+ def as41; @as41 ||= index(:name,match(ar41,:name,0.0)); end
948
+ def aw41; @aw41 ||= sumifs(:ref,:ref,ar41); end
949
+ def ax41; @ax41 ||= sumifs(:ref,:ref,ar41); end
950
+ def ay41; @ay41 ||= ax41*sheet3.h155/sheet3.f205; end
951
+ def bd41; "Consumption of liquid hydrocarbons"; end
952
+ def bi41; @bi41 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.04",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.04",:ref,0.0))); end
953
+ def bj41; @bj41 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.04",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.04",:ref,0.0))); end
954
+ def bk41; @bk41 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.04",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.04",:ref,0.0))); end
955
+ def bl41; @bl41 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.04",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.04",:ref,0.0))); end
956
+ def d42; "Home lighting & appliances"; end
957
+ def e42; 2.0; end
958
+ def f42; 4.0; end
959
+ def h42; "Energy demand for domestic lights and appliances increases by 20% (relative to 2007)"; end
960
+ def i42; "Energy demand for domestic lights and appliances is stable"; end
961
+ def j42; "Energy demand for domestic lights and appliances decreases by 40%"; end
962
+ def k42; "Energy demand for domestic lights and appliances decreases by 60%"; end
963
+ def m42; 1.0; end
964
+ def n42; 4.0; end
965
+ def o42; 1.0; end
966
+ def q42; 4.0; end
967
+ def r42; 2.0; end
968
+ def s42; 3.0; end
969
+ def t42; 4.0; end
970
+ def v42; 4.0; end
971
+ def x42; 2.0; end
972
+ def y42; 4.0; end
973
+ def aa42; 4.0; end
974
+ def ab42; 4.0; end
975
+ def ar42; "XI"; end
976
+ def as42; @as42 ||= index(:name,match(ar42,:name,0.0)); end
977
+ def aw42; @aw42 ||= sumifs(:ref,:ref,ar42); end
978
+ def ax42; @ax42 ||= sumifs(:ref,:ref,ar42); end
979
+ def ay42; @ay42 ||= ax42*sheet3.h155/sheet3.f205; end
980
+ def bd42; "V"; end
981
+ def be42; "Supplied from liquid biofuels"; end
982
+ def bi42; @bi42 ||= index(:ref,match(bd42,:ref,0.0),match("V.04",:ref,0.0))/bi41; end
983
+ def bj42; @bj42 ||= index(:ref,match(bd42,:ref,0.0),match("V.04",:ref,0.0))/bj41; end
984
+ def bk42; @bk42 ||= index(:ref,match(bd42,:ref,0.0),match("V.04",:ref,0.0))/bk41; end
985
+ def bl42; @bl42 ||= index(:ref,match(bd42,:ref,0.0),match("V.04",:ref,0.0))/bl41; end
986
+ def bp42; "Energy demand for domestic lights and appliances increases by 20% (relative to 2007)"; end
987
+ def bq42; "Energy demand for domestic lights and appliances is stable"; end
988
+ def br42; "Energy demand for domestic lights and appliances decreases by 40%"; end
989
+ def bs42; "Energy demand for domestic lights and appliances decreases by 60%"; end
990
+ def d43; "Electrification of home cooking"; end
991
+ def e43; 1.0; end
992
+ def f43; "B"; end
993
+ def h43; "Energy used for domestic cooking remains at 63% electricity and 37% gas"; end
994
+ def i43; "Energy used for domestic cooking is entirely electric"; end
995
+ def j43; "Same as B"; end
996
+ def k43; "Same as B"; end
997
+ def m43; 1.0; end
998
+ def n43; 2.0; end
999
+ def o43; 1.0; end
1000
+ def q43; 2.0; end
1001
+ def r43; 2.0; end
1002
+ def s43; 1.0; end
1003
+ def t43; 2.0; end
1004
+ def v43; 2.0; end
1005
+ def x43; 1.0; end
1006
+ def y43; 2.0; end
1007
+ def aa43; 1.0; end
1008
+ def ab43; 2.0; end
1009
+ def bd43; "XII"; end
1010
+ def be43; "Used in transport"; end
1011
+ def bi43; @bi43 ||= -index(:ref,match(bd43,:ref,0.0),match("V.04",:ref,0.0))/bi41; end
1012
+ def bj43; @bj43 ||= -index(:ref,match(bd43,:ref,0.0),match("V.04",:ref,0.0))/bj41; end
1013
+ def bk43; @bk43 ||= -index(:ref,match(bd43,:ref,0.0),match("V.04",:ref,0.0))/bk41; end
1014
+ def bl43; @bl43 ||= -index(:ref,match(bd43,:ref,0.0),match("V.04",:ref,0.0))/bl41; end
1015
+ def bp43; "Energy used for domestic cooking remains at 63% electricity and 37% gas"; end
1016
+ def bq43; "Energy used for domestic cooking is entirely electric"; end
1017
+ def br43; "Energy used for domestic cooking is entirely electric"; end
1018
+ def bs43; "Energy used for domestic cooking is entirely electric"; end
1019
+ def a44; "Business"; end
1020
+ def b44; "Industry"; end
1021
+ def c44; "XI.a"; end
1022
+ def d44; "Industrial processes"; end
1023
+ def ar44; "XII"; end
1024
+ def as44; @as44 ||= index(:name,match(ar44,:name,0.0)); end
1025
+ def aw44; @aw44 ||= sumifs(:ref,:ref,ar44); end
1026
+ def ax44; @ax44 ||= sumifs(:ref,:ref,ar44); end
1027
+ def ay44; @ay44 ||= ax44*sheet3.h155/sheet3.f205; end
1028
+ def bd44; "XI"; end
1029
+ def be44; "Used in industry"; end
1030
+ def bi44; @bi44 ||= -index(:ref,match(bd44,:ref,0.0),match("V.04",:ref,0.0))/bi41; end
1031
+ def bj44; @bj44 ||= -index(:ref,match(bd44,:ref,0.0),match("V.04",:ref,0.0))/bj41; end
1032
+ def bk44; @bk44 ||= -index(:ref,match(bd44,:ref,0.0),match("V.04",:ref,0.0))/bk41; end
1033
+ def bl44; @bl44 ||= -index(:ref,match(bd44,:ref,0.0),match("V.04",:ref,0.0))/bl41; end
1034
+ def d45; "Growth in industry"; end
1035
+ def e45; 2.0; end
1036
+ def f45; "C"; end
1037
+ def h45; "UK industry output more than doubles by 2050"; end
1038
+ def i45; "UK industry grows in line with current trends"; end
1039
+ def j45; "UK industry output falls 30-40% by 2050"; end
1040
+ def k45; "Same as C"; end
1041
+ def m45; 1.0; end
1042
+ def n45; 4.0; end
1043
+ def o45; 2.0; end
1044
+ def q45; 2.0; end
1045
+ def r45; 2.0; end
1046
+ def s45; 2.0; end
1047
+ def t45; 2.0; end
1048
+ def v45; 1.0; end
1049
+ def x45; 2.0; end
1050
+ def y45; 3.0; end
1051
+ def aa45; 2.0; end
1052
+ def ab45; 2.0; end
1053
+ def ar45; "XV"; end
1054
+ def as45; @as45 ||= index(:name,match(ar45,:name,0.0)); end
1055
+ def aw45; @aw45 ||= sumifs(:ref,:ref,ar45); end
1056
+ def ax45; @ax45 ||= sumifs(:ref,:ref,ar45); end
1057
+ def ay45; @ay45 ||= ax45*sheet3.h155/sheet3.f205; end
1058
+ def bd45; "XV.a"; end
1059
+ def be45; "Used in refineries"; end
1060
+ def bi45; @bi45 ||= -index(:ref,match(bd45,:ref,0.0),match("V.04",:ref,0.0))/bi41; end
1061
+ def bj45; @bj45 ||= -index(:ref,match(bd45,:ref,0.0),match("V.04",:ref,0.0))/bj41; end
1062
+ def bk45; @bk45 ||= -index(:ref,match(bd45,:ref,0.0),match("V.04",:ref,0.0))/bk41; end
1063
+ def bl45; @bl45 ||= -index(:ref,match(bd45,:ref,0.0),match("V.04",:ref,0.0))/bl41; end
1064
+ def bp45; "UK industry output more than doubles by 2050"; end
1065
+ def bq45; "UK industry grows in line with current trends"; end
1066
+ def br45; "UK industry output falls 30-40% by 2050"; end
1067
+ def bs45; "UK industry output falls 30-40% by 2050"; end
1068
+ def d46; "Energy intensity of industry"; end
1069
+ def e46; 2.0; end
1070
+ def f46; 3.0; end
1071
+ def h46; "No electrification of processes, little improvement in energy intensity"; end
1072
+ def i46; "Some processes electrified; moderate improvements in process emissions and energy demand"; end
1073
+ def j46; "High electrification; CCS captures 48% of emissions; process emissions reduced"; end
1074
+ def k46; "Same as 3"; end
1075
+ def m46; 1.0; end
1076
+ def n46; 3.0; end
1077
+ def o46; 1.0; end
1078
+ def q46; 3.0; end
1079
+ def r46; 1.0; end
1080
+ def s46; 3.0; end
1081
+ def t46; 3.0; end
1082
+ def v46; 3.0; end
1083
+ def x46; 2.0; end
1084
+ def y46; 2.0; end
1085
+ def aa46; 3.0; end
1086
+ def ab46; 3.0; end
1087
+ def ar46; "XVI"; end
1088
+ def as46; @as46 ||= index(:name,match(ar46,:name,0.0)); end
1089
+ def aw46; @aw46 ||= sumifs(:ref,:ref,ar46); end
1090
+ def ax46; @ax46 ||= sumifs(:ref,:ref,ar46); end
1091
+ def ay46; @ay46 ||= ax46*sheet3.h155/sheet3.f205; end
1092
+ def bp46; "No electrification of industrial processes and little improvement in industrial energy intensity"; end
1093
+ def bq46; "Some industrial processes electrified and moderate improvements in process emissions and energy demand"; end
1094
+ def br46; "Many industrial processes electrified, CCS captures 48% of emissions and substantial improvements in process emissions and energy demand"; end
1095
+ def bs46; "Many industrial processes electrified, CCS captures 48% of emissions and substantial improvements in process emissions and energy demand"; end
1096
+ def b47; "Commercial Heating"; end
1097
+ def c47; "IX.c"; end
1098
+ def d47; "Commercial heating and cooling"; end
1099
+ def as47; "Total"; end
1100
+ def aw47; @aw47 ||= sum(a('aw36','aw46')); end
1101
+ def ax47; @ax47 ||= sum(a('ax36','ax46')); end
1102
+ def ay47; @ay47 ||= ax47*sheet3.h155/sheet3.f205; end
1103
+ def bd47; "Consumption of solid hydrocarbons"; end
1104
+ def bi47; @bi47 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.03",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.03",:ref,0.0))); end
1105
+ def bj47; @bj47 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.03",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.03",:ref,0.0))); end
1106
+ def bk47; @bk47 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.03",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.03",:ref,0.0))); end
1107
+ def bl47; @bl47 ||= -(index(:ref,match("Subtotal.Supply",:ref,0.0),match("V.03",:ref,0.0))+index(:ref,match("Subtotal.Consumption",:ref,0.0),match("V.03",:ref,0.0))); end
1108
+ def d48; "Commercial demand for heating and cooling"; end
1109
+ def e48; 3.0; end
1110
+ def f48; 4.0; end
1111
+ def h48; "Space heating demand increases by 50%, hot water demand by 60%, cooling demand by 250%"; end
1112
+ def i48; "Space heating demand increases by 30%, hot water demand by 50%, cooling demand by 60%"; end
1113
+ def j48; "Space heating demand stable, hot water demand increases by 25%, cooling demand stable"; end
1114
+ def k48; "Space heating demand drops by 25%, hot water demand by 10%, cooling demand by 60%"; end
1115
+ def m48; 1.0; end
1116
+ def n48; 4.0; end
1117
+ def o48; 1.0; end
1118
+ def q48; 4.0; end
1119
+ def r48; 2.0; end
1120
+ def s48; 3.0; end
1121
+ def t48; 4.0; end
1122
+ def v48; 4.0; end
1123
+ def x48; 3.0; end
1124
+ def y48; 3.0; end
1125
+ def aa48; 4.0; end
1126
+ def ab48; 4.0; end
1127
+ def as48; "% of actual"; end
1128
+ def aw48; @aw48 ||= aw47/677.35; end
1129
+ def bd48; "V"; end
1130
+ def be48; "Supplied from solid bioenergy"; end
1131
+ def bi48; @bi48 ||= index(:ref,match(bd48,:ref,0.0),match("V.03",:ref,0.0))/bi47; end
1132
+ def bj48; @bj48 ||= index(:ref,match(bd48,:ref,0.0),match("V.03",:ref,0.0))/bj47; end
1133
+ def bk48; @bk48 ||= index(:ref,match(bd48,:ref,0.0),match("V.03",:ref,0.0))/bk47; end
1134
+ def bl48; @bl48 ||= index(:ref,match(bd48,:ref,0.0),match("V.03",:ref,0.0))/bl47; end
1135
+ def bp48; "Commercial space heating demand increases by 50%, hot water demand by 60%, cooling demand by 250%"; end
1136
+ def bq48; "Commercial space heating demand increases by 30%, hot water demand by 50%, cooling demand by 60%"; end
1137
+ def br48; "Commercial space heating demand stable, hot water demand increases by 25%, cooling demand stable"; end
1138
+ def bs48; "Commercial space heating demand drops by 25%, hot water demand by 10%, cooling demand by 60%"; end
1139
+ def d49; "Commercial heating electrification"; end
1140
+ def e49; 4.0; end
1141
+ def f49; "D"; end
1142
+ def h49; "The proportion of non-domestic heat supplied using electricity is 0-10%, as today"; end
1143
+ def i49; "The proportion of non-domestic heat supplied using electricity is 20%"; end
1144
+ def j49; "The proportion of non-domestic heat supplied using electricity is 30-60%"; end
1145
+ def k49; "The proportion of non-domestic heat supplied using electricity is 80-100%"; end
1146
+ def m49; 1.0; end
1147
+ def n49; 4.0; end
1148
+ def o49; 1.0; end
1149
+ def q49; 4.0; end
1150
+ def r49; 3.0; end
1151
+ def s49; 4.0; end
1152
+ def t49; 3.0; end
1153
+ def v49; 4.0; end
1154
+ def x49; 4.0; end
1155
+ def y49; 3.0; end
1156
+ def aa49; 4.0; end
1157
+ def ab49; 4.0; end
1158
+ def ar49; "NB: Emissions (in blue) are modelled from energy consumption and may not agree precisely"; end
1159
+ def bd49; "I.b"; end
1160
+ def be49; "Used in CCS power plants"; end
1161
+ def bi49; @bi49 ||= -index(:ref,match(bd49,:ref,0.0),match("V.03",:ref,0.0))/bi47; end
1162
+ def bj49; @bj49 ||= -index(:ref,match(bd49,:ref,0.0),match("V.03",:ref,0.0))/bj47; end
1163
+ def bk49; @bk49 ||= -index(:ref,match(bd49,:ref,0.0),match("V.03",:ref,0.0))/bk47; end
1164
+ def bl49; @bl49 ||= -index(:ref,match(bd49,:ref,0.0),match("V.03",:ref,0.0))/bl47; end
1165
+ def bp49; "The proportion of non-domestic heat supplied using electricity is 0-10%, as today"; end
1166
+ def bq49; "The proportion of non-domestic heat supplied using electricity is 20%"; end
1167
+ def br49; "The proportion of non-domestic heat supplied using electricity is 30-60%"; end
1168
+ def bs49; "The proportion of non-domestic heat supplied using electricity is 80-100%"; end
1169
+ def d50; "Commercial heating that isn't electric"; end
1170
+ def e50; 4.0; end
1171
+ def f50; "D"; end
1172
+ def h50; "The dominant non-electric heat source is gas or gas CHP (biogas if available)"; end
1173
+ def i50; "The dominant non-electric heat source is coal or coal CHP (biomass if available)"; end
1174
+ def j50; "The dominant non-electric heat source is heat from power stations"; end
1175
+ def k50; "A mixture of gas/biogas, coal/biomass, and heat from power stations"; end
1176
+ def m50; 1.0; end
1177
+ def n50; 4.0; end
1178
+ def o50; 1.0; end
1179
+ def q50; 4.0; end
1180
+ def r50; 3.0; end
1181
+ def s50; 3.0; end
1182
+ def t50; 2.0; end
1183
+ def v50; 3.0; end
1184
+ def x50; 4.0; end
1185
+ def y50; 4.0; end
1186
+ def aa50; 3.0; end
1187
+ def ab50; 3.0; end
1188
+ def ar50; "with 2007 actuals. However, % of base year figures (in black) have been adjusted by a"; end
1189
+ def bd50; "I.a"; end
1190
+ def be50; "Used in unabated power plants"; end
1191
+ def bi50; @bi50 ||= -index(:ref,match(bd50,:ref,0.0),match("V.03",:ref,0.0))/bi47; end
1192
+ def bj50; @bj50 ||= -index(:ref,match(bd50,:ref,0.0),match("V.03",:ref,0.0))/bj47; end
1193
+ def bk50; @bk50 ||= -index(:ref,match(bd50,:ref,0.0),match("V.03",:ref,0.0))/bk47; end
1194
+ def bl50; @bl50 ||= -index(:ref,match(bd50,:ref,0.0),match("V.03",:ref,0.0))/bl47; end
1195
+ def bp50; "The dominant non-electric heat source is gas (biogas if available)"; end
1196
+ def bq50; "The dominant non-electric heating fuel is coal (biomass if available)"; end
1197
+ def br50; "The dominant non-electric heat source is heat from power stations"; end
1198
+ def bs50; "A mixture of gas/biogas, coal/biomass, and heat from power stations"; end
1199
+ def b51; "Commercial Lighting & Appliances"; end
1200
+ def c51; "X.b"; end
1201
+ def d51; "Commercial lighting, appliances, and catering"; end
1202
+ def ar51; "constant factor so that 2007 modelled emissions match 2007 actual emissions."; end
1203
+ def bd51; "XI"; end
1204
+ def be51; "Used in industry"; end
1205
+ def bi51; @bi51 ||= -index(:ref,match(bd51,:ref,0.0),match("V.03",:ref,0.0))/bi47; end
1206
+ def bj51; @bj51 ||= -index(:ref,match(bd51,:ref,0.0),match("V.03",:ref,0.0))/bj47; end
1207
+ def bk51; @bk51 ||= -index(:ref,match(bd51,:ref,0.0),match("V.03",:ref,0.0))/bk47; end
1208
+ def bl51; @bl51 ||= -index(:ref,match(bd51,:ref,0.0),match("V.03",:ref,0.0))/bl47; end
1209
+ def d52; "Commercial lighting & appliances"; end
1210
+ def e52; 3.0; end
1211
+ def f52; 4.0; end
1212
+ def h52; "Energy demand for lights & appliances increases by 33%. Energy for cooking is stable"; end
1213
+ def i52; "Energy demand for lights & appliances increases by 15%; decreases by 5% for cooking"; end
1214
+ def j52; "Energy demand for lights & appliances decreases by 5%; decreases by 20% for cooking"; end
1215
+ def k52; "Energy demand for lights & appliances decreases by 30%; decreases by 25% for cooking"; end
1216
+ def m52; 1.0; end
1217
+ def n52; 4.0; end
1218
+ def o52; 1.0; end
1219
+ def q52; 4.0; end
1220
+ def r52; 2.0; end
1221
+ def s52; 3.0; end
1222
+ def t52; 4.0; end
1223
+ def v52; 4.0; end
1224
+ def x52; 3.0; end
1225
+ def y52; 4.0; end
1226
+ def aa52; 4.0; end
1227
+ def ab52; 4.0; end
1228
+ def bd52; "IX"; end
1229
+ def be52; "Used in heating"; end
1230
+ def bi52; @bi52 ||= -index(:ref,match(bd52,:ref,0.0),match("V.03",:ref,0.0))/bi47; end
1231
+ def bj52; @bj52 ||= -index(:ref,match(bd52,:ref,0.0),match("V.03",:ref,0.0))/bj47; end
1232
+ def bk52; @bk52 ||= -index(:ref,match(bd52,:ref,0.0),match("V.03",:ref,0.0))/bk47; end
1233
+ def bl52; @bl52 ||= -index(:ref,match(bd52,:ref,0.0),match("V.03",:ref,0.0))/bl47; end
1234
+ def bp52; "Energy demand for commercial lights & appliances increases by 33%. Energy for cooking is stable"; end
1235
+ def bq52; "Energy demand for commercial lights & appliances increases by 15%; decreases by 5% for cooking"; end
1236
+ def br52; "Energy demand for commercial lights & appliances decreases by 5%; decreases by 20% for cooking"; end
1237
+ def bs52; "Energy demand for commercial lights & appliances decreases by 30%; decreases by 25% for cooking"; end
1238
+ def d53; "Electrification of commercial cooking"; end
1239
+ def e53; 2.0; end
1240
+ def f53; "B"; end
1241
+ def h53; "60% electricity and 40% gas (no change from 2007)"; end
1242
+ def i53; "100% electric"; end
1243
+ def j53; "Same as B"; end
1244
+ def k53; "Same as B"; end
1245
+ def m53; 1.0; end
1246
+ def n53; 2.0; end
1247
+ def o53; 1.0; end
1248
+ def q53; 2.0; end
1249
+ def r53; 2.0; end
1250
+ def s53; 1.0; end
1251
+ def t53; 2.0; end
1252
+ def v53; 2.0; end
1253
+ def x53; 2.0; end
1254
+ def y53; 2.0; end
1255
+ def aa53; 1.0; end
1256
+ def ab53; 2.0; end
1257
+ def bp53; "Energy used for commercial cooking is 60% electricity and 40% gas (no change from 2007)"; end
1258
+ def bq53; "Energy used for commercial cooking is 100% electric"; end
1259
+ def br53; "Energy used for commercial cooking is 100% electric"; end
1260
+ def bs53; "Energy used for commercial cooking is 100% electric"; end
1261
+ def a54; "Electricity Balancing & Other"; end
1262
+ def a55; "Geosequestration"; end
1263
+ def c55; "XIV.a"; end
1264
+ def d55; "Geosequestration"; end
1265
+ def e55; 1.0; end
1266
+ def f55; 4.0; end
1267
+ def h55; "No geosequestration"; end
1268
+ def i55; "Carbon dioxide sequestration rate of 1 million tonnes per annum by 2050"; end
1269
+ def j55; "Carbon dioxide sequestration rate of ~30 million tonnes per annum by 2050"; end
1270
+ def k55; "Carbon dioxide sequestration rate of ~110 million tonnes per annum by 2050"; end
1271
+ def m55; 1.0; end
1272
+ def n55; 1.0; end
1273
+ def o55; 1.0; end
1274
+ def q55; 1.0; end
1275
+ def r55; 1.0; end
1276
+ def s55; 2.0; end
1277
+ def t55; 1.0; end
1278
+ def v55; 2.0; end
1279
+ def x55; 1.0; end
1280
+ def y55; 1.0; end
1281
+ def aa55; 2.0; end
1282
+ def ab55; 1.0; end
1283
+ def bp55; "No geosequestration"; end
1284
+ def bq55; "Carbon dioxide sequestred at a rate of 1 million tonnes per annum by 2050"; end
1285
+ def br55; "Carbon dioxide sequestred at a rate of ~30 million tonnes per annum by 2050"; end
1286
+ def bs55; "Carbon dioxide sequestred at a rate of ~110 million tonnes per annum by 2050"; end
1287
+ def a56; "Balancing & Storage"; end
1288
+ def c56; "VII.c"; end
1289
+ def d56; "Storage, demand shifting & interconnection"; end
1290
+ def e56; 2.0; end
1291
+ def f56; 4.0; end
1292
+ def h56; "Today’s 3.5 GW storage & 4 GW interconnection with Europe for balancing"; end
1293
+ def i56; "4 GW storage & 10 GW interconnection with Europe for balancing"; end
1294
+ def j56; "7 GW storage with 2 more pumped storage, 15 GW interconnection & some demand shifting"; end
1295
+ def k56; "20 GW storage with large lagoons, 30 GW interconnection & substantial demand shifting"; end
1296
+ def m56; 1.0; end
1297
+ def n56; 1.0; end
1298
+ def o56; 1.0; end
1299
+ def q56; 4.0; end
1300
+ def r56; 2.0; end
1301
+ def s56; 2.0; end
1302
+ def t56; 2.0; end
1303
+ def v56; 3.0; end
1304
+ def x56; 2.0; end
1305
+ def y56; 4.0; end
1306
+ def aa56; 3.0; end
1307
+ def ab56; 4.0; end
1308
+ def bp56; "Today’s 3.5 GW of pumped storage and 4 GW interconnection with Europe available for balancing electricity supply and demand"; end
1309
+ def bq56; "4 GW of pumped storage and 10 GW interconnection with Europe available for balancing electricity supply and demand"; end
1310
+ def br56; "7 GW of pumped storage (includign 2 more sites), 15 GW of interconnection with Europe and some demand shifting available for balancing electricity supply and demand"; end
1311
+ def bs56; "20 GW of pumped storage with large lagoons, 30 GW of interconnection with Europe and substantial demand shifting available for balancing electricity supply and demand"; end
1312
+ def a57; "UK Fossil fuel production"; end
1313
+ def c57; "XV.b"; end
1314
+ def d57; "Indigenous fossil-fuel production"; end
1315
+ def e57; 1.0; end
1316
+ def f57; 3.0; end
1317
+ def h57; "Central case"; end
1318
+ def i57; "Low production case"; end
1319
+ def j57; "Very low production case"; end
1320
+ def m57; 1.0; end
1321
+ def n57; 1.0; end
1322
+ def o57; 1.0; end
1323
+ def q57; 1.0; end
1324
+ def r57; 1.0; end
1325
+ def s57; 1.0; end
1326
+ def t57; 1.0; end
1327
+ def v57; 1.0; end
1328
+ def x57; 1.0; end
1329
+ def y57; 1.0; end
1330
+ def aa57; 1.0; end
1331
+ def ab57; 1.0; end
1332
+ def a58; "ONCE YOU'VE MADE YOUR CHOICES PRESS F9"; end
1333
+ end
1334
+