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

Revision history [back]

click to hide/show revision 1
initial version

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.

Thanks for your help.

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.

Thanks for your help.

Run EnergyPlus from python?

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.

I have tried tried:

 subprocess.call(['C:\EnergyPlusV8-5-0\energyplus.exe', 'PackagedTerminalHeatPump.idf']) 'PackagedTerminalHeatPump.idf'])

which runs the energyplus without weather file. But I am not able to pass weather file as argument.