Dynamic Aperture Group – Annual Daylight & Point-in-Time View-Based Study Issues

Hi everyone,

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.

Dynamic State Geometry

Dynamic blinds

Dynamic shading

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)

Thank you in advance for your help,
Vicky

Hi @VickyM,

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.

  1. 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.
  2. Add the original aperture to HB Dynamic Aperture Group. You could also select just one of the apertures that you get from HB Deconstruct Object.
  3. Remember to also add the occupancy schedule to HB Annual Daylight Metrics.

annual_daylight_dynamic_blinds.gh (161.3 KB)


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.

1 Like

@mikkel Thank you very much for your detailed explanation!
I really appreciate your help and support.

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 were missing external dependencies:*
  •    - 1 CalculateTwoPhaseMatrix(...)*
    
  •    - 4 CalculateTwoPhaseMatrixLoop(...)*
    
  •    - 1 RunTwoPhaseDaylightCoefficient(...)*
    
  •    - 3 TwoPhaseRaytracing(...)*
    
  •    - 3 TwoPhaseRaytracingLoop(...)*
    
    • 6 had failed dependencies:*
  •    - 2 OutputMatrixMath(...)*
    
  •    - 3 _TwoPhaseRayTracing_ae79e661Orchestrator(...)*
    
  •    - 1 _TwoPhaseSimulation_ae79e661Orchestrator(...)*
    
    • 13 had missing dependencies:*
  •    - 1 AnnualMetricsPostprocess(...)*
    
  •    - 1 LetAnnualDaylightEnhancedFly(...)*
    
  •    - 3 RestructureDirectSunlightResults(...)*
    
  •    - 3 RestructureTotalResults(...)*
    
  •    - 1 _Main_7efbbeb4Orchestrator(...)*
    
  •    ...*
    
    • 12 was not granted run permission by the scheduler:*
  •    - 1 CalculateTwoPhaseMatrix(...)*
    
  •    - 4 CalculateTwoPhaseMatrixLoop(...)*
    
  •    - 1 RunTwoPhaseDaylightCoefficient(...)*
    
  •    - 3 TwoPhaseRaytracing(...)*
    
  •    - 3 TwoPhaseRaytracingLoop(...)*
    

This progress looks :frowning: 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

Hi @VickyM,

Can you share the log file? The log file is found in your project folder, e.g:

C:\Users\[USERNAME]\simulation\[MODEL_NAME]\annual_daylight_enhanced\__logs__\logs.log

Yeah! I converted it to .json because this is the format supported to upload.
logs.json (408.5 KB)