First time here? Check out the Help page!

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

Open and Edit .idd file [closed]

asked 8 years ago

leshiz's avatar

updated 8 years ago

Does anyone know how to open and edit the .idd file?

Preview: (hide)

Closed for the following reason the question is answered, right answer was accepted by leshiz
close date 2016-07-06 04:25:28.263402

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

Not sure what exactly you want to do, some changes are possible, others will require checking the source code as well.

Example:

  • You want to add extensible fields so that the IDF Editor doesn't crash if you have for example a ZoneList object with more than one hundred zones: that will work just fine
  • If you want to change the mix/max values accepted for a numeric field: this might not work. The source code might have internal checks to make sure your don't put out of bounds values. But it's worth a shot.

Anyways, to edit the .idd file:

  1. Locate the .idd file at the root of your EnergyPlus folder. Typically C:\EnergyPlusV8-5-0\Energy+.idd on windows
  2. Make a backup copy (just copy paste in place and rename to Energy+-old.idd) in case you make a mistake and cannot figure out how to revert back.
  3. Open it with your favorite a text editor
  4. Make your changes. Look closely at the structure of the .idd file for how to change it, it's pretty self explanatory[1]
  5. Save

[1] In the .idd file itself as well as the start of the Input/Output Reference guide at chapter IDD Conventions you have some explanation of the fields. I suggest you read that too.

Preview: (hide)
link

Comments

Thanks a lot! So just needed note pad to open it...

What I want is to add something to EMS sensor, cause under the EMS sensor the output variables are not there, I only see output meter. I saw on this link https://github.com/NREL/EnergyPlus/is... that the .idd need to be changed to fix it and I am trying to do it :)

leshiz's avatar leshiz  ( 8 years ago )

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 8 years ago

Seen: 636 times

Last updated: Jul 06 '16