<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Once again the members of this list have been invaluable!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks Susan, Jeff and Scott for having the right answer (a
minor line code add to the pd2 file).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>See Scott’s email below.  It worked perfectly:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>----------
Forwarded message ----------<br>
From: <b>Scott Criswell</b> <<a href="mailto:scott.criswell@doe2.com">scott.criswell@doe2.com</a>><br>
Date: Thu, Jan 28, 2010 at 4:52 PM<br>
Subject: Re: [Equest-users] Utility Rate Errors<br>
To: Susan F <<a href="mailto:modelsenergy@gmail.com">modelsenergy@gmail.com</a>><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>You
have run up against a hard-coded limit on BDL default expression dependency
lists.<br>
The following is a message I sent to another user after investigating and
dealing w/ a similar issue they encountered.  Given that the error doesn't
occur until you are processing the utility rates, you probably can get away w/
implementing #1 below - unless you have more complexity yet to add to your
project.<br>
---------------<br>
<span style='color:#333399'>You exceeded a more hard-coded limit in this
project - one having to do with BDL's default expression mechanism.  BDL
allows for just under 1,000,000 expression dependency lists (each keeps track
of all dependencies that a single BDL expression references), but this didn't
cut it for your project.<br>
I was however able to change a couple of things to squeeze the project in under
the wire.<br>
<br>
(1)  I added the following line immediately before the trailing '..' of
the Project component definition in the project's PD2 file:<br>
</span><tt><span style='font-size:10.0pt;color:#333399'>  
DetailedModelEdits = 1</span></tt><span style='font-size:10.0pt;font-family:
"Courier New";color:#333399'><br>
<tt>   ProjTreeType = ( 1, 1, 1, 1, 1, 1 )</tt><br>
<tt>   ProjTreeID = ( 10240000, 10081500, 10280021, 10640002,
10480018, </tt><br>
<tt>                 
10280020 )</tt><br>
<tt>   ProjTreeLabel = ( "...", "...",
"...", "...", "...", "..." )</tt><br>
<tt>   </tt></span><tt><span style='font-size:10.0pt;color:#CC0000'>MaxExpDeps
= 10</span></tt><span style='font-size:10.0pt;font-family:"Courier New";
color:#333399'><br>
<tt>   ..</tt><br>
</span><span style='color:#333399'>What the MaxExpDeps property does is specify
the maximum number of separate global parameter and local & parent keyword
references each expression in the model is able to specify.  The default
is 12, which is pretty excessive.  By lowering this to 10, we increase the
maximum number of exp dep lists from 924K -> 1M.  But of course, your
project required even MORE.<br>
<br>
(2)  I then went into <eQ Data>\DOE-2\BDLDft.dat (modified version
attached) and blasted all "C-" keyword default expressions, which are
only needed for models utilizing the Title-24 (or soon to be LEED baseline
generation) analysis capabilities.  By doing this, we help to minimize the
number of default expressions (also counted in the overall limit).  Not
sure exactly what the # of exp dep lists was after this change, but it seemed
to work.  The model now loads w/ no errors and simulates.<br>
<br>
If you have much/any complexity to still add to the project, one or more of the
following changes will likely be required:<br>
- BDL source code mods to increase the limit of exp dep lists,<br>
- removal of some fraction of the expressions contained in your INP file,
and/or<br>
- the addition of Set-Default statements in your INP file that replace
additional BDL default expressions with static values or symbolic selections.</span>
<br>
-------------------------------------------------<br>
<br>
Hope this helps.<br>
<br>
- Scott<o:p></o:p></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Susan F
[mailto:modelsenergy@gmail.com] <br>
<b>Sent:</b> Friday, May 14, 2010 3:25 PM<br>
<b>To:</b> James Hansen<br>
<b>Cc:</b> equest-users@lists.onebuilding.org<br>
<b>Subject:</b> Re: [Equest-users] Weird error, possibly model size?<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Yes, I have had this problem
and it is related to the size.  I will look for the information I received
about it and pass it along.  <o:p></o:p></p>

<div>

<p class=MsoNormal>On Fri, May 14, 2010 at 1:22 PM, James Hansen <<a
href="mailto:JHANSEN@ghtltd.com">JHANSEN@ghtltd.com</a>> wrote:<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I’ve
got a fairly big building model, and I’m getting the following error.  Has
anyone ever seen this “maximum number of expression dependency” error?<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>It
happens when loading up a specific System zone (the E28 North Perim Zn (B.N48)
everytime, and then causes weird things to occur in everything defined AFTER
that error.<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I
checked the input file, and nothing is different with that particular zone.<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>If
I delete the system associated with that zone, assign the zone to another
system, then the error happens on the NEXT component defined (the next
system).  To me it seems like it might be a size limitation in eQuest.<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I
can’t send out the .inp file, but was wondering if anyone has seen this?<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Could
it be the fact that the model is so big?  115k lines of code when this
happens.<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks
in advance!<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>Error!
Filename not specified.</b><o:p></o:p></p>

</div>

</div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>The information contained in this communication is confidential,
may be privileged, and is intended only for the use of the addressee.  It
is the property of GHT Limited.  Unauthorized use, disclosure or copying
of this communication or any part thereof is strictly prohibited and may be
unlawful.  If you have received this communication in error, please notify
me immediately by return e-mail or by e-mail to </span><span style='font-size:
10.0pt;color:black'><a href="mailto:ght@ghtltd.com"><span style='font-family:
"Arial","sans-serif"'>ght@ghtltd.com</span></a></span><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>, and destroy this
communication and all copies thereof, including all attachments.  Thank
you.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
Equest-users mailing list<br>
<a href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org</a><br>
To unsubscribe from this mailing list send  a blank message to <a
href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG">EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG</a><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

<!--[object_id=#ghtltd.com#]--><P align=left><FONT size=2><FONT face=Tahoma><FONT color=#0000ff>
<HR>
</FONT></FONT><FONT color=#0000ff><FONT color=#000000><FONT face=Arial>The information contained in this communication is confidential, may be privileged, and is intended only for the use of the addressee.  It is the property of GHT Limited.  Unauthorized use, disclosure or copying of this communication or any part thereof is strictly prohibited and may be unlawful.  If you have received this communication in error, please notify me immediately by return e-mail or by e-mail to </FONT><A href="mailto:ght@ghtltd.com"><FONT face=Arial>ght@ghtltd.com</FONT></A><FONT face=Arial>, and destroy this communication and all copies thereof, including all attachments.  Thank you.</FONT></FONT><FONT face=Tahoma color=#000000></FONT></P></FONT></FONT></html>