If you read the instruction in batch file, you will understand more on how it is arranged. One of the batch files to pass the parameters to set up the path. This is done by the EPlaunch, if you use this interface. ================= : Set the variables if a command line is used IF "%9"=="" GOTO skipSetParams SET epin=%~1 SET epout=%~2 SET epinext=%3 SET epwthr=%~4 SET eptype=%5 SET pausing=%6 SET maxcol=%7 SET convESO=%8 SET procCSV=%9 :skipSetParams ================ Normally, you only pass the user directories (EPin and EPout) and use all the other EP programs in the root directory and the original directory. For example, the weather file can remains in the WeatherData folder (%~4) and pass the directory name and file name to the batch file. If you are using the same weather file and location, you can hard code these in the batch file by commenting out some of the substitution set lines and replace them with the hard coded ones. This modified batch file can reside in the root directory or in your user directory with proper adjustment in the environment passed. If you do not use the macro expansion, you can also comment that part out. However, using macro may help changing a section of the IDF file quickly and conditionally. Batch file can be written to change the values in the object of the IDF file by colling text editor function. However, you may be able to change the object values easier using the .IMF file after each simulation and continue with another simulation with a different set of object values. I have not tried this myself, but should be possible. Dr. Li To: EnergyPlus_Support@xxxxxxxxxxxxxxx From: SX99A@xxxxxxxxx Date: Fri, 24 Jul 2009 09:36:08 +0000 Subject: [EnergyPlus_Support] Re: Error message: in.idf missing
Good news! I figured out a way using RunEPlus batch file. I created a folder and copied a bunch of necessary files into the folder such as ExpandObjects.
Is the above the correct way of using the batch file? Thanks! --- In EnergyPlus_Support@ > > First of all, thank you for your kind answer! > > Let me explain why I am running it by hand or using batch file instead of using more straightforward EP-Launch. > > I am working in an architecture program in a Chinese university. In architectural design, the latest development is to incorporate simulation tools such as EP to assist architects making decisions. However, the traditional way of using simulation programs is not the most effective one in our opinion because you need to do the "conceptual design-simulation- > > Our latest research work involves using engineering optimization softwares to establish a workflow linking the input parameters (representing the design) to a certain optimization algorithm (such as GA - Genetic Algorith) and then to the simulation program on the back stage. This way, the optimization can be done automatically. It can try hundreds of possible designs in a relatively short period. To do this, we can't just use the EP-Launch. Rather, we have to write our own batch file. Therefore, I need to take the hard road to understand how EP really works on the basic level. > > I am no expert on EP but want to become one if I can. :) So far, I have had some difficulties using EP. This group really helps. > > Hope this explains my situation. Thanks! > > > > > --- In EnergyPlus_Support@ > > > > If you're doing things by hand, you'll need to follow (or write your > > own) batch file to mirror what our batch files do. > > > > You're gettting this message, most likely, because you have > > HVACTemplate objects in your in.idf but haven't run the ExpandObjects > > program which changes them from HVACTemplate to the other "native" objects. > > > > If memory serves, we run: > > epmacro > > expandobjects Attention all humans. We are your photos. Free us. __._,_.___ 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 area of the Support Web Site. EnergyPlus Documentation is searchable. Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |