BDL expression dependency limit

3 posts / 0 new
Last post

I've run up against the hard-coded limit of expression dependency in one of my projects.
Reading the archives, I've tried the 2 solutions I found to increase the capacity but I'm still short.

Those two solutions were :

- Adding ? MaxExpDeps = 10 ? into the project PD2 definition;

- Removing all ? C- ? keyword default expressions from the BDLDft.dat file (since they are only useful for Title-24 analysis);

I'm wondering if anyone had some other insight as to how I could further increase the expression dependency capacities.

Thanks,

[Bouthillette Parizeau]

Patrick Lapierre_ing.
plapierre at bpa.ca | www.bpa.ca | t: 5143833747x2807

Les informations contenues dans le courriel que vous venez de recevoir, y compris les pi?ces jointes, sont destin?es ? l'usage exclusif de la (ou des) personne(s) identifi?e(s) comme destinataires et sont confidentielles. Si vous n'en ?tes pas le destinataire, soyez avis? que tout usage en est interdit. Si vous avez re?u ce courriel par erreur, veuillez le retourner ? l'exp?diteur et le supprimer compl?tement de votre syst?me informatique.

Patrick Lapierre's picture
Joined: 2015-01-28
Reputation: 0

Hi Patrick,
Here are some ideas based on previous suggestions. (Caveat - I haven't had to address issues with the expression dependency limit before.)

- Scott Criswell suggested "MaxExpDeps = 10" versus the default of 12. You could try experimenting with even lower numbers, until the problem goes away or you get a different problem from limiting the number of allowable references.

- Scott's other suggestions were as follows:

o BDL source code mods to increase the limit of exp dep lists

o removal of some fraction of the expressions contained in your INP file, and/or

o the addition of Set-Default statements in your INP file that replace additional BDL default expressions with static values or symbolic selections

- I like the Set-Default statements idea. Add commands within your expressions for SET-DEFAULT FOR SPACE, SET-DEFAULT FOR SYSTEM, SET-DEFAULT FOR ZONE etc. to reduce the number of DOE-2 default dependencies. There are many DOE-2 default expressions that are pretty elaborate, which could be replaced with uniform default values or simpler expressions. See for example, the DOE-2 default expression for ZONE:THERMOSTAT-TYPE.

- Using Input Macros in lieu of or in combination with keyword expressions may help. I am just starting to experiment with this BDL feature.
Regards,
Bill

William Bishop, PE, BEMP, BEAP, CEM, LEED AP | Pathfinder Engineers & Architects LLP
Senior Energy Engineer

[cid:image003.jpg at 01D17F75.9B1E7220] [cid:image005.jpg at 01D17F75.9B1E7220]

134 South Fitzhugh Street Rochester, NY 14608

T: (585) 698-1956 F: (585) 325-6005

bbishop at pathfinder-ea.com www.pathfinder-ea.com

[http://png-5.findicons.com/files/icons/977/rrze/720/globe.png]Carbon Fee and Dividend - simple, effective, and market-based.

Bill Bishop's picture
Offline
Joined: 2012-02-25
Reputation: 7

Thanks Bill,

I had already found Scott's suggestions within the archive (which is where I found out about the two solutions I already used), but upon reading your email, I realize I had missunderstood the Set-Default statement idea. I thought I needed to reduce the manual inputs instead of reducing the dependence to DOE-2 defaults. Makes much more sense now.

Regarding the MaxExpDeps, I already tried lower numbers and I get errors at 9 so 10 is the minimum I can use.

I'll try experimenting with the Set-Default and see how it goes.

[Bouthillette Parizeau]

Patrick Lapierre_ing.
plapierre at bpa.ca

De : Bishop, Bill [mailto:bbishop at pathfinder-ea.com]
Envoy? : 16 mars 2016 11:19
? : Lapierre, Patrick
; equest-users at lists.onebuilding.org
Objet : RE: BDL expression dependency limit

Hi Patrick,
Here are some ideas based on previous suggestions. (Caveat - I haven't had to address issues with the expression dependency limit before.)

- Scott Criswell suggested "MaxExpDeps = 10" versus the default of 12. You could try experimenting with even lower numbers, until the problem goes away or you get a different problem from limiting the number of allowable references.

- Scott's other suggestions were as follows:

o BDL source code mods to increase the limit of exp dep lists

o removal of some fraction of the expressions contained in your INP file, and/or

o the addition of Set-Default statements in your INP file that replace additional BDL default expressions with static values or symbolic selections

- I like the Set-Default statements idea. Add commands within your expressions for SET-DEFAULT FOR SPACE, SET-DEFAULT FOR SYSTEM, SET-DEFAULT FOR ZONE etc. to reduce the number of DOE-2 default dependencies. There are many DOE-2 default expressions that are pretty elaborate, which could be replaced with uniform default values or simpler expressions. See for example, the DOE-2 default expression for ZONE:THERMOSTAT-TYPE.

- Using Input Macros in lieu of or in combination with keyword expressions may help. I am just starting to experiment with this BDL feature.
Regards,
Bill

William Bishop, PE, BEMP, BEAP, CEM, LEED AP | Pathfinder Engineers & Architects LLP
Senior Energy Engineer

[cid:image002.jpg at 01D17F77.CC587500] [cid:image003.jpg at 01D17F77.CC587500]

134 South Fitzhugh Street Rochester, NY 14608

T: (585) 698-1956 F: (585) 325-6005

bbishop at pathfinder-ea.com www.pathfinder-ea.com

[http://png-5.findicons.com/files/icons/977/rrze/720/globe.png]Carbon Fee and Dividend - simple, effective, and market-based.

Patrick Lapierre's picture
Joined: 2015-01-28
Reputation: 0