Revision history  [back]

I see two approaches:

1) Cast your EMS additions in an EnergyPlus OpenStudio measure script, and run this along with your model. (EDIT: EMS is available in OpenStudio API).

2) Edit the View Data measure to run as a stand-alone ruby script.
The View Data measure reads the output SQL file for data, and matches variables with surfaces names from the .osm model. It uses VA3C to convert the model geometry into a .json object for displaying in 3D. To make the stand-alone measure work, you need to define all variables of interest in your simulation, enable SQL output file reporting, and then edit the measure.rb file to run as a script with explicit paths for the sqlFile and model variables.

I see two approaches:

1) Cast your EMS additions in an EnergyPlus OpenStudio EnergyPlus measure script, and run this along with your model. (EDIT: EMS is available in OpenStudio API).model.

2) Edit the View Data measure to run as a stand-alone ruby script.
The View Data measure reads the output SQL file for data, and matches variables with surfaces names from the .osm model. It uses VA3C to convert the model geometry into a .json object for displaying in 3D. To make the stand-alone measure work, you need to define all variables of interest in your simulation, enable SQL output file reporting, and then edit the measure.rb file to run as a script with explicit paths for the sqlFile and model variables.