Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gendaylit: actual zenith radiance warning #414

Open
Leo-Raumann opened this issue Apr 26, 2022 · 2 comments
Open

Gendaylit: actual zenith radiance warning #414

Leo-Raumann opened this issue Apr 26, 2022 · 2 comments

Comments

@Leo-Raumann
Copy link

Leo-Raumann commented Apr 26, 2022

Dear devs,

when I call main.RadianceObj.makeOct() it forwards this oconv warning:

*python path*...\bifacial_radiance\main.py:1901: Warning: gendaylit : the actual zenith radiance(W/m^2/sr) or luminance(cd/m^2) is : 10
  warnings.warn(err[9:], Warning)

radianceObj.gendaylit2manual(), which is called before, does not print any warning (I stepped through in debugging mode).

Do you have any experiences with this warning? The results look good to me, can it be ignored?

Related to this: Do you have any plans of implementing a possibility to plot the sky?

Thanks a lot and kind regards
Leo

@shirubana
Copy link
Member

gendaylit2manual is only used when inputting manual sun position and values. Can you give a bit more details on how you are calling that function? it's expecting altittude and azimuth of the sun on degrees.

We haven't super had the need for that, but there is this tool from radiance itself to do that, maybe check that out?

If you are doing cumulative sky, you can see the values of each patch on the gencumsky.rad file (I don't recall hte specific name atm) that gets generated in the main folder and use those to make a plot. Assigning them to the patches in the circular plot will be a fun plotting exercise.

@Leo-Raumann
Copy link
Author

Leo-Raumann commented May 2, 2022

hi,
I use gendaylit2manual to pass satellite weather data from ADS (CAMS). Altittude and azimuth are calculated by pvlib.solarposition.get_solarposition and passed in degrees.

I get the warning for each (day-)time and I think it is triggered by 1901 | warnings.warn(err[9:], Warning)
located in main.RadianceObj.makeOct().

So you didn't had this warning yet? Maybe Chris or someone else?

Thanks for the sky infos, I will check them out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants