[Equest-users] help with macros?

Robby Oylear robbyo at rushingco.com
Tue Jan 5 08:06:52 PST 2010


Text editors are your friend.  If you need to change the people schedule
for 300 spaces then just do a find/replace in a text editor.  However to
really do anything remotely complicated like replacing all people
schedules (with different names per shell like eQUEST likes to create) you
need a text editor that can handle macros.   I use Boxer Text Editor and
it can do some pretty impressive stuff with the macro functions.

 

Robby Oylear, LEEDR AP

Mechanical Engineer

direct: 206.788.4571

cell: 206.354.2721

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

 

From: equest-users-bounces at lists.onebuilding.org
[mailto:equest-users-bounces at lists.onebuilding.org] On Behalf Of James
Hansen
Sent: Tuesday, January 05, 2010 5:48 AM
To: equest-users at lists.onebuilding.org
Cc: Grando, John
Subject: Re: [Equest-users] help with macros?

 

Just an update since the responses I received were only to me:

 

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.

 

I would love to be corrected otherwise, but that was the response I get
from several people (thanks by the way!).

 

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.

 

 

 

From: Grando, John [mailto:JGrando at cosentini.com] 
Sent: Tuesday, January 05, 2010 8:35 AM
To: James Hansen
Subject: RE: [Equest-users] help with macros?

 

Please let me know if you get any clarification on this.  I have been
trying the same thing but have been getting similar results

 


John Grando LEED AP| Mechanical Engineer

  

 

 

  _____  

From: James Hansen [mailto:JHANSEN at ghtltd.com] 
Sent: Monday, January 04, 2010 1:01 PM
To: equest-users at lists.onebuilding.org
Subject: Re: [Equest-users] help with macros?

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)

 <http://www.ghtltd.com/> 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)

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


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. 

  _____  

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  <mailto:ght at ghtltd.com>
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/20100105/27ae988b/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 41179 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20100105/27ae988b/attachment-0002.png>


More information about the Equest-users mailing list