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

Running Energyplus through windows command with RunEplus.bat

asked 2021-06-17 09:53:58 -0600

Mostafa Meimand's avatar

updated 2021-06-22 10:24:02 -0600

I want to run an energyplus simulation for a building with slab from command windows. Since the building has a slab, I cannot use typical syntax in command windows (This way). I found this post that running energyplus with RunEplus.bat as a potential solution. I got these errors when I use .bat in command windows:image descriptionimage description

I can run EnergyPlus with EPlaunch. The OS is windows. I tried with a different version of energyplus but this does not work. My energyplus model is Residential Prototype Building Models from PNNL.

Update: I tried without .IDF and .EPW as well. Also, I copied energyplus.exe and ExpandObjects.exe from the energyplus installation folder. It does not work.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-06-17 11:15:17 -0600

You need to modify RunEplus.bat so that it references the correct directories to locate your IDF, EPW, and EnergyPlus installation files. Right click + edit on RunEplus.bat and it will open in a text editor. Modify the paths highlighted below as appropriate, then in command prompt: RunEPlus.bat in in (assuming in.idf and in.epw filenames).

image description

edit flag offensive delete link more

Comments

Thanks, Eric for your help. It works now. I didn't know that .bat files are editable

Mostafa Meimand's avatar Mostafa Meimand  ( 2021-06-17 13:14:51 -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

1 follower

Stats

Asked: 2021-06-17 09:53:58 -0600

Seen: 266 times

Last updated: Jun 17 '21