Skip to content

Instantly share code, notes, and snippets.

@jmarrec
Created January 9, 2017 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmarrec/56b1b68976a7d9cdddf9eebaebf5542e to your computer and use it in GitHub Desktop.
Save jmarrec/56b1b68976a7d9cdddf9eebaebf5542e to your computer and use it in GitHub Desktop.
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