Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

OutputControlTableStyle isn't likely mapped to the OpenStudio Application.

"Could this be done by writing my own OpenStudio measure?" Indeed, that would be the safest route. The easiest in the short term is to hack your .osm files, by copying/pasting the following:

OS:OutputControl:Table:Style,
  {9206745e-ee26-45d1-8c25-e06c38b989e7}, !- Handle
  HTML,                                   !- Column Separator
  JtoKWH;                                 !- Unit Conversion

... make sure the Handle is unique.

image description


I generated this using IRB (probably can do the same with the Python Interpreter):

require 'openstudio'
model = OpenStudio::Model::Model.new
puts model.getOutputControlTableStyle

OS:OutputControl:Table:Style,
  {9206745e-ee26-45d1-8c25-e06c38b989e7}, !- Handle                                                                  
  HTML,                                   !- Column Separator                                                        
  None;                                   !- Unit Conversion

... and changed None to JtoKWH after copying/pasting.

A very simple script could accomplish the same if you had hundreds of files to modify. Hope this helps.