Annual Daylight Glare Probability for multiple Test_points

I wanted to see if I could replicate Nathaniel’s annual tutorial with the rays file “screenviews.ray” (32 views) using HB[+]. Below is the occupied GA for the views. The red is from HB[+] and the blue is from Nathaniel’s tutorial. It seems promising but I did not test it further.

I used identical Radiance parameters for each run - but since I copied the DC gridbased recipe and built on that, HB[+] also writes other parameters that are not included in Nathaniel’s tutorial. For the 1 ab matrix HB[+] uses the blacked geometry.

Below is the sample Grasshopper script.
imagelessGlare_Test.gh (495.2 KB)

Below is the Python script (“imagelessglare” folder), which must be placed here:


imagelessglare.zip (8.6 KB)

Below is the files that HB[+] writes.

6 Likes

Hi Chris. I´m working with optimal facades solutions, and testing some fast daylighting simulation models. I tested 2-phase, accelerade, and now Climate studio. That is a way to reproduce the same simulation method from Climate Studio in Honeybee+? Also, I´m really interested in the cloud computing. :slight_smile:

Hi @Nathaniel,

I am wondering if the imageless approach could be applicable for space with different specifications. I tried the file but seems it does not work.

Thanks

Hi @masoome ,

Can you be more specific about what you tried to do and what errors you received? If your question is specific to the method presented in the tutorial, you can use https://discourse.radiance-online.org/ to ask your question, as this forum is dedicated to Ladybug Tools.

Nathaniel

@Nathaniel Thanks for the prompt response.
I have this error as shown in the picture. Also, I do not know how I could produce computerlab.rad and
screenviews.ray files for my project. Hope it is clear

Thanks

@masoome, are you sure you have the folder imagelessglare as seen below?

For your own project you can import the model as _HB_objects. You do not need computerlab.rad - this was just to compare with Nathaniel’s model. You can create your own view rays by inputting your view points in _test_points and view directions in pts_vectors_.

billede

2 Likes

Thanks @mikkel. I thought I copied it there but seems did not. Now it recognizes it.

@mikkel Thanks for sharing.
I am facing an issue, could you please help? I used the code file and set it up as you have done using Nathaniel’s annual tutorial. I ran it but it doesn’t write anything on the “occupied…scene…default.ga” and “views…scene…default.dgp” files. It only generates an empty file for these. What could have caused this?

Hi @HamidrezaSh,

Are you able to share the folder gridbased_imagelessglare?

Yeah Sure! Here is the link
Thanks!

I can run the script fine. Can you try add “pause” at the end of commands.bat, and then execute the batch file outside Grasshopper? Let me know if you get any error messages.

billede

I did as per your instruction and this is the result:


Still the .ga and .dgp files are empty

It looks like you have an older Radiance version than 5.3, or you somehow removed dcglare from the Radiance/bin folder. You should install version 5.3 or any of the newer pre-releases. Then I assume it will work for you as well.

1 Like

Thanks, as you said something was missing, and reinstalling the radiance solved the issue.

hi masoome
i have a same problem . i unlocked those files (imageless glare file 3.8 mb) and copied As shown in the image above but now i have a same error . can you help me

Hi @hiwa
I am not sure what causes your issue but make sure that you unblocked both files in the folder and also of Radiance version to be 5.3.

hi. I have run the simulation. Thanks its been a great help. could you suggest a way to visualize result?

You can visualize it as you would do with a gridbased recipe from Honeybee. You need two things:

  1. Read the occupied glare autonomy file.
  2. Create the mesh for reColorMesh.

I have used legacy components to visualize the results. You should make sure that your mesh faces correspond to the view rays of your imageless glare analysis when you input the result and mesh in reColorMesh. In this example I ran the analysis for 8 view rays for each view point.

imagelessGlare_Test.gh (525.7 KB)

6 Likes

Dear @mikkel,
Have you planned to “optimize” your imageless glare analysis componente, also for the LBT version?
Best regard

Thanks @mikkel for the script. It would be great if it could be done with LBT tool. @chris can this component be a part of LBT tools !