As a follow up of this (https://unmethours.com/question/23088/unable-to-find-openstudio-shading-control-setpoint/) I created an OpenStudio measure to change the ShadingControlType
to one of the "unsupported" values like OnIfHighZoneAirTemperature
.
The measure let me choose out of the existing ShadingControl
objects, a new ShadingControlType
(String) and a new setpoint.
The measure basically works when I choose a supported control type, but I can not choose one of the unsupported values. OpenStudio always resets this to OnIfHighSolarOnWindows
.
Is there an implicit input validation in the OpenStudio sources?
I had a look at ShadingControl.cpp
, but could not find such validation code.
As a side question:
What does this line of code in setShadingControlType
do?
bool result = setString(OS_ShadingControlFields::ShadingControlType, shadingControlType);
I can not find the OS_ShadingControlFields
definition in the source files.
Should I go for a EnergyPlus measure to change the control type strategy?
I can share my measure if it would be helpful.