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

Re: [EnergyPlus_Support] Generating multiple weather files for SA&UA [2 Attachments]





This is  very easy if you do your runs using the runeplus.bat batch script.
Just write a master batch script that calls runeplus repetitively with the same input file name (idf) but changing the weather file, i.e.:

call runeplus [idf file name w/o the extension]  [weather file name w/o the epw extension]
call runeplus [idf file name w/o the extension]  [weather file name w/o the epw extension]

For example, if your idf file is called marko.idf, and the weather files are called  nis1.epw,  nis2.epw, nis3.epw,  etc. then the master batch file would be

call runeplus marko nis1
call runeplus marko nis2
call runeplus marko nis3

The one thing to remember in your case is to change runeplus.bat to copy the output files to [idf filename + epw filename]  instead of just [idf filename] or else you'll just get one set of output files since the idf filename is the same.

Then, after the master batch file has been run, you will get the output files as:

markonis1.eso, markonis1.rdd, etc.
markonis2.eso, markonis2.rdd, etc.

I know the runeplus.bat that comes with EnergyPlus has some "bells and whistles" that can be confusing and mask what's being done, which is actually quite simple - it copies the input idf and weather file to in.idf and in.epw, runs EnergyPlus, and then copies the output files (eplusout.*) to input file name.*(same output extension). 

Attached are an old runeplus.bat and runalleplus.bat set up to do 200+ EP runs at one shot. Your main problem will be in getting the locations (paths) of your input file and weather files correct, and then changing the output filename from "%output_path%%~1...  to "%output_path%%~1_%%~2...   or something like that.

Joe

Joe Huang 	
White Box Technologies, Inc.
346 Rheem Blvd., Suite 205A
Moraga CA 94556
yjhuang@xxxxxxxxxxxxxxxxxxxxxxxx
http://weather.whiteboxtechnologies.com for simulation-ready weather data
http://www.whiteboxtechnologies.com
(o) (925)388-0265
(c) (510)928-2683
"building energy simulations at your fingertips"
On 7/14/2015 3:23 PM, marko.ignjatovic1980@xxxxxxxxx [EnergyPlus_Support] wrote:
 

Hi all,


i am trying out to create hundreds of weather files where only temperatures for 1 (max 2) day will be perturbed. I know that every csv weather file requires a def file (all of them will have the same structure, only the names will defer) and this can be done from outsource, but my concern is how to run simulations for the same idf file with various weather files. Is there some kind of parametric processor like jEplus or similar that can do the job?


Marko




__._,_.___
View attachments on the web

Posted by: Joe Huang <yjhuang@xxxxxxxxxxxxxxxxxxxxxxxx>


Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

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 currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.





__,_._,___
Attachment not found:
D:\Eudora\Attach\runalleplus.ba_
Attachment not found:
D:\Eudora\Attach\RunEPlus.ba_