First time here? Check out the Help page!
1 | initial version |
I couldn't tell from your post, but if you're in the situation that you want to run the same measures on different seed models, you can accomplish this using a single OSW.
The trick is to leave the seed_file
out of the OSW entirely. Then have the first measure in your OSW be a measure that takes in a path to your seed OSM of interest and loads it into a model like so:
translator = OpenStudio::OSVersion::VersionTranslator.new
path = OpenStudio::Path.new(path_to_osm)
model = translator.loadModel(path)
assert((not model.empty?))
model = model.get
This would allow you to call the same OSW over and over but with the argument changing to different seed models.