Skip to content

ForwardTranslate to new E+ ConstructionAssignmentSet (= DefaultConstructionSet in OS SDK) (opt-out possible) - #236

Open
jmarrec wants to merge 5 commits into
developfrom
ConstructionAssignmentSets
Open

jmarrec wants to merge 5 commits into
developfrom
ConstructionAssignmentSets

Conversation

@jmarrec

@jmarrec jmarrec commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Pull request overview

Link to the Ubuntu 24.04 .deb installer to use for CI Testing. If not set, it will default to latest official release.
[OpenStudio Installer]: http://openstudio-ci-builds.s3-website-us-west-2.amazonaws.com/PR-5662/OpenStudio-3.12.0-alpha%2B6bf0ffe1ff-Ubuntu-24.04-x86_64.deb

This Pull Request is concerning:

  • Case 1 - NewTest: a new test for a new model API class,
  • Case 2 - TestFix: a fix for an existing test. The GitHub issue should be referenced in the PR description
  • Case 3 - NewTestForExisting: a new test for an already-existing model API class
  • Case 4 - Other: Something else, like maintenance of the repo, or just committing test results with a new OpenStudio version.

Case 3: New test for an already-existing model API class

E+ gained a new ConstructionAssignmentSet object (with SurfaceConstructionAssignments / SubSurfaceConstructionAssignments), referenced by the Space and Building objects, to resolve default constructions


Review Checklist

  • Code style (indentation, variable names, strip trailing spaces)
  • Functional code review (it has to work!)
  • Matching OSM test has been added or # TODO added to model_tests.rb
  • Appropriate out.osw have been committed
  • Test is stable
  • Object is tested in autosize_hvac as appropriate
  • The appropriate labels have been added to this PR:
    • One of: NewTest, TestFix, NewTestForExisting, Other
    • If NewTest: add PendingOSM or AddedOSM

@jmarrec jmarrec self-assigned this Oct 12, 2026
@jmarrec jmarrec added the NewTest PR type: a new test for a new model API class label Oct 12, 2026
@jmarrec jmarrec added NewTestForExisting PR type: a new test for an already-existing model API class and removed NewTest PR type: a new test for a new model API class labels Oct 12, 2026
…olves actually the same construction as before

```
TEST_FILTER="-n test_asymmetric_interior_constructions_osm"
OS_CLI="$os_build_rel3/Products/openstudio"

TEST_DIR=testruns-CAS-Space ${OS_CLI} model_tests.rb ${TEST_FILTER}
TEST_DIR=testruns-CAS-NoSpace USE_EPLUS_SPACES=false ${OS_CLI} model_tests.rb ${TEST_FILTER}
TEST_DIR=testruns-NoCAS-NoSpace USE_EPLUS_SPACES=false USE_CONSTRUCTION_ASSIGNMENT_SETS=false ${OS_CLI} model_tests.rb ${TEST_FILTER}
TEST_DIR=testruns-NoCAS-Space USE_EPLUS_SPACES=true USE_CONSTRUCTION_ASSIGNMENT_SETS=false ${OS_CLI} model_tests.rb ${TEST_FILTER}
```

All 4 pass
@jmarrec
jmarrec force-pushed the ConstructionAssignmentSets branch from af80296 to e5e5bd2 Compare November 18, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NewTestForExisting PR type: a new test for an already-existing model API class

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant