-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
example versioning and vulnerability features
- Loading branch information
Showing
5 changed files
with
303 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"version": "3", | ||
"analysis_tag": "base_example", | ||
"source_tag": "MDK", | ||
"model_name_id": "PiWind", | ||
"model_supplier_id": "OasisLMF", | ||
"gul_threshold": 0, | ||
"gul_output": true, | ||
"vulnerability_settings": { | ||
"replace_file": "vuln_adj.csv", | ||
"adjustments": {"2": 0.5 , "8": 1.5} | ||
}, | ||
"model_settings": { | ||
"event_set": "p", | ||
"event_occurrence_id": "lt" | ||
}, | ||
"gul_summaries": [ | ||
{ | ||
"aalcalc": true, | ||
"eltcalc": true, | ||
"id": 1, | ||
"lec_output": true, | ||
"leccalc": { | ||
"full_uncertainty_aep": true, | ||
"full_uncertainty_oep": true, | ||
"return_period_file": true | ||
} | ||
} | ||
], | ||
"il_output": true, | ||
"il_summaries": [ | ||
{ | ||
"aalcalc": true, | ||
"eltcalc": true, | ||
"id": 1, | ||
"lec_output": true, | ||
"leccalc": { | ||
"full_uncertainty_aep": true, | ||
"full_uncertainty_oep": true, | ||
"return_period_file": true | ||
} | ||
} | ||
], | ||
"ri_output": true, | ||
"ri_summaries": [ | ||
{ | ||
"aalcalc": true, | ||
"eltcalc": true, | ||
"id": 1, | ||
"lec_output": true, | ||
"leccalc": { | ||
"full_uncertainty_aep": true, | ||
"full_uncertainty_oep": true, | ||
"return_period_file": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"version": "3", | ||
"model_settings":{ | ||
"event_set":{ | ||
"name": "Event Set", | ||
"desc": "Piwind Event Set selection", | ||
"default": "p", | ||
"options":[ | ||
{"id":"p", "desc": "Probabilistic", "number_of_events": 1447} | ||
] | ||
}, | ||
"event_occurrence_id":{ | ||
"name": "Occurrence Set", | ||
"desc": "PiWind Occurrence selection", | ||
"default": "lt", | ||
"options":[ | ||
{"id":"lt", "desc": "Long Term"} | ||
] | ||
} | ||
}, | ||
"lookup_settings":{ | ||
"supported_perils":[ | ||
{"id": "WSS", "desc": "Single Peril: Storm Surge", "peril_correlation_group": 1}, | ||
{"id": "WTC", "desc": "Single Peril: Tropical Cyclone", "peril_correlation_group": 2}, | ||
{"id": "WW1", "desc": "Group Peril: Windstorm with storm surge"}, | ||
{"id": "WW2", "desc": "Group Peril: Windstorm w/o storm surge"} | ||
] | ||
}, | ||
"correlation_settings": [ | ||
{"peril_correlation_group": 1, "damage_correlation_value": "0.7", "hazard_correlation_value": "0.0"}, | ||
{"peril_correlation_group": 2, "damage_correlation_value": "0.5", "hazard_correlation_value": "0.0"} | ||
], | ||
"data_settings": { | ||
"damage_group_fields": ["PortNumber", "AccNumber", "LocNumber"], | ||
"hazard_group_fields": ["PortNumber", "AccNumber", "LocNumber"], | ||
"supported_oed_versions": ["1.5", "2.0"] | ||
}, | ||
"model_default_samples" :10 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
vulnerability_id,intensity_bin_id,damage_bin_id,probability | ||
1,1,1,0.2 | ||
1,1,2,0 | ||
1,1,3,0 | ||
1,1,4,0 | ||
1,2,1,0 | ||
1,2,2,0 | ||
1,2,3,0 | ||
1,2,4,0 | ||
1,3,1,0 | ||
1,3,2,0 | ||
1,3,3,0 | ||
1,3,4,0 | ||
1,4,1,0 | ||
1,4,2,0 | ||
1,4,3,0 | ||
1,4,4,0 | ||
1,5,1,0 | ||
1,5,2,0 | ||
1,5,3,0 | ||
1,5,4,0 | ||
1,6,1,0 | ||
1,6,2,0 | ||
1,6,3,0 | ||
1,6,4,0 | ||
1,7,1,0 | ||
1,7,2,0 | ||
1,7,3,0 | ||
1,7,4,0 | ||
1,8,1,0 | ||
1,8,2,0 | ||
1,8,3,0 | ||
1,8,4,0 | ||
1,9,1,0 | ||
1,9,2,0 | ||
1,9,3,0 | ||
1,9,4,0 | ||
1,10,1,0 | ||
1,10,2,0 | ||
1,10,3,0 | ||
1,10,4,0 | ||
1,11,1,0 | ||
1,11,2,0 | ||
1,11,3,0 | ||
1,11,4,0 | ||
1,12,1,0 | ||
1,12,2,0 | ||
1,12,3,0 | ||
1,12,4,0 | ||
1,12,5,0 | ||
1,12,6,0 | ||
1,13,1,0 | ||
1,13,2,0 | ||
1,13,3,0 | ||
1,13,4,0 | ||
1,13,5,0 | ||
1,13,6,0 | ||
1,14,1,0 | ||
1,14,2,0 | ||
1,14,3,0 | ||
1,14,4,0 | ||
1,14,5,0 | ||
1,14,6,0 | ||
1,14,7,0 | ||
1,14,8,0 | ||
1,15,1,0 | ||
1,15,2,0 | ||
1,15,3,0 | ||
1,15,4,0 | ||
1,15,5,0 | ||
1,15,6,0 | ||
1,15,7,0 | ||
1,15,8,0 | ||
1,16,1,0 | ||
1,16,2,0 | ||
1,16,3,0 | ||
1,16,4,0 | ||
1,16,5,0 | ||
1,16,6,0 | ||
1,16,7,0 | ||
1,16,8,0 | ||
1,16,9,0 | ||
1,17,1,0 | ||
1,17,2,0 | ||
1,17,3,0 | ||
1,17,4,0 | ||
1,17,5,0 | ||
1,17,6,0 | ||
1,17,7,0 | ||
1,17,8,0 | ||
1,17,10,0 | ||
1,18,2,0 | ||
1,18,3,0 | ||
1,18,4,0 | ||
1,18,5,0 | ||
1,18,6,0 | ||
1,18,7,0 | ||
1,18,8,0 | ||
1,18,9,0 | ||
1,18,10,0 | ||
1,18,11,0 | ||
1,18,12,0 | ||
1,19,2,0 | ||
1,19,3,0 | ||
1,19,4,0 | ||
1,19,5,0 | ||
1,19,6,0 | ||
1,19,7,0 | ||
1,19,8,0 | ||
1,19,9,0 | ||
1,19,10,0 | ||
1,19,11,0 | ||
1,19,12,0 | ||
1,20,3,0 | ||
1,20,4,0 | ||
1,20,5,0 | ||
1,20,6,0 | ||
1,20,7,0 | ||
1,20,8,0 | ||
1,20,9,0 | ||
1,20,10,0 | ||
1,20,11,0 | ||
1,20,12,0 | ||
1,21,4,0 | ||
1,21,5,0 | ||
1,21,6,0 | ||
1,21,7,0 | ||
1,21,8,0 | ||
1,21,9,0 | ||
1,21,10,0 | ||
1,21,11,0 | ||
1,21,12,0 | ||
1,22,4,0 | ||
1,22,5,0 | ||
1,22,6,0 | ||
1,22,7,0 | ||
1,22,8,0 | ||
1,22,9,0 | ||
1,22,10,0 | ||
1,22,11,0 | ||
1,22,12,0 | ||
1,23,6,0 | ||
1,23,7,0 | ||
1,23,8,0 | ||
1,23,9,0 | ||
1,23,10,0 | ||
1,23,11,0 | ||
1,23,12,0 | ||
1,24,6,0 | ||
1,24,7,0 | ||
1,24,8,0 | ||
1,24,9,0 | ||
1,24,10,0 | ||
1,24,11,0 | ||
1,24,12,0 | ||
1,25,8,0 | ||
1,25,9,0 | ||
1,25,10,0 | ||
1,25,11,0 | ||
1,25,12,0 | ||
1,26,8,0 | ||
1,26,9,0 | ||
1,26,10,0 | ||
1,26,11,0 | ||
1,26,12,0 | ||
1,27,8,0 | ||
1,27,9,0 | ||
1,27,10,0 | ||
1,27,11,0 | ||
1,27,12,0 | ||
1,28,8,0 | ||
1,28,9,0 | ||
1,28,10,0 | ||
1,28,11,0 | ||
1,28,12,0 | ||
1,29,8,0 | ||
1,29,9,0 | ||
1,29,10,0 | ||
1,29,11,0 | ||
1,29,12,0.79 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"analysis_settings_json": "analysis_settings_vuln.json", | ||
"lookup_config_json": "keys_data/PiWind/lookup_config.json", | ||
"lookup_data_dir": "keys_data/PiWind", | ||
"model_data_dir": "model_data/PiWind", | ||
"model_settings_json": "meta-data/model_settings_vuln.json", | ||
"oed_location_csv": "tests/inputs/SourceLocOEDPiWind10_vuln.csv", | ||
"oed_accounts_csv": "tests/inputs/SourceAccOEDPiWind.csv", | ||
"oed_info_csv": "tests/inputs/SourceReinsInfoOEDPiWind.csv", | ||
"oed_scope_csv": "tests/inputs/SourceReinsScopeOEDPiWind.csv", | ||
"modelpy": false, | ||
"gulpy": false, | ||
"gulmc": true, | ||
"ktools_alloc_rule_gul": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PortNumber,AccNumber,LocNumber,IsTenant,BuildingID,CountryCode,Latitude,Longitude,StreetAddress,PostalCode,OccupancyCode,ConstructionCode,LocPerilsCovered,BuildingTIV,OtherTIV,ContentsTIV,BITIV,LocCurrency,OEDVersion | ||
1,A11111,10002082046,1,1,GB,52.76698052,-0.895469856,1 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,220000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082047,1,1,GB,52.76697956,-0.89536613,2 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,790000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082048,1,1,GB,52.76697845,-0.895247587,3 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,160000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082049,1,1,GB,52.76696096,-0.895473908,4 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,30000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082050,1,1,GB,52.76695804,-0.895353484,5 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,250000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082051,1,1,GB,52.76695885,-0.89524749,6 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,700000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082052,1,1,GB,52.7670776,-0.895274721,7 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,90000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082053,1,1,GB,52.76712254,-0.895273583,8 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,310000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082054,1,1,GB,52.76718545,-0.895271991,9 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,420000,0,0,0,GBP,2.0.0 | ||
1,A11111,10002082055,1,1,GB,52.76724836,-0.895270399,10 ABINGDON ROAD,LE13 0HL,1070,5000,WW1,430000,0,0,0,GBP,2.0.0 |