epb_view_models 2.0.15 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +7 -0
  3. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -0
  4. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -0
  5. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -0
  6. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -0
  7. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -0
  8. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -0
  9. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -0
  10. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -0
  11. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -0
  12. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xml +1725 -0
  13. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -0
  14. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -0
  15. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -0
  16. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -0
  17. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ExceptionList.xsd +18 -0
  18. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -0
  19. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -0
  20. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -0
  23. data/api/schemas/xml/examples/CEPC-S-7.1(EPC).xml +342 -0
  24. data/lib/epb_view_models.rb +1 -1
  25. data/lib/view_model/cepc71/common_schema.rb +7 -7
  26. data/lib/view_model/cepc_s_71/cepc.rb +101 -0
  27. data/lib/view_model/cepc_wrapper.rb +2 -0
  28. data/lib/view_model/factory.rb +2 -0
  29. data/lib/view_model/rd_sap_schema_s_190/common_schema.rb +533 -0
  30. data/lib/view_model/rd_sap_wrapper.rb +2 -0
  31. metadata +25 -2
@@ -0,0 +1,342 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CEPC:LodgementReportRequest xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC CEPC-Reports.xsd">
3
+ <!-- This XML message is for an EPC in Scotland. -->
4
+ <CEPC:Report>
5
+ <CEPC:Report-Header>
6
+ <CEPC:RRN>0000-0000-0000-0000-0000</CEPC:RRN>
7
+ <CEPC:Inspection-Date>2023-07-11</CEPC:Inspection-Date>
8
+ <CEPC:Report-Type>3</CEPC:Report-Type>
9
+ <CEPC:Completion-Date>2023-08-04</CEPC:Completion-Date>
10
+ <CEPC:Registration-Date>2023-08-04</CEPC:Registration-Date>
11
+ <CEPC:Status>entered</CEPC:Status>
12
+ <CEPC:Language-Code>1</CEPC:Language-Code>
13
+ <CEPC:Restricted-Access>0</CEPC:Restricted-Access>
14
+ <CEPC:Transaction-Type>1</CEPC:Transaction-Type>
15
+ <CEPC:Seller-Commission-Report>Y</CEPC:Seller-Commission-Report>
16
+ <CEPC:Property-Type>
17
+ <CEPC:Short-Description>Hotel</CEPC:Short-Description>
18
+ <CEPC:Long-Description>Hotels</CEPC:Long-Description>
19
+ </CEPC:Property-Type>
20
+ <CEPC:Energy-Assessor>
21
+ <CEPC:Membership-Number>SPEC000000</CEPC:Membership-Number>
22
+ <CEPC:Name>TEST NAME BOI</CEPC:Name>
23
+ <CEPC:Approved-Organisation-Name>TESTSCHEME</CEPC:Approved-Organisation-Name>
24
+ <CEPC:Approved-Organisation-Web-Address />
25
+ <CEPC:Trading-Address>123 My Street, My City, AB3 4CD</CEPC:Trading-Address>
26
+ <CEPC:Company-Name>Joe Bloggs Ltd</CEPC:Company-Name>
27
+ <CEPC:Status>Registered</CEPC:Status>
28
+ <CEPC:E-Mail>test@testscheme.com</CEPC:E-Mail>
29
+ <CEPC:Telephone-Number>012345</CEPC:Telephone-Number>
30
+ </CEPC:Energy-Assessor>
31
+ <CEPC:Property>
32
+ <CEPC:Address>
33
+ <CEPC:Address-Line-1>2 Lonely Street</CEPC:Address-Line-1>
34
+ <CEPC:Address-Line-2>Post-Town1</CEPC:Address-Line-2>
35
+ <CEPC:Address-Line-3/>
36
+ <CEPC:Post-Town>Newkirk</CEPC:Post-Town>
37
+ <CEPC:Postcode>FK1 1XE</CEPC:Postcode>
38
+ </CEPC:Address>
39
+ <CEPC:UPRN>UPRN-000000000001</CEPC:UPRN>
40
+ </CEPC:Property>
41
+ <CEPC:Calculation-Details>
42
+ <CEPC:Methodology>SBEM</CEPC:Methodology>
43
+ <CEPC:Calculation-Tool>DesignBuilder Software Ltd, DesignBuilder SBEM, v7.2.0, SBEM, v6.1.e.0</CEPC:Calculation-Tool>
44
+ <CEPC:Output-Engine>EPCgen, v6.1.e.0</CEPC:Output-Engine>
45
+ <CEPC:Inspection-Type>Physical</CEPC:Inspection-Type>
46
+ </CEPC:Calculation-Details>
47
+ </CEPC:Report-Header>
48
+ <CEPC:Summary-Of-Performance>
49
+ <CEPC:Building-Data>
50
+ <CEPC:Analysis-Type>ACTUAL</CEPC:Analysis-Type>
51
+ <CEPC:Area>109.16</CEPC:Area>
52
+ <CEPC:Area-Exterior>230.1</CEPC:Area-Exterior>
53
+ <CEPC:Weather>GLA</CEPC:Weather>
54
+ <CEPC:Q50-Infiltration>25</CEPC:Q50-Infiltration>
55
+ <CEPC:Building-W-K>323.443</CEPC:Building-W-K>
56
+ <CEPC:Building-W-M2K>1.40566</CEPC:Building-W-M2K>
57
+ <CEPC:Building-Alpha>10.2321</CEPC:Building-Alpha>
58
+ <CEPC:Activities>
59
+ <CEPC:Activity>
60
+ <CEPC:ID>1023</CEPC:ID>
61
+ <CEPC:Area>1.56</CEPC:Area>
62
+ </CEPC:Activity>
63
+ <CEPC:Activity>
64
+ <CEPC:ID>1016</CEPC:ID>
65
+ <CEPC:Area>22.51</CEPC:Area>
66
+ </CEPC:Activity>
67
+ <CEPC:Activity>
68
+ <CEPC:ID>1028</CEPC:ID>
69
+ <CEPC:Area>27.93</CEPC:Area>
70
+ </CEPC:Activity>
71
+ <CEPC:Activity>
72
+ <CEPC:ID>1014</CEPC:ID>
73
+ <CEPC:Area>57.16</CEPC:Area>
74
+ </CEPC:Activity>
75
+ </CEPC:Activities>
76
+ <CEPC:Primary-Energy-Indicator>616</CEPC:Primary-Energy-Indicator>
77
+ <CEPC:Approximate-Energy-Use>523</CEPC:Approximate-Energy-Use>
78
+ <CEPC:Global-Performance>
79
+ <CEPC:KWH-M2-Heating>313.154</CEPC:KWH-M2-Heating>
80
+ <CEPC:KWH-M2-Cooling>0</CEPC:KWH-M2-Cooling>
81
+ <CEPC:KWH-M2-Auxiliary>31.3881</CEPC:KWH-M2-Auxiliary>
82
+ <CEPC:KWH-M2-Lighting>22.4009</CEPC:KWH-M2-Lighting>
83
+ <CEPC:KWH-M2-DHW>155.748</CEPC:KWH-M2-DHW>
84
+ <CEPC:KWH-M2-Equipment>23.6358</CEPC:KWH-M2-Equipment>
85
+ <CEPC:KWH-M2-Natural-Gas>0</CEPC:KWH-M2-Natural-Gas>
86
+ <CEPC:KWH-M2-LPG>468.903</CEPC:KWH-M2-LPG>
87
+ <CEPC:KWH-M2-Biogas>0</CEPC:KWH-M2-Biogas>
88
+ <CEPC:KWH-M2-Oil>0</CEPC:KWH-M2-Oil>
89
+ <CEPC:KWH-M2-Coal>0</CEPC:KWH-M2-Coal>
90
+ <CEPC:KWH-M2-Anthracite>0</CEPC:KWH-M2-Anthracite>
91
+ <CEPC:KWH-M2-Smokeless>0</CEPC:KWH-M2-Smokeless>
92
+ <CEPC:KWH-M2-Dual-Fuel>0</CEPC:KWH-M2-Dual-Fuel>
93
+ <CEPC:KWH-M2-Biomass>0</CEPC:KWH-M2-Biomass>
94
+ <CEPC:KWH-M2-Supplied>53.789</CEPC:KWH-M2-Supplied>
95
+ <CEPC:KWH-M2-Waste-Heat>0</CEPC:KWH-M2-Waste-Heat>
96
+ <CEPC:KWH-M2-District-Heating>0</CEPC:KWH-M2-District-Heating>
97
+ <CEPC:KWH-M2-Displaced>0</CEPC:KWH-M2-Displaced>
98
+ <CEPC:KWH-M2-PVS>0</CEPC:KWH-M2-PVS>
99
+ <CEPC:KWH-M2-Wind>0</CEPC:KWH-M2-Wind>
100
+ <CEPC:KWH-M2-CHP>0</CEPC:KWH-M2-CHP>
101
+ <CEPC:KWH-M2-SES>0</CEPC:KWH-M2-SES>
102
+ </CEPC:Global-Performance>
103
+ <CEPC:HVAC-Systems>
104
+ <CEPC:HVAC-System-Data>
105
+ <CEPC:Area>109.16</CEPC:Area>
106
+ <CEPC:Type>Central heating using water: radiators</CEPC:Type>
107
+ <CEPC:Heat-Source>LTHW boiler</CEPC:Heat-Source>
108
+ <CEPC:Fuel-Type>LPG</CEPC:Fuel-Type>
109
+ <CEPC:MJ-M2-Heating-Dem>997.71</CEPC:MJ-M2-Heating-Dem>
110
+ <CEPC:MJ-M2-Cooling-Dem>72.8559</CEPC:MJ-M2-Cooling-Dem>
111
+ <CEPC:KWH-M2-Heating>313.154</CEPC:KWH-M2-Heating>
112
+ <CEPC:KWH-M2-Cooling>0</CEPC:KWH-M2-Cooling>
113
+ <CEPC:KWH-M2-Auxiliary>31.3881</CEPC:KWH-M2-Auxiliary>
114
+ <CEPC:Heating-SSEFF>0.885</CEPC:Heating-SSEFF>
115
+ <CEPC:Cooling-SSEER>0</CEPC:Cooling-SSEER>
116
+ <CEPC:Heating-Gen-SEFF>0.992</CEPC:Heating-Gen-SEFF>
117
+ <CEPC:Cooling-Gen-SEER>0</CEPC:Cooling-Gen-SEER>
118
+ <CEPC:Activities>
119
+ <CEPC:Activity>
120
+ <CEPC:ID>1023</CEPC:ID>
121
+ <CEPC:Area>1.56</CEPC:Area>
122
+ </CEPC:Activity>
123
+ <CEPC:Activity>
124
+ <CEPC:ID>1016</CEPC:ID>
125
+ <CEPC:Area>22.51</CEPC:Area>
126
+ </CEPC:Activity>
127
+ <CEPC:Activity>
128
+ <CEPC:ID>1028</CEPC:ID>
129
+ <CEPC:Area>27.93</CEPC:Area>
130
+ </CEPC:Activity>
131
+ <CEPC:Activity>
132
+ <CEPC:ID>1014</CEPC:ID>
133
+ <CEPC:Area>57.16</CEPC:Area>
134
+ </CEPC:Activity>
135
+ </CEPC:Activities>
136
+ </CEPC:HVAC-System-Data>
137
+ </CEPC:HVAC-Systems>
138
+ </CEPC:Building-Data>
139
+ <CEPC:Building-Data>
140
+ <CEPC:Analysis-Type>NOTIONAL</CEPC:Analysis-Type>
141
+ <CEPC:Area>109.16</CEPC:Area>
142
+ <CEPC:Area-Exterior>230.1</CEPC:Area-Exterior>
143
+ <CEPC:Weather>GLA</CEPC:Weather>
144
+ <CEPC:Q50-Infiltration>4</CEPC:Q50-Infiltration>
145
+ <CEPC:Building-W-K>79.961</CEPC:Building-W-K>
146
+ <CEPC:Building-W-M2K>0.347505</CEPC:Building-W-M2K>
147
+ <CEPC:Building-Alpha>45.5163</CEPC:Building-Alpha>
148
+ <CEPC:Activities>
149
+ <CEPC:Activity>
150
+ <CEPC:ID>1023</CEPC:ID>
151
+ <CEPC:Area>1.56</CEPC:Area>
152
+ </CEPC:Activity>
153
+ <CEPC:Activity>
154
+ <CEPC:ID>1016</CEPC:ID>
155
+ <CEPC:Area>22.51</CEPC:Area>
156
+ </CEPC:Activity>
157
+ <CEPC:Activity>
158
+ <CEPC:ID>1028</CEPC:ID>
159
+ <CEPC:Area>27.93</CEPC:Area>
160
+ </CEPC:Activity>
161
+ <CEPC:Activity>
162
+ <CEPC:ID>1014</CEPC:ID>
163
+ <CEPC:Area>57.16</CEPC:Area>
164
+ </CEPC:Activity>
165
+ </CEPC:Activities>
166
+ <CEPC:Primary-Energy-Indicator>301</CEPC:Primary-Energy-Indicator>
167
+ <CEPC:Approximate-Energy-Use>523</CEPC:Approximate-Energy-Use>
168
+ <CEPC:Global-Performance>
169
+ <CEPC:KWH-M2-Heating>84.9379</CEPC:KWH-M2-Heating>
170
+ <CEPC:KWH-M2-Cooling>0</CEPC:KWH-M2-Cooling>
171
+ <CEPC:KWH-M2-Auxiliary>17.2505</CEPC:KWH-M2-Auxiliary>
172
+ <CEPC:KWH-M2-Lighting>6.36637</CEPC:KWH-M2-Lighting>
173
+ <CEPC:KWH-M2-DHW>180.298</CEPC:KWH-M2-DHW>
174
+ <CEPC:KWH-M2-Equipment>23.6358</CEPC:KWH-M2-Equipment>
175
+ <CEPC:KWH-M2-Natural-Gas>264.037</CEPC:KWH-M2-Natural-Gas>
176
+ <CEPC:KWH-M2-LPG>0</CEPC:KWH-M2-LPG>
177
+ <CEPC:KWH-M2-Biogas>0</CEPC:KWH-M2-Biogas>
178
+ <CEPC:KWH-M2-Oil>0</CEPC:KWH-M2-Oil>
179
+ <CEPC:KWH-M2-Coal>0</CEPC:KWH-M2-Coal>
180
+ <CEPC:KWH-M2-Anthracite>0</CEPC:KWH-M2-Anthracite>
181
+ <CEPC:KWH-M2-Smokeless>0</CEPC:KWH-M2-Smokeless>
182
+ <CEPC:KWH-M2-Dual-Fuel>0</CEPC:KWH-M2-Dual-Fuel>
183
+ <CEPC:KWH-M2-Biomass>0</CEPC:KWH-M2-Biomass>
184
+ <CEPC:KWH-M2-Supplied>24.8151</CEPC:KWH-M2-Supplied>
185
+ <CEPC:KWH-M2-Waste-Heat>0</CEPC:KWH-M2-Waste-Heat>
186
+ <CEPC:KWH-M2-District-Heating>0</CEPC:KWH-M2-District-Heating>
187
+ <CEPC:KWH-M2-Displaced>22.5171</CEPC:KWH-M2-Displaced>
188
+ <CEPC:KWH-M2-PVS>22.5171</CEPC:KWH-M2-PVS>
189
+ <CEPC:KWH-M2-Wind>0</CEPC:KWH-M2-Wind>
190
+ <CEPC:KWH-M2-CHP>0</CEPC:KWH-M2-CHP>
191
+ <CEPC:KWH-M2-SES>0</CEPC:KWH-M2-SES>
192
+ </CEPC:Global-Performance>
193
+ <CEPC:HVAC-Systems>
194
+ <CEPC:HVAC-System-Data>
195
+ <CEPC:Area>109.16</CEPC:Area>
196
+ <CEPC:Type>Central heating using water: radiators</CEPC:Type>
197
+ <CEPC:Heat-Source>LTHW boiler</CEPC:Heat-Source>
198
+ <CEPC:Fuel-Type>Natural Gas</CEPC:Fuel-Type>
199
+ <CEPC:MJ-M2-Heating-Dem>284.372</CEPC:MJ-M2-Heating-Dem>
200
+ <CEPC:MJ-M2-Cooling-Dem>128.829</CEPC:MJ-M2-Cooling-Dem>
201
+ <CEPC:KWH-M2-Heating>84.9379</CEPC:KWH-M2-Heating>
202
+ <CEPC:KWH-M2-Cooling>0</CEPC:KWH-M2-Cooling>
203
+ <CEPC:KWH-M2-Auxiliary>9.29617</CEPC:KWH-M2-Auxiliary>
204
+ <CEPC:Heating-SSEFF>0.93</CEPC:Heating-SSEFF>
205
+ <CEPC:Cooling-SSEER>0</CEPC:Cooling-SSEER>
206
+ <CEPC:Heating-Gen-SEFF>0</CEPC:Heating-Gen-SEFF>
207
+ <CEPC:Cooling-Gen-SEER>0</CEPC:Cooling-Gen-SEER>
208
+ <CEPC:Activities>
209
+ <CEPC:Activity>
210
+ <CEPC:ID>1023</CEPC:ID>
211
+ <CEPC:Area>1.56</CEPC:Area>
212
+ </CEPC:Activity>
213
+ <CEPC:Activity>
214
+ <CEPC:ID>1016</CEPC:ID>
215
+ <CEPC:Area>22.51</CEPC:Area>
216
+ </CEPC:Activity>
217
+ <CEPC:Activity>
218
+ <CEPC:ID>1028</CEPC:ID>
219
+ <CEPC:Area>27.93</CEPC:Area>
220
+ </CEPC:Activity>
221
+ <CEPC:Activity>
222
+ <CEPC:ID>1014</CEPC:ID>
223
+ <CEPC:Area>57.16</CEPC:Area>
224
+ </CEPC:Activity>
225
+ </CEPC:Activities>
226
+ </CEPC:HVAC-System-Data>
227
+ </CEPC:HVAC-Systems>
228
+ </CEPC:Building-Data>
229
+ </CEPC:Summary-Of-Performance>
230
+ <CEPC:Insurance-Details>
231
+ <CEPC:Insurer>Insurance Company Plc</CEPC:Insurer>
232
+ <CEPC:Policy-No>0001</CEPC:Policy-No>
233
+ <CEPC:Effective-Date>2022-10-22</CEPC:Effective-Date>
234
+ <CEPC:Expiry-Date>2023-10-21</CEPC:Expiry-Date>
235
+ <CEPC:PI-Limit>5000000</CEPC:PI-Limit>
236
+ </CEPC:Insurance-Details>
237
+ <CEPC:Energy-Performance-Certificate>
238
+ <CEPC:Transaction-Type>1</CEPC:Transaction-Type>
239
+ <CEPC:Renewable-Energy-Sources>
240
+ <CEPC:Renewable-Energy-Source>None</CEPC:Renewable-Energy-Source>
241
+ </CEPC:Renewable-Energy-Sources>
242
+ <CEPC:Electricity-Sources>
243
+ <CEPC:Electricity-Source>Grid supplied</CEPC:Electricity-Source>
244
+ </CEPC:Electricity-Sources>
245
+ <CEPC:EPC-Rating>
246
+ <CEPC:Asset-Rating>120</CEPC:Asset-Rating>
247
+ <CEPC:Potential-Rating>17</CEPC:Potential-Rating>
248
+ <CEPC:New-Build-Benchmark>56</CEPC:New-Build-Benchmark>
249
+ <CEPC:Energy-Band>G</CEPC:Energy-Band>
250
+ <CEPC:Potential-Band>B+</CEPC:Potential-Band>
251
+ <CEPC:New-Build-Benchmark-Band>D</CEPC:New-Build-Benchmark-Band>
252
+ <CEPC:BER>120.47</CEPC:BER>
253
+ <CEPC:TER>55.93</CEPC:TER>
254
+ </CEPC:EPC-Rating>
255
+ <CEPC:EPC-Rating-Scale>
256
+ <CEPC:Upper-Number-A-Scale>15</CEPC:Upper-Number-A-Scale>
257
+ <CEPC:Lower-Number-B-Scale>16</CEPC:Lower-Number-B-Scale>
258
+ <CEPC:Upper-Number-B-Scale>30</CEPC:Upper-Number-B-Scale>
259
+ <CEPC:Lower-Number-C-Scale>31</CEPC:Lower-Number-C-Scale>
260
+ <CEPC:Upper-Number-C-Scale>45</CEPC:Upper-Number-C-Scale>
261
+ <CEPC:Lower-Number-D-Scale>46</CEPC:Lower-Number-D-Scale>
262
+ <CEPC:Upper-Number-D-Scale>60</CEPC:Upper-Number-D-Scale>
263
+ <CEPC:Lower-Number-E-Scale>61</CEPC:Lower-Number-E-Scale>
264
+ <CEPC:Upper-Number-E-Scale>80</CEPC:Upper-Number-E-Scale>
265
+ <CEPC:Lower-Number-F-Scale>81</CEPC:Lower-Number-F-Scale>
266
+ <CEPC:Upper-Number-F-Scale>100</CEPC:Upper-Number-F-Scale>
267
+ <CEPC:Lowest-Number-G-Scale>100</CEPC:Lowest-Number-G-Scale>
268
+ </CEPC:EPC-Rating-Scale>
269
+ <CEPC:Comparative-Rating>
270
+ <CEPC:Comparative-Asset-Rating>65</CEPC:Comparative-Asset-Rating>
271
+ <CEPC:Comparative-Energy-Band>C</CEPC:Comparative-Energy-Band>
272
+ </CEPC:Comparative-Rating>
273
+ <CEPC:TER-2002>118.01</CEPC:TER-2002>
274
+ <CEPC:Compliant-2002>N</CEPC:Compliant-2002>
275
+ <CEPC:Technical-Information>
276
+ <CEPC:Main-Heating-Fuel>LPG</CEPC:Main-Heating-Fuel>
277
+ <CEPC:Building-Environment>Heating and Natural Ventilation</CEPC:Building-Environment>
278
+ <CEPC:Floor-Area>109</CEPC:Floor-Area>
279
+ </CEPC:Technical-Information>
280
+ </CEPC:Energy-Performance-Certificate>
281
+ <CEPC:Recommendations-Report>
282
+ <CEPC:RR-Recommendations>
283
+ <!-- Short paybacks -->
284
+ <CEPC:Short-Payback>
285
+ <CEPC:Recommendation-Code>EPC-H7</CEPC:Recommendation-Code>
286
+ <CEPC:Recommendation>Add optimum start/stop to the heating system.</CEPC:Recommendation>
287
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
288
+ </CEPC:Short-Payback>
289
+ <CEPC:Short-Payback>
290
+ <CEPC:Recommendation-Code>EPC-H8</CEPC:Recommendation-Code>
291
+ <CEPC:Recommendation>Add weather compensation controls to heating system.</CEPC:Recommendation>
292
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
293
+ </CEPC:Short-Payback>
294
+ <CEPC:Short-Payback>
295
+ <CEPC:Recommendation-Code>EPC-H5</CEPC:Recommendation-Code>
296
+ <CEPC:Recommendation>Add local time control to heating system.</CEPC:Recommendation>
297
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
298
+ </CEPC:Short-Payback>
299
+ <CEPC:Short-Payback>
300
+ <CEPC:Recommendation-Code>EPC-V1</CEPC:Recommendation-Code>
301
+ <CEPC:Recommendation>In some spaces, the solar gain limit defined in the NCM is exceeded, which might cause overheating. Consider solar control measures such as the application of reflective coating or shading devices to windows.</CEPC:Recommendation>
302
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
303
+ </CEPC:Short-Payback>
304
+ <CEPC:Short-Payback>
305
+ <CEPC:Recommendation-Code>EPC-E3</CEPC:Recommendation-Code>
306
+ <CEPC:Recommendation>Some solid walls are poorly insulated - introduce or improve internal wall insulation.</CEPC:Recommendation>
307
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
308
+ </CEPC:Short-Payback>
309
+ <CEPC:Short-Payback>
310
+ <CEPC:Recommendation-Code>EPC-F4</CEPC:Recommendation-Code>
311
+ <CEPC:Recommendation>Consider switching from oil or LPG to biomass.</CEPC:Recommendation>
312
+ <CEPC:CO2-Impact>HIGH</CEPC:CO2-Impact>
313
+ </CEPC:Short-Payback>
314
+ <CEPC:Short-Payback>
315
+ <CEPC:Recommendation-Code>EPC-E7</CEPC:Recommendation-Code>
316
+ <CEPC:Recommendation>Carry out a pressure test, identify and treat identified air leakage. Enter result in EPC calculation.</CEPC:Recommendation>
317
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
318
+ </CEPC:Short-Payback>
319
+ <CEPC:Short-Payback>
320
+ <CEPC:Recommendation-Code>EPC-E8</CEPC:Recommendation-Code>
321
+ <CEPC:Recommendation>Some glazing is poorly insulated. Replace/improve glazing and/or frames. </CEPC:Recommendation>
322
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
323
+ </CEPC:Short-Payback>
324
+ <!-- Medium paybacks -->
325
+ <CEPC:Medium-Payback>
326
+ <CEPC:Recommendation-Code>EPC-E2</CEPC:Recommendation-Code>
327
+ <CEPC:Recommendation>Roof is poorly insulated. Install or improve insulation of roof.</CEPC:Recommendation>
328
+ <CEPC:CO2-Impact>MEDIUM</CEPC:CO2-Impact>
329
+ </CEPC:Medium-Payback>
330
+ <!-- Long paybacks -->
331
+ <!-- Other paybacks -->
332
+ </CEPC:RR-Recommendations>
333
+ <CEPC:Technical-Information>
334
+ <CEPC:Building-Environment>Heating and Natural Ventilation</CEPC:Building-Environment>
335
+ <CEPC:Floor-Area>109</CEPC:Floor-Area>
336
+ </CEPC:Technical-Information>
337
+ </CEPC:Recommendations-Report>
338
+ </CEPC:Report>
339
+ <!-- System date: Fri Aug 04 13:22:51 2023
340
+ -->
341
+ </CEPC:LodgementReportRequest>
342
+ <!-- Removing this line, EPC message secure hash: 49e9540a92f276dfd93d3a37b733ef97 -->
@@ -5,7 +5,7 @@ loader = Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
5
5
  loader.setup
