Skip to content

Conversation

@brgix
Copy link
Member

@brgix brgix commented Jan 3, 2026

Harmonizes use of resetUo in genConstruction with pyOSut approach.

@brgix brgix self-assigned this Jan 3, 2026
@brgix brgix added the enhancement New feature or request label Jan 3, 2026

unless mt.setThermalResistance(r)
return invalid("Failed #{id}: RSi#{de_r.round(2)}", mth)
return invalid("Failed #{id}: RSi#{r.round(2)}", mth)
Copy link
Member Author

Choose a reason for hiding this comment

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

Fixes issue.

else
c.setLayer(index, lyr.get)
end
resetUo(c, film, index, u)
Copy link
Member Author

Choose a reason for hiding this comment

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

Harmonizes with pyOSut use of resetUo.

expect(u).to be_within(TOL).of(uo2)
expect(surface.layers[0].nameString).to eq("OSut:concrete:200")
expect(surface.layers[1].nameString).to eq("OSut:polyiso:K0.023:100")
expect(surface.layers[1].nameString).to eq("OSut:K0.023:100")
Copy link
Member Author

Choose a reason for hiding this comment

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

Method resetUo adjusts a construction's insulating layer properties, e.g.

  • thermal conductivity
  • thickness

... the (adjusted) insulating material is renamed accordingly.

@brgix brgix merged commit acab8ae into develop Jan 3, 2026
7 checks passed
@brgix brgix deleted the reset_uo branch January 3, 2026 19:21
brgix referenced this pull request in NREL/openstudio-standards Jan 5, 2026
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

None yet

Development

Successfully merging this pull request may close these issues.

Rely on "resetUo" when adjusting insulating layer in "genConstruction" Uninitialized variable in method "resetUo"

2 participants