Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to OpenStudio 3.7.0-alpha based on EnergyPlus v23.2.0 official #635

Merged
merged 6 commits into from
Oct 5, 2023

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Oct 2, 2023

use the nightly from last friday (or today, develop hasn't changed since then)

@jmarrec jmarrec self-assigned this Oct 2, 2023
FindOpenStudioSDK.cmake Outdated Show resolved Hide resolved
@@ -53,7 +53,7 @@
#include <openstudio/model/PumpVariableSpeed.hpp>
#include <openstudio/model/CoilCoolingWater.hpp>
#include <openstudio/model/CoilHeatingWater.hpp>
#include <openstudio/model/DistrictHeating.hpp>
#include <openstudio/model/DistrictHeatingWater.hpp>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't understand why we have these includes here in OpenStudioApp.hpp / OpenStudioApp.cpp

@@ -1087,7 +1087,7 @@ void MainRightColumnController::configureForHVACSystemsSubTab(int subTabID) {
libraryWidget->addModelObjectType(IddObjectType::OS_EvaporativeFluidCooler_SingleSpeed, "Evaporative Fluid Cooler Single Speed");
libraryWidget->addModelObjectType(IddObjectType::OS_Duct, "Duct");
libraryWidget->addModelObjectType(IddObjectType::OS_DistrictCooling, "District Cooling");
libraryWidget->addModelObjectType(IddObjectType::OS_DistrictHeating, "District Heating");
libraryWidget->addModelObjectType(IddObjectType::OS_DistrictHeating_Water, "District Heating Water");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

DistrictHeating was renamed to DistrictHeatingWater

Comment on lines +347 to +348
// Gotta help the compiler here, since there is a `bool setFuelType(const std::string&)` and a `bool setFuelType(const FuelType&)` overload
CastNullAdapter<model::ExteriorFuelEquipment, bool, std::string>(&model::ExteriorFuelEquipment::setFuelType),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it has a new overload for setFuelType, so I had to nudge the compiler into selecting the right template arguments

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added a script to detect outdated fields in OpenStudioPolicy.

I also used it to add some missing ones (lots of "Crankcase Heater" Curves were added to SDK), not sure if that's really warranted on not.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is cool, thanks!

@jmarrec jmarrec requested a review from macumber October 5, 2023 17:11
@jmarrec jmarrec merged commit afafcd2 into develop Oct 5, 2023
8 checks passed
@jmarrec jmarrec deleted the bump_sdk_eplus_v23.2.0_official branch October 5, 2023 17:23
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2023
Copy link
Collaborator

@macumber macumber left a comment

Choose a reason for hiding this comment

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

Thanks Julien!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants