6 - shading and DLC controls in OpenStudio

Learn OpenStudio Now in one of these online courses

Script Preview

Hi everyone, this is Harshul Singhal, again. This is the last video for this OpenStudio plugin session. We have already been through this first bullet point, and this script. We have already created geometry, we have assigned the properties via space types. The next couple of things are something like, assigning the day lighting controls and shading controls. We already have assigned thermal zones, so we are done with this. Let's go back to our SketchUp interface and see, what are the ways to provide the shading controls to your project.


The first and easiest way is to select your windows, let's say, if I select this window, go to extensions, OpenStudio userscript, alter or add model elements, add overhangs by projection factor. Again, extensions, OpenStudio userscript, alter or add model elements, and then add overhangs by a projection factor, click on it. Basically, a projection factor is basically, the fraction of the height of your window. If it's say, if your window height is, let's say, 4 feet, and you provide projection factor as 0.5 for your shading device, it means the depth of your shading device is going to be 2 feet. Let's say, let's just assume that projection factor is somewhere on 0.3. Offset, like do you want to offset the shading from your wall, let's say, no, for now. And, you want to remove existing space, space shading groves. Well, we don't have any shading right now, but if you have, just take true, and hit OK.


And, you can see, I have this shading device for this space. Can I just like, select every space in my project? Go to extension, OpenStudio userscript, alter or add model elements, and just click on this script, again. Let's try this I'm going to remove existing space shading curves, hit OK. See it totally does that. It's the easiest way to do it. If you want to remove it, just select everything again. Go to extension, same thing, go to add overhangs for projection factor. And, let's say, if I make it zero, will it delete it for me. Well, it did not. You need to do it manually. Click on all these spaces, click on this shading device, and hit delete. Come out of it, go to another space, the different space, double click on this space, click on this projection factor, shading device, hit delete, come out of space, all right. Let me just do it one more time, for you guys. I'm just going to keep one of the shading devices, all right.


There are different ways to do it. The most preferred way to create shading devices is to use a manual method. Like, for example, I want to create a shading device, a funky shading device here, for this window. Let's say I want to create a grate pattern, a grill pattern kind of thing, grill patterns, something like, what do you see on most office projects in bigger cities. I'm just going to use the preferred way, the most convenient method here to create the shading devices. I'm going to create a very complicated shading device, here. Please follow with me. If you have any questions, please rewind this video and look into it one more time. A lot of times people just try to create a window device or, actually, I’m sorry, shading devices, on top of this window, which gives a lot of trouble. Like, for example, if I need to create a plane here, like, perpendicular to this wall, it's so difficult, see. I can't do this, it's so difficult, right. I mean, if I do it, like, I can't just go perpendicular to this wall. What I do, I actually create something here on my XY plane.


For example, I just measure the width of the window, like this, using the measure tool. The width is 70 feet, I can see it here. What I do, I actually create one window, I'm sorry, shading device here, next opening. How you do it, you have to first click on this new shading surface group. Basically, you need to use an OpenStudio tool to create the OpenStudio energy modeling shading device, right. You can't just create a SketchUp surface over OpenStudio spaces, it's not right. Click on this shading surface group. Again, same thing, what we did for OpenStudio space. Drop this plus sign, what you see on your cursor, just drop it anywhere. And now, you can see it brought a new purple color, Openstudio shading group space for you. Just double click on this purple color square, or actually cube. Now, we are inside this space if you don't see anything around you, just uncheck this, hide rest of model, option from your OpenStudio toolbar. And now, just create some shading device.


You can use either a rectangle. Let's say the dimension is something like 70 feet by 3 feet, hit enter, okay. Now, I mean technically, it is supposed to show a purple color on top. I can just, like, select this surface, right click, and just reverse the faces, okay. And, what I can do, I can just move this surface, the new shading surface, by using the move tool over my window. Just click on this move tool, bring on one of the corners, hold it, use your mouse, go to your window, and just drop it here. If you don't know how to work on these SketchUp tools, again, you can either search it on YouTube videos, or just go to windows default tray, and look for this option, the instructor option. Here, you can see this move tool explains to me everything in detail, okay. And, now, if I want to make this shading device complicated, I can just double click on it. I'm inside this shading device. Now double click on this surface, it means it's selected all the associated objects for you, the edges as well as surface. Click on the mouse button, and by using Ctrl + mouse, which I explained earlier, it also copies things for you. Ctrl + mouse make copies after, let's say, every, let's say, 12 inches, okay. Again, I can do the same thing one more time. Double click on this, make copy using ctrl + mouse.


I can do more things here, like this, okay. Let's say I want to repeat this thing one more time, okay. Let's say, that's all my shading device looks like. You can see, this is a very funky shading device. I can create more shading device, here. Let’s say, this time I want to create something like, perpendicular to the wall. Actually, parallel to the wall. There are other ways to do it. I can measure the height of the window. Let's say if this is 9 feet, for now. I bring this new shading surface group again. Drop it, double-click on it. I'm inside the OpenStudio surface, I'm sorry, shading group. Now, just use that rectangle, again. Let's say the width is, the depth is, again, 2 feet. Or, let's say, 3 feet. So, 9 feet comma 3 feet, enter. This is my shading device. The vertical shading device.


Now, I need to rotate it, right. I mean, this is perpendicular to, I'm sorry, this is on an XY plane. I need to bring it on a Y Z plane, right. What I can do, I can just select this. Click on this rotate tool from SketchUp toolbar. Drop it on, drop it over some perpendicular surface, let's say, this one. Again, click one more time, to rotate it, to create the lever of this rotating rotation thing. I don't know what you call it, lever, yes, or gear.  And, just like, rotate this lever now. Slowly and gradually, I can just rotate it by 90 degrees, hit enter. And see, it gave me one error. See, that's what happens, that's why I always ask you to save your files again and again. That's a good thing that it crashed on me, right. As I mentioned earlier, you can't you go back. There are limited undo capabilities. And, if something crashes on you, it is very difficult for you to bring it back.


Now, it asked me to restart the SketchUp. I'm just going to acknowledge this warning, okay. Close this window, and keep working. I know something wrong happened to my model, so the solution is to keep saving the model after every, let's say, 15 minutes, or 30 minutes, okay. I would prefer to make different copies. I'm glad that that model crashed on me. Again, this is not the way to keep continuing on your project, because eventually it will give you an error. But, let's just finish this exercise, for now, and maybe later I can fix it. The solution is, just keep saving this model. See, again, I made some more changes. It gave me one more problem, or error. It says like, an error occurred in this OpenStudio SketchUp plugin. It is advised that you save a backup of your current OpenStudio model, and we start SketchUp, all right. I'm going to do it now.


I'm going to save it, and save a new copy, as well. Let's say, this time I'm going to save a new version, V3 version, hit save. Close this SketchUp interface, just to be on a safer side. Go back to my folder. Actually, open SketchUp, delete Steve, and open that v3 version that I saved just now. Right now, it didn't provide me any errors, which means it's fine for now. I'm just going to try it one more time, to rotate this. Create the lever, and rotate by 90 degrees, hit enter. And, it again gave me error, which is kind of weird. It's not liking something right now. I mean, this is some serious error, so let's not just do it, there might be an issue.


But, you got the idea how to create the shading devices. Let me just do it one more time. Just bring that shading group, double-click on it. And I can show one more way, like, you know, just use pencil tool, and you can just create it directly here. Let's say 24 inches, it's this big, all right. And, just bring this shading device over the window like this. And now, you can make more changes there. Just double click it, on it, again. Use Ctrl + move tool, to make multiple copies of this vertical shading device. Just keep repeating the pattern again. You can also create or add a pattern on it, you just need to look for the command for that. Let's just, like, you know, finish it by this so far, okay. I'm just going to select them again, like, you know, make some more copy, let's say, that's how it looks like. There is some gap here. Then again, here, let's just, select them, okay. That's how my shading device looks like here, for this window. This is my project. I'm going to save it again, save a new copy, because this time I want to be on the safer side, hit save, okay.


