Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page

# Running Energyplus through windows command with RunEplus.bat

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:

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 close merge delete

Sort by » oldest newest most voted

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).

more

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

( 2021-06-17 13:14:51 -0500 )edit