Skip to content

E+ 26.2: Fix inside face absorptance for single layer constructions - #2311

Open
joseph-robertson wants to merge 9 commits into
ep_26_1from
int-ext-props
Open

joseph-robertson wants to merge 9 commits into
ep_26_1from
int-ext-props

Conversation

@joseph-robertson

@joseph-robertson joseph-robertson commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request Description

Construction materials now support separate inside and outside face absorptances. This fixes single layer opaque constructions, which previously skipped their inside face absorptance overrides.

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 3119 to -3128
def set_interior_material_properties(solar_absorptance = 0.6, emittance = 0.9)
# If there is only a single opaque material (i.e., excluding the two
# air film layers), EnergyPlus currently only supports a single solar
# absorptance/emittance, so it is not possible to assign different values
# to the two sides.
# FUTURE: Improve this when https://github.com/NatLabRockies/EnergyPlus/pull/11750
# is available.
if @layers_materials.size <= 3
return
end

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is the core change, right here.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the changes supporting separate inside and outside face absorptances.

No open issues 🎉

What changed in this PR

This PR updates HPXML-to-OpenStudio construction modeling to support separate inside and outside face absorptances, fixing skipped interior overrides in single-layer opaque constructions.

Changes:

  • Carries face-specific absorptances through material creation, reuse, and parallel-layer validation.
  • Adds regression tests for single-layer overrides, reversed-construction inheritance, and inconsistent parallel-layer properties.
  • Refreshes simulation baselines, measure metadata, and the changelog.
File Description
workflow/​tests/​base_results/​results_simulations_misc.csv Updates miscellaneous simulation baselines.
workflow/​tests/​base_results/​results_simulations_loads.csv Updates heating and cooling load baselines.
workflow/​tests/​base_results/​results_simulations_energy.csv Updates energy-use baselines.
workflow/​tests/​base_results/​results_simulations_bills.csv Updates utility-bill baselines.
HPXMLtoOpenStudio/​tests/​test_enclosure.rb Adds face-specific absorptance tests and updates interior assertions.
HPXMLtoOpenStudio/​resources/​model.rb Sets and compares separate face absorptances on opaque materials.
HPXMLtoOpenStudio/​resources/​materials.rb Defines outside properties and optional inside overrides.
HPXMLtoOpenStudio/​resources/​constructions.rb Applies single-layer interior overrides and propagates both faces through parallel layers.
HPXMLtoOpenStudio/​measure.xml Refreshes measure version metadata and file checksums.
Changelog.md Records the single-layer absorptance fix.

Review effort: Balanced

@joseph-robertson
joseph-robertson marked this pull request as ready for review November 24, 2026 19:10
@shorowit shorowit changed the title Fix inside face absorptance for single layer constructions E+ 26.2: Fix inside face absorptance for single layer constructions Nov 30, 2026
@shorowit shorowit moved this from Triage to In progress in OpenStudio-HPXML Dec 1, 2026

# Define materials
mat_fm = Material.new(name: "furniture material #{space.name}", thick_in: furnThickness, k_in: furnConductivity, rho: furnDensity, cp: furnSpecHeat, tAbs: 0.9, sAbs: furnSolarAbsorptance)
mat_fm = Material.new(name: "furniture material #{space.name}", thick_in: furnThickness, k_in: furnConductivity, rho: furnDensity, cp: furnSpecHeat, tAbsOutside: 0.9, sAbsOutside: furnSolarAbsorptance)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See if we can back this out and simply assume that a material has the same properties on both sides.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Single-layer adjacent surfaces retain incorrect face absorptances; both adjacency paths need a distinct material with swapped thermal, solar, and visible absorptances, plus a regression test.

1 open issue

Review effort: Balanced

Comment on lines +3121 to +3122
interior_material.sAbsInside = solar_absorptance
interior_material.tAbsInside = emittance

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@joseph-robertson It seems like this should be fixed on the OS SDK side?

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

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants