Repository navigation
E+ 26.2: Fix inside face absorptance for single layer constructions - #2311
joseph-robertson wants to merge 9 commits into
Conversation
| 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 |
There was a problem hiding this comment.
This is the core change, right here.
There was a problem hiding this comment.
🟢 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
|
|
||
| # 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) |
There was a problem hiding this comment.
See if we can back this out and simply assume that a material has the same properties on both sides.
There was a problem hiding this comment.
🟡 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
| interior_material.sAbsInside = solar_absorptance | ||
| interior_material.tAbsInside = emittance |
There was a problem hiding this comment.
@joseph-robertson It seems like this should be fixed on the OS SDK side?

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:
EPvalidator.sch) has been updatedopenstudio tasks.rb update_hpxmls)HPXMLtoOpenStudio/tests/test*.rband/orworkflow/tests/test*.rb)openstudio tasks.rb update_measureshas been run