I’m currently working on a daylight simulation using a Dynamic Aperture Group in Ladybug Tools. I am working with Ladybug version 1.8 and Pollination version 1.52.10
I’ve created a room from faces and set up two different façade states:
state0: blinds at 0°
state1: blinds at 45°
However, when I run the Annual Daylight recipe with these states, the simulation fails to proceed. Interestingly, if I run the same setup without any states (i.e., with a static façade), everything works as expected.
(I included a screenshot with the error from the setup)
I also have a related question:
Is it possible to run a point-in-time view-based study with different aperture states? Has anyone successfully done this, or are there known limitations?
Has anyone encountered similar issues with dynamic aperture groups? I have read the posts below, but honestly I am having trouble following them.
Could the problem be related to how I’ve defined the states, or perhaps something that happens after setting up the sensor grid?
I’ve attached my working file for reference. Any insights, suggestions, or troubleshooting tips would be greatly appreciated! annual_daylight_dynamic_blinds.gh (156.5 KB)
Welcome to the forum and thanks for sharing the file.
Here are some steps to correct your setup. I have attached the file with the changes.
When adding the faces to the room you should not add the face with the apertures from HB Apertures by Ratio – if you do this you will add a static aperture on top of the aperture group.
For Point-in-Time View-Based you have to create two models, one for each state, and then run two separate simulations. For these models you don’t need the aperture group – you can just add the aperture and the shades.
Hello everyone again,
I am trying to add multiple blind angle states on the previous file in order to create a schedule with the preferable state for each hour of the year.
The simulation works correctly when I use 2 or 3 blind states. However, when I add more states (specifically when including angles greater than 60°), the Annual Daylight simulation fails with a runtime error.
Below is part of the error output I get: {0;0} 0. Runtime error (PythonException): * The recipe failed to run with the following error(s): Execution Summary Scheduled 137 tasks of which:
** 89 ran successfully:
6 CalculateTwoPhaseMatrixLoop(…)*
1 CreateDirectSky(…)*
1 CreateRadFolder(…)*
1 CreateSkyDome(…)*
1 CreateTotalSky(…)*
…*
** 5 failed:*
1 DirectSky(…)*
1 DirectSunlight(…)*
1 OutputMatrixMath(…)*
1 RestructureTotalResults(…)*
1 TotalSky(…)*
** 43 were left pending, among these:*
12 was not granted run permission by the scheduler:*
- 1 CalculateTwoPhaseMatrix(...)*
- 4 CalculateTwoPhaseMatrixLoop(...)*
- 1 RunTwoPhaseDaylightCoefficient(...)*
- 3 TwoPhaseRaytracing(...)*
- 3 TwoPhaseRaytracingLoop(...)*
This progress looks because there were failed tasks Traceback:
line 153, in script*
I am trying to understand what is causing this issue.
Some additional notes:
• The blinds do not overlap in any of the states.
• The maximum blind angle is less than 90° (87°), so the blinds do not touch the window.
• The geometry and setup remain exactly the same as the previous post; the only change is the number of blind angle states.
• With fewer states (2–3), the simulation runs without any problems.
I have attached the new working version of the file for reference. annual_daylight_dynamic_multiple blinds.gh (144.4 KB)
Any insights or suggestions would be greatly appreciated!
Thank you again very much in advance for your help,
Vicky