-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathset_data_sample.py
More file actions
25 lines (20 loc) · 978 Bytes
/
Copy pathset_data_sample.py
File metadata and controls
25 lines (20 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# script to set data for sim_towers_v13-2
pdir = '/Users/hyeuk/Project/infrastructure/transmission'
shape_file_tower = pdir + '/Shapefile_2015_01/Towers_NGCP_with_synthetic_attributes_WGS84.shp'
shape_file_line = pdir + '/Shapefile_2015_01/Lines_NGCP_with_synthetic_attributes_WGS84.shp'
dir_wind_timeseries = pdir + '/scenario50yr'
dir_output = pdir + '/output'
file_frag = pdir + '/input/fragility_GA.csv'
file_cond_pc = pdir + '/input/cond_collapse_prob_dummy.csv'
file_design_value = pdir + '/input/design_value_y50.csv'
file_terrain_height = pdir + '/input/terrain_height_multiplier.csv'
flag_strainer = ['Strainer','dummy'] # consider strainer
# number of simulations for MC
nsims = 50
# flag for save
flag_save = 1
if __name__ == '__main__':
from sim_towers_v13_2 import main
main(shape_file_tower, shape_file_line, dir_wind_timeseries,
file_frag, file_cond_pc, file_design_value, file_terrain_height,
flag_strainer, flag_save, dir_output, nsims)