epb_view_models 1.1.6 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 674878ef3391968ae102341c4dca08d96a06cde5d8c8faf4bd61d85842e5a53f
4
- data.tar.gz: '06235595332939fa3eefeab91c660594134fba044c9f917ba7e19e7305545486'
3
+ metadata.gz: 07537b2b392d7fdbe7d1066f3f8f0d3e0681dec6da114d09f4febaba7f872cd4
4
+ data.tar.gz: 652a96f51612258618ebf754a20a0c707db6418e727cf36b0a4c3d10c6c0d3ee
5
5
  SHA512:
6
- metadata.gz: cc81f41d58ac8867590cf8eee82371c2df7754bcacd333130a7cfa84bf010b22c36f4c413620b029f37e2f9d76bacfe61fbb419b88fdd56347702837e704b3ab
7
- data.tar.gz: 426f8cb0c37903dc652e9aab6431be85c9b52d9443e3eb7e0987fc897bad75cad5048f29af4e02eb6ffb5270d772671e17d6947f2a362de79baf677a40af5337
6
+ metadata.gz: c2bb5e3d9eb8d3b20332ebb1e2b87f9b93450889958beda00c33cd4683675c65b106afb3be9aaccc3945364181247d36d0654990a028fd2c72eb484dbb294188
7
+ data.tar.gz: 4e408c45ee8e8bd13f7623d687ed96dccfc6a8822e0f0bfb7e39bf7a002ccf2c6e8fc93afbe479aa21cc25c3e56c9b69eacbffd0e51700efc31b528e95a369ee
@@ -47,6 +47,7 @@ The report also identifies a number of potential improvements that may be made t
47
47
  <xs:element name="Roof" type="PropertySummaryType" maxOccurs="unbounded"/>
48
48
  <xs:element name="Floor" type="PropertySummaryType" maxOccurs="unbounded"/>
49
49
  <xs:element name="Window" type="PropertySummaryType"/>
50
+ <xs:element name="Air-Tightness" type="PropertySummaryType" minOccurs="0"/>
50
51
  <xs:element name="Main-Heating" type="PropertySummaryType" maxOccurs="2"/>
51
52
  <xs:element name="Main-Heating-Controls" type="PropertySummaryType" maxOccurs="2"/>
52
53
  <xs:element name="Hot-Water" type="PropertySummaryType"/>
@@ -179,7 +180,6 @@ If windows not measured, same as SAP-Data\Energy-Assessment\Property-Summary\Mul
179
180
  </xs:complexType>
180
181
  <xs:element name="Improvement" type="Improvement"/>
181
182
  <xs:complexType name="Improvement">
182
-
183
183
  <xs:all>
184
184
  <xs:element name="Sequence" type="xs:integer">
185
185
  <xs:annotation>
@@ -20,7 +20,7 @@
20
20
  <xs:element name="SAP-Property-Details" type="SAP-Property-Details"/>
21
21
  <xs:complexType name="SAP-Property-Details">
22
22
  <xs:all>
23
- <xs:element name="Built-Form" type="SAP-BuiltFormCode">
23
+ <xs:element name="Built-Form" type="SAP-BuiltFormCode" minOccurs="0">
24
24
  <xs:annotation>
25
25
  <xs:documentation>The building type of the Property e.g. Detached, Semi-Detached, Terrace etc.
26
26
 
@@ -147,19 +147,44 @@ This is actually the type differentiator for Property but only a limited number
147
147
  <xs:documentation>The number of flueless gas fires in the Property.</xs:documentation>
148
148
  </xs:annotation>
149
149
  </xs:element>
150
- <xs:element name="Mechanical-Ventilation-Duct-Insulation" type="xs:boolean" minOccurs="0">
150
+ <xs:element name="Mechanical-Ventilation-Index-Number" type="xs:positiveInteger" minOccurs="0">
151
151
  <xs:annotation>
152
152
  <xs:documentation>Relevant when mechanical ventilation system is from PCDB.</xs:documentation>
153
153
  </xs:annotation>
154
154
  </xs:element>
