Revision history  [back]

Run EnergyPlus from python?

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.

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.

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.