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

Re: [EnergyPlus_Support] Run without EP-Launch @NO2



If you would like to edit the batch file try this:

Find these lines in RunEPlus.bat:
:  4. Test for weather file parameter and copy to working directory
 if "%2" == ""  goto exe
 if EXIST %weather_path%%2.epw copy %weather_path%%2.epw in.epw

Change these lines to this:
:  4. Test for weather file parameter and copy to working directory
 if EXIST "%weather_path%YourWeatherFileName.epw" copy 
"%weather_path%YourWeatherFileName.epw" in.epw

Where %2=YourWeatherFileName = USA_CA_San.Francisco_TMY2 for example.

Notes:
The ":" is a comment line
Since %2 does not exist, remove the line  if "%2" == ""  goto exe
You will need to include the quotes if your weather file name has 
spaces, otherwise you do not need them.


Richard Raustad wrote:

> Since RunEPlus is a batch file, it reads the inputs on a single line
> where <input_file_name> = %p1 and <weather_file_name> = %p2.
>
> Since DOS will execute each line you type at the prompt and complete
> before returning control to the DOS prompt, you can not "pass" the
> weather file name on the second line. The fatal error occurs because the
> weather file was not included on the first line shown below (as the
> second parameter). The batch file will have to be edited or a new batch
> file created to accomplish your goal.
>
> If you could give a better explanation of how and why you would like to
> do this, maybe the support team could come up with some suggestions.
>
> daiounomiso wrote:
>
> > Hello.
> >
> > I have another question about running EnergyPlus using RunEPlus.bat.
> >
> > That way was shown in GettingStarted.pdf.
> >
> > For example, if I will install EnergyPlus into [D:\EnergyPlusV1-2-3],
> > I could run EnergyPlus by writting as follows in DOS Window.
> >
> > D:\EnergyPlusV1-2-3>RunEPlus <input_file_name> <weather_file_name>
> >
> > I understand it and a test is coplete,
> > but I hope to make a success of another way.
> > I hope that EnergyPlus can run by writting as follows.
> >
> > C:\>D:\EnergyPlusV1-2-3>RunEPlus <input_file_name>
> > <weather_file_name>
> >
> > But it brings Fatal Error, and a simulation terminates.
> >
> > Would you tell me the way if I can make a success of this run
> > by modifying the batch file and so on?
> >
> > Thank you in advance.
> >
> > Tetsuji
> >
> >
> >
> >
> >
> > 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.idf and
> > press the "search" button.
> >
> >
> >
> >
> > SPONSORED LINKS
> > Maintenance program software
> > 
> <http://groups.yahoo.com/gads?t=ms&k=Maintenance+program+software&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=6g51y7ltT69Cg1Chz3xzyw 
> <http://groups.yahoo.com/gads?t=ms&k=Maintenance+program+software&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=6g51y7ltT69Cg1Chz3xzyw>> 
>
> >       Wedding program software
> > 
> <http://groups.yahoo.com/gads?t=ms&k=Wedding+program+software&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=7BS8TeOSpqrbPaG-pv9LjQ 
> <http://groups.yahoo.com/gads?t=ms&k=Wedding+program+software&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=7BS8TeOSpqrbPaG-pv9LjQ>> 
>
> >       Medical software program
> > 
> <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=Aj6Ul-PCUVz0CTItImgxmw 
> <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=Aj6Ul-PCUVz0CTItImgxmw>> 
>
> >
> > Email software program
> > 
> <http://groups.yahoo.com/gads?t=ms&k=Email+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=si-YSUsww_dMfSGhK_WH6w 
> <http://groups.yahoo.com/gads?t=ms&k=Email+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=si-YSUsww_dMfSGhK_WH6w>> 
>
> >       Cad software program
> > 
> <http://groups.yahoo.com/gads?t=ms&k=Cad+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=jlZ2hN-wIxXVOCVUsbmbZg 
> <http://groups.yahoo.com/gads?t=ms&k=Cad+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=jlZ2hN-wIxXVOCVUsbmbZg>> 
>
> >       Backup software program
> > 
> <http://groups.yahoo.com/gads?t=ms&k=Backup+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=26nNTdKLeCN9R_THzKv-Ig 
> <http://groups.yahoo.com/gads?t=ms&k=Backup+software+program&w1=Maintenance+program+software&w2=Wedding+program+software&w3=Medical+software+program&w4=Email+software+program&w5=Cad+software+program&w6=Backup+software+program&c=6&s=177&.sig=26nNTdKLeCN9R_THzKv-Ig>> 
>
> >
> >
> >
> > ------------------------------------------------------------------------
> > YAHOO! GROUPS LINKS
> >
> >     *  Visit your group "EnergyPlus_Support
> >       <http://groups.yahoo.com/group/EnergyPlus_Support>" on the web.
> >       
> >     *  To unsubscribe from this group, send an email to:
> >        EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx
> >       
> <mailto:EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
> >       
> >     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------------------------------------------------
> >
>
> -- 
> Richard A. Raustad
> Senior Research Engineer
> Florida Solar Energy Center
> University of Central Florida
> 1679 Clearlake Road
> Cocoa, FL  32922-5703
> Phone:   (321) 638-1454
> Fax:     (321) 638-1439 or 1010
> Visit our web site at: http://www.fsec.ucf.edu
>
> UCF - From Promise to Prominence: Celebrating 40 Years
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> 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.idf and 
> press the "search" button.
>
>
>
>
> SPONSORED LINKS
> Wedding program software 
> <http://groups.yahoo.com/gads?t=ms&k=Wedding+program+software&w1=Wedding+program+software&w2=Backup+software+program&w3=Medical+software+program&w4=Maintenance+program+software&w5=Email+software+program&w6=Cad+software+program&c=6&s=177&.sig=HJ0g8uuSG_DBv8nPOFD1RA> 
> 	Backup software program 
> <http://groups.yahoo.com/gads?t=ms&k=Backup+software+program&w1=Wedding+program+software&w2=Backup+software+program&w3=Medical+software+program&w4=Maintenance+program+software&w5=Email+software+program&w6=Cad+software+program&c=6&s=177&.sig=dtWr5roIlu0XYZeO9hu5YQ> 
> 	Medical software program 
> <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Wedding+program+software&w2=Backup+software+program&w3=Medical+software+program&w4=Maintenance+program+software&w5=Email+software+program&w6=Cad+software+program&c=6&s=177&.sig=vt2LxdTPNW7Gx5pFjp5fIg> 
>
> Maintenance program software 
> <http://groups.yahoo.com/gads?t=ms&k=Maintenance+program+software&w1=Wedding+program+software&w2=Backup+software+program&w3=Medical+software+program&w4=Maintenance+program+software&w5=Email+software+program&w6=Cad+software+program&c=6&s=177&.sig=QOH7EYDJVUL0ulYyZGK_-g> 
> 	Email software program 
> <http://groups.yahoo.com/gads?t=ms&k=Email+software+program&w1=Wedding+program+software&w2=Backup+software+program&w3=Medical+software+program&w4=Maintenance+program+software&w5=Email+software+program&w6=Cad+software+program&c=6&s=177&.sig=TwE42fP5p6dho6kJhjGpww> 
> 	Cad software program 
> <http://groups.yahoo.com/gads?t=ms&k=Cad+software+program&w1=Wedding+program+software&w2=Backup+software+program&w3=Medical+software+program&w4=Maintenance+program+software&w5=Email+software+program&w6=Cad+software+program&c=6&s=177&.sig=RRkCFQ67wLO-l644iZFLzg> 
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "EnergyPlus_Support
>       <http://groups.yahoo.com/group/EnergyPlus_Support>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx
>       <mailto:EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>

-- 
Richard A. Raustad
Senior Research Engineer
Florida Solar Energy Center
University of Central Florida
1679 Clearlake Road
Cocoa, FL  32922-5703
Phone:   (321) 638-1454
Fax:     (321) 638-1439 or 1010
Visit our web site at: http://www.fsec.ucf.edu

UCF - From Promise to Prominence: Celebrating 40 Years



[Non-text portions of this message have been removed]



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.idf and press the "search" button.
 
Yahoo! Groups Links

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

<*> 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/