NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
497 stars 190 forks source link

Can't figure out how to use shading controls #898

Closed DavidGoldwasser closed 10 years ago

DavidGoldwasser commented 10 years ago

When I use the "add shading controls" user script I can't figure out what to type in the dialog. The inspector also doesn't let me create one by hand.

@macumber or @rpg777 can one of you send a model or script that goes through this process. Each of you thinks the other one has one.

3-8-2014 1-49-41 pm

This is related to #688

DavidGoldwasser commented 10 years ago

I didn't make a pivotal ticket for this because I expect there is a way to do this, I just don't know how.

DavidGoldwasser commented 10 years ago

Ok, made some progress. Forgot I need to make a material blind, screen, or shade first and those then show in the pulldown lists. I'll try to get this made and running, and will close the issue once I can get it working.

@macumber should or templates start with a basic material of each of these types?

DavidGoldwasser commented 10 years ago

Is the only recommended workflow now to add the shading material vs. using a different construction? And is there a preference between using WindowMaterial:Blind vs. WindowMaterial:Shade

macumber commented 10 years ago

@DavidGoldwasser Here is some ruby code that does what you want to do. To use a blinds or some other shading material instead just construct the shading control from a shading material instead of a construction.

https://openstudio.nrel.gov/forums/openstudio-application/general-discussion/tips-modeling-smart-glass#comment-3389

macumber commented 10 years ago

And yes we should change that user script to allow you to select any fenestration construction, not just ones with shading materials, this will support electrochromic glass

https://github.com/NREL/OpenStudio/blob/develop/openstudiocore/ruby/openstudio/sketchup_plugin/user_scripts/Alter%20or%20Add%20Model%20Elements/Add_Shading_Controls.rb#L35

rpg777 commented 10 years ago

We'll need to handle this on the Radiance side somehow, for constructions not supported by the standard BSDF library we plan to include.

macumber commented 10 years ago

I guess it would be two clear glass constructions with different VLT. E+ seems to let you interpolate between clear and tinted but we don't have to do that to start with.