Error in Running EnergyPlus in Python using API
I am using the syntax below to run EnergyPlus from python using the EnergyPlus API. It gives me an error---> TypeError: run_energyplus() missing 1 required positional argument: 'command_line_args'.
If you could guide me as to what may be missing, Id be grateful.
import sys
sys.path.insert(0, 'C:\EnergyPlusV9-4-0')
from pyenergyplus.api import EnergyPlusAPI
api = EnergyPlusAPI()
api.runtime.run_energyplus(['-d','C:/Users/Sajit/OneDrive/Documents/EnergyPlusExamplesForFMU/DirectPy','-w',
'C:/EnergyPlusV9-4-0/WeatherData/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw',
'C:/Users/Sajit/OneDrive/Documents/EnergyPlusExamplesForFMU/EX1_9_4/TEST_NF_VFMU.idf'])