First time here? Check out the Help page!
1 | initial version |
Yes that is possible, this is referred to an an OpenStudio EnergyPlusMeasure
(not an OpenStudio ModelMeasure
), as the point where that measures run the Model (OSM) has been converted to an EnergyPlus Workspace (IDF).
See the section EnergyPlus Measures
in the OpenStudio Measure Writing Guide.
These EnergyPlusMeasure
can only be applied when your workflow is run though (unlike ModelMeasure which could can "Apply Now" to get a resulting modified OSM Model).
You can find a bunch of such measures on the BCL to draw inspiration from, and there is one that may suit your needs with minimal effort (if you want to apply it to a single model): Inject IDF Objects. The source of that measure is at NREL/openstudio-common-measures-gem and is pretty simple to follow.
There is also one that is installed with OpenStudio in /path/to/openstudio/compact_osw/measures/SetEplusInfiltration
.