-
Notifications
You must be signed in to change notification settings - Fork 25
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
Conversation
windows build is stuck on CI, arm64 mac will be uploaded soon but SHA is already correct
@@ -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> |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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
// 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), |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Julien!
use the nightly from last friday (or today, develop hasn't changed since then)