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

Revision history [back]

click to hide/show revision 1
initial version

Shading control set point measure

Based on the answers here and the minimal example here @Julien Marrec, I understand how to set the setpoint once I have the shading control object.

However, I don't want to create a new SC, but find all existing ones.

The following line:

scs = model.getObjectsByType("ShadingControl".to_IddObjectType)

returns an uninformative error:

 eval:1:in `initialize': Unknown Value (RuntimeError)

in an OpenStudio measure. Should I be using an EnergyPlus measure instead?

Shading control set point measure

Based on the answers here and the minimal example here @Julien Marrec, I understand how to set the setpoint once I have the shading control object.

However, I don't want to create a new SC, but find all existing ones.

The following line:

scs = model.getObjectsByType("ShadingControl".to_IddObjectType)

returns an uninformative error:

 eval:1:in `initialize': Unknown Value (RuntimeError)

in an OpenStudio measure. Should I be using an EnergyPlus measure instead?