NREL / bifacial_radiance

Toolkit for working with RADIANCE for the ray-trace modeling of Bifacial Photovoltaics
https://bifacial-radiance.readthedocs.io
BSD 3-Clause "New" or "Revised" License
89 stars 48 forks source link

Tutorial 1: Fixed-Tilt Yearly Results Issue #462

Open Funerus opened 1 year ago

Funerus commented 1 year ago

Hello,

As you can imagine, I've recently started working with bifacial_radiance and Python.

I've been following the same procedure uploaded for Tutorial 1; however, when I generate the sky (cumulative) I get an error message: "gencumulativesky is not recognized as an internal or external command".

I've copied the gencumulativesky.exe and falsecolor.exe files as well as the gencumsky folder from bifacial_radiance main to Radiance/bin.

Any idea on what could be going wrong?

I attempted setting fullYear to False, to use gendaylit instead. Although the sky seems to be generated fine in this case, I get an error in the octree creation demo.makeOct(demo.getfilelist()).

FileNotFoundError: [WinError 2] The system cannot find the file specified

I would really appreciate any sort of help!

If you need further details please let me know, Regards, Alex

shirubana commented 1 year ago

Hi Alex,

Both errors seem related to perhaps the environment variable not knowing the right path to Radiance/bin. Can you please check they are in your system path?

image

Also, which version of radiance did you install? You can find this by typing into the terminal/python

    import bifacial_radiance
    bifacial_radiance.__version__  

(that is two underscores after and before version)

Funerus commented 1 year ago

Hey Silvana,

Thank you so much for getting back to me! I really appreciate it.

First of all, regarding the version of Radiance. I believe it is Radiance 5.4a (2023-03-12). However, the code outputs '0+unknown'. I should note, that I am trying to run bifacial_radiance through the JupyterLab desktop version. It seems that I might have messed up somewhere in the installation process.

I also checked the system path (Environment variables --> System variables --> Path) C:\Program Files\Radiance\bin C:\Program Files\JupyterLab;C:Users\odyal\Projects

Note that bifacial_radiance is installed in: C:\Users\odyal\bifacial_radiance-main

I am not sure how the actual location of each software package is related to the Path thing. I will probably uninstall and re-install everything without the use of JupyterLab desktop.

I am at your mercy!

Cheers, Alex

shirubana commented 1 year ago

Hi Alex,

would it help to jump into a quick call? What timezone are you in?

Funerus commented 1 year ago

Hey Silvana,

That would be lovely! I live in the Netherlands and it is 16:45 right now.

I'm going through the installation one more time without diverging from the installation instructions. Could you give me some time to see whether I can make it work?

I will update you soon, Kind regards, Alex

On Thu, Mar 30, 2023 at 4:39 PM Silvana Ovaitt @.***> wrote:

Hi Alex,

would it help to jump into a quick call? What timezone are you in?

— Reply to this email directly, view it on GitHub https://github.com/NREL/bifacial_radiance/issues/462#issuecomment-1490425006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5AP7TFU3ELR7REUWVMTITW6WLKTANCNFSM6AAAAAAWLX7TNY . You are receiving this because you authored the thread.Message ID: @.***>

shirubana commented 1 year ago

hey send me an email to silvana.ovaitt@nrel.gov to send you a calendar invite. Would tomorrow at 8 am MST work? 4 PM Netherlands

shirubana commented 1 year ago

If it works then we can cancel, happy to still help by chat.