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

Re: [EnergyPlus_Support] Macro for multy-files running



EzPlus-Parm is a free windows tool available from the Deringer Group for 
managing parametric runs:  

http://www.deringergroup.com/Software/EPlusTools.htm

Of, if you prefer to write your own batch files, you can set up a master 
batch file such as this:

echo ##set1 MyParameter 01 > Parameters.imf
call RunEplus.bat inputfilename weatherfilename
echo ##set1 MyParameter 02 > Parameters.imf
call RunEplus.bat inputfilename weatherfilename

etc.

This batch file writes an ep-macro ##set1 command to a temporary file call 
Parameters.imf and then calls the RunEplus batch file which is included in 
the EnergyPlus distribution.  For v1.1.1 please download the fixed version 
of RunEPlus.bat from 

http://groups.yahoo.com/group/EnergyPlus_Support/files/Updates/Windows/


Then in your input file (which must be a .imf file), use ep-macro commands 
to include the parameters file and set a value based on the parameter:

##show
##showdetail
##include Parameters.imf

  Version,
    1.1.1;  !- Version Identifier

  BUILDING,
    Simple One Zone (no roof-no floor),  !- Building Name
    MyParameter[],  !- North Axis {deg}
    Suburbs,  !- Terrain
    3.9999999E-02,  !- Loads Convergence Tolerance Value {W}
    4.0000002E-03,  !- Temperature Convergence Tolerance Value {deltaC}
    MinimalShadowing,  !- Solar Distribution
    25;  !- Maximum Number of Warmup Days

etc.

This example would set the building north axis to be the value of 
MyParameter as set in the master batch file.

Mike




On 13 Nov 2003, at 13:06, itamargoldberger wrote:

> I have to run about 60 files with 1 parameter changing between them.
> Does anyone knows a macro doing it automaticly ? Itamar.
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~--> Buy Ink Cartridges or Refill Kits for your
> HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders
> $50 or more to the US & Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/ 
> 



========================================================
Michael J. Witte, GARD Analytics, Inc.
EnergyPlus Testing and Support      
EnergyPlus-Support@xxxxxxxx


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/