6
6
 
7
7
  module EpbViewModels
8
- VERSION = "2.0.15"
8
+ VERSION = "2.0.17"
9
9
  end
10
10
 
11
11
  # Monkey patching to avoid using ActiveRecord::Type::Boolean.new.cast
@@ -14,31 +14,31 @@ module ViewModel
14
14
  end
15
15
 
16
16
  def address_line1
17
- xpath(%w[Property-Address Address-Line-1])
17
+ xpath(%w[Property-Address Address-Line-1]) or xpath(%w[Property Address-Line-1])
18
18
  end
19
19
 
20
20
  def address_line2
21
- xpath(%w[Property-Address Address-Line-2])
21
+ xpath(%w[Property-Address Address-Line-2]) or xpath(%w[Property Address-Line-2])
22
22
  end
23
23
 
24
24
  def address_line3
25
- xpath(%w[Property-Address Address-Line-3])
25
+ xpath(%w[Property-Address Address-Line-3]) or xpath(%w[Property Address-Line-3])
26
26
  end
27
27
 
28
28
  def address_line4
29
- xpath(%w[Property-Address Address-Line-4])
29
+ xpath(%w[Property-Address Address-Line-4]) or xpath(%w[Property Address-Line-4])
30
30
  end
31
31
 
32
32
  def town
