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.
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.
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
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.
I figured out what is happening. There is a slight difference between your epw file and Abraham’s file. Specifically, it seems that your epw might have been opened in excel (or another tabular software) and re-saved as a csv, thereby adding a few extra commas onto the end of one line:
I have fixed the OpenStudio component such that it can now handle this type of EPW and you can find attached a GH file that manages to write the IDF and OpenStudio model. However, because of some other things wrong with your EPW file, EnergyPlus throws an error about it when it tires to run the simulation. I’m sorry that I can’t completely solve your problem but at least you get the right error now and you know that something needs to be corrected in your epw now.