Skip to content

Conversation

@joseph-robertson
Copy link
Collaborator

@joseph-robertson joseph-robertson commented Jan 16, 2026

Pull Request Description

Report "Temperature: MyBuilding Basement Unconditioned" instead of "Temperature: Unit1 Basement Unconditioned", for example.

Checklist

Not all may apply:

  • Schematron validator (EPvalidator.sch) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

Comment on lines 878 to 883
building_id = hpxml_bldg.building_id
if not spaces.keys.include? location
thermal_zone = OpenStudio::Model::ThermalZone.new(model)
thermal_zone.setName(location)
thermal_zone.additionalProperties.setFeature('ObjectType', location)
thermal_zone.additionalProperties.setFeature('BuildingID', building_id) if hpxml.buildings.size > 1
Copy link
Collaborator Author

@joseph-robertson joseph-robertson Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, all these argument refactor changes to support this small change.

@shorowit shorowit moved this from Triage to In progress in OpenStudio-HPXML Jan 16, 2026

unit = OpenStudio::Model::BuildingUnit.new(model)
unit.additionalProperties.setFeature('unit_num', unit_num)
unit.additionalProperties.setFeature('BuildingID', building_id)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For Heating/Cooling Setpoint columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants