First time here? Check our help page!
3

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

Mostafa Meimand's avatar
217
Mostafa Meimand
asked 2021-06-17 09:53:58 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2021-06-22 10:24:02 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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

ericmartinpe's avatar
2.1k
ericmartinpe
answered 2021-06-17 11:15:17 -0500
edit flag offensive 0 remove flag delete link

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 -0500) edit
add a comment see more comments