|
1 | | -<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:ira="https://hpxml.nrel.gov/ira"> |
| 1 | +<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:ira="https://hpxml.nlr.gov/ira"> |
2 | 2 | <sch:title>IRA HOMES Rebates 50121 Recommended For Modeled</sch:title> |
3 | 3 | <sch:ns uri="http://hpxmlonline.com/2023/09" prefix="h"/> |
4 | 4 | <!-- Insert contents of hescore.sch here --> |
|
255 | 255 | <sch:pattern> |
256 | 256 | <sch:title>[HeatingSystemType=Furnace|WallFurnace|FloorFurnace|InUnitBoiler]</sch:title> |
257 | 257 | <sch:rule context="/h:HPXML/h:Building/h:BuildingDetails/h:Systems/h:HVAC/h:HVACPlant/h:HeatingSystem[h:HeatingSystemType[h:Furnace|h:WallFurnace|h:FloorFurnace|h:Boiler] and (number(h:FractionHeatLoadServed) > 0 or number(h:FloorAreaServed) > 0)]"> |
258 | | - <sch:assert role="ERROR" test="h:HeatingSystemFuel[text()="electricity" or text()="natural gas" or text()="fuel oil" or text()="fuel oil 1" or text()="fuel oil 2" or text()="fuel oil 4" or text()="fuel oil 5/6" or text()="propane" or text()="wood" or text()="wood pellets"]">Expected HeatingSystemFuel to be 'electricity', 'natural gas', 'fuel oil', 'fuel oil 1', 'fuel oil 2', 'fuel oil 4', 'fuel oil 5/6', 'propane', 'wood', or 'wood pellets' when FractionHeatLoadServed is not zero</sch:assert> |
| 258 | + <sch:assert role="ERROR" test="h:HeatingSystemFuel[text()="electricity" or text()="natural gas" or text()="fuel oil" or text()="fuel oil 1" or text()="fuel oil 2" or text()="fuel oil 4" or text()="fuel oil 5/6" or text()="propane" or text()="kerosene" or text()="wood" or text()="wood pellets" or text()="coal" or text()="anthracite coal" or text()="bituminous coal" or text()="coke"]">Expected HeatingSystemFuel to be 'electricity', 'natural gas', 'fuel oil', 'fuel oil 1', 'fuel oil 2', 'fuel oil 4', 'fuel oil 5/6', 'propane', 'kerosene', 'wood', 'wood pellets', 'coal', 'anthracite coal', 'bituminous coal', or 'coke' when FractionHeatLoadServed is not zero</sch:assert> |
259 | 259 | <sch:assert role="ERROR" test="h:AnnualHeatingEfficiency[h:Units="AFUE"]/h:Value or h:YearInstalled or h:ModelYear">Expected AnnualHeatingEfficiency[Units="AFUE"]/Value, YearInstalled, or ModelYear when FractionHeatLoadServed is not zero</sch:assert> |
260 | 260 | </sch:rule> |
261 | 261 | </sch:pattern> |
|
278 | 278 | <sch:rule context="/h:HPXML/h:Building/h:BuildingDetails/h:Systems/h:HVAC/h:HVACPlant/h:HeatingSystem[h:HeatingSystemType/h:Stove and (number(h:FractionHeatLoadServed) > 0 or number(h:FloorAreaServed) > 0)]"> |
279 | 279 | <sch:assert role="ERROR" test="not(h:DistributionSystem)">DistributionSystem not allowed</sch:assert> |
280 | 280 | <sch:assert role="ERROR" test="h:HeatingSystemFuel">Expected HeatingSystemFuel when FractionHeatLoadServed is not zero</sch:assert> |
281 | | - <sch:assert role="ERROR" test="h:HeatingSystemFuel[text()="wood" or text()="wood pellets"]">Expected HeatingSystemFuel to be 'wood' or 'wood pellets' when FractionHeatLoadServed is not zero</sch:assert> |
| 281 | + <sch:assert role="ERROR" test="h:HeatingSystemFuel[text()="kerosene" or text()="wood" or text()="wood pellets" or text()="coal" or text()="anthracite coal" or text()="bituminous coal" or text()="coke"]">Expected HeatingSystemFuel to be 'kerosene', 'wood', 'wood pellets', 'coal', 'anthracite coal', 'bituminous coal', or 'coke' when FractionHeatLoadServed is not zero</sch:assert> |
282 | 282 | </sch:rule> |
283 | 283 | </sch:pattern> |
284 | 284 | <sch:pattern> |
|
387 | 387 | <sch:title>[WaterHeatingSystemType=Tank|Tankless|HeatPump]</sch:title> |
388 | 388 | <sch:rule context="/h:HPXML/h:Building/h:BuildingDetails/h:Systems/h:WaterHeating/h:WaterHeatingSystem[(h:WaterHeaterType="storage water heater" or h:WaterHeaterType="dedicated boiler with storage tank" or h:WaterHeaterType="instantaneous water heater" or h:WaterHeaterType="heat pump water heater") and (not(h:FractionDHWLoadServed) or number(h:FractionDHWLoadServed) > 0)]"> |
389 | 389 | <sch:assert role="ERROR" test="h:UniformEnergyFactor | h:EnergyFactor | h:YearInstalled | h:ModelYear">Expected UniformEnergyFactor, EnergyFactor, YearInstalled, or ModelYear when FractionDHWLoadServed is not zero</sch:assert> |
390 | | - <sch:assert role="ERROR" test="h:FuelType[text()="natural gas" or text()="fuel oil" or text()="fuel oil 1" or text()="fuel oil 2" or text()="fuel oil 4" or text()="fuel oil 5/6" or text()="propane" or text()="electricity"]">Expected FuelType to be one of 'natural gas', 'electricity', 'propane', 'fuel oil', 'fuel oil 1', 'fuel oil 2', 'fuel oil 4', or 'fuel oil 5/6' when FractionDHWLoadServed is not zero</sch:assert> |
| 390 | + <sch:assert role="ERROR" test="h:FuelType[text()="natural gas" or text()="fuel oil" or text()="fuel oil 1" or text()="fuel oil 2" or text()="fuel oil 4" or text()="fuel oil 5/6" or text()="propane" or text()="kerosene" or text()="electricity"]">Expected FuelType to be one of 'natural gas', 'electricity', 'propane', 'kerosene', 'fuel oil', 'fuel oil 1', 'fuel oil 2', 'fuel oil 4', or 'fuel oil 5/6' when FractionDHWLoadServed is not zero</sch:assert> |
391 | 391 | </sch:rule> |
392 | 392 | </sch:pattern> |
393 | 393 | <sch:pattern> |
|
452 | 452 | <sch:pattern> |
453 | 453 | <sch:title>[ConsumptionInfo]</sch:title> |
454 | 454 | <sch:rule context="/h:HPXML/h:Consumption/h:ConsumptionDetails/h:ConsumptionInfo"> |
455 | | - <sch:assert role="ERROR" test="h:BPI2400Inputs"/> |
| 455 | + <sch:assert role="ERROR" test="h:BPI2400Inputs">Expected BPI2400Inputs</sch:assert> |
456 | 456 | </sch:rule> |
457 | 457 | </sch:pattern> |
458 | 458 | <sch:pattern ira:remove-measured="true"> |
|
0 commit comments