Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Running EnergyPlus from command line

asked 2016-04-20 17:00:05 -0500

Navid gravatar image

updated 2016-04-21 08:44:46 -0500

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?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-04-20 19:05:18 -0500

Thierry Nouidui gravatar image

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


edit flag offensive delete link more

answered 2016-04-20 17:17:28 -0500

updated 2017-09-14 03:09:03 -0500

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
edit flag offensive delete link more


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?

Navid gravatar imageNavid ( 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 gravatar imageMostapha 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.

Navid gravatar imageNavid ( 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 gravatar imagengkhanh ( 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 gravatar imageMostapha Roudsari ( 2016-04-29 23:13:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools



Asked: 2016-04-20 17:00:05 -0500

Seen: 855 times

Last updated: Sep 14