Skip to content

Add heating with terminal cooling mapping to L200 baseline - #37

Open
JieXiong9119 wants to merge 3 commits into
add-erv-mapping-to-baselinefrom
add-ptac-combo-mapping-to-baseline
Open

JieXiong9119 wants to merge 3 commits into
add-erv-mapping-to-baselinefrom
add-ptac-combo-mapping-to-baseline

Conversation

@JieXiong9119

Copy link
Copy Markdown
Contributor

Map heating with terminal cooling (NYC Property 2) to an L200 baseline

Summary

BOSS can now build an L200 baseline for buildings where heating and cooling are delivered separately: a heating-only system for heat, plus a cooling-only PTAC for cooling. It also handles a PTAC with a hot-water coil served by a boiler. Mapping uses standard BuildingSync elements only. User-defined (custom) fields are not counted as evidence.

Changes

  • lib/BOSS/hvac_topology_selector.rb
    • TERMINAL_COOLING_CONFIGURATIONS maps each heating variant to a configuration name:
      • central_gas_furnace
      • hot_water_baseboard
      • electric_baseboard
    • BOILER_FUELS maps the BuildingSync PrimaryFuel to the measure's boiler_fuel value.
    • New context helpers: hot_water_boiler_fuel and ptac_cooling.
    • _separate_heating_variant added. _heating_with_terminal_cooling now handles all three heating variants.
    • New DELIVERY_RULES entry "PTAC with hot water coil" (heating_source: hot_water_ptac_coil, plus boiler_fuel).
  • Test file: spec/files/v2.7.0/l200_hvac/Example_NYC_Energy_Efficiency_Report_Property_2_l200.xml. It restates the custom fields of Example_NYC_Energy_Efficiency_Report_Property_2.xml as standard elements. The original XML is unchanged.
  • Tests
    • Unit: spec/tests/unit/heating_with_terminal_cooling_spec.rb covers the NYC example and the three variants.
    • Integration: write_and_run_osws_spec.rb adds the NYC example, expecting hvac_heating_with_terminal_cooling and DOE Ref Pre-1980.
  • README: documents the delivery patterns that are recognised and the variants.
  • CI: BSYNC_MEASURES_REF is pinned to 6ee630f71d5da01df79a2c0dab40b1e978c51556 (buildingsync-measures-gem, branch add-hvac_heating_with_terminal_cooling-measure).
  • Cleanup: .vscode/tasks.json is reduced to the unit-test task.

Testing

  • Unit tests: 182 examples, 0 failures.
  • Integration test (-e Property_2_l200): 1 example, 0 failures, about 13 minutes. It ran with the XML at its old path in spec/files/v2.7.0, before the move into l200_hvac/.

Dependencies

Requires the buildingsync-measures-gem PR for hvac_heating_with_terminal_cooling. Repin BSYNC_MEASURES_REF once that PR is merged.

@JieXiong9119 JieXiong9119 self-assigned this Nov 25, 2026
@JieXiong9119
JieXiong9119 added this pull request to stack #36 November 25, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant