You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Allows skipping schema/schematron validation (for speed); should only be used if the HPXML was already validated upstream.
18
+
- Allows HPXML files w/ multiple `Building` elements; requires providing the ID of the single building to be simulated.
18
19
- Includes hot water loads (in addition to heating/cooling loads) when timeseries total loads are requested.
19
20
- The `in.xml` HPXML file is now always produced for inspection of default values (e.g., autosized HVAC capacities). **Breaking change**: The `output_dir` HPXMLtoOpenStudio measure argument is now required.
20
21
- Overhauls documentation to be more comprehensive and standardized.
Copy file name to clipboardExpand all lines: HPXMLtoOpenStudio/resources/EPvalidator.xml
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,16 @@
9
9
<sch:assertrole='ERROR'test='count(h:XMLTransactionHeaderInformation) = 1'>Expected 1 element(s) for xpath: XMLTransactionHeaderInformation</sch:assert> <!-- See [XMLTransactionHeaderInformation] -->
10
10
<sch:assertrole='ERROR'test='count(h:SoftwareInfo/h:extension/h:SimulationControl) <= 1'>Expected 0 or 1 element(s) for xpath: SoftwareInfo/extension/SimulationControl</sch:assert> <!-- See [SimulationControl] -->
11
11
<sch:assertrole='ERROR'test='count(h:SoftwareInfo/h:extension/h:HVACSizingControl) <= 1'>Expected 0 or 1 element(s) for xpath: SoftwareInfo/extension/HVACSizingControl</sch:assert> <!-- See [HVACSizingControl] -->
12
-
<sch:assertrole='ERROR'test='count(h:Building) = 1'>Expected 1 element(s) for xpath: Building</sch:assert>
13
-
<sch:assertrole='ERROR'test='count(h:Building/h:BuildingID) = 1'>Expected 1 element(s) for xpath: Building/BuildingID</sch:assert>
14
-
<sch:assertrole='ERROR'test='count(h:Building/h:ProjectStatus/h:EventType) = 1'>Expected 1 element(s) for xpath: Building/ProjectStatus/EventType</sch:assert>
15
-
<sch:assertrole='ERROR'test='count(h:Building/h:BuildingDetails) = 1'>Expected 1 element(s) for xpath: Building/BuildingDetails</sch:assert> <!-- See [BuildingDetails] -->
12
+
<sch:assertrole='ERROR'test='count(h:Building) >= 1'>Expected 1 or more element(s) for xpath: Building</sch:assert> <!-- See [Building] -->
13
+
</sch:rule>
14
+
</sch:pattern>
15
+
16
+
<sch:pattern>
17
+
<sch:title>[Building]</sch:title>
18
+
<sch:rulecontext='/h:HPXML/h:Building'>
19
+
<sch:assertrole='ERROR'test='count(h:BuildingID) = 1'>Expected 1 element(s) for xpath: Building/BuildingID</sch:assert>
20
+
<sch:assertrole='ERROR'test='count(h:ProjectStatus/h:EventType) = 1'>Expected 1 element(s) for xpath: Building/ProjectStatus/EventType</sch:assert>
21
+
<sch:assertrole='ERROR'test='count(h:BuildingDetails) = 1'>Expected 1 element(s) for xpath: Building/BuildingDetails</sch:assert> <!-- See [BuildingDetails] -->
0 commit comments