Skip to content

Instantly share code, notes, and snippets.

@kandersolar
Last active December 30, 2021 01:22
Show Gist options
  • Save kandersolar/68176ccd617851dfa26623452681fbeb to your computer and use it in GitHub Desktop.
Save kandersolar/68176ccd617851dfa26623452681fbeb to your computer and use it in GitHub Desktop.
Calculating sky dome vf for a point on the ground in an infinite sheds array. See https://nbviewer.org/gist/kanderso-nrel/68176ccd617851dfa26623452681fbeb
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikofski
Copy link

mikofski commented Dec 29, 2021

@kanderso-nrel this is awesome! I didn’t go thru in great detail But the video animations are amazing! Thank you!!

@mikofski
Copy link

mikofski commented Dec 29, 2021

I believe calc_vf() is similar to ground_sky_angles() but I chose to use the complement of psi on one side, the troublesome gcr_prime, and the view factor calculation is separate in ground_sky_diffuse_view_factor()

the implantation in this gist seems much better and easier to follow. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment