Commit 3f97e6be authored by Bognár, Á.'s avatar Bognár, Á.
Browse files

Update daypym_workflow_example.py

parent 11d4fe7f
......@@ -20,7 +20,7 @@ for folder in ['res', 'tmp', 'wea', 'geo', 'pts', 'res\\vis']: # res: final res
## read the IDF (geomeppy)
source_idf_name = r'{}.idf'.format(project_name)
iddfile = r'c:\EnergyPlusV8-9-0\Energy+.idd'
iddfile = r'c:\EnergyPlusV8-9-0\Energy+.idd' # set this to your EnergyPlus installation's .idd!
IDF.setiddname(iddfile)
source_idf = IDF(source_idf_name)
source_idf.to_obj(fname=cwd + r'\geo\\'+ project_name +'.obj', mtllib=None)
......@@ -74,7 +74,7 @@ site_info = {
# add wea file data to the site info
site_info.update(wea_data)
# write hea
write_ds_hea(p_name=project_name, p_dir=cwd, bin_dir=r'c:\DAYSIM4\bin\\', uni_mat_file=r'c:\TUe\PhD\Simulations\Daysim\materials\daysim_all_mat.rad', site_info=site_info, model_info=None, radiance_params=None)
write_ds_hea(p_name=project_name, p_dir=cwd, bin_dir=r'c:\DAYSIM4\bin\\', uni_mat_file=r'daysim_all_mat.rad', site_info=site_info, model_info=None, radiance_params=None)
#run conversion, dc and ill
ds_radfiles2daysim(p_name=project_name, hea_file_name=None)
ds_ds_shortterm(project_name, hea_file_name=None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment