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

Re: [EnergyPlus_Support] Which BAT file to use for own User Interface and how to pass params





Hello guys,

thank you for your support.
I just tried myself at the RunEPlus.bat. I passed the two arguments:
IDF: C:\EnergyPlusV7-2-0\RaumA.idf
weatherDataFile: C:\EnergyPlusV7-2-0\USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw

but in my .err file there is the following error message:

...

** Severe  ** Weather Simulation requested, but no weather file attached.
   ** Severe  ** GetNextEnvironment: Errors found in getting a new environment
   **  Fatal  ** Error condition occurred.  Previous Severe Errors cause termination.
   ...Summary of Errors that led to program termination:
   ..... Reference severe error count=2
   ..... Last severe error=GetNextEnvironment: Errors found in getting a new environment
   ************* Warning:  Node connection errors not checked - most system input has not been read (see previous warning).
   ************* Fatal error -- final processing.  Program exited before simulations began.  See previous error messages.

...

Can you tell me whats wrong?

Rick


On Tuesday, January 14, 2014 8:31 PM, Edwin Lee <leeed2001@xxxxxxxxx> wrote:
 
This isn't really an EnergyPlus question, it's a batch file question.  

In batch, you reference the variables you created (epin, epout) using pre and post fixed percents (%epin%, %epout%).  I don't know where you got the word PARAM from, but just change it to epl-run.bat %epin% %epout% %etc% %etc% and it should work.  (%etc% is not a variable, put the rest of your variables there.)  

As Jason mentioned, you might also want to use the other batch file, but the same approach will apply for passing variables.


On Tue, Jan 14, 2014 at 12:23 PM, <maier.heinrich@xxxxxxxxx> wrote:
 
Hello guys,

i`m still a student and working at my bachelor thesis.

I use EnergyPlus v 7.2 and have big problems.

I created an application and java where the user can create a valid Input Data File. I now need to execute EnergyPlus via batch file. 

I assume I have to use Epl-run.bat to start the batch process. But how to pass parameters? I tried the following at the windows console:

But how do I pass/set the parameters? Up to now I tried it like this:

Open cmd:

SET epin=C:\EnergyPlusV7-2-0\ExampleFiles\1ZoneEvapCooler

SET epout= C:\output\output

SET epinext= idf

SET epwthr = USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw

SET maxcol = nolimit

SET cntActv = 1

C:\EnergyPlusV7-2-0\Epl-run.bat PARAM


This doesn`t work and I don`t know whats wrong... Can anybody help me?

Best Regards,
Rick



--
Edwin Lee, PhD
Engineer, Commercial Buildings Research Staff
National Renewable Energy Laboratory





__._,_.___


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.




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

__,_._,___