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
4

How to change idd file to allow Fan:SystemModel on Branch?

asked 6 years ago

Mitchal Dichter's avatar

updated 6 years ago

Running the newest version of energyplus with idf editor claims the Fan:SystemModel is not a valid object to put on a Branch, even though the simulation runs fine.

image description

How do I alter the idd file so my measures can place Fan:SystemModel objects on Branch objects?

Preview: (hide)

Comments

Added openstudio-measure tag since the main question is how to get the measure to work. The IDF Editor validity check is secondary.

MJWitte's avatar MJWitte  ( 6 years ago )

@MJWitte Changing the idd file has worked before. There was a similar issue here. But that fix didn't work this time. Do you know if the way workspace.addObject(object) determines if the object being added is valid or not with reference to an idd file has changed?

Mitchal Dichter's avatar Mitchal Dichter  ( 6 years ago )

2 Answers

Sort by » oldest newest most voted
2

answered 6 years ago

It is the references list in each type of fan that determine if the fan is allowed in certain locations (e.g., branch or HVAC objects). The problem here is that the last 2 versions of E+ no longer read the idd at runtime and changing these characteristics of objects in the idd does not take effect unless the program is compiled (i.e., you will not be able to correct it by only changing the idd). Compiling the program will create a new Energy+.schema.epJSON file which is read during program execution. The plan is to eventually remove the idd file and use only JSON format.

Fan:SystemModel,
  A1 , \field Name
       \required-field
       \reference Fans
       \reference FansCV
       \reference FansCVandOnOff
       \reference FansCVandOnOffandVAV

Fan:ConstantVolume,
  A1 , \field Name
       \required-field
       \reference Fans
       \reference FansCV
       \reference FansCVandOnOff
       \reference FansCVandVAV
       \reference FansCVandOnOffandVAV
       \reference-class-name validBranchEquipmentTypes
       \reference validBranchEquipmentNames
       \reference-class-name validOASysEquipmentTypes
       \reference validOASysEquipmentNames
Preview: (hide)
link

Comments

@rraustad I looked up compiling energyplus, and it looked a bit involved. Do you have an estimate of when the bug will be fixed in the energyplus installer I can download from https://energyplus.net/downloads? Are minor revisions released frequently?

Mitchal Dichter's avatar Mitchal Dichter  ( 6 years ago )

There is no scheduled release of minor revisions. It does happen, but not regularly. I will post an issue and this might get fixed quickly. I anticipate a minor revision for other issues I see in this release, however, I can't provide a time frame.

rraustad's avatar rraustad  ( 6 years ago )
rraustad's avatar rraustad  ( 6 years ago )

@MJWitte went ahead and fixed this just now here. When/If there is a minor release this will be included.

rraustad's avatar rraustad  ( 6 years ago )

Thinking about this, it may be that IDF Editor does still use the idd for error checking. Why don't you try adding the missing references and see if the IDF Editor recognizes the Fan:SystemModel on a branch.

rraustad's avatar rraustad  ( 6 years ago )
1

answered 6 years ago

Since the issue you are facing is with IDF Editor and not EnergyPlus, you should be able to edit the Energy+.idd file and fix the issue that you are seeing. Make the edits shown here in your local Energy+.idd file and restart the IDF Editor.

Preview: (hide)
link

Comments

@JasonGlazer Your proposed solution was previously proposed by @rraustad, which was implemented and verified to fix the error in the IDF Editor. I will attempt to delete your answer as it is duplicate.

Mitchal Dichter's avatar Mitchal Dichter  ( 6 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

4 followers

Stats

Asked: 6 years ago

Seen: 418 times

Last updated: Oct 16 '18