Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

https://openstudio-sdk-documentation.s3.amazonaws.com/cpp/OpenStudio-3.0.1-doc/model/html/classopenstudio_1_1model_1_1_availability_manager_night_cycle.html

You can set these by passing a vector of zones:

bool    setControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setCoolingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingZoneFansOnlyThermalZones (const std::vector< ThermalZone > &thermalZones)

and you can reset/clear them:

void resetControlThermalZones () void resetCoolingControlThermalZones () void resetHeatingControlThermalZones () void resetHeatingZoneFansOnlyThermalZones ()

https://openstudio-sdk-documentation.s3.amazonaws.com/cpp/OpenStudio-3.0.1-doc/model/html/classopenstudio_1_1model_1_1_availability_manager_night_cycle.html

You can set these by passing a vector of zones:

bool    setControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setCoolingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingZoneFansOnlyThermalZones (const std::vector< ThermalZone > &thermalZones)

and you can reset/clear them:

 void    resetControlThermalZones ()
()    
void    resetCoolingControlThermalZones ()
void    resetHeatingControlThermalZones ()
void    resetHeatingZoneFansOnlyThermalZones ()

https://openstudio-sdk-documentation.s3.amazonaws.com/cpp/OpenStudio-3.0.1-doc/model/html/classopenstudio_1_1model_1_1_availability_manager_night_cycle.htmlQuoting the SDK doc for 3.0.1 (but this was the same since 2.3.1)

You can set these by passing a vector of zones:

bool    setControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setCoolingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingZoneFansOnlyThermalZones (const std::vector< ThermalZone > &thermalZones)

and you can reset/clear them:

void    resetControlThermalZones ()    
void    resetCoolingControlThermalZones ()
void    resetHeatingControlThermalZones ()
void    resetHeatingZoneFansOnlyThermalZones ()

Quoting the SDK doc for 3.0.1 (but this was the same since 2.3.1)

You can set these by passing a vector of zones:

bool    setControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setCoolingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingControlThermalZones (const std::vector< ThermalZone > &thermalZones)
bool    setHeatingZoneFansOnlyThermalZones (const std::vector< ThermalZone > &thermalZones)

and you can reset/clear them:

void    resetControlThermalZones ()    
void    resetCoolingControlThermalZones ()
void    resetHeatingControlThermalZones ()
void    resetHeatingZoneFansOnlyThermalZones ()

These are NOT exposed to the openstudiocoalition/OpenStudioApplication though, you must use the bindings to populate them, or they will be defaulted to ALL zones served by the AirLoopHVAC during ForwardTranslation: You can follow the (quite extensive) logic implemented in ForwardTranslateAvailabilityManagerNightCycle.cpp#L128-L450