<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"
xmlns:ns0="urn:schemas-microsoft-com:office:smarttags">

<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:11.0pt;
        font-family:"Calibri","sans-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";}
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.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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>

<div>

<p class=MsoNormal><span style='color:#1F497D'>I’m sorry to spam the
board with my macro questions, but if anyone has a spare minute, would they
mind inserting this command into a test INP file of theirs (right after the
INPUT ..) line, and run it, and tell me if it crashes eQuest?<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:teal'>##set1
dumb_macros “not working”<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:teal'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>No matter what I name the macro
name (“dumb_macros” in this case), and no matter what I have as the
value (text, number, etc), whenever I open the project file from eQuest, it
goes thru the entire loading of the BDL with no errors, but then simply
terminates the program without any error messages or anything.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I’ve tried the ##set1,
##def, and ##def1 commands, and none seem to work.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I don’t even have to
reference the macro name in the body of the input file for it to crash –
simply defining it does that.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I’ve tried with v3.63 and
v3.61, and it crashes in both versions.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Am I defining the macros in the
wrong location?</span><b><span style='color:#31849B'><o:p></o:p></span></b></p>

</div>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<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"'>
equest-users-bounces@lists.onebuilding.org
[mailto:equest-users-bounces@lists.onebuilding.org] <b>On Behalf Of </b>James
Hansen<br>
<b>Sent:</b> Monday, January 04, 2010 1:01 PM<br>
<b>To:</b> equest-users@lists.onebuilding.org<br>
<b>Subject:</b> Re: [Equest-users] help with macros?<o:p></o:p></span></p>

</div>

</div>

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

<p class=MsoNormal><span style='color:#1F497D'>Doug and Brian,</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks for your recommendations
– unfortunately neither of them worked (using ##set1 and removing
quotes).</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Here is the
“example” directly from the DOE2 pdf:</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'><img width=519 height=384
id="Picture_x0020_7" src="cid:image001.png@01CA8D54.F1FD2970"></span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>I made a very similar macro,
except defined:</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>##def GHTclassify</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>  CONDITIONED</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>  PEOPLE-SCHEDULE =
"EL1 Bldg Occup Sch - Office"</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>##enddef</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>And used the command line </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>ZONE-TYPE       
= GHTclassify[]</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>With the thought that the result
should be equivalent to:</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>ZONE-TYPE       
= CONDITIONED</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>PEOPLE-SCHEDULE = "EL1 Bldg
Occup Sch - Office"</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Just like in the example. 
But unfortunately, when I open the BDL file, it shows the translated command
as:</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>     *1502 *
          "EL1 South Perim
Spc (G.S1) - Office" = SPACE</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>     *1503
*          
SHAPE            =
POLYGON</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>     *1504 *
         
ZONE-TYPE        = GHTclassify[]</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>   .1*   9
*             
PEOPLE-SCHEDULE = "EL1 Bldg Occup Sch - Office"</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>   .1*  10
*  </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>     *1505
*           LIGHTING-SCHEDUL = (
"EL1 Bldg InsLt Sch" )</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>In other words, it’s not
pulling the “CONDITIONED” in to the zone-type line as in the
example, but it IS pulling in the People schedule.  Makes no sense to me!</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>The only thing different in my
case is I don’t have the “..” in the ##def because I
don’t want this to end the space definition.</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Any thoughts?</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<div>

<p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:teal'>GHT
Limited<br>
</span></b><b><span style='font-family:"Arial","sans-serif";color:black'>James
Hansen</span><span style='color:black'>, PE, LEED AP</span></b><o:p></o:p></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Senior Associate</span></b><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>1010 N. Glebe Rd, Suite 200</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>Arlington, VA  22201-4749</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-338-5754 (Cell)</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-243-1200 (Office)</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-276-1376 (Fax)</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:teal'><a
href="http://www.ghtltd.com/"><span style='font-size:10.0pt'>www.ghtltd.com</span></a></span><o:p></o:p></p>

<p class=MsoNormal><b><span style='color:#31849B'> </span></b><o:p></o:p></p>

</div>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<div>

<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"'> equest-users-bounces@lists.onebuilding.org
[mailto:equest-users-bounces@lists.onebuilding.org] <b>On Behalf Of </b>James
Hansen<br>
<b>Sent:</b> Monday, January 04, 2010 11:51 AM<br>
<b>To:</b> equest-users@lists.onebuilding.org<br>
<b>Subject:</b> [Equest-users] help with macros?</span><o:p></o:p></p>

</div>

</div>

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

<p class=MsoNormal>I’m just getting started playing around with macros,
and had a quick question:<o:p></o:p></p>

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

<p class=MsoNormal>I current have a macro defined in my .inp file as follows:<o:p></o:p></p>

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

<p class=MsoNormal>##def GHTclassify<o:p></o:p></p>

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

<p class=MsoNormal>EL1 Bldg Occup Sch - Office<o:p></o:p></p>

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

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

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

<p class=MsoNormal>I entered this directly after the first “INPUT
..” line of the .inp file.  Is this the correct place to define
macros?  Does it matter?<o:p></o:p></p>

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

<p class=MsoNormal>Further down when I describe a space, I have the following:<o:p></o:p></p>

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

<p class=MsoNormal>"EL1 South Perim Spc (G.S1) - Office" =
SPACE           <o:p></o:p></p>

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

<p class=MsoNormal>  
ZONE-TYPE        = CONDITIONED<o:p></o:p></p>

<p class=MsoNormal>   PEOPLE-SCHEDULE  =
"GHTclassify[]"<o:p></o:p></p>

<p class=MsoNormal>   //lots of info on lighting, equipment,
infiltration, etc<o:p></o:p></p>

<p class=MsoNormal>  
POLYGON          = "EL1 Space
Polygon 1"<o:p></o:p></p>

<p class=MsoNormal>  
LOCATION         = FLOOR-V1<o:p></o:p></p>

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

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

<p class=MsoNormal>The “EL1 Bldg Occup Sch – Office” is a
valid annual schedule.<o:p></o:p></p>

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

<p class=MsoNormal>However, I’m getting an error that basically says
GHTclassify was never defined.<o:p></o:p></p>

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

<p class=MsoNormal>Any idea what I’m doing wrong?  I thought I
copied this perfectly out of the DOE2 Topic section.<o:p></o:p></p>

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

<p class=MsoNormal>Thanks in advance!<o:p></o:p></p>

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

<p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:teal'>GHT
Limited<br>
</span></b><b><span style='font-family:"Arial","sans-serif";color:black'>James
Hansen</span><span style='color:black'>, PE, LEED AP</span></b><o:p></o:p></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Senior Associate</span></b><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>1010 N. Glebe Rd, Suite 200</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>Arlington, VA  22201-4749</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-338-5754 (Cell)</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-243-1200 (Office)</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-276-1376 (Fax)</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:teal'><a
href="http://www.ghtltd.com/"><span style='font-size:10.0pt'>www.ghtltd.com</span></a></span><o:p></o:p></p>

<p class=MsoNormal><b><span style='color:#31849B'> </span></b><o:p></o:p></p>

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

<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;font-family:"Times New Roman","serif";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>

<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;font-family:"Times New Roman","serif";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><span style='font-size:10.0pt;font-family:
"Times New Roman","serif";color:blue'><o:p></o:p></span></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>