<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>
<p class=MsoNormal><span style='color:#1F497D'>Just an update since the
responses I received were only to me:<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'>Apparently eQuest can’t
really handle macros – that was a DOE2 function that wasn’t
incorporated into eQuest, even though it shows up in the help file.<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 would love to be corrected
otherwise, but that was the response I get from several people (thanks by the
way!).<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'>However, my whole purpose for
wanting macros to work was to simplify input. I suppose it’s
possible that I could take the .inp file created by eQuest, run it thru the
DOS-based DOE2 processor to run the macros, and then reopen with eQuest (and
repeat every time I want to process something). Not ideal, but it might
make things easier for jobs where I have 300+ spaces.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><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"'> Grando, John
[mailto:JGrando@cosentini.com] <br>
<b>Sent:</b> Tuesday, January 05, 2010 8:35 AM<br>
<b>To:</b> James Hansen<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='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Please let me know if you get any clarification on this. I
have been trying the same thing but have been getting similar results</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
</div>
<p><br>
<b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>John
Grando</span></b><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>
<span style='color:blue'>LEED AP</span>| <span style='color:gray'>Mechanical
Engineer</span></span><br>
</b><br>
<span style='font-family:"Arial","sans-serif"'> </span> <o:p></o:p></p>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><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"'> James Hansen [mailto:JHANSEN@ghtltd.com] <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?</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></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@01CA8DE2.902EC530"></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>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
NOTICE OF CONFIDENTIALITY This E-mail message and its attachments (if any) are
intended solely for the use of the addressees hereof. In addition, this message
and the attachments (if any) may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If you are not the
intended recipient of this message, you are prohibited from reading,
disclosing, reproducing, distributing, disseminating or otherwise using this
transmission. Delivery of this message to any person other than the intended
recipient is not intended to waive any right or privilege. If you have received
this message in error, please promptly notify the sender by reply E-mail and
immediately delete this message from your system. <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>