algorithmic modeling for Rhino
I know some of you had issues getting RADIANCE and DAYSIM installed on your system, so here is a video that shows how you can get everything installed on your system in less than 15 minutes.
Hope it helps,
Mostapha
PS: I forgot two things in the video:
1. if you don't install Radiance at C:\Radiance then you need to add the path to the system. Check this page: (https://openstudio.nrel.gov/getting-started-developer/getting-start...).
2. You need to also install GHPython component.
3. Radiance has been moved to github and now you can download it from this page: (https://github.com/NREL/Radiance/releases). Download the latest .exe file for Windows.
Tags:
Replies are closed for this discussion.
Hi Mostapha,
Thanks for that video. Still having some problems, though. I originally installed Radiance on C:\Energy\Radiance (no spaces) and got the following issues when opening the "000_GettingStarted_With_Honeybee.gh" file:
Warnings:
1. Honeybee cannot find RADIANCE folder on your system.
Make sure you have RADIANCE installed on your system.
You won't be able to run daylighting studies without RADIANCE.
A good place to install RADIANCE is c:\radiance
2. Honeybee cannot find EnergyPlusV7-2-0 folder on your system.
Make sure you have EnergyPlusV7-2-0 installed on your system.
You won't be able to run energy simulations without EnergyPlus.
A good place to install EnergyPlus is c:\EnergyPlusV7-2-0
Error:
1. Solution exception:Could not find a part of the path 'c:\ladybug\HoneybeeRadMaterials.mat'.
---------------------
I now reinstalled Radiance in the C:\Radiance folder and when dropping the Honeybee_Honeybee component on the canvas, I get the following:
Runtime error (DirectoryNotFoundException): Could not find a part of the path 'c:\ladybug\HoneybeeRadMaterials.mat'.
Traceback:
line 253, in __init__, "<string>"
line 2200, in script
----------------------
[that is also the only error that I'm now getting when opening the 000 getting started file).
There is no c:\ladybug on my PC.
Note: In order to run the Radiance installer, I had to run as administrator. My user doesn't have write rights on the c-root folder (and no chance of getting that either... :)
Thanks,
wim
Update:
I uninstalled LBHB, manually created the c:\ladybug folder and then installed LBHB again. I see that dropping the Honeybee_Honeybee component on the canvas creates one file in this folder.
Now there only is an OpenStudio warning message but as I understand, that is not important.
Opening the 000 getting started file now generates the following:
Warning:
1. Honeybee cannot find EnergyPlusV7-2-0 folder on your system.
Make sure you have EnergyPlusV7-2-0 installed on your system.
You won't be able to run energy simulations without EnergyPlus.
A good place to install EnergyPlus is c:\EnergyPlusV7-2-0
Error:
1. Solution exception:Construction
-------------------------------------------------------
The output in the panel reads as follows:
Loading RAD default materials...6 RAD materials are loaded
Downloading OpenStudioMasterTemplate.idf to c:\ladybug
Download complete!
Loading EP construction library
Runtime error (KeyNotFoundException): Construction
Traceback:
line 195, in __init__, "<string>"
line 2202, in script
cheers,
wim
For what it's worth, I've now installed EnergyPlus (latest version: 8.1.0) in the c:\EnergyPlusV8-1-0 directory.
I'm still getting the warning about not finding EnergyPlusV7-2-0 and the error message as before (1. Solution exception:Construction).
Note that the Honeybee_createHBSrfs in the 000 getting started file is not delivering any output and has an error:
1. Solution exception:honeybee_EPZone
The Honeybee_RADParameters component is throwing the following error:
1. Solution exception:honeybee_RADParameters
Totally stuck...
wim
Hi Wim,
Sorry that I couldn't get back to you sooner. Let's get it fixed one by one. Can you please go ahead and download the new version. I updated the component not to give the warning for EnergyPlus. I will check the rest of your messages and reply shortly.
To update the components you should be able to use Honeybee_Update Honeybee to do it but as it looks like you can't copy files to C drive it may not work.
I've now downloaded LB 0.0.55 and HB 0.0.51. Uninstalled the old version and installed the new one.
I've then used the update components for Ladybug and Honeybee to update the components in the 000 getting started file.
I'm still getting the construction, EPZone, and RADParameters errors.
Standing by :)
I see... That happens because of the same issue. Honeybee tries to download the material files to c:\ladybug but it fails. That 'Download complete!' message is a lie! ;)
If you copy this file to c:\ladybug manually (https://dl.dropboxusercontent.com/u/16228160/honeybee/OpenStudioMas...) and re-open the file the error should go away for Honeybee_Honeybee but you will still have issues since other components also use the same folder! :|
I will get this fix this by Sunday and let you know. Sorry for all the troubles you have been through and thank you for letting me know. We will get it fixed soon. :)
Mostapha
Well...
Since I manually (i.e. by means of a admin user) created c:\ladybug earlier today (my second message), my user has all rights within that directory. Before downloading the OpenStudioMasterTemplate.idf from the link above, I saw that the directory contained a bunch of files already.
Sadly (:-) there was a complicating factor that I hadn't thought of: when I was doing those first steps, I was at work. The directory already contained the OpenStudioMasterTemplate.idf file but when opening that in notepad, I found out that this was a fake - it was in fact an html file that get generated by the system at work that blocks access to all kinds of websites (considered social networking). Replacing that file with the one I now downloaded from dropbox, fixes everything...
OK, a quick test shows that there are other instances of root access, e.g. the 003_shadowanalysis file has the c:\shadowStudy path. But manually fixing these seems to work.
Cool!
Thanks a lot, Mostapha, for your hard work on these components! I'm sure going to have a good time (and a lot of learning) with all this.
cheers,
wim
Hi Wim,
Thank you for the update.
Nevertheless I added C:\Users\%USERNAME%\AppData\Roaming\Ladybug as an alternate folder for similar cases.
Thanks again for reporting this. Happy analysis! :)
The error for the material is because of what you mentioned. The component tries to write a file for materials on your system but then it fails because of the permissions. It will cause more issues as the component needs to write several files on your C drive.
Do you have write permissions on (C:\Users\%USERNAME%\AppData\Roaming\Grasshopper)? I can add an extra check to use the roaming folder instead.
Mostapha,
An easy answer first :-)
Yes, I have write access to that path.
Great! So let me apply this to Honeybee and get back to you. You should be good to go after that. Let me check the rest of your comments! :)
Back to "C:\Energy\Radiance" I forgot to mention in the video that you need to add the path if you don't install it at c:\radiance. Check this page on how you can do it: https://openstudio.nrel.gov/getting-started-developer/getting-start...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by