Skip to content

Commit

Permalink
Merge branch 'develop' into epw_ground_temps
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Dec 18, 2024
2 parents df7afb7 + f472655 commit 14c4ad3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ if(UNIX)
set(RADIANCE_PLATFORM "Darwin")
elseif(EXISTS "/etc/redhat-release")
# DLM: note that the installer expects the extracted directory to be named radiance-5.0.a.12-Linux
set(RADIANCE_EXPECTED_HASH f75898bbfd238a740c1902d385c42b92)
set(RADIANCE_EXPECTED_HASH 1e0ef7909c99cd353191d63b085dc6a9)
set(RADIANCE_PLATFORM "Redhat")
else()
set(RADIANCE_EXPECTED_HASH 7b9e4df2b6050fe51c6e138e4c0e6a5a)
Expand Down
1 change: 0 additions & 1 deletion resources/model/OpenStudio.idd
Original file line number Diff line number Diff line change
Expand Up @@ -5138,7 +5138,6 @@ OS:Building,
\type alpha
\required-field
\reference BuildingNames
\reference SpaceAndSpaceGroupNames
A3, \field Building Sector Type
\deprecated
\type choice
Expand Down
6 changes: 3 additions & 3 deletions src/model/test/Model_GTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -819,13 +819,13 @@ TEST_F(ModelFixture, Ensure_Name_Unicity_SpaceAndSpaceGroupNames) {
// Zone, ZoneList, Space, SpaceList all need to be unique names
Model m;

std::vector<ModelObject> mos{Space{m}, m.getUniqueModelObject<Building>(), BuildingStory{m}, SpaceType{m}, ThermalZone{m}};
EXPECT_EQ(5, m.getObjectsByReference("SpaceAndSpaceGroupNames").size());
std::vector<ModelObject> mos{Space{m}, BuildingStory{m}, SpaceType{m}, ThermalZone{m}};
EXPECT_EQ(4, m.getObjectsByReference("SpaceAndSpaceGroupNames").size());

std::string name = "A Name";

std::vector<std::pair<size_t, size_t>> combinations{
{0, 1}, {0, 2}, {0, 3}, {0, 4}, {1, 2}, {1, 3}, {1, 4}, {2, 3}, {2, 4}, {3, 4},
{0, 1}, {0, 2}, {0, 3}, {1, 2}, {1, 3}, {2, 3},
};

auto resetNames = [&mos]() {
Expand Down

0 comments on commit 14c4ad3

Please sign in to comment.