155
- <xs:element name="Mechanical-Ventilation-Index-Number" type="xs:positiveInteger" minOccurs="0">
155
+ <xs:element name="Mechanical-Ventilation" type="VentilationTypeCode">
156
+ <xs:annotation>
157
+ <xs:documentation>Identifies the type of mechanical ventilation the property has. This is required for the RdSAP calculation.</xs:documentation>
158
+ </xs:annotation>
159
+ </xs:element>
160
+ <xs:element name="Mechanical-Vent-Duct-Type" type="SAP-DuctTypeCode" minOccurs="0">
161
+ <xs:annotation>
162
+ <xs:documentation>Mechanical vent duct type; if MEV c, MV or MVHR from PCDB.</xs:documentation>
163
+ </xs:annotation>
164
+ </xs:element>
165
+ <xs:element name="Mechanical-Vent-Duct-Placement" type="SAP-DuctPlacement" minOccurs="0">
166
+ <xs:annotation>
167
+ <xs:documentation>Mechanical ventilation duct insulation; if MVHR from PCDB.</xs:documentation>
168
+ </xs:annotation>
169
+ </xs:element>
170
+ <xs:element name="Mechanical-Ventilation-Duct-Insulation" type="SAP-DuctInsulationCode" minOccurs="0">
156
171
  <xs:annotation>
157
172
  <xs:documentation>Relevant when mechanical ventilation system is from PCDB.</xs:documentation>
158
173
  </xs:annotation>
159
174
  </xs:element>
160
- <xs:element name="Mechanical-Ventilation" type="VentilationTypeCode">
175
+ <xs:element name="Mechanical-Vent-Duct-Insulation-Level" type="SAP-DuctInsulationLevel" minOccurs="0">
161
176
  <xs:annotation>
162
- <xs:documentation>Identifies the type of mechanical ventilation the property has. This is required for the RdSAP calculation.</xs:documentation>
177
+ <xs:documentation>Mechanical vent duct insulation; if MVHR from PCDB.</xs:documentation>
178
+ </xs:annotation>
179
+ </xs:element>
180
+ <xs:element name="Mechanical-Vent-Measured-Installation" type="xs:boolean" minOccurs="0">
181
+ <xs:annotation>
182
+ <xs:documentation>Mechanical ventilation SPF measured in situ; if MVHR or balanced from pcdb.</xs:documentation>
183
+ </xs:annotation>
184
+ </xs:element>
185
+ <xs:element name="Is-Mechanical-Vent-Approved-Installer-Scheme" type="xs:boolean" minOccurs="0">
186
+ <xs:annotation>
187
+ <xs:documentation>If MVHR from pcdb.</xs:documentation>
163
188
  </xs:annotation>
164
189
  </xs:element>
165
190
  <xs:element name="Conservatory-Type" type="SAP-ConservatoryTypeCode">
@@ -867,11 +892,6 @@ For the purpose of calculating the overall Energy Assessment for the property de
867
892
  </xs:annotation>
868
893
  </xs:element>
869
894
  <xs:element name="Community-Heat-Distribution-Type" type="SAP-HeatingDistributionCode" minOccurs="0"/>
870
- <xs:element name="Community-Generator-Type" type="CommunityGeneratorTypeCode" minOccurs="0">
871
- <xs:annotation>
872
- <xs:documentation>Only required if index number not available.</xs:documentation>
873
- </xs:annotation>
874
- </xs:element>
875
895
  <xs:element name="Community-Heat-CHP-Electricity-Generation" type="SAP-CHPElectricityGenerationCode" minOccurs="0">
876
896
  <xs:annotation>
877
897
  <xs:documentation>Only if community heating not from pcdb and a heat source with CHP. CHP Electricity generation options from table 12f.</xs:documentation>
@@ -951,7 +971,7 @@ If the total peak power has been apportioned between different dwellings within
951
971
  <xs:element name="PV-Batteries" type="PV-Batteries"/>
952
972
  <xs:complexType name="PV-Batteries">
953
973
  <xs:sequence>
954
- <xs:element name="PV-Battery" type="PV-Battery"/>
974
+ <xs:element name="PV-Battery" type="PV-Battery" maxOccurs="20"/>
955
975
  </xs:sequence>
956
976
  </xs:complexType>
957
977
  <xs:element name="PV-Battery" type="PV-Battery"/>
@@ -52,6 +52,79 @@
52
52
  </xs:enumeration>
53
53
  </xs:restriction>
54
54
  </xs:simpleType>
55
+ <xs:simpleType name="SAP-DuctTypeCode">
56
+ <xs:annotation>
57
+ <xs:documentation>Code which indicates the type of duct.</xs:documentation>
58
+ </xs:annotation>
59
+ <xs:restriction base="xs:string">
60
+ <xs:enumeration value="1">
61
+ <xs:annotation>
62
+ <xs:documentation>flexible</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:enumeration>
65
+ <xs:enumeration value="2">
66
+ <xs:annotation>
67
+ <xs:documentation>rigid</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:enumeration>
70
+ <xs:enumeration value="3">
71
+ <xs:annotation>
72
+ <xs:documentation>semi-rigid</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:enumeration>
75
+ </xs:restriction>
76
+ </xs:simpleType>
77
+ <xs:simpleType name="SAP-DuctPlacement">
78
+ <xs:annotation>
79
+ <xs:documentation>Code which indicates the duct placement.</xs:documentation>
80
+ </xs:annotation>
81
+ <xs:restriction base="xs:string">
82
+ <xs:enumeration value="1">
83
+ <xs:annotation>
84
+ <xs:documentation>inside heated envelope</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:enumeration>
87
+ <xs:enumeration value="2">
88
+ <xs:annotation>
89
+ <xs:documentation>outside heated envelope</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:enumeration>
92
+ </xs:restriction>
93
+ </xs:simpleType>
94
+ <xs:simpleType name="SAP-DuctInsulationLevel">
95
+ <xs:annotation>
96
+ <xs:documentation>Code which indicates the level of duct insulation.</xs:documentation>
97
+ </xs:annotation>
98
+ <xs:restriction base="xs:string">
99
+ <xs:enumeration value="1">
100
+ <xs:annotation>
101
+ <xs:documentation>level 1</xs:documentation>
102
+ </xs:annotation>
103
+ </xs:enumeration>
104
+ <xs:enumeration value="2">
105
+ <xs:annotation>
106
+ <xs:documentation>level 2</xs:documentation>
107
+ </xs:annotation>
108
+ </xs:enumeration>
109
+ </xs:restriction>
110
+ </xs:simpleType>
111
+ <xs:simpleType name="SAP-DuctInsulationCode">
112
+ <xs:annotation>
113
+ <xs:documentation>Code which indicates the type of duct insulation.</xs:documentation>
114
+ </xs:annotation>
115
+ <xs:restriction base="xs:string">
116
+ <xs:enumeration value="1">
117
+ <xs:annotation>
118
+ <xs:documentation>not insulated</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:enumeration>
121
+ <xs:enumeration value="2">
122
+ <xs:annotation>
123
+ <xs:documentation>insulated</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:enumeration>
126
+ </xs:restriction>
127
+ </xs:simpleType>
55
128
  <xs:simpleType name="HeatEmitterCode">
56
129
  <xs:restriction base="xs:string">
57
130
  <xs:enumeration value="0">
@@ -887,7 +960,7 @@ Northern Ireland: 2014 onwards (TBA)</xs:documentation>
887
960
  </xs:enumeration>
888
961
  <xs:enumeration value="3">
889
962
  <xs:annotation>
890
- <xs:documentation>Voluntary (No legal requirement for an EPC).</xs:documentation>
963
+ <xs:documentation>stairwell</xs:documentation>
891
964
  </xs:annotation>
892
965
  </xs:enumeration>
893
966
  </xs:restriction>
@@ -2983,30 +3056,6 @@ This is a very similar concept to XML ID datatype but is locally defined because
2983
3056
  </xs:enumeration>
2984
3057
  </xs:restriction>
2985
3058
  </xs:simpleType>
2986
- <xs:simpleType name="CommunityGeneratorTypeCode">
2987
- <xs:restriction base="xs:string">
2988
- <xs:enumeration value="0">
2989
- <xs:annotation>
2990
- <xs:documentation>unknown</xs:documentation>
2991
- </xs:annotation>
2992
- </xs:enumeration>
2993
- <xs:enumeration value="1">
2994
- <xs:annotation>
2995
- <xs:documentation>boilers</xs:documentation>
2996
- </xs:annotation>
2997
- </xs:enumeration>
2998
- <xs:enumeration value="3">
2999
- <xs:annotation>
3000
- <xs:documentation>CHP and boilers</xs:documentation>
3001
- </xs:annotation>
3002
- </xs:enumeration>
3003
- <xs:enumeration value="4">
3004
- <xs:annotation>
3005
- <xs:documentation>heat pump</xs:documentation>
3006
- </xs:annotation>
3007
- </xs:enumeration>
3008
- </xs:restriction>
3009
- </xs:simpleType>
3010
3059
  <xs:simpleType name="PumpAge">
3011
3060
  <xs:restriction base="xs:string">
3012
3061
  <xs:enumeration value="0">
@@ -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 = "1.1.6"
8
+ VERSION = "1.2.0"
9
9
  end
10
10
 
11
11
  # Monkey patching to avoid using ActiveRecord::Type::Boolean.new.cast
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epb_view_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DLUHC Energy Performance of Buildings
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-08 00:00:00.000000000 Z
11
+ date: 2024-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri