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

[EnergyPlus_Support] Re: Error message: in.idf missing



Dr. Li, thank you very much for the detailed explanation!  It helps me a great deal.

--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, YuanLu ¸µÏ» Li <yli006@...> wrote:
>
> 
> 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@...
> 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.exe, Delight2.dll, some post-process executable files, etc. I then created 1.idf and 1.epw as the input file and weather file. I ran it in DOS and it worked!
> 
> Is the above the correct way of using the batch file? Thanks!
> 
> --- In EnergyPlus_Support@xxxxxxxxxxxxxxx, "Steven (Xing) Shi" <SX99A@> wrote:
> >
> > 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-adjusting the design-simulation again" iteration many times before you can adequately explore the design space and find the best solution. This is often impossible in a real architectual design project due to the tight project schedule and sometimes, the unwillingness of the architect to repeat the same procedure many times. We believe it is a great obstacle to making the simulation part of the standard workflow for architectual firms.
> > 
> > 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@xxxxxxxxxxxxxxx, Linda Lawrie <linda@> wrote:
> > >
> > > 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
> > > energyplus
> > > 
> > > and each of these may use in.<something> as input, output a file 
> > > which gets copied to an in.idf for down the line.
> > > 
> > > Why are you running by hand, if I may ask?
> > > 
> > > At 09:18 AM 7/23/2009, Steven (Xing) Shi wrote:
> > > >Thank you! This helped. However, another arises. I got the 
> > > >following fatal message:
> > > >
> > > >The ExpandObjects program has not been run or is not in your 
> > > >EnergyPlus.exe folder.
> > > >
> > > >I checked the folder (both in Windows and DOS) and saw the 
> > > >ExpandObjects.exe file in the energyplus.exe folder.
> > > >
> > > >What is wrong here? Thanks!
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, Linda Lawrie <linda@> wrote:
> > > > >
> > > > > Are you going to the command window to run energyplus or trying to
> > > > > double click on it?
> > > > >
> > > > > If you open a command (aka DOS) window and do a dir to make sure
> > > > > in.idf is there (and isn't called something like in.idf.txt) then you
> > > > > should be able to just type EnergyPlus to run.
> > > > >
> > > > > If you're trying to use the RunEPlus batch file, the instructions
> > > > > would be different.
> > > > >
> > > > > At 08:55 AM 7/23/2009, Steven (Xing) Shi wrote:
> > > > > >Yes. I was in the EP root folder. My directory is as follows:
> > > > > >
> > > > > >E:\Research\Software\EnergyPlusV3-1-0
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >------------------------------------
> > > >
> > > >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.
> > > >Yahoo! Groups Links
> > > >
> > > >
> > > >
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _________________________________________________________________
> Attention all humans. We are your photos. Free us.
> http://go.microsoft.com/?linkid=9666047
>




------------------------------------

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.
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:EnergyPlus_Support-digest@xxxxxxxxxxxxxxx 
    mailto:EnergyPlus_Support-fullfeatured@xxxxxxxxxxxxxxx

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

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