And now, I want to create some adjacent buildings. I want to understand how my adjacent buildings, or projects, make some impact on my current project. You can, again, use this shading group method to create those shading devices, or actually, the adjacent buildings. When you create those adjacent buildings using this shading surface group method, it basically just creates the shading surfaces for you. They won't impact on your overall energy consumptions based on some condition spaces. I mean, those spaces are not conditioned, so it won't increase the load, the additional load on your HVAC systems. The only impact on your HVAC system will be because of some shading.


If you're, if your adjacent buildings are throwing some shading, or shade, on your project, then definitely it will make some impact on heating and cooling. But, you got the idea, what I'm trying to say. There won't be any impact, specifically because of those adjacent buildings. They don't, they are not conditioned. Don't worry about those things, we need not to assign any HVAC system to those adjacent buildings, here. Before that, I want to explain to you one more thing. Can you see these shading devices are purple in color? Well, in OpenStudio, there are two to kinds of shading devices. One shading device is something like, on top of your windows. For example, if I rotate my whole project, my window shades should also rotate with this light. But, if I, but, if I just note, I'm sorry. If, if I have some adjacent buildings too, and I try to rotate my project, those adjacent buildings shouldn't rotate. When you submit those four different orientation energy models for LEED, you don't rotate your adjacent buildings too, you just rotate your project.


There are two different kinds of shadings. One, those shadings which rotate with your project. Something like, shading devices on top of your windows. And other shading devices can be something like, trees or adjacent buildings, they don't rotate with your project, when you try to rotate your building. These purple ones, let's see what kind of shading devices are these. If I click on this, and go to extensions, OpenStudio userscript, alter or add model elements, and click on this option, change shading type, click on it. And, let's say, if I want to, like, make sure that these are building shades, these are not side shades, click on building, hit OK. There they are still in purple color, which means this is right.  What is happening with this blue color? Let's just click on this. Extensions, OpenStudio userscript, alter or add model elements, change shading type to building, hit OK. Well, it says no shading surface in the current selection. Please select shading group, groups at top level to change shading types. Well, this is kind of weird, now. I'm going to select it one more time. Extensions, same thing, I mean, change shading type to building, hit OK.


See, if you run that script, that projection factor script, it doesn't allow you to make some changes to the properties for this shading, which is kind of weird. I would always prefer to create those shading devices manually. And, that's why I wanted to explain to you the difference between this color and that color for now. What if, if I create some adjacent buildings. Let's say, if I create. Let's, let me just bring this shading group, again. Drop it, drop this OpenStudio shading group, double click on it. And now, just, let's say, let's just create the footprint of your adjacent building. I can go into top view, create some adjacent buildings, just give some random dimensions, for now. Go into 3D view, and just like, you know, extrude the footprint, okay.


I can have one more building, let's say, here. And, in this side of the building, of your project. Let's say this is something like this, this time, a high-rise building, all right. And, let's say I also want to create a tree, a big huge tree next to our site. Again, the same thing. I mean, you can’t basically create a proper tree, but like, you know, just for a simplified energy model. Let's just create something in XY plane. I'm going to show you how to do it. Let's say, that’s how my tree looks like. This is the stem of my tree, and this is my tree’s thing. It's kind of a weird tree. I'm just going to rotate this tree. Again, I don't know if this is what you want to do. See, again it crashed on me. I think that rotation thing doesn't like to work. I'm just going to save this file again, and open it one more time, okay. I won't do this tree thing for now.  I mean, you understood the way to create something which is perpendicular to the XY plane. I already explained it here. I won't go into detail, again.


