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

Running EnergyPlus from command line

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

s_pourm's avatar

updated 2022-10-18 10:36:08 -0600

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

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
8

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

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

edit flag offensive delete link more
4

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

updated 2017-09-14 03:09:03 -0600

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

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 -0600 )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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

3 followers

Stats

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

Seen: 3,822 times

Last updated: Sep 14 '17