I am trying to run EnergyPlus in Python using eppy. here is the code. idf_file = "/Users/divyanshusood/Documents/Work/RQ-2/Python_IDF_Trial/Dublin_1_House_2occV960_final.idf" IDF.setiddname('/Applications/EnergyPlus-9-6-0/Energy+.idd') idf = IDF(idf_file) epw_path = "/Users/divyanshusood/Documents/Work/RQ-2/Python_IDF_Trial/IRL_DublinIWEC.epw" idf.epw(epw_path) output_directory = "/Users/divyanshusood/Documents/Work/RQ-2/Python_IDF_Trial" run(idf, output_directory = output_directory)
But when I run this socde I got the following error
AttributeError Traceback (most recent call last) /var/folders/24/kygczx3976d_r0xjqw14drvh0000gn/T/ipykernel_44774/2674705698.py in <module> 1 epw_path = "/Users/divyanshusood/Documents/Work/RQ-2/Python_IDF_Trial/IRL_DublinIWEC.epw" ----> 2 idf.epw(epw_path) 3 output_directory = "/Users/divyanshusood/Documents/Work/RQ-2/Python_IDF_Trial" 4 run(idf, output_directory = output_directory)
AttributeError: 'IDF' object has no attribute 'epw'
Can someone please help me with this?