bifacial_radiance
bifacial_radiance copied to clipboard
Installation error
Hello everyone
I have installed bifacial radiance according to the installation video on youtube. When completing the installation and running the file main.py, the explorer appears in the video where a folder must be selected for saving. This does not appear for me. Accordingly, the entire process is not carried out for me. I didn't think too much about it because it's only for testing.
But if I want to import something from bifacial_radiance later, as in a tutorial, a type error always appears "TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' " does this have anything to do with each other and how can I fix this error?
Thank you very much for your help.
Hey Reto,
Could you add print(demo.basename) before calling the .analysis method and share the output?
Cheers, Alex
Hey
nothing happens
or there is an error
Basically, the variable demo has the class RadianceObj stored in it. "basename" is not a recognizable attribute of this class. Instead try using demo.name
it's the same
maybe it is also because it is now the file main.py and no longer bifacial_radiance.py. could this not have become obsolete with an update?
Weird!
demo.name should print out just fine. In the bottom screenshot I see that you are trying to access demo.name within the source code. This unnecessarily complicates things. You should try to access demo.name in the first script that you shared.
Yes, thank you for the troubleshooting. I agree that the issue in the original script was with the line results = analysis.analysis(octfile, demo.basename, frontscan, backscan)
. In this case it should have been demo.name
instead of demo.basename. I'm going to close this as solved, but please reply if we need to reopen this one.