Let's see, what kind of impact are you getting on your project because of these adjacent buildings. Again, as I mentioned on my first video, you can turn on shadows. You can see they are throwing some kind of shadows around. Let's see if I bring that shadowed toolbar, or actual shadow window. Doesn't make any impact from like, you know, early morning to night. You can see, yes, there is some impact on my project. Somewhere here if I change months see. Definitely, there will be some impact on heating and cooling on my project, as well as on day lighting. If I have day lighting controls on my, in my spaces, definitely those shades will impact my lighting consumption, okay. I'm just going to turn off my shadow effect, again. And, work more on these shading devices. Now, you can see this adjacent building is making some shadow on my project. Well, actually, only these two surfaces, or these three surfaces, somehow, are making some impact on a project.


Some of the some of the additional information is not needed. As an energy model, you definitely want to reduce the workload. For that, you need to reduce the input information, as well. Just double click on it, remove this, unused information. Something like, delete this one, delete this, delete this, or maybe, delete this, as well. And just keep those surfaces, which are actually making impact on your project, maybe these two surfaces. Same with this, delete this, delete this, this, this, this, okay. Mini-metal information should be provided to your energy model, okay, save it. And, the next thing that you want to do is, provide some kind of day lighting controls to your spaces. I'm just going to create a new copy of it, let's say, V5, or I can actually rename it to something like, underscore DLC, and hit save. Providing daylighting controls is the easiest thing that you can do in OpenStudio. Really, it's very easy. But, before that, I want to explain to you one more time, one more thing here. What if you have some kind of transmittance schedule for your shading devices.


Let's say, you created some kind of tree next to your site. And it has some kind of schedule, transmittance schedule, that you need to provide to these surfaces. Because of the shading of that the leaves, because of the fall season and all. You can totally do that. Let's just assume that this is your tree you just selected. Go to the inspector tool, and you can provide the transmittance schedule here. Well, unfortunately you can't do it in this OpenStudio plugin for SketchUp. You can totally do it in OpenStudio interface, the main interface. We’ll definitely work on this later. But, for now let's just keep in mind that we can also provide the transmittance schedule to your shading devices. To work on day lighting controls, what you need to do is, you need to double click on any of this space, again. The same way that we do generally. Let's say, you want to provide some shade, day lighting control in this space. Double click on this, and the easiest way is to just select the roof, right click, and hide. Again, select the roof, right-click, and hide. And now, I can easily drop my day lighting control in this space.


For example, this is my day lighting control here, in the OpenStudio toolbar. New day lighting control, click on it, and just drop it here. Right now, I don't see my day lighting control because there's a bug in OpenStudio, again. It brings the day lighting control in negative Z direction, which is kind of weird. Go to the inspector tool, again. Look for this day lighting control, in OpenStudio lighting simulation. And, you can see this Z coordinate is negative. I don't know why. Just make it positive, hit enter. If you go back to screen you can you will be able to see this control now. You can see the Z location is 2.5 feet, which is almost like desk height. People like to provide a day lighting control in energy model at a height of, let's say, 2.5 or 3 feet. You can rotate this day lighting control using the rotation tool, okay.


You want to face this lighting control towards the window, so that you are getting the most impact of day lighting on your spaces, on lighting savings, okay. And, if you want to edit the properties of this day lighting control, again, go to inspector tool. Same thing, click on it, you can rename it. I think the naming is always a good option. Something like, day lighting control space 204, I can see the space name here, so it's easier for me. You can move the coordinates of the day lighting controls. You can change the illuminance set point, you can change the lighting control time, you can make it none, so that day lighting control won't work, you can make it step control type, continuous or on/off. You can do a lot of things here. Once you are done assigning the day lighting controls, go back to edit, and hide, and all.


Well, it didn't work because we weren’t in the space. Double click on this space, go to edit, and hide all. And it should bring the roof for you now. Come out of space, and we are good with all the day lighting controls. I got one more question here, can you assign the daylighting controls for all these spaces here? Well, you cannot do it in SketchUp. But, you can do it in OpenStudio interface, and we'll talk more on this later, all right.


Guys we are done with this SketchUp plugin. We have covered almost everything. The next thing for you is to create an OpenStudio geometry for your office, or, for your house. Please work on it, it will definitely help you out. It will bring a lot more confidence in you. And, once you are done with your OpenStudio geometry, please feel free to forward it to me