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

IDF files in openstudio output folders

asked 8 years ago

Maryam's avatar

updated 8 years ago

I wanted to know if I can use the IDF file in OpenStudio output folders to edit some simulation parameters in energyplus; and will the changes in IDF file affect the OpenStudio model as well?

If so, could you please let me know which of the IDF files is the right one to use? Because After running simulation in OpenStudio, I have two output folders which have the IDF files. One is under 3-Userscript-0 and the other is under 4-EnergyPlusPreProcess-0.

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
3

answered 8 years ago

updated 8 years ago

  • The file that gets simulated is the last one you see: out.idf at the root of 4-EnergyPlusPreProcess-0.
  • As Amir pointed out, changes to the IDF file generated by OpenStudio will not back-propagate. So that's fine to use the generated IDF file, change that, simulate it again until you fix a bug. But it's not an interactive workflow: if you change the OSM again, you'd have to redo these changes.
  • If you really need to make changes that you cannot do in OpenStudio purely, the typical thing to have an interactive process where you can still modify the OpenStudio OSM file is to write an EnergyPlus Measure. You can find some information about EnergyPlus Measures in the Measure Writer's Reference Guide
Preview: (hide)
link

Comments

is a measure that reads that modified IDF possible ? obviously it would not do all e+ objects, but within the constraints of what OS can import from an IDF, how hard would it be to write the measure that reads out.idf and updates the .osm ?

TomB's avatar TomB  ( 8 years ago )

OS doesn't reverse translate a lot of objects so it'd be almost pointless until you're just importing basic stuff such as schedules, or until a strong effort is done on reverse translating (not DOE's priority right now). So not sure why you would do that but that's easy to do using a terminal or a measure for that matter...

workspace = OpenStudio:Workspace:load("Path/myfile.idf").get rt = OpenStudio::EnergyPlus::ReverseTranslator.new osm = rt.translateWorkspace(library)

Julien Marrec's avatar Julien Marrec  ( 8 years ago )

Thank you Julien!

Maryam's avatar Maryam  ( 8 years ago )
2

answered 8 years ago

Changes you make to the IDF file will not back-propagate to the OpenStudio model.

Preview: (hide)
link

Comments

Thank you Amir!

Maryam's avatar Maryam  ( 8 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 8 years ago

Seen: 752 times

Last updated: May 31 '16