I’m working on a early-stage daylight script, where I’d like to run a series of simulations with various glazing ratios to investigate the optimal window size for each zone.
Currently I’m using the HBAperturesByRatio component to size the windows. However, this component sizes the windows based on the WWR of each external wall. This results in very high glazing ratios in zones with multiple external surfaces. Hence, I would rather like to determine glazing ratios based on the WWR of each zone.
I’ve tried looking into the code of the component, but I can’t seem to find an alternative solution with my limited understanding in programming. Does anyone have a good solution at hand?
It sounds like you want to use Grasshopper Data trees. Just graft the input _rooms going into the “Apertures by Ratio” component and also graft a corresponding list of _ratio values. This list of ratio values should have the same length as your list of rooms and each value in the list should correspond with the ratio that you want to use for that room.
Thanks for a quick response. I tried grafting as you proposed. My approach was to graft the rooms output from the previous component, get a list length and multiply the grafted length with the desired window ratio. As this list is already grafted, I didn’t “re-graft”.