Skip to content

Commit 74f45b2

Browse files
committed
Merge branch 'changes-for-hpxml-gen-v6' into add-energy-end-use-to-response
2 parents 9570f59 + 80f0bfc commit 74f45b2

23 files changed

+541
-280
lines changed

docs/source/api.rst renamed to docs/source/deprecated/api.rst

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,12 @@ Property Type Units Constraints Required Default
149149
``storiesCount`` integer count >0 no PSC, BSA
150150
``windowToWallFraction`` float fraction >0 no 0.14
151151
``yearBuilt`` integer year >1600 no PSC If missing from PSC, model will fail
152+
``propertyUse`` string see [#]_ no PSC Advanced option. See [#]_
152153
======================== ======= ======== =========== ======== ================== ==============================================
153154

154155
.. [#] ``bedroomsCount``/2 + 0.5
156+
.. [#] ``propertyUse`` options are “single-family detached”, “single-family attached”, or “manufactured home”
157+
.. [#] ``propertyUse`` is an advanced field. Overriding the existing property use may produce in abnormal model results. If you set this, we recommend setting square footage as well.
155158
156159
.. _cost:
157160

@@ -217,18 +220,19 @@ Property Type Units Constraints Required Defa
217220
Attics
218221
~~~~~~
219222

220-
The attic is entered in ``...building.enclosure.attics``. Currently, this array must contain exactly 1 attic object. If there is no attic present in house, set ``area`` to 0.
221-
See note about `objects and arrays`_ for more information.
223+
The attic is entered in ``...building.enclosure.attics``. Currently, this array must contain exactly 1 attic object. See note about `objects and arrays`_ for more information.
222224

223225
================================= ======= ================ ============== ======== ================== ==============================================
224226
Property Type Units Constraints Required Default Notes
225227
================================= ======= ================ ============== ======== ================== ==============================================
226-
``id`` id Must be unique yes Attic1
227-
``area`` float ft2 >0 no PSC
228-
``isVented`` boolean no yes
229-
``floorAssemblyEffectiveRValue`` float F-ft2-hr/Btu >0 no BSA
228+
``id`` id Must be unique yes Attic1
229+
``type`` string see [#]_ no BSA
230+
``area`` float ft2 >0 no PSC Not applicable when ``type`` is "cathedral ceiling" or "flat roof"
231+
``floorAssemblyEffectiveRValue`` float F-ft2-hr/Btu >0 no BSA Not applicable when ``type`` is "cathedral ceiling" or "flat roof"
230232
================================= ======= ================ ============== ======== ================== ==============================================
231233

234+
.. [#] ``type`` options are "attic vented", "attic unvented", "cathedral ceiling", or "flat roof".
235+
232236
Roofs
233237
~~~~~
234238

@@ -259,7 +263,7 @@ Property Type Units Constraints Re
259263
``wallHeight`` float ft >=0 no PSC
260264
================================= ======= ================ ============== ======== ================== ==============================================
261265

262-
.. [#] ``type`` choices are "basement conditioned", "basement unconditioned", "crawl vented", "crawl unvented", "slab", and "pier and beam".
266+
.. [#] ``type`` choices are "basement conditioned", "basement unconditioned", "crawl vented", "crawl unvented", "slab", and "belly and wing".
263267
264268
Walls
265269
~~~~~
@@ -365,7 +369,7 @@ Property Type Units Constra
365369
.. [#] If ``systemType`` is "central air conditioner"
366370
.. [#] ``systemType`` choices are "central air conditioner", "room air conditioner", "evaporative cooler", "packaged terminal air conditioner", and "mini-split".
367371
.. [#] ``compressorType`` choices are "single stage", "two stage", and "variable speed".
368-
.. [#] ``coolEfficiencyUnits`` choices are "percent", "EER", "CEER", and "SEER". The option to use "SEER2" is planned for a future release.
372+
.. [#] ``coolEfficiencyUnits`` choices are "fraction", "EER", "CEER", "SEER", and "SEER2".
369373
370374
HVAC Heating Systems
371375
~~~~~~~~~~~~~~~~~~~~
@@ -388,7 +392,7 @@ Property Type Units Constra
388392

389393
.. [#] Required when ``systemType`` is "furnace" or "boiler".
390394
.. [#] ``fuel`` choices are "electricity", "natural gas", "fuel oil", "propane", "coal", "wood", and "wood pellets".
391-
.. [#] ``heatEfficiencyUnits`` choices are "AFUE" and "percent".
395+
.. [#] ``heatEfficiencyUnits`` choices are "AFUE" and "fraction".
392396
393397
HVAC Heat Pumps
394398
~~~~~~~~~~~~~~~
@@ -406,9 +410,9 @@ Property Type Units Constrai
406410
``heatCapacityBtuPerHour`` float Btu/hr >=0 no autosized by modeling engine if undefined
407411
``coolCapacityBtuPerHour`` float Btu/hr >=0 no autosized by modeling engine if undefined
408412
``heatEfficiency`` float Btu/Wh >0 no PSC
409-
``heatEfficiencyUnits`` string HSPF [#]_ no HSPF
413+
``heatEfficiencyUnits`` string see [#]_ no HSPF
410414
``coolEfficiency`` float Btu/Wh >0 no PSC
411-
``coolEfficiencyUnits`` string SEER [#]_ no SEER
415+
``coolEfficiencyUnits`` string see [#]_ no SEER
412416
``heatLoadFraction`` float fraction 0-1 yes 1
413417
``coolLoadFraction`` float fraction 0-1 yes 1
414418
``backupSystem`` object yes
@@ -418,8 +422,8 @@ Property Type Units Constrai
418422
.. [#] Required when ``systemType`` is "air-to-air" or "ground-to-air".
419423
.. [#] ``systemType`` choices are "mini-split", "air-to-air", and "ground-to-air".
420424
.. [#] ``compressorType`` choices are "single stage", "two stage", and "variable speed".
421-
.. [#] The option to use "HSPF2" is planned for a future release.
422-
.. [#] The option to use "SEER2" is planned for a future release.
425+
.. [#] ``heatEfficiencyUnits`` choices are "HSPF" and "HSPF2".
426+
.. [#] ``coolEfficiencyUnits`` choices are "SEER" and "SEER2".
423427
424428
``backupSystem`` schema for HVAC Heat Pumps:
425429

@@ -430,15 +434,15 @@ Property Type Units Constrai
430434
``heatingSwitchoverTemp`` float F no determined by modeling engine if undefined
431435
``fuel`` string see [#]_ no electricity only applicable if backupSystem.systemType = "integrated"
432436
``heatEfficiency`` float see ``heatEfficiencyUnit`` 0-1 no 1 only applicable if backupSystem.systemType = "integrated"
433-
``heatEfficiencyUnits`` string see [#]_ no percent only applicable if backupSystem.systemType = "integrated"
437+
``heatEfficiencyUnits`` string see [#]_ no fraction only applicable if backupSystem.systemType = "integrated"
434438
``heatCapacityBtuPerHour`` float Btu/hr >=0 no autosized by modeling engine if undefined, only applicable if backupSystem.systemType = "integrated"
435439
``backupHvacId`` idref see [#]_ see [#]_ PSC
436440
================================= ======= ========================== ============== ======== ================== ==============================================
437441

438442
.. [#] ``systemType`` choices are "integrated" and "separate".
439443
.. [#] ``fuel`` choices are "electricity", "natural gas", "fuel oil", "propane", "coal", "wood", and "wood pellets".
440-
.. [#] ``heatEfficiencyUnits`` choices are "AFUE" and "percent".
441-
.. [#] Must reference an defined ``hvacHeatingSystem.id``
444+
.. [#] ``heatEfficiencyUnits`` choices are "AFUE" and "fraction".
445+
.. [#] Must reference a defined ``hvacHeatingSystem.id``
442446
.. [#] Required when ``backupSystem.systemType`` is "separate".
443447
444448
HVAC Air Distribution Systems
@@ -468,14 +472,14 @@ Property Type Units Constrai
468472
``systemType`` string see [#]_ yes "supply" and "return" both supply and return must be defined
469473
``insulationRValue`` float F-ft2-hr/Btu >=0 no 0
470474
``leakageValue`` float see ``leakageUnits`` >=0 no BSA
471-
``leakageUnits`` string see [#]_ no Percent
475+
``leakageUnits`` string see [#]_ no fraction
472476
``location`` string see [#]_ no see notes [#]_
473477
================================= ======= ========================== ============== ======== ====================== ==============================================
474478

475479
.. [#] ``systemType`` choices are "supply" and "return".
476-
.. [#] ``leakageUnits`` choices are"CFM25", "CFM50", and "percent".
477-
.. [#] ``location`` choices are "living space", "basement conditioned", "basement unconditioned", "crawlspace unvented", "crawlspace vented", "attic unvented", "attic vented", "garage", "outside", "exterior wall", "under slab", "roof deck", "other heated space", and "other non-freezing space".
478-
.. [#] If ``location`` not provided, defaults to the first present space type: "basement conditioned", "basement unconditioned", "crawlspace vented", "crawlspace unvented", "attic vented", "attic unvented", "garage", or "living space".
480+
.. [#] ``leakageUnits`` choices are "CFM25", "CFM50", and "fraction".
481+
.. [#] ``location`` choices are "conditioned space", "basement conditioned", "basement unconditioned", "crawlspace unvented", "crawlspace vented", "attic unvented", "attic vented", "garage", "outside", "exterior wall", "under slab", "roof deck", "other heated space", "other non-freezing space", and "manufactured home belly".
482+
.. [#] If ``location`` not provided, defaults to the first present space type: "basement conditioned", "basement unconditioned", "crawlspace conditioned", "crawlspace vented", "crawlspace unvented", "attic vented", "attic unvented", "garage", or "conditioned space".
479483
480484
HVAC Hydronic Distribution Systems
481485
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -725,20 +729,22 @@ Property Type Units
725729
``tankVolume`` float gal no
726730
``dhwLoadFraction`` float fraction 0-1 yes sum of dhwLoadFraction must equal 1
727731
``heatCapacityBtuPerHour`` float Btu/hr >0 no autosized by modeling engine if undefined
728-
``energyFactor`` or ``uniformEnergyFactor`` float fraction <1 no BSA
732+
``efficiency`` float fraction >0 no BSA
733+
``efficiencyUnits`` string see [#]_ no BSA
729734
``hotWaterTemperature`` float F >0 no 125
730735
=========================================== ======= ========================== ============== ======== ==================== ==============================================
731736

732737
.. [#] ``systemType`` choices are "storage water heater", "instantaneous water heater", "heat pump water heater", "space-heating boiler with storage tank", and "space-heating boiler with tankless coil".
733738
.. [#] Must reference a defined ``hvacHeatingSystem.id``.
734739
.. [#] Only required when ``systemType`` is "space-heating boiler with ..."
735740
.. [#] ``fuel`` choices are "electricity", "natural gas", "fuel oil", "propane", "coal", "wood", and "wood pellets".
736-
.. [#] ``location`` choices are "living space", "basement conditioned", "basement unconditioned", "crawlspace unvented", "crawlspace vented", "attic unvented", "attic vented", "garage", “other exterior”, “other heated space”, and “other non-freezing space”.
741+
.. [#] ``location`` choices are "conditioned space", "basement conditioned", "basement unconditioned", "crawlspace unvented", "crawlspace vented", "attic unvented", "attic vented", "garage", “other exterior”, “other heated space”, and “other non-freezing space”.
737742
.. [#] If ``location`` not provided, defaults to the first present space type:
738743
739-
IECC zones 1-3, excluding 3A: "garage", "living space"
744+
IECC zones 1-3, excluding 3A: "garage", "conditioned space"
740745
741-
IECC zones 3A, 4-8, unknown: "basement conditioned", "basement unconditioned", "living space"
746+
IECC zones 3A, 4-8, unknown: "basement conditioned", "basement unconditioned", "conditioned space"
747+
.. [#] ``efficiencyUnits`` choices are "EF" and "UEF".
742748
743749
.. _weather:
744750

docs/source/automated_measures.rst renamed to docs/source/deprecated/automated_measures.rst

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,17 @@ connected to the base building's heating and cooling systems.
123123
124124
``adjust`` schema for existing HVAC distribution system:
125125

126-
==================== ======= =========== ==============================================
126+
==================== ======= =========== ========================================================
127127
Property Type Constraints Description
128-
==================== ======= =========== ==============================================
129-
``leakageUnits`` String See [#]_ Duct leakage units
128+
==================== ======= =========== ========================================================
129+
``leakageUnits`` String See [#]_ Duct leakage units must be the same as ``baseBuilding``
130130
``leakageValue`` Double >= 0.0 Duct leakage value
131131
``insulationRValue`` Double >= 0.0
132-
==================== ======= =========== ==============================================
132+
==================== ======= =========== ========================================================
133133

134134
Values can be defined and will only be applied if applicable. For example, if there isn't ``airDistribution``, then ``leakageValue`` won't be applied.
135135

136-
.. [#] Units choices are CFM25, CFM50, or Percent.
136+
.. [#] Units choices are "CFM25", "CFM50", or "fraction".
137137
138138
.. _existing_water_heating_system:
139139

@@ -218,7 +218,7 @@ Characteristics of a new water heating system can be entered in ``automatedMeasu
218218
===================== ==================== =========== ======== ======= ===================================
219219
Property Type Constraints Required Default Description
220220
===================== ==================== =========== ======== ======= ===================================
221-
``systemType`` String See [#]_ Yes Type of water heating system. fuelType assumed as base heating fuel for "storage water heater" and "instantaneous water heater".
221+
``systemType`` String See [#]_ Yes Type of water heating system. ``fuelType`` assumed as base heating fuel for "storage water heater" and "instantaneous water heater".
222222
``efficiencyClass`` String See [#]_ Yes
223223
``dhwLoadFraction`` Double 0 - 1 [#]_ No 1.0 DHW load for the new water heating system
224224
``costs`` Array of :ref:`cost` No ``[]`` Implied costs of measure
@@ -246,6 +246,16 @@ Assumptions for ``efficiencyClass``:
246246
instantaneous water heater other N/A N/A
247247
========================== =========== ======== =======
248248

249+
Assumptions for ``tankVolume`` when ``systemType`` is "heat pump water heater":
250+
=============== =============
251+
Resident Count Volume (gal)
252+
=============== =============
253+
2 or less 50
254+
3 65
255+
4 or more 80
256+
=============== =============
257+
258+
249259
Adjust global aspects of the building
250260
-------------------------------------
251261

@@ -280,6 +290,8 @@ Adjustments to the building air leakage rates can be entered in ``automatedMeasu
280290

281291
.. [#] rateUnit choices are ACH or CFM.
282292
293+
The air sealing measure is only applicable when the improved air sealing rate is less than the base rate.
294+
283295
.. _adjust_attic_insulation:
284296

285297
Attic Insulation
@@ -304,6 +316,19 @@ Adjustments to existing attic insulation can be entered in ``automatedMeasures.a
304316
``floorAssemblyEffectiveRValue`` Double F-ft2-hr/Btu > 0.0 50.6 Effective R-value of attic floor assembly
305317
================================ ====== ============ =========== ======= =======================================
306318

319+
Attic insulation measure applicability is determined based on the difference between the base and improved assembly effective R-value using the following table.
320+
321+
===================== ========================= ===========
322+
Base Assembly R-Value Improved Assembly R-Value Applicable?
323+
===================== ========================= ===========
324+
< 8.7 < 8.7 false
325+
< 8.7 >= 8.7 true
326+
8.7 - 20.6 < 26.6 false
327+
8.7 - 20.6 >= 26.6 true
328+
> 20.6 < 31.6 false
329+
> 20.6 >= 31.6 true
330+
===================== ========================= ===========
331+
307332
.. _adjust_thermostat:
308333

309334
Thermostat
File renamed without changes.
File renamed without changes.

docs/source/examples.rst

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ Download the response example with hourly datapoints here: :download:`simple_wit
6666
In a future release, we'll automatically compress the response payload including hourly data and inform the client
6767
through the `Content-Encoding` HTTP response header.
6868

69-
Extensive
70-
---------
69+
Using baseBuilding
70+
------------------
7171

7272
Request
7373
*******
@@ -84,3 +84,22 @@ And the response will have the following structure.
8484

8585
.. literalinclude:: examples/response/timelines/post/extensive_inputs.json
8686
:language: json
87+
88+
Using automatedMeasures
89+
-----------------------
90+
91+
Request
92+
*******
93+
94+
Send a POST request to `/v1/timelines` with the following payload.
95+
96+
.. literalinclude:: examples/request/timelines/post/automated_measures_new_heat_pump.json
97+
:language: json
98+
99+
Response
100+
********
101+
102+
And the response will have the following structure.
103+
104+
.. literalinclude:: examples/response/timelines/post/automated_measures_new_heat_pump.json
105+
:language: json

0 commit comments

Comments
 (0)