Open tobiasquene opened 1 year ago
I am just getting to this. Will review and respond
it is failing on
testrun1 = IDF(test_temp, ref_epw)
At this point it is just reading the file. My suspicions are:
If you don't have a problem sharing test_temp. Can you do so? I'll test and respond
Hi,
I'm having trouble running .idf files from my eppy scripts, and can't seem to figure out where the error is. I have two .idf files: One is an export from DesignBuilder (V 8.9.0, refered to as the 'template' idf), the other .idf is an edited .idf based on the template. I also have two .epw files: The first is the E+ Chicago O'Hare file, the second is a self-converted file based on Dutch extreme climate scenarios.
The weather files are defined as followed:
ref_epw = r"C:\Users\tobia\OneDrive - TU Eindhoven\Documents\02_Technische Universiteit Eindhoven\02_ABP 2022 - 2023\Afstuderen\Model\eppy\eppy_epw\USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw"
nen5060 = r"C:\Users\tobia\OneDrive - TU Eindhoven\Documents\02_Technische Universiteit Eindhoven\02_ABP 2022 - 2023\Afstuderen\Model\eppy\eppy_epw\NEN5060_ref.epw"
The .idf files are defined through a series of dictionaries (I plan on varying 4 scenarios with each 3 values/constructions, so all files are separated in sub-folders):
The template (i.e. uneditted) file:
isoH = iso_dict_total['isoH']
test_temp = isoH['cellulose']
and the edited file:
folder_test_out = os.listdir(panel_dir)
folder_test_out[0]
test_out = panel_dir + '\\' + folder_test_out[0]
test_out = eppy.modeleditor.IDF(test_out)
test_out.printidf()
In order to use idf.run() I do the following step:
testrun1 = IDF(test_temp, ref_epw)
which returns the following error, added in the picture. Do you have any suggestions on how to mitigate this error? Or is it as simple as importing
datetime as dt
in idfreader.py? I have confirmed that both the .idf files as well as the .epw work without a problem in/through EPlaunch, so this is more a case of scalability than not being able to get results.