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

Revision history [back]

If you want to use an existing measure in your workflow, the ChangeBuildingLocation measure expects the .ddy file to have same name as the .epw file. The .epw file name with extension is taken as a measure argument.

If you are writing your own measure, this line inspects the .ddy file

ddy_model = OpenStudio::EnergyPlus.loadAndTranslateIdf(ddy_file).get

And this line adds a design day object into the OpenStudio model. If you look at code above this we are importing a subset of design days from the file.

model.addObject(d.clone)