Question regarding HVAC functions in Export to OpenStudio component
Closed this issue · 1 comments
@chriswmackey @mostaphaRoudsari
Just a quick question about the openstudio HVAC functions seen here:
Did you adapt any of the code from the OpenStudio measures or did you simply convert all the code seen here in OsLib_HVAC.rb to Python?
Could you go into a bit more detail about where you found the Ruby code for these functions?
Many thanks
The code in the openstudio HVAC library is very much an adaptation and not a direct translation. I only took the parts of the ruby code that were relevant to what we were trying to achieve in the Honeybee interface. Most of the time, this was just to understand basic things like how to create an air loop or plant loop from scratch using OpenStudio SDK. I also used it as a good source for default values since many of the values in there are taken from standards like ASHRAE 90.1 or the ASHRAE Advanced Energy Design Guides. Everything else in Honeybee was stuff that I added in to make it work well with the inputs in the HB interface.
You found the file with basically all of the ruby code I adapted so I'm not sure what you are looking for in terms of more detail.
-Chris