Repository navigation
Conversation
Implements the accepted fix-plan recommendations R1-R8 for the exhaust air recovery path added in #35. - R1: an economizer-only delivery folded into its central delivery now gets its own Result: a WARN :policy note, or a blocking result with fix-it advice when approximations are off. Folding still applies in every file; NYC and San Francisco show the same pattern. - R2: drop the comstock_erv effectiveness step. It leaves the 75%-flow table inconsistent, so EnergyPlus extrapolates effectiveness above 1 (up to 1.22 sensible, 1.45 latent in a school run). An audited ERV now keeps ComStock's climate-zone HRV/ERV choice. An audited HRV gets a latent-0 modify_existing_heat_recovery step, the one setting that stays physical. The recovery note says which, by type. - R3: the recovery note says what 90.1 and ComStock decide at run time (code exchangers, kitchen- and dining-only loops). The integration spec checks exchanger count and part-flow sensible effectiveness. - R4: _select_recovery reports the real problem first: explicit unsupported Integration (including Stand-alone), then link checks, then Integration inference with a reason when it can't be inferred. - R5: a stand-alone HRV/ERV, or one on its own NoHeating/NoCooling air path, owns its delivery (kept apart from ventilation_links, after economizer folding). An ERV on a DOAS or ventilation-only unit gets its own not_mappable reason, not a false shared-link conflict. - R6: one rule for DemandControlVentilation, VentilationControlMethods and VentilationZoneControl. They block only on stand-alone DOAS and Ventilation Only (doc rows 60-61); on recovery they are named in the note. MakeupAirSourceID still blocks, with its own reason. Property checks run after the approximation gate, so strict mode reports row 83. - R7: the building type is passed boss.rb -> planner -> selector. Restaurant recovery, which ComStock skips, becomes a WARN note on a topology plan instead of a failing run. Per-zone hosts in building types with kitchen and dining zones get a note that those zones have no audited recovery. A drift spec checks the list against openstudio-standards. - R8: comment on ComStock's extra sizing run. No spec fixture changes plan status. The ERV fixture loses the modify_existing_heat_recovery step. Example_ASHRAE_L2_Report, NYC and San Francisco gain an economizer note. NYC and San Francisco no longer list DCV as a fallback reason. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
#35 added ComStock exhaust air recovery to the L200 baseline. Reviewing it against the measures and the mapping doc turned up several problems. Some build the wrong model silently; others give misleading fallback reasons. #39 added non-blocking notes (D1), which make most of them fixable. This PR implements fix-plan item 25a, recommendations R1–R8, accepted 2026-12-05. The #37 pairing problems (25b) are a separate PR.
What this PR does
Model changes
modify_existing_heat_recoverywithcomstock_ervsets full-flow effectiveness but leaves the part-flow table inconsistent. In an EnergyPlus run of a school baseline, effectiveness reached 1.22 sensible and 1.45 latent, with no warning. An audited ERV now keeps ComStock's own climate-zone choice: an ERV in humid zones, an HRV elsewhere. This needs an upstream fix in buildingsync-measures-gem.HRV_STEP), so humid-zone ComStock exchangers and 90.1 code exchangers have no latent recovery. A new spec runs the real measure on a 90.1 exchanger and on a ComStock exchanger.boss.rbthrough the planner to the selector.Selector changes
:policynote. With approximations off they block, and the message says how to fix the file.--no-allow_approximations, recovery reports row 83.Notes: the recovery note says what ComStock and 90.1 decide at run time. Per-zone hosts in building types with kitchen and dining zones get a note that those zones have no audited recovery; a drift spec checks that building-type list against openstudio-standards.
How to test
spec/files/v2.7.0fixture was planned before and after: no file changes topology/fallback status.modify_existing_heat_recovery.Relevant tickets
modify_existing_heat_recovery).🤖 Generated with Claude Code