Grasshopper

algorithmic modeling for Rhino

Hi,

I'm performing thermal comfort analysis for some project...

I've recently installed the OpenStudio, but it doesn't work (till now i used the EnergyPlus)!

The HB_exportToOpenStudio component complains about:

  • Solution exception:invalid literal for float(): 

I have:

Rhino - Version 5 SR5

OpenStudio 1.13.0 

EnergyPlusV8-5-0

SketchUp 2016

Any suggestions??

regards,

Saba

Views: 1724

Replies are closed for this discussion.

Replies to This Discussion

Mostapha, Chris,

For the HB_exportToOpenStudio component to work the service release needs to be higher that SR10?

Saba is a student of mine that so far used the HB_runEnergySimulation, working well. I'm trying to convince her to swith to the OS component ... but it complains.

Any ideas?

Thanks,

-A.

Saba,

Can you share the file or an example file that can recreate the error?

Mostapha

Hi Mostapha,

Saba will of course send the file (is pretty big and messy). The thing is that it runs fine in my machine. So that's why i wonder if the release is related.

-A.

Hi Mostapha,

I attached both Rhino and Grasshopper files, as Abraham said it's very messy!! 

Thanks, 

Saba

Attachments:

Saba,

Can you edit the OS component, press the test button and copy/paste here the line where the component complains?

Thanks,

-A.

Current working directory is set to: C:\WorkingFolder\Bet_ bomael\A1\simulation\results-A1\OpenStudio
Runtime error (ValueErrorException): invalid literal for float():
Traceback:
line 187, in setSite, "<string>"
line 3692, in main, "<string>"
line 3894, in script

It probably has something to do with the weather file header as it happens in setSite. Let me check and report back.

That's it. We should improve this function in the OpenStudio component. Meanwhile can you use the same weather file as Abraham?

Also can you share the weather file with us so we can debug the code? Thanks.

Hi Mostapha,

This will be weird since we are using the same file.

Anyway, just to save time (hopefully) i'm attaching the epw here.

Thanks,

-A.

Attachments:

Thank you for finding this bug.  I had put in the "set site" function to make things more consistent with the Write E+ component but I see now that I probably should have put it in a try/except loop in case the EPW is in a non-conventional format.  I'll try to fix this soon.

-Chris

Ah, wait.  Everything is running ok on my machine with your EPW, Abraham, and Saba's GH file:

Saba, is Abraham's EPW the one that gave you the error?

-Chris

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service