<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" 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.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle19
{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;
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="2050" />
</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'>Doug and Brian,<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'>Thanks for your recommendations –
unfortunately neither of them worked (using ##set1 and removing quotes).<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'>Here is the “example”
directly from the DOE2 pdf:<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'><img width=519 height=384
id="Picture_x0020_7" src="cid:image003.png@01CA8D3D.EB10F900"></span><span
style='color:#1F497D'><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'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I made a very similar macro,
except defined:<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'>##def GHTclassify<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'> CONDITIONED<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> PEOPLE-SCHEDULE =
"EL1 Bldg Occup Sch - Office"<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'>##enddef<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'>And used the command line <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'>ZONE-TYPE
= GHTclassify[]<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'>With the thought that the result
should be equivalent to:<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'>ZONE-TYPE
= CONDITIONED<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>PEOPLE-SCHEDULE = "EL1 Bldg
Occup Sch - Office"<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'>Just like in the example.
But unfortunately, when I open the BDL file, it shows the translated command
as:<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'> *1502 *
"EL1 South Perim
Spc (G.S1) - Office" = SPACE<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> *1503
* SHAPE
= POLYGON<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> *1504 *
ZONE-TYPE
= GHTclassify[]<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> .1* 9
* PEOPLE-SCHEDULE
= "EL1 Bldg Occup Sch - Office"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> .1* 10
* <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> *1505
* LIGHTING-SCHEDUL = (
"EL1 Bldg InsLt Sch" )<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'><o:p> </o:p></span></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!<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'>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.<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'>Any thoughts?<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='font-family:"Arial","sans-serif";color:teal'>GHT
Limited<br>
</span></b><b><span style='font-family:"Arial","sans-serif"'><ns0:PersonName><span
style='color:black'>James Hansen</span></ns0:PersonName></span></b><b><span
style='color:black'>, PE, LEED AP<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Senior Associate</span></b><b><span style='color:black'><o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><ns0:Street><ns0:address><span
style='color:black'>1010 N. Glebe Rd, Suite 200</span></ns0:address></ns0:Street></span><span
style='color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><ns0:place><ns0:City><span
style='color:black'>Arlington</span></ns0:City><span style='color:black'>, </span><ns0:State><span
style='color:black'>VA</span></ns0:State><span style='color:black'> </span><ns0:PostalCode><span
style='color:black'>22201-4749</span></ns0:PostalCode></ns0:place></span><span
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-338-5754 (Cell)</span><span style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-243-1200 (Office)</span><span style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>703-276-1376 (Fax)</span><span style='color:black'><o:p></o:p></span></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><o:p></o:p></span></p>
<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"'>
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?<o:p></o:p></span></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><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>