[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





Hi Heinrich,

Here is a sample line that will run "sample1.idf" file located at "c:\testDir" using San Fransisco epw weather data.

C:\EnergyPlusV7-2-0\Epl-run c:\testDir\sample1 c:\testDir\sample1 idf C:\EnergyPlusV7-2-0\WeatherData\USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw EP N nolimit N N 0 Y

Hope it helps,
Mostapha



On Tue, Jan 14, 2014 at 3:50 PM, Heinrich Maier <maier.heinrich@xxxxxxxxx> wrote:
 

Sorry guys,

think i got it. 

Guess I`m a big dumbass. :-)

If it doesn`t work like i think I will notify you as soon as possible.

Thanks


On , Heinrich Maier <maier.heinrich@xxxxxxxxx> wrote:
Oh dear,

i don`t get it.

Here is my path to EnergyPlus: C:\EnergyPlusV7-2-0
I`ve done the following:

open cmd:

SET program_path=  C:\EnergyPlusV7-2-0\
SET program_name=EnergyPlus.exe
SET input_path= inputRick\
SET output_path= outputRick\
SET weather_path= C:\EnergyPlusV7-2-0\WeatherData\
SET maxcol=nolimit

then i executed the following command: 

RunEPlus RaumA USA_CA_San.Francisco.Intl.AP.724940_TMY3

Then I get the following error message in console:

FATAL: ProcessInput: In.idf missing. Program terminates.

Can you please give me a hint? I really begin to despair

Rick




On Tuesday, January 14, 2014 8:53 PM, Jason Glazer <jglazer@xxxxxxxx> wrote:
 
You do not need the full path for the weather file, just the
name of the file. Also, do not include the file extensions
for either file IDF file or the weather file.

Jason

On 1/14/2014 1:47 PM, Heinrich Maier wrote:
>
>
> 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
> <mailto: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
>
>
>
>
>
>

--
Jason Glazer, P.E., GARD Analytics, 90.1 ECB chair
Admin for onebuilding.org building performance mailing lists







__._,_.___


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

__,_._,___