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

Revision history [back]

It's not as easy as it probably should be, but the simplest path is to use the same versions of ResStock and OpenStudio that were used by EUSS 2022. So that is ResStock EUSS 2022.1 and OpenStudio 3.4.

Then there are a couple updates you need to make to the HPXML where it references external files:

  1. The stochastic occupancy SchedulesFilePath in the HPXML needs to be changed. The file is included in the OEDI zip, so you can use a relative path of just "schedules.csv".
  2. Each emission scenario ScheduleFilePath in the HPXML needs to be changed. The file to point to is found in the ResStock repo at "resources/data/cambium/...".
  3. The EPWFilePath in the HPXML needs to be changed from "../../../weather/foo.epw" to "foo.epw" and you'll need to download the appropriate EPW weather file to resources/hpxml-measures/weather.

Finally, you can generate the OpenStudio model and run the simulation from the commandline like so:

openstudio resources/hpxml-measures/workflow/run_simulation.rb -x in.xml

Or you can call the resources/hpxml-measures/HPXMLtoOpenStudio measure directly if you only want the OSM.