[Equest-users] help with macros?

James Hansen JHANSEN at ghtltd.com
Mon Jan 4 10:00:42 PST 2010


Doug and Brian,

 

Thanks for your recommendations - unfortunately neither of them worked
(using ##set1 and removing quotes).

 

Here is the "example" directly from the DOE2 pdf:

 

 

 

 

I made a very similar macro, except defined:

 

##def GHTclassify

 

  CONDITIONED

  PEOPLE-SCHEDULE = "EL1 Bldg Occup Sch - Office"

 

##enddef

 

And used the command line 

 

ZONE-TYPE        = GHTclassify[]

 

With the thought that the result should be equivalent to:

 

ZONE-TYPE        = CONDITIONED

PEOPLE-SCHEDULE = "EL1 Bldg Occup Sch - Office"

 

Just like in the example.  But unfortunately, when I open the BDL file,
it shows the translated command as:

 

     *1502 *           "EL1 South Perim Spc (G.S1) - Office" = SPACE

     *1503 *           SHAPE            = POLYGON

     *1504 *           ZONE-TYPE        = GHTclassify[]

   .1*   9 *              PEOPLE-SCHEDULE = "EL1 Bldg Occup Sch -
Office"

   .1*  10 *  

     *1505 *           LIGHTING-SCHEDUL = ( "EL1 Bldg InsLt Sch" )

 

 

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!

 

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.

 

Any thoughts?

 

GHT Limited
James Hansen, PE, LEED AP

Senior Associate

1010 N. Glebe Rd, Suite 200

Arlington, VA  22201-4749

703-338-5754 (Cell)

703-243-1200 (Office)

703-276-1376 (Fax)

www.ghtltd.com <http://www.ghtltd.com/> 

 

 

From: equest-users-bounces at lists.onebuilding.org
[mailto:equest-users-bounces at lists.onebuilding.org] On Behalf Of James
Hansen
Sent: Monday, January 04, 2010 11:51 AM
To: equest-users at lists.onebuilding.org
Subject: [Equest-users] help with macros?

 

I'm just getting started playing around with macros, and had a quick
question:

 

I current have a macro defined in my .inp file as follows:

 

##def GHTclassify

 

EL1 Bldg Occup Sch - Office

 

##enddef

 

I entered this directly after the first "INPUT .." line of the .inp
file.  Is this the correct place to define macros?  Does it matter?

 

Further down when I describe a space, I have the following:

 

"EL1 South Perim Spc (G.S1) - Office" = SPACE           

   SHAPE            = POLYGON

   ZONE-TYPE        = CONDITIONED

   PEOPLE-SCHEDULE  = "GHTclassify[]"

   //lots of info on lighting, equipment, infiltration, etc

   POLYGON          = "EL1 Space Polygon 1"

   LOCATION         = FLOOR-V1

   ..

 

The "EL1 Bldg Occup Sch - Office" is a valid annual schedule.

 

However, I'm getting an error that basically says GHTclassify was never
defined.

 

Any idea what I'm doing wrong?  I thought I copied this perfectly out of
the DOE2 Topic section.

 

Thanks in advance!

 

GHT Limited
James Hansen, PE, LEED AP

Senior Associate

1010 N. Glebe Rd, Suite 200

Arlington, VA  22201-4749

703-338-5754 (Cell)

703-243-1200 (Office)

703-276-1376 (Fax)

www.ghtltd.com <http://www.ghtltd.com/> 

 

 

________________________________

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 ght at ghtltd.com
<mailto:ght at ghtltd.com> , and destroy this communication and all copies
thereof, including all attachments.  Thank you.


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 ght at ghtltd.com, and destroy this communication and all copies thereof, including all attachments.  Thank you.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20100104/31f51222/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 41179 bytes
Desc: image003.png
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20100104/31f51222/attachment.png>


More information about the Equest-users mailing list