[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EnergyPlus_Support] macro input



Hi All ! 
I am trying to learn how to use macro commands.

1. Where can I find some material and examples ( I found some at the 
auxiliary programs pdf ?). is there is some more?

2.I tryed to run som simple macro line :
##def Period[m]
RunPeriod,
    m,                       !- Begin Month
    2,                      !- Begin Day Of Month
    m,                       !- End Month
    2,                      !- End Day Of Month
    Monday,                  !- Day Of Week For Start Day
    No,                      !- Use WeatherFile Holidays/Special Days
    No,                      !- Use WeatherFile DaylightSavingPeriod
    No,                      !- Apply Weekend Holiday Rule
    No,                      !- Use WeatherFile Rain Indicators
    No;                      !- Use WeatherFile Snow Indicators


##enddef;
RunPeriod,Period[8];
    

and the output was :
 
IDF Line=95 ##def Period[m]
   ** Severe  ** , or ; expected on this line
   ************* IDF Context for following error/warning message:
   *************     96 RunPeriod,
   *************     97     m,                       !-
   ** Severe  ** Invalid Number in Numeric Field#1 (Begin Month), 
value=M, in RUNPERIOD
   ************* IDF Line=109 ##enddef
   ** Severe  ** , or ; expected on this line
   ************* IDF Context for following error/warning message:
   *************    112 RunPeriod,Period[8];
   ** Severe  ** Invalid Number in Numeric Field#1 (Begin Month), 
value=PERIOD[8], in RUNPERIOD

Does anyone understands ?
Thanks 
Itamar



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/dkFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx

The primary EnergyPlus web site is found at:
http://www.energyplus.gov

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are not allowed -- please post any files to the appropriate folder in the Files are of the Support Web Site.




 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/