Thank you for reporting this bug, @Yang , and I’m so sorry that it fell through the cracks a few months ago. FYI, if you find any more cases like this that are pretty confidently a bug, you should feel free to use my @chris handle in order to make sure that I see them.
In any event, I just pushed a fix for this case into the development version of the plugin (as part of a new feature that I just added):
There is something i don’t get in the process you suggest above (using the single pane as shade material).
My understanding is that, when the schedule is set, the whole window will be triple paned (the original double pane + the single pane).
From the explanation i read that, at scheduled, the window will be single pane and when not scheduled, double. This is what doesn’t makes sense to me. For this situation i would think of using the WindowCOnstructionDynamic component.
Do you mind to give some light here?
I understand your confusion but EnergyPlus’s Shading Control does not natively support the type of construction that you are describing and you would have to use a WindowConstructionDynamic to model a construction where the number of glass panes change dynamically. When you plug in a glazing material as a _shd_material for a WindowConstructionShade, then it must replace one of the layers in the parent window construction to which it is assigned. So selecting Exterior for the shade location would ensure that the glass _shd_material replaces the outer pane, selecting Interior replaces the inside pane, and Between can be used to swap out the middle glass pane for triple pane constructions.
Let me know if you think there’s any way to change the component descriptions to make this more clear.
Thanks for your prompt answer.
Unfortunately i’m still confused.
Let’s say that in the “normal” use of the _shd_material input, if i plug a shade/blind material it will be inserted according to a schedule (in case schedule is the trigger). It is not replacing any other layer. For the sake of the example, if i have a double pane glazing as the construction, it will remain and an additional layer will be added to it, which is the shade itself.
So far, so good … i think.
Now you say that if the _shd_material is a glazing material the behaviour is different and it changes/replaces one of the layers of the construction instead of adding an additional one?
If so, so far, not so good …
Sorry, but this is confusing and is shaking some basic understanding. In any case i’ll try to check the IDF and outputs and see it it makes sense.
This is a standby for me. I really hope my understanding is the right one …
The output will be different according to what the shade material is. As the graph shows, if there is a normal shade, the output construction has 4 layers, while if there is a glass material, the output construction only has 3 layers, which means one of the original layers has been removed.
Thank you for the feedback , @AbrahamYezioro and for pointing out some of the things that show how the components is supposed to work, @Yang .
When I had designed this WindowConstructionShade object, I had thought that it was clear but I think that’s only because I was comparing myself to how these constructions are represented in IDF, which is really confusing and probably too low of a bar to compare a UI to. I am all for making things clearer on the plugin side. It would be a pretty big effort to make a separation like WindowConstructionShade and WindowConstructionSwitchable in the core libraries but I would be open to separating the switchable glazing features out into a separate Grasshopper component in order to make it clear that the _shade_material is interpreted differently in that case (maybe we call it _switched_on_mat on this other component).
Let me know if you think that would mitigate some of the confusion that happened here and I can make the separation when I get the chance.
You are so great! This is a good idea. Whenever you have the time. Really not a number one in the list.
The truth is that in my case this is the first time i’m aware of this option and not that necessarily i need to have/use it … but good to know it is out there.