How to write a new measure for HVAC systems

asked 2020-09-17 22:00:25 -0600

yashar's avatar

updated 2020-09-21 10:03:50 -0600

Hello guys, I am going to write a new measure for the HVAC systems, which do not exist in the BCL. Although I have read " OpenStudio Measure Writer's Reference Guide" and "Building Energy Modeling With OpenStudio" book, I cannot understand many parts of HVAC codes. currently, I am working on "Replace HVAC with WSHP and DOAS" measure. " OpenStudio Measure Writer's Reference Guide" explains that various methods can be used for different goals, and objects and classes are available in OpenStudio SDK documentation. For example, .get, .set, .empty?, .setDisplayName, ... are mentioned methods we can use for our desired targets. However, many unfamiliar methods are not mentioned in " OpenStudio Measure Writer's Reference Guide", and I have been faced with them in HVAC measures code. As an example, in "Replace HVAC with WSHP and DOAS", at the start point, some libraries are loaded, .handle.to_s (spaceType.handle.to_s) method (line 35), .sortZones (OsLib_HVAC.sortZones) method (line 264), .assignHVACSchedules (OsLib_HVAC..assignHVACSchedules) method (line 279), OsLib_HVAC.createHotWaterPlant, etc. **

My question is how to find the libraries and methods that I see in the existing measure or need to write a new measure.

I will appreciate it if anyone can help me to find the answer to my question.

edit retag flag offensive close merge delete