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.
Comments
@Prateek: welcome to Unmet Hours! In the future please do not include greetings ("hi, thanks, etc") in your post per our convention. Also, to format code, use CTRL+K or the button that looks like 0 and 1s. Thanks!