33
- xpath(%w[Property-Address Post-Town])
33
+ xpath(%w[Property-Address Post-Town]) or xpath(%w[Property Post-Town])
34
34
  end
35
35
 
36
36
  def postcode
37
- xpath(%w[Property-Address Postcode])
37
+ xpath(%w[Property-Address Postcode]) or xpath(%w[Property Postcode])
38
38
  end
39
39
 
40
40
  def scheme_assessor_id
41
- xpath(%w[Certificate-Number])
41
+ xpath(%w[Certificate-Number]) or xpath(%w[Membership-Number])
42
42
  end
43
43
 
44
44
  def assessor_name
@@ -0,0 +1,101 @@
1
+ module ViewModel
2
+ module CepcS71
3
+ class Cepc < ViewModel::Cepc71::CommonSchema
4
+ def ac_inspection_commissioned
5
+ xpath(%w[AC-Inspection-Commissioned])
6
+ end
7
+
8
+ def ac_kw_rating
9
+ xpath(%w[AC-kW-Rating])&.to_i
10
+ end
11
+
12
+ def ac_present
13
+ xpath(%w[AC-Present])
14
+ end
15
+
16
+ def ac_rated_output
17
+ xpath(%w[AC-Rated-Output])
18
+ end
19
+
20
+ def building_emission_rate
21
+ xpath(%w[BER])
22
+ end
23
+
24
+ def building_environment
25
+ xpath(%w[Building-Environment])
26
+ end
27
+
28
+ def building_level
29
+ xpath(%w[Building-Level])&.to_i
30
+ end
31
+
32
+ def energy_efficiency_rating
33
+ xpath(%w[Asset-Rating])&.to_i
34
+ end
35
+
36
+ def epc_related_party_disclosure
37
+ xpath(%w[EPC-Related-Party-Disclosure])
38
+ end
39
+
40
+ def estimated_ac_kw_rating
41
+ xpath(%w[AC-Estimated-Output])&.to_i
42
+ end
43
+
44
+ def existing_build_rating
45
+ xpath(%w[Existing-Stock-Benchmark])&.to_i
46
+ end
47
+
48
+ def floor_area
49
+ xpath(%w[Technical-Information Floor-Area])
50
+ end
51
+
52
+ def main_heating_fuel
53
+ xpath(%w[Main-Heating-Fuel])
54
+ end
55
+
56
+ def new_build_rating
57
+ xpath(%w[New-Build-Benchmark])&.to_i
58
+ end
59
+
60
+ def other_fuel_description
61
+ xpath(%w[Other-Fuel-Description])
62
+ end
63
+
64
+ def primary_energy_use
65
+ xpath(%w[Energy-Consumption-Current])
66
+ end
67
+
68
+ def property_type
69
+ xpath(%w[Property-Type])
70
+ end
71
+
72
+ def related_rrn
73
+ xpath(%w[Related-RRN])
74
+ end
75
+
76
+ def special_energy_uses
77
+ xpath(%w[Special-Energy-Uses])
78
+ end
79
+
80
+ def standard_emissions
81
+ xpath(%w[SER])
82
+ end
83
+
84
+ def target_emissions
85
+ xpath(%w[TER])
86
+ end
87
+
88
+ def transaction_type
89
+ xpath(%w[Transaction-Type])
90
+ end
91
+
92
+ def typical_emissions
93
+ xpath(%w[TYR])
94
+ end
95
+
96
+ def renewable_sources
97
+ xpath(%w[Renewable-Sources])
98
+ end
99
+ end
100
+ end
101
+ end
@@ -52,6 +52,8 @@ module ViewModel
52
52
  ViewModel::Cepc40::Cepc.new xml_doc
53
53
  when :"CEPC-3.1"
54
54
  ViewModel::Cepc31::Cepc.new xml_doc
55
+ when :"CEPC-S-7.1"
56
+ ViewModel::CepcS71::Cepc.new xml_doc
55
57
  else
56
58
  raise ArgumentError, "Unsupported schema type"
57
59
  end
@@ -12,6 +12,7 @@ module ViewModel
12
12
  CEPC-5.0
13
13
  CEPC-4.0
14
14
  CEPC-3.1
15
+ CEPC-S-7.1
15
16
  ].freeze
16
17
  TYPES_OF_RD_SAP = %i[
17
18
  RdSAP-Schema-21.0.0
@@ -26,6 +27,7 @@ module ViewModel
26
27
  RdSAP-Schema-NI-18.0
27
28
  RdSAP-Schema-NI-17.4
28
29
  RdSAP-Schema-NI-17.3
30
+ RdSAP-Schema-S-19.0
29
31
  ].freeze
30
32
  TYPES_OF_SAP = %i[
31
33
  SAP-Schema-19.1.0