5

Running EnergyPlus from command line

I have always used EP-launch for running my simulations, no I need to run it from command prompt in windows. So I read the auxiliary programs pdf which says: ".... In the same directory EnergyPlus expects in.idf, the input data file; Energy+.idd, the data dictionary file; in.epw, the weather file (needed only if there is a RunPeriod in the input); and optionally Energy+.ini, the initialization file."

But I have only Energy+.idd file in C:\Energyplus 8-4-0 directory. where should I find in.idf , in.epw and Energy+.ini?

Thanks

s_pourm's avatar
775
s_pourm
asked 2016-04-20 17:00:05 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2022-10-18 10:36:08 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

8

Since you are using EnergyPlus 8.4, I will suggest using the EnergyPlus command line interface which is described here:

https://github.com/NREL/EnergyPlus/blob/develop/doc/running-energyplus-from-command-line.md

Thierry

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2016-04-20 19:05:18 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
4

Assuming you want to run test.idf which is located at c:\test and you're using C:\EnergyPlusV8-4-0\WeatherData\USA_VA_Sterling-Washington.Dulles.Intl.AP.724030_TMY3.epw as the weather file; you should be able to run the analysis like this:

C:\EnergyPlusV8-4-0\Epl-run c:\test\test c:\test\test idf "C:\EnergyPlusV8-4-0\WeatherData\USA_VA_Sterling-Washington.Dulles.Intl.AP.724030_TMY3.epw" EP N nolimit N N 0 Y
Mostapha Roudsari's avatar
1.1k
Mostapha Roudsari
answered 2016-04-20 17:17:28 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2017-09-14 03:09:03 -0500
edit flag offensive 0 remove flag delete link

Comments

Many Thanks, should I change input_path in the RunEPlus.bat in this case? by default in the bat file input_path is set to ExampleFiles. Do I need to change something else also?

s_pourm's avatar s_pourm (2016-04-20 18:13:12 -0500) edit

No. You don't need to. Just modify the line that I wrote and replace c:\test\test with your file and run it from the command line.

Mostapha Roudsari's avatar Mostapha Roudsari (2016-04-20 18:29:26 -0500) edit

I am asking because I got this severe error.
* Severe * HeatBalanceManager: SearchWindow5DataFile: Could not locate Window5 Data File, expecting it as file name=..\datasets\Window5DataFile.dat * ~~~ * Certain run environments require a full path to be included with the file name in the input field. * ~~~ * Try again with putting full path and file name in the field.

s_pourm's avatar s_pourm (2016-04-20 19:31:29 -0500) edit

@Mostapha Roudsari : May you make more details for your syntax ? it doesn't much look like energyplus cli. i tried to create a .bat file with this but it doesn't run. I want to keep weather /input/ouput/EP in separate folders. What are meanings of EP N nolimit N N 0 Y ?

ngkhanh's avatar ngkhanh (2016-04-24 16:45:27 -0500) edit

@ngkhanh the command is using EPLRun.bat and not EnergyPlus cli. Check the heading of the file for the options. I wanted to copy them here but the number of characters in the comment is limited.

Mostapha Roudsari's avatar Mostapha Roudsari (2016-04-29 23:13:03 -0500) edit
add a comment see more comments