First time here? Check our help page!
2

Modifying the idd in E+ is not recognized

I’m trying to increase the number of nodes in the E+ stratified tank model to more than 10. I modified the maximum number of nodes and added the the additional loss coefficient fields in both the idd and idf files. But I’m still getting the error “ not a valid object type “ so my guess is that the modifications I made in the idd file is not being read by E+. So am I doing something wrong or what?

Thanks

Mo_naser's avatar
33
Mo_naser
asked 2020-08-26 02:33:21 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-10-25 19:24:51 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

3

I'm not an expert on the stratified tank model, but I am pretty sure that the IDD is not processed at runtime by more recent versions of E+. I believe it gets processed at compile time. So in general I don't think that will work any longer. In this particular case, just from looking at the IDD of the object, it looks like it would probably require source code modifications in order to handle a different number of nodes. So I think the ultimate answer to your question is that you may need to modify the source code to change the number of nodes. I'll try to verify by looking at the source code, will update this answer if I find something different.

Jason DeGraw's avatar
2.2k
Jason DeGraw
answered 2020-08-26 17:04:09 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

Thanks Jason... I heard the same thing about the IDD not being processed at runtime, but the weird thing is that when I modified the number of nodes and added the loss coefficients to the extra nodes in the IDD, those fields I added did appear in the IDF file. So I thought it still being processed at runtime.

Mo_naser's avatar
33
Mo_naser
answered 2020-08-27 21:21:42 -0500
edit flag offensive 0 remove flag delete link

Comments

Did you do the addition of the node data with IdfEditor? I think that program still reads the IDD at runtime, so I believe it should behave differently if you change the IDD.

Jason DeGraw's avatar Jason DeGraw (2020-08-27 21:53:23 -0500) edit

IdfEditor still reads the IDD so you will see your changes there, however, EnergyPlus does NOT read IDD or epJSON Schema at runtime. The epJSON Schema is compiled into the executable, see this for reference.

MarkAdams's avatar MarkAdams (2020-08-28 06:46:11 -0500) edit
add a comment see more comments