First time here? Check out the Help page!
1 | initial version |
You would probably be better off using pushExtensibleGroup. Meter:Custom is extensible with 2 fields per extensible group so you would need to do something like:
# find the meter you want to modify in the Idf then:
new_grp = OpenStudio::StringVector.new
new_grp << "res ac cooling coil"
new_grp << "Cooling Coil Crankcase Heater Electric Energy"
meter.pushExtensibleGroup(new_grp)