help with macros?

6 posts / 0 new
Last post

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!

James Hansen, PE, LEED AP

James Hansen's picture
Offline
Joined: 2011-09-30
Reputation: 200