Commit 83cb161b authored by Bognár, Á.'s avatar Bognár, Á.
Browse files

Update daypym_workflow_example.py

fixing some typos
parent 0caea5ee
......@@ -32,11 +32,6 @@ surfaces = surface=source_idf.idfobjects['BUILDINGSURFACE:DETAILED']
act_surf_id = 'PV_Construction' # 'BIPV_Construction' this is the active surface identifier. Surfaces with construction names like this will get a sensor point mesh over them
act_surfs = [surface for surface in surfaces if surface.Construction_Name == act_surf_id]
act_surfs = []
for i in surfaces:
if i.Construction_Name == 'PV_Construction':
act_surfs.append(i)
# loop trough the surfaces and make a list of sensor-point data dicts which will be used to make the pts and kts files
n_row=10
n_col=6
......@@ -83,7 +78,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:\DAYSIM\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) # set bim_dir to the "...\DAYSIM\bin" folder on your computer
write_ds_hea(p_name=project_name, p_dir=cwd, bin_dir=r'c:\DAYSIM\bin\\', uni_mat_file=r'daysim_all_mat.rad', site_info=site_info, model_info=None, radiance_params=None) # set bin_dir to the "...\DAYSIM\bin" folder on your computer
#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