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
88 stars 47 forks source link

rvu not working properly #356

Open DavidENunezR opened 2 years ago

DavidENunezR commented 2 years ago

Hi everyone, I don't know if you could still help me. I'm learning to use bifacial_radiance for a university project but have a problem with rvu that can't seem to solve.

I have even tried to run the code of the tutorials you have kindly put out. For example, when running the 5th Tutorial (Medium Level Example - Bifacial Carports and Canopies) I am trying to run rvu as presented in the code comments:

rvu -vf views\front.vp -e .01 -pe 0.4 -vp 3.5 -20 22 HotelCarport.oct

However I always get a SyntaxError: invalid syntax when trying it out.

I have tried to change the path and location of files but still nothing. If you could somehow help me navigate through this I will kindly appreciate it.

(sorry about any english)

cdeline commented 2 years ago

Hi, could you please paste the full traceback which includes where the syntax error is being thrown? If you could also run a dir command to print out your current working directory that could help debug as well. Thanks!

shirubana commented 2 years ago

Two things to check:

  1. simplifying the rvu call. Use a cell in your jupyter journal after you generate the HotelCarport.oct and run

!rvu -vf views\front.vp HotelCarport.oct

(yes, with the bang so it runs from inside Jupyter).

  1. Open your octfile with a notepad and share a picture . In particular looking at the first 3 lines and that the rest are "Gibberish"