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

Revision history [back]

Run EnergyPlus from python?

Hi there, I am confused to run energyplus from python script using subprocess.call. I am not able to run the energyplus simulations with weather file as argument. I have tried subprocess.call(['C:\EnergyPlusV8-5-0\energyplus.exe', 'PackagedTerminalHeatPump.idf']) which runs the energyplus without weather file. But I am not able to pass weather file as argument.

 2 None Julien Marrec 26478 ●36 ●69 http://www.effibem.com/

Run EnergyPlus from python?

Hi there, I am confused to run energyplus from python script using subprocess.call. I am not able to run the energyplus simulations with weather file as argument. I have tried subprocess.call(['C:\EnergyPlusV8-5-0\energyplus.exe', 'PackagedTerminalHeatPump.idf']) which runs the energyplus without weather file. But I am not able to pass weather file as argument.

I am confused to run energyplus from python script using subprocess.call. subprocess.call. I am not able to run the energyplus simulations with weather file as argument. argument.
 subprocess.call(['C:\EnergyPlusV8-5-0\energyplus.exe', 'PackagedTerminalHeatPump.idf']) 'PackagedTerminalHeatPump.idf'])