Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Minimal ruby example for ShadingControl
model = OpenStudio::Model::Model.new
construction = OpenStudio::Model::Construction.new(model)
sc = OpenStudio::Model::ShadingControl.new(construction)
sc.setShadingControlType("OnIfHighSolarOnWindow")
sc.setSetpoint(200)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment