How to export window sunlight exposure status to CSV?

I’m working on a sunlight analysis project


. I need to generate a CSV file for each window that shows, for each hour:
• Fully exposed to sunlight
• Partially exposed
• Fully shaded

I’ve already used Ladybug’s LB Direct Sun Hours and have the int_mtx output, but I’m not sure how to extract and categorize each window’s hourly status, then export it to CSV.

Any advice or example workflows would be greatly appreciated!

You can try the LB_DeconstructMatrix, like so:

It is not going to give you the window values but the sky dome’s values [total, direct, diffuse radiations]. Which is what you highlighted in your image.
-A.

Thank you for your reply. I figured it out. Next problem is I don’t know how to use the data convert to Excel use csv.

Hi @Jeffrey7

You can use the built-in ‘Stream Contents’ to output any panel to a csv:

Just right-click on the panel, set the location, and then turn on ‘Stream Contents’

best,
@edpmay

Thank you to let me know. I will try it out.


Hi there. Why is the data I get an integer? Is this a good method?

Look at the hint of the int_mtx output in the LB_Direct SUn Hours component.
-A.


It’s just one window I am analysing. I checked the Ladybug web it says the int -mtx only can output integers. So How can I define which window is partially exposed?