From 9cd70bbe23cfe70b4f871337056659c0e7d27d1a Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 20 Sep 2024 12:52:16 -0500 Subject: [PATCH 01/19] add script to create dependency graph --- .../pyincore_utils/create_dependency_graph.py | 169 ++++++++ utils/pyincore_utils/dependency_graph.json | 407 ++++++++++++++++++ 2 files changed, 576 insertions(+) create mode 100644 utils/pyincore_utils/create_dependency_graph.py create mode 100644 utils/pyincore_utils/dependency_graph.json diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py new file mode 100644 index 0000000..91658aa --- /dev/null +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -0,0 +1,169 @@ +import json +from collections import defaultdict + +from pyincore import IncoreClient +from pyincore.analyses.bridgedamage import BridgeDamage +from pyincore.analyses.buildingclusterrecovery import BuildingClusterRecovery +from pyincore.analyses.buildingeconloss import BuildingEconLoss +from pyincore.analyses.buildingfunctionality import BuildingFunctionality +from pyincore.analyses.buildingnonstructuraldamage import BuildingNonStructDamage +from pyincore.analyses.buildingstructuraldamage import BuildingStructuralDamage +from pyincore.analyses.buyoutdecision import BuyoutDecision +from pyincore.analyses.capitalshocks import CapitalShocks +from pyincore.analyses.combinedwindwavesurgebuildingdamage import ( + CombinedWindWaveSurgeBuildingDamage, +) +from pyincore.analyses.combinedwindwavesurgebuildingloss import ( + CombinedWindWaveSurgeBuildingLoss, +) +from pyincore.analyses.commercialbuildingrecovery import CommercialBuildingRecovery +from pyincore.analyses.cumulativebuildingdamage import CumulativeBuildingDamage +from pyincore.analyses.epfdamage import EpfDamage +from pyincore.analyses.epfrepaircost import EpfRepairCost +from pyincore.analyses.epfrestoration import EpfRestoration +from pyincore.analyses.epnfunctionality import EpnFunctionality +from pyincore.analyses.galvestoncge import GalvestonCGEModel +from pyincore.analyses.gasfacilitydamage import GasFacilityDamage +from pyincore.analyses.housingrecoverysequential import HousingRecoverySequential +from pyincore.analyses.housingunitallocation import HousingUnitAllocation +from pyincore.analyses.housingvaluationrecovery import HousingValuationRecovery +from pyincore.analyses.indp import INDP +from pyincore.analyses.joplincge import JoplinCGEModel +from pyincore.analyses.joplinempiricalbuildingrestoration import ( + JoplinEmpiricalBuildingRestoration, +) +from pyincore.analyses.meandamage import MeanDamage +from pyincore.analyses.mlenabledcgeslc import MlEnabledCgeSlc +from pyincore.analyses.montecarlolimitstateprobability import ( + MonteCarloLimitStateProbability, +) +from pyincore.analyses.multiobjectiveretrofitoptimization import ( + MultiObjectiveRetrofitOptimization, +) +from pyincore.analyses.ncifunctionality import NciFunctionality +from pyincore.analyses.pipelinedamage import PipelineDamage +from pyincore.analyses.pipelinedamagerepairrate import PipelineDamageRepairRate +from pyincore.analyses.pipelinefunctionality import PipelineFunctionality +from pyincore.analyses.pipelinerepaircost import PipelineRepairCost +from pyincore.analyses.pipelinerestoration import PipelineRestoration +from pyincore.analyses.populationdislocation import PopulationDislocation +from pyincore.analyses.residentialbuildingrecovery import ResidentialBuildingRecovery +from pyincore.analyses.roaddamage import RoadDamage +from pyincore.analyses.saltlakecge import SaltLakeCGEModel +from pyincore.analyses.seasidecge import SeasideCGEModel +from pyincore.analyses.socialvulnerabilityscore import SocialVulnerabilityScore +from pyincore.analyses.tornadoepndamage import TornadoEpnDamage +from pyincore.analyses.trafficflowrecovery import TrafficFlowRecovery +from pyincore.analyses.waterfacilitydamage import WaterFacilityDamage +from pyincore.analyses.waterfacilityrepaircost import WaterFacilityRepairCost +from pyincore.analyses.waterfacilitydamage import WaterFacilityDamage +from pyincore.analyses.waterfacilityrestoration import WaterFacilityRestoration +from pyincore.analyses.wfnfunctionality import WfnFunctionality + +client = IncoreClient() + +# Create a dictionary of all the classes +analysis_classes = { + "BridgeDamage": BridgeDamage(client), + "BuildingClusterRecovery": BuildingClusterRecovery(client), + "BuildingEconLoss": BuildingEconLoss(client), + "BuildingFunctionality": BuildingFunctionality(client), + "BuildingNonStructuralDamage": BuildingNonStructDamage(client), + "BuildingStructuralDamage": BuildingStructuralDamage(client), + "BuyoutDecision": BuyoutDecision(client), + "CapitalShocks": CapitalShocks(client), + "CombinedWindWaveSurgeBuildingDamage": CombinedWindWaveSurgeBuildingDamage(client), + "CombinedWindWaveSurgeBuildingLoss": CombinedWindWaveSurgeBuildingLoss(client), + "CommercialBuildingRecovery": CommercialBuildingRecovery(client), + "CumulativeBuildingDamage": CumulativeBuildingDamage(client), + "EpfDamage": EpfDamage(client), + "EpfRepairCost": EpfRepairCost(client), + "EpfRestoration": EpfRestoration(client), + "EpnFunctionality": EpnFunctionality(client), + "GalvestonCGEModel": GalvestonCGEModel(client), + "GasFacilityDamage": GasFacilityDamage(client), + "HousingRecoverySequential": HousingRecoverySequential(client), + "HousingUnitAllocation": HousingUnitAllocation(client), + "HousingValuationRecovery": HousingValuationRecovery(client), + "INDP": INDP(client), + "JoplinCGEModel": JoplinCGEModel(client), + "JoplinEmpiricalBuildingRestoration": JoplinEmpiricalBuildingRestoration(client), + "MeanDamage": MeanDamage(client), + "MlEnabledCgeSlc": MlEnabledCgeSlc(client), + "MonteCarloLimitStateProbability": MonteCarloLimitStateProbability(client), + "MultiObjectiveRetrofitOptimization": MultiObjectiveRetrofitOptimization(client), + "NciFunctionality": NciFunctionality(client), + "PipelineDamage": PipelineDamage(client), + "PipelineDamageRepairRate": PipelineDamageRepairRate(client), + "PipelineFunctionality": PipelineFunctionality(client), + "PipelineRepairCost": PipelineRepairCost(client), + "PipelineRestoration": PipelineRestoration(client), + "PopulationDislocation": PopulationDislocation(client), + "ResidentialBuildingRecovery": ResidentialBuildingRecovery(client), + "RoadDamage": RoadDamage(client), + "SaltLakeCGEModel": SaltLakeCGEModel(client), + "SeasideCGEModel": SeasideCGEModel(client), + "SocialVulnerabilityScore": SocialVulnerabilityScore(client), + "TornadoEpnDamage": TornadoEpnDamage(client), + "TrafficFlowRecovery": TrafficFlowRecovery(client), + "WaterFacilityDamage": WaterFacilityDamage(client), + "WaterFacilityRepairCost": WaterFacilityRepairCost(client), + "WaterFacilityDamage": WaterFacilityDamage(client), + "WaterFacilityRestoration": WaterFacilityRestoration(client), + "WfnFunctionality": WfnFunctionality(client), +} + +input_types_for_analysis = defaultdict(list) +output_types_for_analysis = defaultdict(list) +seen_types = set() + +for analysis_name, analysis_class in analysis_classes.items(): + spec = analysis_class.get_spec() + + for input in spec["input_datasets"]: + if input["required"]: + if type(input["type"]) == list: + for t in input["type"]: + input_types_for_analysis[t].append(analysis_name) + seen_types.add(t) + else: + input_types_for_analysis[input["type"]].append(analysis_name) + seen_types.add(input["type"]) + for output in spec["output_datasets"]: + if type(output["type"]) == list: + for t in output["type"]: + output_types_for_analysis[t].append(analysis_name) + seen_types.add(t) + else: + output_types_for_analysis[output["type"]].append(analysis_name) + seen_types.add(output["type"]) + +dependency_graph = defaultdict(dict) + +for type in list(seen_types): + # add afters + for analysis_name in input_types_for_analysis[type]: + for other_type in output_types_for_analysis[type]: + if dependency_graph[analysis_name].get("before", None) is None: + dependency_graph[analysis_name]["before"] = set({other_type}) + else: + dependency_graph[analysis_name]["before"].add(other_type) + # add befores + for analysis_name in output_types_for_analysis[type]: + for other_type in input_types_for_analysis[type]: + if dependency_graph[analysis_name].get("after", None) is None: + dependency_graph[analysis_name]["after"] = set({other_type}) + else: + dependency_graph[analysis_name]["after"].add(other_type) + +# Convert sets to lists +for value in dependency_graph.values(): + for k, v in value.items(): + value[k] = list(v) + + if value.get("before", None) is None: + value["before"] = [] + if value.get("after", None) is None: + value["after"] = [] + +json.dump(dependency_graph, open("dependency_graph.json", "w"), indent=4) diff --git a/utils/pyincore_utils/dependency_graph.json b/utils/pyincore_utils/dependency_graph.json new file mode 100644 index 0000000..ebb9701 --- /dev/null +++ b/utils/pyincore_utils/dependency_graph.json @@ -0,0 +1,407 @@ +{ + "BuildingEconLoss": { + "before": [ + "MeanDamage" + ], + "after": [] + }, + "MeanDamage": { + "after": [ + "BuildingEconLoss" + ], + "before": [ + "BridgeDamage", + "RoadDamage", + "CumulativeBuildingDamage", + "BuildingStructuralDamage", + "BuildingNonStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage" + ] + }, + "PipelineFunctionality": { + "before": [ + "PipelineDamageRepairRate" + ], + "after": [ + "EpnFunctionality", + "BuildingFunctionality", + "NciFunctionality", + "INDP", + "CapitalShocks", + "WfnFunctionality", + "CommercialBuildingRecovery" + ] + }, + "PipelineRepairCost": { + "before": [ + "PipelineDamageRepairRate" + ], + "after": [ + "INDP" + ] + }, + "PipelineRestoration": { + "before": [ + "PipelineDamageRepairRate" + ], + "after": [ + "INDP" + ] + }, + "PipelineDamageRepairRate": { + "after": [ + "PipelineRepairCost", + "PipelineFunctionality", + "PipelineRestoration" + ], + "before": [] + }, + "CommercialBuildingRecovery": { + "before": [ + "PipelineFunctionality", + "EpnFunctionality", + "BuildingStructuralDamage", + "MonteCarloLimitStateProbability", + "CombinedWindWaveSurgeBuildingDamage", + "WfnFunctionality" + ], + "after": [] + }, + "EpfRepairCost": { + "before": [ + "MonteCarloLimitStateProbability" + ], + "after": [ + "INDP" + ] + }, + "INDP": { + "before": [ + "WaterFacilityRestoration", + "PipelineFunctionality", + "EpnFunctionality", + "PipelineRepairCost", + "PipelineRestoration", + "MonteCarloLimitStateProbability", + "WaterFacilityRepairCost", + "PopulationDislocation", + "EpfRepairCost", + "EpfRestoration", + "WfnFunctionality" + ], + "after": [] + }, + "ResidentialBuildingRecovery": { + "before": [ + "MonteCarloLimitStateProbability" + ], + "after": [] + }, + "WaterFacilityRepairCost": { + "before": [ + "MonteCarloLimitStateProbability" + ], + "after": [ + "INDP" + ] + }, + "MonteCarloLimitStateProbability": { + "after": [ + "EpnFunctionality", + "BuildingFunctionality", + "ResidentialBuildingRecovery", + "WaterFacilityRepairCost", + "NciFunctionality", + "EpfRepairCost", + "INDP", + "CapitalShocks", + "WfnFunctionality", + "CommercialBuildingRecovery" + ], + "before": [ + "BridgeDamage", + "PipelineDamage", + "RoadDamage", + "CumulativeBuildingDamage", + "BuildingStructuralDamage", + "BuildingNonStructuralDamage", + "EpfDamage", + "CombinedWindWaveSurgeBuildingDamage", + "WaterFacilityDamage" + ] + }, + "EpfRestoration": { + "after": [ + "INDP", + "NciFunctionality" + ], + "before": [ + "EpfDamage" + ] + }, + "NciFunctionality": { + "before": [ + "PipelineFunctionality", + "EpnFunctionality", + "MonteCarloLimitStateProbability", + "EpfDamage", + "EpfRestoration", + "WaterFacilityRestoration", + "WfnFunctionality", + "WaterFacilityDamage" + ], + "after": [] + }, + "WaterFacilityRestoration": { + "after": [ + "INDP", + "NciFunctionality" + ], + "before": [] + }, + "CombinedWindWaveSurgeBuildingDamage": { + "before": [ + "BuildingNonStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage", + "BuildingStructuralDamage" + ], + "after": [ + "CombinedWindWaveSurgeBuildingLoss", + "MeanDamage", + "CumulativeBuildingDamage", + "JoplinEmpiricalBuildingRestoration", + "MonteCarloLimitStateProbability", + "CombinedWindWaveSurgeBuildingDamage", + "PopulationDislocation", + "BuyoutDecision", + "CommercialBuildingRecovery" + ] + }, + "CombinedWindWaveSurgeBuildingLoss": { + "before": [ + "BuildingNonStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage", + "BuildingStructuralDamage" + ], + "after": [] + }, + "JoplinEmpiricalBuildingRestoration": { + "before": [ + "BuildingNonStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage", + "CumulativeBuildingDamage", + "BuildingStructuralDamage" + ], + "after": [] + }, + "BuildingNonStructuralDamage": { + "after": [ + "CombinedWindWaveSurgeBuildingLoss", + "MeanDamage", + "MonteCarloLimitStateProbability", + "JoplinEmpiricalBuildingRestoration", + "CombinedWindWaveSurgeBuildingDamage" + ], + "before": [] + }, + "GalvestonCGEModel": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "JoplinCGEModel": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "MlEnabledCgeSlc": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "SaltLakeCGEModel": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "SeasideCGEModel": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "CapitalShocks": { + "after": [ + "SeasideCGEModel", + "MlEnabledCgeSlc", + "SaltLakeCGEModel", + "GalvestonCGEModel", + "JoplinCGEModel" + ], + "before": [ + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality", + "WfnFunctionality" + ] + }, + "BuyoutDecision": { + "before": [ + "HousingUnitAllocation", + "CombinedWindWaveSurgeBuildingDamage", + "PopulationDislocation", + "BuildingStructuralDamage" + ], + "after": [] + }, + "CumulativeBuildingDamage": { + "before": [ + "CombinedWindWaveSurgeBuildingDamage", + "CumulativeBuildingDamage", + "BuildingStructuralDamage" + ], + "after": [ + "MeanDamage", + "CumulativeBuildingDamage", + "MonteCarloLimitStateProbability", + "JoplinEmpiricalBuildingRestoration", + "PopulationDislocation" + ] + }, + "PopulationDislocation": { + "before": [ + "HousingUnitAllocation", + "CombinedWindWaveSurgeBuildingDamage", + "CumulativeBuildingDamage", + "BuildingStructuralDamage" + ], + "after": [ + "HousingValuationRecovery", + "HousingRecoverySequential", + "BuyoutDecision", + "INDP" + ] + }, + "BuildingStructuralDamage": { + "after": [ + "CombinedWindWaveSurgeBuildingLoss", + "MeanDamage", + "CumulativeBuildingDamage", + "JoplinEmpiricalBuildingRestoration", + "MonteCarloLimitStateProbability", + "CombinedWindWaveSurgeBuildingDamage", + "PopulationDislocation", + "BuyoutDecision", + "CommercialBuildingRecovery" + ], + "before": [] + }, + "BridgeDamage": { + "after": [ + "MonteCarloLimitStateProbability", + "MeanDamage" + ], + "before": [] + }, + "WaterFacilityDamage": { + "after": [ + "NciFunctionality", + "MonteCarloLimitStateProbability" + ], + "before": [] + }, + "BuildingFunctionality": { + "before": [ + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality", + "WfnFunctionality" + ], + "after": [] + }, + "EpnFunctionality": { + "before": [ + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality", + "WfnFunctionality" + ], + "after": [ + "EpnFunctionality", + "BuildingFunctionality", + "NciFunctionality", + "INDP", + "CapitalShocks", + "WfnFunctionality", + "CommercialBuildingRecovery" + ] + }, + "WfnFunctionality": { + "before": [ + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality", + "WfnFunctionality" + ], + "after": [ + "EpnFunctionality", + "BuildingFunctionality", + "NciFunctionality", + "INDP", + "CapitalShocks", + "WfnFunctionality", + "CommercialBuildingRecovery" + ] + }, + "HousingRecoverySequential": { + "before": [ + "SocialVulnerabilityScore", + "PopulationDislocation" + ], + "after": [] + }, + "HousingValuationRecovery": { + "before": [ + "PopulationDislocation" + ], + "after": [] + }, + "RoadDamage": { + "after": [ + "MonteCarloLimitStateProbability", + "MeanDamage" + ], + "before": [] + }, + "PipelineDamage": { + "after": [ + "MonteCarloLimitStateProbability" + ], + "before": [] + }, + "EpfDamage": { + "after": [ + "NciFunctionality", + "EpfRestoration", + "MonteCarloLimitStateProbability" + ], + "before": [] + }, + "HousingUnitAllocation": { + "after": [ + "PopulationDislocation", + "BuyoutDecision" + ], + "before": [] + }, + "SocialVulnerabilityScore": { + "after": [ + "HousingRecoverySequential" + ], + "before": [] + } +} \ No newline at end of file From 2e508463d6cbfc3c55a4688e5b008bd25287a386 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 20 Sep 2024 13:04:23 -0500 Subject: [PATCH 02/19] add missing analyses --- .../pyincore_utils/create_dependency_graph.py | 7 + utils/pyincore_utils/dependency_graph.json | 484 +++++++++--------- 2 files changed, 259 insertions(+), 232 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 91658aa..25a317e 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -166,4 +166,11 @@ if value.get("after", None) is None: value["after"] = [] +if len(analysis_classes) != len(dependency_graph): + print("Some analyses are missing from the dependency graph\nAdding them now:") + for analysis_name in analysis_classes.keys(): + if analysis_name not in dependency_graph: + print(analysis_name) + dependency_graph[analysis_name] = {"before": [], "after": []} + json.dump(dependency_graph, open("dependency_graph.json", "w"), indent=4) diff --git a/utils/pyincore_utils/dependency_graph.json b/utils/pyincore_utils/dependency_graph.json index ebb9701..28ec050 100644 --- a/utils/pyincore_utils/dependency_graph.json +++ b/utils/pyincore_utils/dependency_graph.json @@ -1,305 +1,271 @@ { - "BuildingEconLoss": { + "BuyoutDecision": { "before": [ - "MeanDamage" + "BuildingStructuralDamage", + "HousingUnitAllocation", + "PopulationDislocation", + "CombinedWindWaveSurgeBuildingDamage" ], "after": [] }, - "MeanDamage": { - "after": [ - "BuildingEconLoss" - ], + "PopulationDislocation": { "before": [ - "BridgeDamage", - "RoadDamage", - "CumulativeBuildingDamage", "BuildingStructuralDamage", - "BuildingNonStructuralDamage", + "HousingUnitAllocation", + "CumulativeBuildingDamage", "CombinedWindWaveSurgeBuildingDamage" - ] - }, - "PipelineFunctionality": { - "before": [ - "PipelineDamageRepairRate" ], "after": [ - "EpnFunctionality", - "BuildingFunctionality", - "NciFunctionality", + "BuyoutDecision", "INDP", - "CapitalShocks", - "WfnFunctionality", - "CommercialBuildingRecovery" - ] - }, - "PipelineRepairCost": { - "before": [ - "PipelineDamageRepairRate" - ], - "after": [ - "INDP" - ] - }, - "PipelineRestoration": { - "before": [ - "PipelineDamageRepairRate" - ], - "after": [ - "INDP" + "HousingValuationRecovery", + "HousingRecoverySequential" ] }, - "PipelineDamageRepairRate": { + "HousingUnitAllocation": { "after": [ - "PipelineRepairCost", - "PipelineFunctionality", - "PipelineRestoration" + "BuyoutDecision", + "PopulationDislocation" ], "before": [] }, - "CommercialBuildingRecovery": { + "NciFunctionality": { "before": [ "PipelineFunctionality", "EpnFunctionality", - "BuildingStructuralDamage", - "MonteCarloLimitStateProbability", - "CombinedWindWaveSurgeBuildingDamage", - "WfnFunctionality" + "WaterFacilityDamage", + "WaterFacilityRestoration", + "EpfDamage", + "EpfRestoration", + "WfnFunctionality", + "MonteCarloLimitStateProbability" ], "after": [] }, - "EpfRepairCost": { - "before": [ - "MonteCarloLimitStateProbability" - ], + "WaterFacilityRestoration": { "after": [ - "INDP" - ] + "INDP", + "NciFunctionality" + ], + "before": [] }, - "INDP": { + "HousingRecoverySequential": { "before": [ - "WaterFacilityRestoration", - "PipelineFunctionality", - "EpnFunctionality", - "PipelineRepairCost", - "PipelineRestoration", - "MonteCarloLimitStateProbability", - "WaterFacilityRepairCost", "PopulationDislocation", - "EpfRepairCost", - "EpfRestoration", - "WfnFunctionality" + "SocialVulnerabilityScore" ], "after": [] }, - "ResidentialBuildingRecovery": { + "HousingValuationRecovery": { "before": [ - "MonteCarloLimitStateProbability" + "PopulationDislocation" ], "after": [] }, - "WaterFacilityRepairCost": { - "before": [ - "MonteCarloLimitStateProbability" - ], - "after": [ - "INDP" - ] - }, - "MonteCarloLimitStateProbability": { - "after": [ - "EpnFunctionality", - "BuildingFunctionality", - "ResidentialBuildingRecovery", - "WaterFacilityRepairCost", - "NciFunctionality", - "EpfRepairCost", - "INDP", - "CapitalShocks", - "WfnFunctionality", - "CommercialBuildingRecovery" - ], - "before": [ - "BridgeDamage", - "PipelineDamage", - "RoadDamage", - "CumulativeBuildingDamage", - "BuildingStructuralDamage", - "BuildingNonStructuralDamage", - "EpfDamage", - "CombinedWindWaveSurgeBuildingDamage", - "WaterFacilityDamage" - ] - }, - "EpfRestoration": { - "after": [ - "INDP", - "NciFunctionality" - ], - "before": [ - "EpfDamage" - ] - }, - "NciFunctionality": { + "INDP": { "before": [ "PipelineFunctionality", "EpnFunctionality", - "MonteCarloLimitStateProbability", - "EpfDamage", - "EpfRestoration", "WaterFacilityRestoration", + "WaterFacilityRepairCost", + "EpfRestoration", "WfnFunctionality", - "WaterFacilityDamage" + "MonteCarloLimitStateProbability", + "EpfRepairCost", + "PipelineRepairCost", + "PipelineRestoration", + "PopulationDislocation" ], "after": [] }, - "WaterFacilityRestoration": { - "after": [ - "INDP", - "NciFunctionality" - ], - "before": [] - }, "CombinedWindWaveSurgeBuildingDamage": { "before": [ "BuildingNonStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage", - "BuildingStructuralDamage" + "BuildingStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage" ], "after": [ + "CumulativeBuildingDamage", + "CombinedWindWaveSurgeBuildingDamage", "CombinedWindWaveSurgeBuildingLoss", + "MonteCarloLimitStateProbability", "MeanDamage", - "CumulativeBuildingDamage", "JoplinEmpiricalBuildingRestoration", - "MonteCarloLimitStateProbability", - "CombinedWindWaveSurgeBuildingDamage", + "CommercialBuildingRecovery", "PopulationDislocation", - "BuyoutDecision", - "CommercialBuildingRecovery" + "BuyoutDecision" ] }, "CombinedWindWaveSurgeBuildingLoss": { "before": [ "BuildingNonStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage", - "BuildingStructuralDamage" + "BuildingStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage" ], "after": [] }, "JoplinEmpiricalBuildingRestoration": { "before": [ "BuildingNonStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage", + "BuildingStructuralDamage", "CumulativeBuildingDamage", - "BuildingStructuralDamage" + "CombinedWindWaveSurgeBuildingDamage" ], "after": [] }, + "MeanDamage": { + "before": [ + "CumulativeBuildingDamage", + "CombinedWindWaveSurgeBuildingDamage", + "BuildingStructuralDamage", + "BridgeDamage", + "RoadDamage", + "BuildingNonStructuralDamage" + ], + "after": [ + "BuildingEconLoss" + ] + }, + "MonteCarloLimitStateProbability": { + "before": [ + "PipelineDamage", + "WaterFacilityDamage", + "CumulativeBuildingDamage", + "CombinedWindWaveSurgeBuildingDamage", + "BuildingStructuralDamage", + "EpfDamage", + "BridgeDamage", + "RoadDamage", + "BuildingNonStructuralDamage" + ], + "after": [ + "INDP", + "EpnFunctionality", + "WaterFacilityRepairCost", + "WfnFunctionality", + "BuildingFunctionality", + "ResidentialBuildingRecovery", + "EpfRepairCost", + "NciFunctionality", + "CommercialBuildingRecovery", + "CapitalShocks" + ] + }, "BuildingNonStructuralDamage": { "after": [ + "CombinedWindWaveSurgeBuildingDamage", "CombinedWindWaveSurgeBuildingLoss", - "MeanDamage", "MonteCarloLimitStateProbability", - "JoplinEmpiricalBuildingRestoration", - "CombinedWindWaveSurgeBuildingDamage" + "MeanDamage", + "JoplinEmpiricalBuildingRestoration" ], "before": [] }, - "GalvestonCGEModel": { + "PipelineFunctionality": { "before": [ - "CapitalShocks" + "PipelineDamageRepairRate" ], - "after": [] + "after": [ + "INDP", + "EpnFunctionality", + "WfnFunctionality", + "BuildingFunctionality", + "NciFunctionality", + "CommercialBuildingRecovery", + "CapitalShocks" + ] }, - "JoplinCGEModel": { + "PipelineRepairCost": { "before": [ - "CapitalShocks" + "PipelineDamageRepairRate" ], - "after": [] + "after": [ + "INDP" + ] }, - "MlEnabledCgeSlc": { + "PipelineRestoration": { "before": [ - "CapitalShocks" + "PipelineDamageRepairRate" ], - "after": [] + "after": [ + "INDP" + ] }, - "SaltLakeCGEModel": { - "before": [ - "CapitalShocks" + "PipelineDamageRepairRate": { + "after": [ + "PipelineFunctionality", + "PipelineRestoration", + "PipelineRepairCost" ], - "after": [] + "before": [] }, - "SeasideCGEModel": { - "before": [ - "CapitalShocks" + "RoadDamage": { + "after": [ + "MonteCarloLimitStateProbability", + "MeanDamage" ], - "after": [] + "before": [] }, - "CapitalShocks": { + "PipelineDamage": { "after": [ - "SeasideCGEModel", - "MlEnabledCgeSlc", - "SaltLakeCGEModel", - "GalvestonCGEModel", - "JoplinCGEModel" + "MonteCarloLimitStateProbability" + ], + "before": [] + }, + "EpfRestoration": { + "after": [ + "INDP", + "NciFunctionality" ], "before": [ - "MonteCarloLimitStateProbability", - "PipelineFunctionality", - "EpnFunctionality", - "WfnFunctionality" + "EpfDamage" ] }, - "BuyoutDecision": { + "CommercialBuildingRecovery": { "before": [ - "HousingUnitAllocation", + "PipelineFunctionality", + "EpnFunctionality", "CombinedWindWaveSurgeBuildingDamage", - "PopulationDislocation", - "BuildingStructuralDamage" + "BuildingStructuralDamage", + "WfnFunctionality", + "MonteCarloLimitStateProbability" ], "after": [] }, "CumulativeBuildingDamage": { "before": [ - "CombinedWindWaveSurgeBuildingDamage", + "BuildingStructuralDamage", "CumulativeBuildingDamage", - "BuildingStructuralDamage" + "CombinedWindWaveSurgeBuildingDamage" ], "after": [ - "MeanDamage", "CumulativeBuildingDamage", "MonteCarloLimitStateProbability", + "MeanDamage", "JoplinEmpiricalBuildingRestoration", "PopulationDislocation" ] }, - "PopulationDislocation": { - "before": [ - "HousingUnitAllocation", - "CombinedWindWaveSurgeBuildingDamage", - "CumulativeBuildingDamage", - "BuildingStructuralDamage" - ], - "after": [ - "HousingValuationRecovery", - "HousingRecoverySequential", - "BuyoutDecision", - "INDP" - ] - }, "BuildingStructuralDamage": { "after": [ + "CumulativeBuildingDamage", + "CombinedWindWaveSurgeBuildingDamage", "CombinedWindWaveSurgeBuildingLoss", + "MonteCarloLimitStateProbability", "MeanDamage", - "CumulativeBuildingDamage", "JoplinEmpiricalBuildingRestoration", - "MonteCarloLimitStateProbability", - "CombinedWindWaveSurgeBuildingDamage", + "CommercialBuildingRecovery", "PopulationDislocation", - "BuyoutDecision", - "CommercialBuildingRecovery" + "BuyoutDecision" ], "before": [] }, + "BuildingEconLoss": { + "before": [ + "MeanDamage" + ], + "after": [] + }, "BridgeDamage": { "after": [ "MonteCarloLimitStateProbability", @@ -307,79 +273,117 @@ ], "before": [] }, - "WaterFacilityDamage": { - "after": [ - "NciFunctionality", + "EpfRepairCost": { + "before": [ "MonteCarloLimitStateProbability" ], - "before": [] + "after": [ + "INDP" + ] }, - "BuildingFunctionality": { + "ResidentialBuildingRecovery": { "before": [ - "MonteCarloLimitStateProbability", - "PipelineFunctionality", - "EpnFunctionality", - "WfnFunctionality" + "MonteCarloLimitStateProbability" ], "after": [] }, - "EpnFunctionality": { + "WaterFacilityRepairCost": { + "before": [ + "MonteCarloLimitStateProbability" + ], + "after": [ + "INDP" + ] + }, + "CapitalShocks": { "before": [ - "MonteCarloLimitStateProbability", "PipelineFunctionality", "EpnFunctionality", - "WfnFunctionality" + "WfnFunctionality", + "MonteCarloLimitStateProbability" ], "after": [ + "MlEnabledCgeSlc", + "SaltLakeCGEModel", + "JoplinCGEModel", + "GalvestonCGEModel", + "SeasideCGEModel" + ] + }, + "EpnFunctionality": { + "after": [ + "INDP", "EpnFunctionality", + "WfnFunctionality", "BuildingFunctionality", "NciFunctionality", - "INDP", - "CapitalShocks", + "CommercialBuildingRecovery", + "CapitalShocks" + ], + "before": [ + "PipelineFunctionality", + "EpnFunctionality", "WfnFunctionality", - "CommercialBuildingRecovery" + "MonteCarloLimitStateProbability" ] }, "WfnFunctionality": { - "before": [ - "MonteCarloLimitStateProbability", - "PipelineFunctionality", - "EpnFunctionality", - "WfnFunctionality" - ], "after": [ + "INDP", "EpnFunctionality", + "WfnFunctionality", "BuildingFunctionality", "NciFunctionality", - "INDP", - "CapitalShocks", + "CommercialBuildingRecovery", + "CapitalShocks" + ], + "before": [ + "PipelineFunctionality", + "EpnFunctionality", "WfnFunctionality", - "CommercialBuildingRecovery" + "MonteCarloLimitStateProbability" ] }, - "HousingRecoverySequential": { + "WaterFacilityDamage": { + "after": [ + "NciFunctionality", + "MonteCarloLimitStateProbability" + ], + "before": [] + }, + "GalvestonCGEModel": { "before": [ - "SocialVulnerabilityScore", - "PopulationDislocation" + "CapitalShocks" ], "after": [] }, - "HousingValuationRecovery": { + "JoplinCGEModel": { "before": [ - "PopulationDislocation" + "CapitalShocks" ], "after": [] }, - "RoadDamage": { - "after": [ - "MonteCarloLimitStateProbability", - "MeanDamage" + "MlEnabledCgeSlc": { + "before": [ + "CapitalShocks" ], - "before": [] + "after": [] }, - "PipelineDamage": { + "SaltLakeCGEModel": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "SeasideCGEModel": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "SocialVulnerabilityScore": { "after": [ - "MonteCarloLimitStateProbability" + "HousingRecoverySequential" ], "before": [] }, @@ -391,17 +395,33 @@ ], "before": [] }, - "HousingUnitAllocation": { - "after": [ - "PopulationDislocation", - "BuyoutDecision" + "BuildingFunctionality": { + "before": [ + "PipelineFunctionality", + "EpnFunctionality", + "WfnFunctionality", + "MonteCarloLimitStateProbability" ], - "before": [] + "after": [] }, - "SocialVulnerabilityScore": { - "after": [ - "HousingRecoverySequential" - ], - "before": [] + "BuildingClusterRecovery": { + "before": [], + "after": [] + }, + "GasFacilityDamage": { + "before": [], + "after": [] + }, + "MultiObjectiveRetrofitOptimization": { + "before": [], + "after": [] + }, + "TornadoEpnDamage": { + "before": [], + "after": [] + }, + "TrafficFlowRecovery": { + "before": [], + "after": [] } } \ No newline at end of file From b39f2a0bbacabf77eedddadeacc17c2a67d58855 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 20 Sep 2024 15:36:55 -0500 Subject: [PATCH 03/19] remove required dataset input --- .../pyincore_utils/create_dependency_graph.py | 16 +- utils/pyincore_utils/dependency_graph.json | 469 +++++++++--------- 2 files changed, 244 insertions(+), 241 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 25a317e..2c20991 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -121,14 +121,14 @@ spec = analysis_class.get_spec() for input in spec["input_datasets"]: - if input["required"]: - if type(input["type"]) == list: - for t in input["type"]: - input_types_for_analysis[t].append(analysis_name) - seen_types.add(t) - else: - input_types_for_analysis[input["type"]].append(analysis_name) - seen_types.add(input["type"]) + # if input["required"]: + if type(input["type"]) == list: + for t in input["type"]: + input_types_for_analysis[t].append(analysis_name) + seen_types.add(t) + else: + input_types_for_analysis[input["type"]].append(analysis_name) + seen_types.add(input["type"]) for output in spec["output_datasets"]: if type(output["type"]) == list: for t in output["type"]: diff --git a/utils/pyincore_utils/dependency_graph.json b/utils/pyincore_utils/dependency_graph.json index 28ec050..93b1dbd 100644 --- a/utils/pyincore_utils/dependency_graph.json +++ b/utils/pyincore_utils/dependency_graph.json @@ -1,203 +1,212 @@ { - "BuyoutDecision": { - "before": [ - "BuildingStructuralDamage", - "HousingUnitAllocation", - "PopulationDislocation", - "CombinedWindWaveSurgeBuildingDamage" - ], - "after": [] - }, - "PopulationDislocation": { + "MonteCarloLimitStateProbability": { "before": [ - "BuildingStructuralDamage", - "HousingUnitAllocation", + "RoadDamage", + "WaterFacilityDamage", "CumulativeBuildingDamage", + "BuildingNonStructuralDamage", + "EpfDamage", + "PipelineDamage", + "BridgeDamage", + "BuildingStructuralDamage", "CombinedWindWaveSurgeBuildingDamage" ], "after": [ - "BuyoutDecision", + "BuildingFunctionality", "INDP", - "HousingValuationRecovery", - "HousingRecoverySequential" + "ResidentialBuildingRecovery", + "CommercialBuildingRecovery", + "EpfRepairCost", + "NciFunctionality", + "CapitalShocks", + "EpnFunctionality", + "WaterFacilityRepairCost", + "WfnFunctionality" ] }, - "HousingUnitAllocation": { + "PipelineDamage": { "after": [ - "BuyoutDecision", - "PopulationDislocation" + "MonteCarloLimitStateProbability" ], "before": [] }, - "NciFunctionality": { + "GalvestonCGEModel": { "before": [ - "PipelineFunctionality", - "EpnFunctionality", - "WaterFacilityDamage", - "WaterFacilityRestoration", - "EpfDamage", - "EpfRestoration", - "WfnFunctionality", - "MonteCarloLimitStateProbability" + "CapitalShocks" ], "after": [] }, - "WaterFacilityRestoration": { - "after": [ - "INDP", - "NciFunctionality" + "JoplinCGEModel": { + "before": [ + "CapitalShocks" ], - "before": [] + "after": [] }, - "HousingRecoverySequential": { + "MlEnabledCgeSlc": { "before": [ - "PopulationDislocation", - "SocialVulnerabilityScore" + "CapitalShocks" ], "after": [] }, - "HousingValuationRecovery": { + "SaltLakeCGEModel": { "before": [ - "PopulationDislocation" + "CapitalShocks" ], "after": [] }, + "SeasideCGEModel": { + "before": [ + "CapitalShocks" + ], + "after": [] + }, + "CapitalShocks": { + "after": [ + "SeasideCGEModel", + "MlEnabledCgeSlc", + "GalvestonCGEModel", + "SaltLakeCGEModel", + "JoplinCGEModel" + ], + "before": [ + "WfnFunctionality", + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality" + ] + }, "INDP": { "before": [ "PipelineFunctionality", - "EpnFunctionality", - "WaterFacilityRestoration", - "WaterFacilityRepairCost", "EpfRestoration", - "WfnFunctionality", + "PipelineRestoration", + "WaterFacilityRepairCost", "MonteCarloLimitStateProbability", + "PopulationDislocation", + "WaterFacilityRestoration", "EpfRepairCost", + "EpnFunctionality", "PipelineRepairCost", - "PipelineRestoration", - "PopulationDislocation" + "WfnFunctionality" ], "after": [] }, - "CombinedWindWaveSurgeBuildingDamage": { + "PipelineRestoration": { + "after": [ + "INDP" + ], "before": [ - "BuildingNonStructuralDamage", - "BuildingStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage" + "PipelineDamageRepairRate" + ] + }, + "CumulativeBuildingDamage": { + "before": [ + "CumulativeBuildingDamage", + "CombinedWindWaveSurgeBuildingDamage", + "BuildingStructuralDamage" ], "after": [ "CumulativeBuildingDamage", - "CombinedWindWaveSurgeBuildingDamage", - "CombinedWindWaveSurgeBuildingLoss", "MonteCarloLimitStateProbability", - "MeanDamage", - "JoplinEmpiricalBuildingRestoration", - "CommercialBuildingRecovery", "PopulationDislocation", - "BuyoutDecision" + "MeanDamage", + "JoplinEmpiricalBuildingRestoration" ] }, - "CombinedWindWaveSurgeBuildingLoss": { - "before": [ - "BuildingNonStructuralDamage", - "BuildingStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage" - ], - "after": [] - }, "JoplinEmpiricalBuildingRestoration": { "before": [ - "BuildingNonStructuralDamage", - "BuildingStructuralDamage", "CumulativeBuildingDamage", - "CombinedWindWaveSurgeBuildingDamage" + "CombinedWindWaveSurgeBuildingDamage", + "BuildingNonStructuralDamage", + "BuildingStructuralDamage" ], "after": [] }, "MeanDamage": { "before": [ + "RoadDamage", "CumulativeBuildingDamage", - "CombinedWindWaveSurgeBuildingDamage", - "BuildingStructuralDamage", + "BuildingNonStructuralDamage", "BridgeDamage", - "RoadDamage", - "BuildingNonStructuralDamage" + "BuildingStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage" ], "after": [ "BuildingEconLoss" ] }, - "MonteCarloLimitStateProbability": { + "PopulationDislocation": { "before": [ - "PipelineDamage", - "WaterFacilityDamage", "CumulativeBuildingDamage", + "HousingUnitAllocation", "CombinedWindWaveSurgeBuildingDamage", - "BuildingStructuralDamage", - "EpfDamage", - "BridgeDamage", - "RoadDamage", - "BuildingNonStructuralDamage" + "BuildingStructuralDamage" ], "after": [ + "HousingRecoverySequential", + "HousingValuationRecovery", "INDP", - "EpnFunctionality", - "WaterFacilityRepairCost", - "WfnFunctionality", - "BuildingFunctionality", - "ResidentialBuildingRecovery", - "EpfRepairCost", - "NciFunctionality", - "CommercialBuildingRecovery", - "CapitalShocks" + "BuyoutDecision" ] }, - "BuildingNonStructuralDamage": { - "after": [ + "BuildingEconLoss": { + "before": [ + "MeanDamage" + ], + "after": [] + }, + "BuyoutDecision": { + "before": [ + "BuildingStructuralDamage", + "HousingUnitAllocation", "CombinedWindWaveSurgeBuildingDamage", - "CombinedWindWaveSurgeBuildingLoss", - "MonteCarloLimitStateProbability", - "MeanDamage", - "JoplinEmpiricalBuildingRestoration" + "PopulationDislocation" ], - "before": [] + "after": [] }, - "PipelineFunctionality": { + "HousingRecoverySequential": { "before": [ - "PipelineDamageRepairRate" + "SocialVulnerabilityScore", + "PopulationDislocation" ], - "after": [ - "INDP", - "EpnFunctionality", - "WfnFunctionality", - "BuildingFunctionality", - "NciFunctionality", - "CommercialBuildingRecovery", - "CapitalShocks" - ] + "after": [] }, - "PipelineRepairCost": { + "HousingValuationRecovery": { "before": [ - "PipelineDamageRepairRate" + "PopulationDislocation" ], - "after": [ - "INDP" - ] + "after": [] }, - "PipelineRestoration": { + "NciFunctionality": { "before": [ - "PipelineDamageRepairRate" + "PipelineFunctionality", + "EpfRestoration", + "WaterFacilityDamage", + "MonteCarloLimitStateProbability", + "WaterFacilityRestoration", + "EpfDamage", + "EpnFunctionality", + "WfnFunctionality" ], + "after": [] + }, + "EpfRestoration": { "after": [ + "NciFunctionality", "INDP" + ], + "before": [ + "EpfDamage" ] }, - "PipelineDamageRepairRate": { + "WaterFacilityRestoration": { "after": [ - "PipelineFunctionality", - "PipelineRestoration", - "PipelineRepairCost" + "NciFunctionality", + "INDP" ], - "before": [] + "before": [ + "WaterFacilityDamage" + ] }, "RoadDamage": { "after": [ @@ -206,184 +215,187 @@ ], "before": [] }, - "PipelineDamage": { - "after": [ - "MonteCarloLimitStateProbability" + "PipelineFunctionality": { + "before": [ + "PipelineDamageRepairRate" ], - "before": [] - }, - "EpfRestoration": { "after": [ + "BuildingFunctionality", "INDP", - "NciFunctionality" - ], - "before": [ - "EpfDamage" + "CommercialBuildingRecovery", + "NciFunctionality", + "CapitalShocks", + "EpnFunctionality", + "WfnFunctionality" ] }, - "CommercialBuildingRecovery": { + "PipelineRepairCost": { "before": [ + "PipelineDamageRepairRate" + ], + "after": [ + "INDP" + ] + }, + "PipelineDamageRepairRate": { + "after": [ + "PipelineRepairCost", "PipelineFunctionality", - "EpnFunctionality", - "CombinedWindWaveSurgeBuildingDamage", - "BuildingStructuralDamage", - "WfnFunctionality", - "MonteCarloLimitStateProbability" + "PipelineRestoration" ], - "after": [] + "before": [] }, - "CumulativeBuildingDamage": { + "CombinedWindWaveSurgeBuildingDamage": { "before": [ - "BuildingStructuralDamage", - "CumulativeBuildingDamage", - "CombinedWindWaveSurgeBuildingDamage" + "CombinedWindWaveSurgeBuildingDamage", + "BuildingNonStructuralDamage", + "BuildingStructuralDamage" ], "after": [ + "BuyoutDecision", "CumulativeBuildingDamage", - "MonteCarloLimitStateProbability", + "CommercialBuildingRecovery", "MeanDamage", + "MonteCarloLimitStateProbability", + "PopulationDislocation", "JoplinEmpiricalBuildingRestoration", - "PopulationDislocation" + "CombinedWindWaveSurgeBuildingLoss", + "CombinedWindWaveSurgeBuildingDamage" ] }, - "BuildingStructuralDamage": { - "after": [ - "CumulativeBuildingDamage", + "CombinedWindWaveSurgeBuildingLoss": { + "before": [ "CombinedWindWaveSurgeBuildingDamage", - "CombinedWindWaveSurgeBuildingLoss", - "MonteCarloLimitStateProbability", - "MeanDamage", - "JoplinEmpiricalBuildingRestoration", - "CommercialBuildingRecovery", - "PopulationDislocation", - "BuyoutDecision" + "BuildingNonStructuralDamage", + "BuildingStructuralDamage" ], - "before": [] + "after": [] }, - "BuildingEconLoss": { + "CommercialBuildingRecovery": { "before": [ - "MeanDamage" + "PipelineFunctionality", + "MonteCarloLimitStateProbability", + "EpnFunctionality", + "BuildingStructuralDamage", + "CombinedWindWaveSurgeBuildingDamage", + "WfnFunctionality" ], "after": [] }, - "BridgeDamage": { + "BuildingStructuralDamage": { "after": [ + "BuyoutDecision", + "CumulativeBuildingDamage", + "CommercialBuildingRecovery", + "MeanDamage", "MonteCarloLimitStateProbability", - "MeanDamage" + "PopulationDislocation", + "JoplinEmpiricalBuildingRestoration", + "CombinedWindWaveSurgeBuildingLoss", + "CombinedWindWaveSurgeBuildingDamage" ], "before": [] }, - "EpfRepairCost": { - "before": [ - "MonteCarloLimitStateProbability" - ], - "after": [ - "INDP" - ] - }, - "ResidentialBuildingRecovery": { + "BuildingFunctionality": { "before": [ - "MonteCarloLimitStateProbability" + "WfnFunctionality", + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality" ], "after": [] }, - "WaterFacilityRepairCost": { + "EpnFunctionality": { "before": [ - "MonteCarloLimitStateProbability" + "WfnFunctionality", + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality" ], "after": [ - "INDP" + "BuildingFunctionality", + "INDP", + "CommercialBuildingRecovery", + "NciFunctionality", + "CapitalShocks", + "EpnFunctionality", + "WfnFunctionality" ] }, - "CapitalShocks": { + "WfnFunctionality": { "before": [ - "PipelineFunctionality", - "EpnFunctionality", "WfnFunctionality", - "MonteCarloLimitStateProbability" + "MonteCarloLimitStateProbability", + "PipelineFunctionality", + "EpnFunctionality" ], "after": [ - "MlEnabledCgeSlc", - "SaltLakeCGEModel", - "JoplinCGEModel", - "GalvestonCGEModel", - "SeasideCGEModel" - ] - }, - "EpnFunctionality": { - "after": [ - "INDP", - "EpnFunctionality", - "WfnFunctionality", "BuildingFunctionality", - "NciFunctionality", + "INDP", "CommercialBuildingRecovery", - "CapitalShocks" - ], - "before": [ - "PipelineFunctionality", + "NciFunctionality", + "CapitalShocks", "EpnFunctionality", - "WfnFunctionality", - "MonteCarloLimitStateProbability" + "WfnFunctionality" ] }, - "WfnFunctionality": { + "BridgeDamage": { "after": [ - "INDP", - "EpnFunctionality", - "WfnFunctionality", - "BuildingFunctionality", - "NciFunctionality", - "CommercialBuildingRecovery", - "CapitalShocks" + "MonteCarloLimitStateProbability", + "MeanDamage" ], - "before": [ - "PipelineFunctionality", - "EpnFunctionality", - "WfnFunctionality", - "MonteCarloLimitStateProbability" - ] + "before": [] + }, + "BuildingNonStructuralDamage": { + "after": [ + "MonteCarloLimitStateProbability", + "MeanDamage", + "JoplinEmpiricalBuildingRestoration", + "CombinedWindWaveSurgeBuildingLoss", + "CombinedWindWaveSurgeBuildingDamage" + ], + "before": [] }, "WaterFacilityDamage": { "after": [ "NciFunctionality", + "WaterFacilityRestoration", "MonteCarloLimitStateProbability" ], "before": [] }, - "GalvestonCGEModel": { - "before": [ - "CapitalShocks" + "EpfRepairCost": { + "after": [ + "INDP" ], - "after": [] - }, - "JoplinCGEModel": { "before": [ - "CapitalShocks" - ], - "after": [] + "MonteCarloLimitStateProbability" + ] }, - "MlEnabledCgeSlc": { - "before": [ - "CapitalShocks" + "WaterFacilityRepairCost": { + "after": [ + "INDP" ], - "after": [] - }, - "SaltLakeCGEModel": { "before": [ - "CapitalShocks" + "MonteCarloLimitStateProbability" + ] + }, + "SocialVulnerabilityScore": { + "after": [ + "HousingRecoverySequential" ], - "after": [] + "before": [] }, - "SeasideCGEModel": { + "ResidentialBuildingRecovery": { "before": [ - "CapitalShocks" + "MonteCarloLimitStateProbability" ], "after": [] }, - "SocialVulnerabilityScore": { + "HousingUnitAllocation": { "after": [ - "HousingRecoverySequential" + "PopulationDislocation", + "BuyoutDecision" ], "before": [] }, @@ -395,15 +407,6 @@ ], "before": [] }, - "BuildingFunctionality": { - "before": [ - "PipelineFunctionality", - "EpnFunctionality", - "WfnFunctionality", - "MonteCarloLimitStateProbability" - ], - "after": [] - }, "BuildingClusterRecovery": { "before": [], "after": [] From 5e4aa0b8511d35051ab2507d7e942e451837f760 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 27 Sep 2024 15:10:02 -0500 Subject: [PATCH 04/19] update dependency graph to record which id connects 2 analysis --- .../pyincore_utils/create_dependency_graph.py | 62 +- utils/pyincore_utils/dependency_graph.json | 430 -------- .../pyincore_utils/new_dependency_graph.json | 994 ++++++++++++++++++ 3 files changed, 1036 insertions(+), 450 deletions(-) delete mode 100644 utils/pyincore_utils/dependency_graph.json create mode 100644 utils/pyincore_utils/new_dependency_graph.json diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 2c20991..7071fa7 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -121,56 +121,78 @@ spec = analysis_class.get_spec() for input in spec["input_datasets"]: - # if input["required"]: if type(input["type"]) == list: for t in input["type"]: - input_types_for_analysis[t].append(analysis_name) + input_types_for_analysis[t].append((analysis_name, input["id"])) seen_types.add(t) else: - input_types_for_analysis[input["type"]].append(analysis_name) + input_types_for_analysis[input["type"]].append((analysis_name, input["id"])) seen_types.add(input["type"]) for output in spec["output_datasets"]: if type(output["type"]) == list: for t in output["type"]: - output_types_for_analysis[t].append(analysis_name) + output_types_for_analysis[t].append((analysis_name, output["id"])) seen_types.add(t) else: - output_types_for_analysis[output["type"]].append(analysis_name) + output_types_for_analysis[output["type"]].append( + (analysis_name, output["id"]) + ) seen_types.add(output["type"]) dependency_graph = defaultdict(dict) for type in list(seen_types): - # add afters - for analysis_name in input_types_for_analysis[type]: - for other_type in output_types_for_analysis[type]: + # add befores + for analysis_name, propertyA in input_types_for_analysis[type]: + for other_type, propertyB in output_types_for_analysis[type]: if dependency_graph[analysis_name].get("before", None) is None: - dependency_graph[analysis_name]["before"] = set({other_type}) + dependency_graph[analysis_name]["before"] = set( + {(other_type, propertyA, propertyB)} + ) else: - dependency_graph[analysis_name]["before"].add(other_type) - # add befores - for analysis_name in output_types_for_analysis[type]: - for other_type in input_types_for_analysis[type]: + dependency_graph[analysis_name]["before"].add( + (other_type, propertyA, propertyB) + ) + # add afters + for analysis_name, propertyA in output_types_for_analysis[type]: + for other_type, propertyB in input_types_for_analysis[type]: if dependency_graph[analysis_name].get("after", None) is None: - dependency_graph[analysis_name]["after"] = set({other_type}) + dependency_graph[analysis_name]["after"] = set( + {(other_type, propertyA, propertyB)} + ) else: - dependency_graph[analysis_name]["after"].add(other_type) + dependency_graph[analysis_name]["after"].add( + (other_type, propertyA, propertyB) + ) # Convert sets to lists for value in dependency_graph.values(): for k, v in value.items(): - value[k] = list(v) + if k == "before": + value[k] = dict( + [ + (analysis, {"from": propB, "to": propA}) + for analysis, propA, propB in v + ] + ) + else: + value[k] = dict( + [ + (analysis, {"from": propA, "to": propB}) + for analysis, propA, propB in v + ] + ) if value.get("before", None) is None: - value["before"] = [] + value["before"] = {} if value.get("after", None) is None: - value["after"] = [] + value["after"] = {} if len(analysis_classes) != len(dependency_graph): print("Some analyses are missing from the dependency graph\nAdding them now:") for analysis_name in analysis_classes.keys(): if analysis_name not in dependency_graph: print(analysis_name) - dependency_graph[analysis_name] = {"before": [], "after": []} + dependency_graph[analysis_name] = {"before": {}, "after": {}} -json.dump(dependency_graph, open("dependency_graph.json", "w"), indent=4) +json.dump(dependency_graph, open("new_dependency_graph.json", "w"), indent=4) diff --git a/utils/pyincore_utils/dependency_graph.json b/utils/pyincore_utils/dependency_graph.json deleted file mode 100644 index 93b1dbd..0000000 --- a/utils/pyincore_utils/dependency_graph.json +++ /dev/null @@ -1,430 +0,0 @@ -{ - "MonteCarloLimitStateProbability": { - "before": [ - "RoadDamage", - "WaterFacilityDamage", - "CumulativeBuildingDamage", - "BuildingNonStructuralDamage", - "EpfDamage", - "PipelineDamage", - "BridgeDamage", - "BuildingStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage" - ], - "after": [ - "BuildingFunctionality", - "INDP", - "ResidentialBuildingRecovery", - "CommercialBuildingRecovery", - "EpfRepairCost", - "NciFunctionality", - "CapitalShocks", - "EpnFunctionality", - "WaterFacilityRepairCost", - "WfnFunctionality" - ] - }, - "PipelineDamage": { - "after": [ - "MonteCarloLimitStateProbability" - ], - "before": [] - }, - "GalvestonCGEModel": { - "before": [ - "CapitalShocks" - ], - "after": [] - }, - "JoplinCGEModel": { - "before": [ - "CapitalShocks" - ], - "after": [] - }, - "MlEnabledCgeSlc": { - "before": [ - "CapitalShocks" - ], - "after": [] - }, - "SaltLakeCGEModel": { - "before": [ - "CapitalShocks" - ], - "after": [] - }, - "SeasideCGEModel": { - "before": [ - "CapitalShocks" - ], - "after": [] - }, - "CapitalShocks": { - "after": [ - "SeasideCGEModel", - "MlEnabledCgeSlc", - "GalvestonCGEModel", - "SaltLakeCGEModel", - "JoplinCGEModel" - ], - "before": [ - "WfnFunctionality", - "MonteCarloLimitStateProbability", - "PipelineFunctionality", - "EpnFunctionality" - ] - }, - "INDP": { - "before": [ - "PipelineFunctionality", - "EpfRestoration", - "PipelineRestoration", - "WaterFacilityRepairCost", - "MonteCarloLimitStateProbability", - "PopulationDislocation", - "WaterFacilityRestoration", - "EpfRepairCost", - "EpnFunctionality", - "PipelineRepairCost", - "WfnFunctionality" - ], - "after": [] - }, - "PipelineRestoration": { - "after": [ - "INDP" - ], - "before": [ - "PipelineDamageRepairRate" - ] - }, - "CumulativeBuildingDamage": { - "before": [ - "CumulativeBuildingDamage", - "CombinedWindWaveSurgeBuildingDamage", - "BuildingStructuralDamage" - ], - "after": [ - "CumulativeBuildingDamage", - "MonteCarloLimitStateProbability", - "PopulationDislocation", - "MeanDamage", - "JoplinEmpiricalBuildingRestoration" - ] - }, - "JoplinEmpiricalBuildingRestoration": { - "before": [ - "CumulativeBuildingDamage", - "CombinedWindWaveSurgeBuildingDamage", - "BuildingNonStructuralDamage", - "BuildingStructuralDamage" - ], - "after": [] - }, - "MeanDamage": { - "before": [ - "RoadDamage", - "CumulativeBuildingDamage", - "BuildingNonStructuralDamage", - "BridgeDamage", - "BuildingStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage" - ], - "after": [ - "BuildingEconLoss" - ] - }, - "PopulationDislocation": { - "before": [ - "CumulativeBuildingDamage", - "HousingUnitAllocation", - "CombinedWindWaveSurgeBuildingDamage", - "BuildingStructuralDamage" - ], - "after": [ - "HousingRecoverySequential", - "HousingValuationRecovery", - "INDP", - "BuyoutDecision" - ] - }, - "BuildingEconLoss": { - "before": [ - "MeanDamage" - ], - "after": [] - }, - "BuyoutDecision": { - "before": [ - "BuildingStructuralDamage", - "HousingUnitAllocation", - "CombinedWindWaveSurgeBuildingDamage", - "PopulationDislocation" - ], - "after": [] - }, - "HousingRecoverySequential": { - "before": [ - "SocialVulnerabilityScore", - "PopulationDislocation" - ], - "after": [] - }, - "HousingValuationRecovery": { - "before": [ - "PopulationDislocation" - ], - "after": [] - }, - "NciFunctionality": { - "before": [ - "PipelineFunctionality", - "EpfRestoration", - "WaterFacilityDamage", - "MonteCarloLimitStateProbability", - "WaterFacilityRestoration", - "EpfDamage", - "EpnFunctionality", - "WfnFunctionality" - ], - "after": [] - }, - "EpfRestoration": { - "after": [ - "NciFunctionality", - "INDP" - ], - "before": [ - "EpfDamage" - ] - }, - "WaterFacilityRestoration": { - "after": [ - "NciFunctionality", - "INDP" - ], - "before": [ - "WaterFacilityDamage" - ] - }, - "RoadDamage": { - "after": [ - "MonteCarloLimitStateProbability", - "MeanDamage" - ], - "before": [] - }, - "PipelineFunctionality": { - "before": [ - "PipelineDamageRepairRate" - ], - "after": [ - "BuildingFunctionality", - "INDP", - "CommercialBuildingRecovery", - "NciFunctionality", - "CapitalShocks", - "EpnFunctionality", - "WfnFunctionality" - ] - }, - "PipelineRepairCost": { - "before": [ - "PipelineDamageRepairRate" - ], - "after": [ - "INDP" - ] - }, - "PipelineDamageRepairRate": { - "after": [ - "PipelineRepairCost", - "PipelineFunctionality", - "PipelineRestoration" - ], - "before": [] - }, - "CombinedWindWaveSurgeBuildingDamage": { - "before": [ - "CombinedWindWaveSurgeBuildingDamage", - "BuildingNonStructuralDamage", - "BuildingStructuralDamage" - ], - "after": [ - "BuyoutDecision", - "CumulativeBuildingDamage", - "CommercialBuildingRecovery", - "MeanDamage", - "MonteCarloLimitStateProbability", - "PopulationDislocation", - "JoplinEmpiricalBuildingRestoration", - "CombinedWindWaveSurgeBuildingLoss", - "CombinedWindWaveSurgeBuildingDamage" - ] - }, - "CombinedWindWaveSurgeBuildingLoss": { - "before": [ - "CombinedWindWaveSurgeBuildingDamage", - "BuildingNonStructuralDamage", - "BuildingStructuralDamage" - ], - "after": [] - }, - "CommercialBuildingRecovery": { - "before": [ - "PipelineFunctionality", - "MonteCarloLimitStateProbability", - "EpnFunctionality", - "BuildingStructuralDamage", - "CombinedWindWaveSurgeBuildingDamage", - "WfnFunctionality" - ], - "after": [] - }, - "BuildingStructuralDamage": { - "after": [ - "BuyoutDecision", - "CumulativeBuildingDamage", - "CommercialBuildingRecovery", - "MeanDamage", - "MonteCarloLimitStateProbability", - "PopulationDislocation", - "JoplinEmpiricalBuildingRestoration", - "CombinedWindWaveSurgeBuildingLoss", - "CombinedWindWaveSurgeBuildingDamage" - ], - "before": [] - }, - "BuildingFunctionality": { - "before": [ - "WfnFunctionality", - "MonteCarloLimitStateProbability", - "PipelineFunctionality", - "EpnFunctionality" - ], - "after": [] - }, - "EpnFunctionality": { - "before": [ - "WfnFunctionality", - "MonteCarloLimitStateProbability", - "PipelineFunctionality", - "EpnFunctionality" - ], - "after": [ - "BuildingFunctionality", - "INDP", - "CommercialBuildingRecovery", - "NciFunctionality", - "CapitalShocks", - "EpnFunctionality", - "WfnFunctionality" - ] - }, - "WfnFunctionality": { - "before": [ - "WfnFunctionality", - "MonteCarloLimitStateProbability", - "PipelineFunctionality", - "EpnFunctionality" - ], - "after": [ - "BuildingFunctionality", - "INDP", - "CommercialBuildingRecovery", - "NciFunctionality", - "CapitalShocks", - "EpnFunctionality", - "WfnFunctionality" - ] - }, - "BridgeDamage": { - "after": [ - "MonteCarloLimitStateProbability", - "MeanDamage" - ], - "before": [] - }, - "BuildingNonStructuralDamage": { - "after": [ - "MonteCarloLimitStateProbability", - "MeanDamage", - "JoplinEmpiricalBuildingRestoration", - "CombinedWindWaveSurgeBuildingLoss", - "CombinedWindWaveSurgeBuildingDamage" - ], - "before": [] - }, - "WaterFacilityDamage": { - "after": [ - "NciFunctionality", - "WaterFacilityRestoration", - "MonteCarloLimitStateProbability" - ], - "before": [] - }, - "EpfRepairCost": { - "after": [ - "INDP" - ], - "before": [ - "MonteCarloLimitStateProbability" - ] - }, - "WaterFacilityRepairCost": { - "after": [ - "INDP" - ], - "before": [ - "MonteCarloLimitStateProbability" - ] - }, - "SocialVulnerabilityScore": { - "after": [ - "HousingRecoverySequential" - ], - "before": [] - }, - "ResidentialBuildingRecovery": { - "before": [ - "MonteCarloLimitStateProbability" - ], - "after": [] - }, - "HousingUnitAllocation": { - "after": [ - "PopulationDislocation", - "BuyoutDecision" - ], - "before": [] - }, - "EpfDamage": { - "after": [ - "NciFunctionality", - "EpfRestoration", - "MonteCarloLimitStateProbability" - ], - "before": [] - }, - "BuildingClusterRecovery": { - "before": [], - "after": [] - }, - "GasFacilityDamage": { - "before": [], - "after": [] - }, - "MultiObjectiveRetrofitOptimization": { - "before": [], - "after": [] - }, - "TornadoEpnDamage": { - "before": [], - "after": [] - }, - "TrafficFlowRecovery": { - "before": [], - "after": [] - } -} \ No newline at end of file diff --git a/utils/pyincore_utils/new_dependency_graph.json b/utils/pyincore_utils/new_dependency_graph.json new file mode 100644 index 0000000..376692d --- /dev/null +++ b/utils/pyincore_utils/new_dependency_graph.json @@ -0,0 +1,994 @@ +{ + "NciFunctionality": { + "before": { + "PipelineFunctionality": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + }, + "WaterFacilityRestoration": { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + "EpnFunctionality": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + }, + "EpfRestoration": { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + "WaterFacilityDamage": { + "from": "result", + "to": "wds_dmg_results" + }, + "WfnFunctionality": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + }, + "EpfDamage": { + "from": "result", + "to": "epf_damage" + }, + "MonteCarloLimitStateProbability": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + }, + "after": {} + }, + "WaterFacilityRestoration": { + "after": { + "INDP": { + "from": "repair_times", + "to": "wf_restoration_time" + }, + "NciFunctionality": { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + } + }, + "before": { + "WaterFacilityDamage": { + "from": "result", + "to": "damage" + } + } + }, + "BuyoutDecision": { + "before": { + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "future_building_damage" + }, + "PopulationDislocation": { + "from": "result", + "to": "population_dislocation" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "past_building_damage" + }, + "HousingUnitAllocation": { + "from": "result", + "to": "housing_unit_allocation" + } + }, + "after": {} + }, + "PopulationDislocation": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "building_dmg" + }, + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "building_dmg" + }, + "HousingUnitAllocation": { + "from": "result", + "to": "housing_unit_allocation" + }, + "CumulativeBuildingDamage": { + "from": "combined-result", + "to": "building_dmg" + } + }, + "after": { + "HousingValuationRecovery": { + "from": "result", + "to": "population_dislocation" + }, + "BuyoutDecision": { + "from": "result", + "to": "population_dislocation" + }, + "HousingRecoverySequential": { + "from": "result", + "to": "population_dislocation_block" + }, + "INDP": { + "from": "result", + "to": "pop_dislocation" + } + } + }, + "HousingUnitAllocation": { + "after": { + "PopulationDislocation": { + "from": "result", + "to": "housing_unit_allocation" + }, + "BuyoutDecision": { + "from": "result", + "to": "housing_unit_allocation" + } + }, + "before": {} + }, + "MeanDamage": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "damage" + }, + "BuildingNonStructuralDamage": { + "from": "result", + "to": "damage" + }, + "CumulativeBuildingDamage": { + "from": "combined-result", + "to": "damage" + }, + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "damage" + }, + "RoadDamage": { + "from": "result", + "to": "damage" + }, + "BridgeDamage": { + "from": "result", + "to": "damage" + } + }, + "after": { + "BuildingEconLoss": { + "from": "result", + "to": "building_mean_dmg" + } + } + }, + "MonteCarloLimitStateProbability": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "damage" + }, + "BuildingNonStructuralDamage": { + "from": "result", + "to": "damage" + }, + "CumulativeBuildingDamage": { + "from": "combined-result", + "to": "damage" + }, + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "damage" + }, + "WaterFacilityDamage": { + "from": "result", + "to": "damage" + }, + "EpfDamage": { + "from": "result", + "to": "damage" + }, + "RoadDamage": { + "from": "result", + "to": "damage" + }, + "PipelineDamage": { + "from": "result", + "to": "damage" + }, + "BridgeDamage": { + "from": "result", + "to": "damage" + } + }, + "after": { + "CapitalShocks": { + "from": "failure_probability", + "to": "failure_probability" + }, + "INDP": { + "from": "sample_damage_states", + "to": "epf_damage_state" + }, + "EpfRepairCost": { + "from": "sample_damage_states", + "to": "sample_damage_states" + }, + "BuildingFunctionality": { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + }, + "NciFunctionality": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + }, + "WaterFacilityRepairCost": { + "from": "sample_damage_states", + "to": "sample_damage_states" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + "CommercialBuildingRecovery": { + "from": "failure_probability", + "to": "mcs_failure" + }, + "ResidentialBuildingRecovery": { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + } + }, + "RoadDamage": { + "after": { + "MonteCarloLimitStateProbability": { + "from": "result", + "to": "damage" + }, + "MeanDamage": { + "from": "result", + "to": "damage" + } + }, + "before": {} + }, + "CapitalShocks": { + "before": { + "EpnFunctionality": { + "from": "failure_probability", + "to": "failure_probability" + }, + "MonteCarloLimitStateProbability": { + "from": "failure_probability", + "to": "failure_probability" + }, + "WfnFunctionality": { + "from": "failure_probability", + "to": "failure_probability" + }, + "PipelineFunctionality": { + "from": "failure_probability", + "to": "failure_probability" + } + }, + "after": { + "GalvestonCGEModel": { + "from": "sector_shocks", + "to": "sector_shocks" + }, + "JoplinCGEModel": { + "from": "sector_shocks", + "to": "sector_shocks" + }, + "MlEnabledCgeSlc": { + "from": "sector_shocks", + "to": "sector_shocks" + }, + "SeasideCGEModel": { + "from": "sector_shocks", + "to": "sector_shocks" + }, + "SaltLakeCGEModel": { + "from": "sector_shocks", + "to": "sector_shocks" + } + } + }, + "CommercialBuildingRecovery": { + "before": { + "WfnFunctionality": { + "from": "failure_probability", + "to": "mcs_failure" + }, + "MonteCarloLimitStateProbability": { + "from": "failure_probability", + "to": "mcs_failure" + }, + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "building_dmg" + }, + "PipelineFunctionality": { + "from": "failure_probability", + "to": "mcs_failure" + }, + "EpnFunctionality": { + "from": "failure_probability", + "to": "mcs_failure" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "building_dmg" + } + }, + "after": {} + }, + "EpnFunctionality": { + "after": { + "CapitalShocks": { + "from": "failure_probability", + "to": "failure_probability" + }, + "INDP": { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + "BuildingFunctionality": { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + }, + "NciFunctionality": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + "CommercialBuildingRecovery": { + "from": "failure_probability", + "to": "mcs_failure" + } + }, + "before": { + "PipelineFunctionality": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + }, + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + }, + "MonteCarloLimitStateProbability": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + } + }, + "PipelineFunctionality": { + "after": { + "CapitalShocks": { + "from": "failure_probability", + "to": "failure_probability" + }, + "INDP": { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + "BuildingFunctionality": { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + }, + "NciFunctionality": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + "CommercialBuildingRecovery": { + "from": "failure_probability", + "to": "mcs_failure" + } + }, + "before": { + "PipelineDamageRepairRate": { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + } + }, + "WfnFunctionality": { + "after": { + "CapitalShocks": { + "from": "failure_probability", + "to": "failure_probability" + }, + "INDP": { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + "BuildingFunctionality": { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + }, + "NciFunctionality": { + "from": "failure_probability", + "to": "epf_subst_failure_results" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + "CommercialBuildingRecovery": { + "from": "failure_probability", + "to": "mcs_failure" + } + }, + "before": { + "PipelineFunctionality": { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + "MonteCarloLimitStateProbability": { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } + } + }, + "EpfRepairCost": { + "before": { + "MonteCarloLimitStateProbability": { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + }, + "after": { + "INDP": { + "from": "result", + "to": "epf_repair_cost" + } + } + }, + "INDP": { + "before": { + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + "EpfRepairCost": { + "from": "result", + "to": "wf_repair_cost" + }, + "WaterFacilityRestoration": { + "from": "repair_times", + "to": "wf_restoration_time" + }, + "PipelineRepairCost": { + "from": "result", + "to": "pipeline_repair_cost" + }, + "MonteCarloLimitStateProbability": { + "from": "sample_damage_states", + "to": "epf_damage_state" + }, + "PipelineFunctionality": { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + "EpfRestoration": { + "from": "repair_times", + "to": "epf_restoration_time" + }, + "WaterFacilityRepairCost": { + "from": "result", + "to": "wf_repair_cost" + }, + "PopulationDislocation": { + "from": "result", + "to": "pop_dislocation" + }, + "PipelineRestoration": { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + }, + "after": {} + }, + "ResidentialBuildingRecovery": { + "before": { + "MonteCarloLimitStateProbability": { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + }, + "after": {} + }, + "WaterFacilityRepairCost": { + "before": { + "MonteCarloLimitStateProbability": { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + }, + "after": { + "INDP": { + "from": "result", + "to": "epf_repair_cost" + } + } + }, + "BuildingFunctionality": { + "before": { + "PipelineFunctionality": { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + "EpnFunctionality": { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + "WfnFunctionality": { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + "MonteCarloLimitStateProbability": { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + } + }, + "after": {} + }, + "PipelineRepairCost": { + "after": { + "INDP": { + "from": "result", + "to": "pipeline_repair_cost" + } + }, + "before": { + "PipelineDamageRepairRate": { + "from": "result", + "to": "pipeline_dmg" + } + } + }, + "PipelineDamage": { + "after": { + "MonteCarloLimitStateProbability": { + "from": "result", + "to": "damage" + } + }, + "before": {} + }, + "HousingRecoverySequential": { + "before": { + "SocialVulnerabilityScore": { + "from": "sv_result", + "to": "sv_result" + }, + "PopulationDislocation": { + "from": "result", + "to": "population_dislocation_block" + } + }, + "after": {} + }, + "SocialVulnerabilityScore": { + "after": { + "HousingRecoverySequential": { + "from": "sv_result", + "to": "sv_result" + } + }, + "before": {} + }, + "CumulativeBuildingDamage": { + "before": { + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + "CumulativeBuildingDamage": { + "from": "combined-result", + "to": "tsunami_bldg_dmg" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + } + }, + "after": { + "MonteCarloLimitStateProbability": { + "from": "combined-result", + "to": "damage" + }, + "PopulationDislocation": { + "from": "combined-result", + "to": "building_dmg" + }, + "CumulativeBuildingDamage": { + "from": "combined-result", + "to": "tsunami_bldg_dmg" + }, + "JoplinEmpiricalBuildingRestoration": { + "from": "combined-result", + "to": "building_dmg" + }, + "MeanDamage": { + "from": "combined-result", + "to": "damage" + } + } + }, + "JoplinEmpiricalBuildingRestoration": { + "before": { + "BuildingNonStructuralDamage": { + "from": "result", + "to": "building_dmg" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "building_dmg" + }, + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "building_dmg" + }, + "CumulativeBuildingDamage": { + "from": "combined-result", + "to": "building_dmg" + } + }, + "after": {} + }, + "PipelineRestoration": { + "after": { + "INDP": { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + }, + "before": { + "PipelineDamageRepairRate": { + "from": "result", + "to": "pipeline_damage" + } + } + }, + "EpfRestoration": { + "before": { + "EpfDamage": { + "from": "result", + "to": "damage" + } + }, + "after": { + "INDP": { + "from": "repair_times", + "to": "epf_restoration_time" + }, + "NciFunctionality": { + "from": "time_results", + "to": "epf_time_results" + } + } + }, + "EpfDamage": { + "after": { + "NciFunctionality": { + "from": "result", + "to": "epf_damage" + }, + "MonteCarloLimitStateProbability": { + "from": "result", + "to": "damage" + }, + "EpfRestoration": { + "from": "result", + "to": "damage" + } + }, + "before": {} + }, + "PipelineDamageRepairRate": { + "after": { + "PipelineRestoration": { + "from": "result", + "to": "pipeline_damage" + }, + "PipelineRepairCost": { + "from": "result", + "to": "pipeline_dmg" + }, + "PipelineFunctionality": { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + }, + "before": {} + }, + "BuildingEconLoss": { + "before": { + "MeanDamage": { + "from": "result", + "to": "building_mean_dmg" + } + }, + "after": {} + }, + "HousingValuationRecovery": { + "before": { + "PopulationDislocation": { + "from": "result", + "to": "population_dislocation" + } + }, + "after": {} + }, + "BridgeDamage": { + "after": { + "MonteCarloLimitStateProbability": { + "from": "result", + "to": "damage" + }, + "MeanDamage": { + "from": "result", + "to": "damage" + } + }, + "before": {} + }, + "WaterFacilityDamage": { + "after": { + "WaterFacilityRestoration": { + "from": "result", + "to": "damage" + }, + "MonteCarloLimitStateProbability": { + "from": "result", + "to": "damage" + }, + "NciFunctionality": { + "from": "result", + "to": "wds_dmg_results" + } + }, + "before": {} + }, + "GalvestonCGEModel": { + "before": { + "CapitalShocks": { + "from": "sector_shocks", + "to": "sector_shocks" + } + }, + "after": {} + }, + "JoplinCGEModel": { + "before": { + "CapitalShocks": { + "from": "sector_shocks", + "to": "sector_shocks" + } + }, + "after": {} + }, + "MlEnabledCgeSlc": { + "before": { + "CapitalShocks": { + "from": "sector_shocks", + "to": "sector_shocks" + } + }, + "after": {} + }, + "SaltLakeCGEModel": { + "before": { + "CapitalShocks": { + "from": "sector_shocks", + "to": "sector_shocks" + } + }, + "after": {} + }, + "SeasideCGEModel": { + "before": { + "CapitalShocks": { + "from": "sector_shocks", + "to": "sector_shocks" + } + }, + "after": {} + }, + "CombinedWindWaveSurgeBuildingDamage": { + "before": { + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "wind_damage" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "wind_damage" + }, + "BuildingNonStructuralDamage": { + "from": "result", + "to": "flood_damage" + } + }, + "after": { + "CombinedWindWaveSurgeBuildingLoss": { + "from": "ds_result", + "to": "surge_wave_damage" + }, + "CommercialBuildingRecovery": { + "from": "ds_result", + "to": "building_dmg" + }, + "CumulativeBuildingDamage": { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + "BuyoutDecision": { + "from": "ds_result", + "to": "future_building_damage" + }, + "JoplinEmpiricalBuildingRestoration": { + "from": "ds_result", + "to": "building_dmg" + }, + "MonteCarloLimitStateProbability": { + "from": "ds_result", + "to": "damage" + }, + "MeanDamage": { + "from": "ds_result", + "to": "damage" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "wind_damage" + }, + "PopulationDislocation": { + "from": "ds_result", + "to": "building_dmg" + } + } + }, + "CombinedWindWaveSurgeBuildingLoss": { + "before": { + "BuildingStructuralDamage": { + "from": "ds_result", + "to": "wind_damage" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "wind_damage" + }, + "BuildingNonStructuralDamage": { + "from": "result", + "to": "flood_damage" + } + }, + "after": {} + }, + "BuildingStructuralDamage": { + "after": { + "CombinedWindWaveSurgeBuildingLoss": { + "from": "ds_result", + "to": "surge_wave_damage" + }, + "CommercialBuildingRecovery": { + "from": "ds_result", + "to": "building_dmg" + }, + "CumulativeBuildingDamage": { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + "BuyoutDecision": { + "from": "ds_result", + "to": "future_building_damage" + }, + "JoplinEmpiricalBuildingRestoration": { + "from": "ds_result", + "to": "building_dmg" + }, + "MonteCarloLimitStateProbability": { + "from": "ds_result", + "to": "damage" + }, + "MeanDamage": { + "from": "ds_result", + "to": "damage" + }, + "CombinedWindWaveSurgeBuildingDamage": { + "from": "ds_result", + "to": "wind_damage" + }, + "PopulationDislocation": { + "from": "ds_result", + "to": "building_dmg" + } + }, + "before": {} + }, + "BuildingNonStructuralDamage": { + "after": { + "CombinedWindWaveSurgeBuildingDamage": { + "from": "result", + "to": "flood_damage" + }, + "CombinedWindWaveSurgeBuildingLoss": { + "from": "result", + "to": "flood_damage" + }, + "JoplinEmpiricalBuildingRestoration": { + "from": "result", + "to": "building_dmg" + }, + "MonteCarloLimitStateProbability": { + "from": "result", + "to": "damage" + }, + "MeanDamage": { + "from": "result", + "to": "damage" + } + }, + "before": {} + }, + "BuildingClusterRecovery": { + "before": {}, + "after": {} + }, + "GasFacilityDamage": { + "before": {}, + "after": {} + }, + "MultiObjectiveRetrofitOptimization": { + "before": {}, + "after": {} + }, + "TornadoEpnDamage": { + "before": {}, + "after": {} + }, + "TrafficFlowRecovery": { + "before": {}, + "after": {} + } +} \ No newline at end of file From 0d2382f982a2e6d6595027171bcb51a8364291bd Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 27 Sep 2024 15:46:56 -0500 Subject: [PATCH 05/19] further refine logic --- .../pyincore_utils/create_dependency_graph.py | 36 +- .../pyincore_utils/new_dependency_graph.json | 2320 +++++++++++------ 2 files changed, 1522 insertions(+), 834 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 7071fa7..f62b698 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -147,11 +147,11 @@ for other_type, propertyB in output_types_for_analysis[type]: if dependency_graph[analysis_name].get("before", None) is None: dependency_graph[analysis_name]["before"] = set( - {(other_type, propertyA, propertyB)} + {(other_type, propertyB, propertyA)} ) else: dependency_graph[analysis_name]["before"].add( - (other_type, propertyA, propertyB) + (other_type, propertyB, propertyA) ) # add afters for analysis_name, propertyA in output_types_for_analysis[type]: @@ -169,19 +169,27 @@ for value in dependency_graph.values(): for k, v in value.items(): if k == "before": - value[k] = dict( - [ - (analysis, {"from": propB, "to": propA}) - for analysis, propA, propB in v - ] - ) + value[k] = defaultdict(list) + for analysis, propA, propB in list(v): + value[k][analysis].append({"from": propB, "to": propA}) + + # value[k] = dict( + # [ + # (analysis, {"from": propB, "to": propA}) + # for analysis, propA, propB in list(v) + # ] + # ) else: - value[k] = dict( - [ - (analysis, {"from": propA, "to": propB}) - for analysis, propA, propB in v - ] - ) + value[k] = defaultdict(list) + for analysis, propA, propB in list(v): + value[k][analysis].append({"from": propA, "to": propB}) + + # value[k] = dict( + # [ + # (analysis, {"from": propA, "to": propB}) + # for analysis, propA, propB in list(v) + # ] + # ) if value.get("before", None) is None: value["before"] = {} diff --git a/utils/pyincore_utils/new_dependency_graph.json b/utils/pyincore_utils/new_dependency_graph.json index 376692d..7946e69 100644 --- a/utils/pyincore_utils/new_dependency_graph.json +++ b/utils/pyincore_utils/new_dependency_graph.json @@ -1,973 +1,1653 @@ { "NciFunctionality": { "before": { - "PipelineFunctionality": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - }, - "WaterFacilityRestoration": { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - "EpnFunctionality": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - }, - "EpfRestoration": { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - "WaterFacilityDamage": { - "from": "result", - "to": "wds_dmg_results" - }, - "WfnFunctionality": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - }, - "EpfDamage": { - "from": "result", - "to": "epf_damage" - }, - "MonteCarloLimitStateProbability": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - } + "PipelineFunctionality": [ + { + "from": "epf_subst_failure_results", + "to": "failure_probability" + } + ], + "WfnFunctionality": [ + { + "from": "epf_subst_failure_results", + "to": "failure_probability" + } + ], + "EpfRestoration": [ + { + "from": "wds_inventory_rest_map", + "to": "inventory_restoration_map" + }, + { + "from": "epf_inventory_rest_map", + "to": "inventory_restoration_map" + }, + { + "from": "epf_time_results", + "to": "time_results" + } + ], + "EpfDamage": [ + { + "from": "epf_damage", + "to": "result" + } + ], + "WaterFacilityRestoration": [ + { + "from": "wds_time_results", + "to": "time_results" + }, + { + "from": "wds_inventory_rest_map", + "to": "inventory_restoration_map" + }, + { + "from": "epf_inventory_rest_map", + "to": "inventory_restoration_map" + } + ], + "WaterFacilityDamage": [ + { + "from": "wds_dmg_results", + "to": "result" + } + ], + "EpnFunctionality": [ + { + "from": "epf_subst_failure_results", + "to": "failure_probability" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "epf_subst_failure_results", + "to": "failure_probability" + } + ] }, "after": {} }, - "WaterFacilityRestoration": { + "EpfRestoration": { "after": { - "INDP": { - "from": "repair_times", - "to": "wf_restoration_time" - }, - "NciFunctionality": { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - } + "NciFunctionality": [ + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" + } + ], + "INDP": [ + { + "from": "repair_times", + "to": "epf_restoration_time" + } + ] }, "before": { - "WaterFacilityDamage": { - "from": "result", - "to": "damage" - } + "EpfDamage": [ + { + "from": "damage", + "to": "result" + } + ] } }, - "BuyoutDecision": { + "CapitalShocks": { "before": { - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "future_building_damage" - }, - "PopulationDislocation": { - "from": "result", - "to": "population_dislocation" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "past_building_damage" - }, - "HousingUnitAllocation": { - "from": "result", - "to": "housing_unit_allocation" - } + "PipelineFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "WfnFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "EpnFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ] }, - "after": {} + "after": { + "SaltLakeCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "MlEnabledCgeSlc": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "GalvestonCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "JoplinCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "SeasideCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + } }, - "PopulationDislocation": { + "CommercialBuildingRecovery": { "before": { - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "building_dmg" - }, - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "building_dmg" - }, - "HousingUnitAllocation": { - "from": "result", - "to": "housing_unit_allocation" - }, - "CumulativeBuildingDamage": { - "from": "combined-result", - "to": "building_dmg" - } + "EpnFunctionality": [ + { + "from": "mcs_failure", + "to": "failure_probability" + } + ], + "BuildingStructuralDamage": [ + { + "from": "building_dmg", + "to": "ds_result" + } + ], + "WfnFunctionality": [ + { + "from": "mcs_failure", + "to": "failure_probability" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "mcs_failure", + "to": "failure_probability" + }, + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "PipelineFunctionality": [ + { + "from": "mcs_failure", + "to": "failure_probability" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "building_dmg", + "to": "ds_result" + } + ] }, - "after": { - "HousingValuationRecovery": { - "from": "result", - "to": "population_dislocation" - }, - "BuyoutDecision": { - "from": "result", - "to": "population_dislocation" - }, - "HousingRecoverySequential": { - "from": "result", - "to": "population_dislocation_block" - }, - "INDP": { - "from": "result", - "to": "pop_dislocation" - } - } + "after": {} }, - "HousingUnitAllocation": { + "EpnFunctionality": { "after": { - "PopulationDislocation": { - "from": "result", - "to": "housing_unit_allocation" - }, - "BuyoutDecision": { - "from": "result", - "to": "housing_unit_allocation" - } + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "INDP": [ + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + } + ], + "NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] }, - "before": {} - }, - "MeanDamage": { "before": { - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "damage" - }, - "BuildingNonStructuralDamage": { - "from": "result", - "to": "damage" - }, - "CumulativeBuildingDamage": { - "from": "combined-result", - "to": "damage" - }, - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "damage" - }, - "RoadDamage": { - "from": "result", - "to": "damage" - }, - "BridgeDamage": { - "from": "result", - "to": "damage" - } - }, - "after": { - "BuildingEconLoss": { - "from": "result", - "to": "building_mean_dmg" - } + "MonteCarloLimitStateProbability": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ], + "PipelineFunctionality": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ], + "WfnFunctionality": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ] } }, "MonteCarloLimitStateProbability": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "damage" - }, - "BuildingNonStructuralDamage": { - "from": "result", - "to": "damage" - }, - "CumulativeBuildingDamage": { - "from": "combined-result", - "to": "damage" - }, - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "damage" - }, - "WaterFacilityDamage": { - "from": "result", - "to": "damage" - }, - "EpfDamage": { - "from": "result", - "to": "damage" - }, - "RoadDamage": { - "from": "result", - "to": "damage" - }, - "PipelineDamage": { - "from": "result", - "to": "damage" - }, - "BridgeDamage": { - "from": "result", - "to": "damage" - } - }, "after": { - "CapitalShocks": { - "from": "failure_probability", - "to": "failure_probability" - }, - "INDP": { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, - "EpfRepairCost": { - "from": "sample_damage_states", - "to": "sample_damage_states" - }, - "BuildingFunctionality": { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - }, - "NciFunctionality": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - }, - "WaterFacilityRepairCost": { - "from": "sample_damage_states", - "to": "sample_damage_states" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - "CommercialBuildingRecovery": { - "from": "failure_probability", - "to": "mcs_failure" - }, - "ResidentialBuildingRecovery": { - "from": "sample_damage_states", - "to": "sample_damage_states" - } + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + }, + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "INDP": [ + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "epf_damage_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_damage_states", + "to": "wf_damage_state" + } + ], + "NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "ResidentialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "WaterFacilityRepairCost": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "EpfRepairCost": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] + }, + "before": { + "PipelineDamage": [ + { + "from": "damage", + "to": "result" + } + ], + "WaterFacilityDamage": [ + { + "from": "damage", + "to": "result" + } + ], + "RoadDamage": [ + { + "from": "damage", + "to": "result" + } + ], + "BuildingStructuralDamage": [ + { + "from": "damage", + "to": "ds_result" + } + ], + "BridgeDamage": [ + { + "from": "damage", + "to": "result" + } + ], + "EpfDamage": [ + { + "from": "damage", + "to": "result" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "damage", + "to": "combined-result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "damage", + "to": "ds_result" + } + ], + "BuildingNonStructuralDamage": [ + { + "from": "damage", + "to": "result" + } + ] } }, - "RoadDamage": { + "PipelineFunctionality": { "after": { - "MonteCarloLimitStateProbability": { - "from": "result", - "to": "damage" - }, - "MeanDamage": { - "from": "result", - "to": "damage" - } + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "INDP": [ + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + } + ], + "NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] }, - "before": {} - }, - "CapitalShocks": { "before": { - "EpnFunctionality": { - "from": "failure_probability", - "to": "failure_probability" - }, - "MonteCarloLimitStateProbability": { - "from": "failure_probability", - "to": "failure_probability" - }, - "WfnFunctionality": { - "from": "failure_probability", - "to": "failure_probability" - }, - "PipelineFunctionality": { - "from": "failure_probability", - "to": "failure_probability" - } - }, + "PipelineDamageRepairRate": [ + { + "from": "pipeline_repair_rate_damage", + "to": "result" + } + ] + } + }, + "WfnFunctionality": { "after": { - "GalvestonCGEModel": { - "from": "sector_shocks", - "to": "sector_shocks" - }, - "JoplinCGEModel": { - "from": "sector_shocks", - "to": "sector_shocks" - }, - "MlEnabledCgeSlc": { - "from": "sector_shocks", - "to": "sector_shocks" - }, - "SeasideCGEModel": { - "from": "sector_shocks", - "to": "sector_shocks" - }, - "SaltLakeCGEModel": { - "from": "sector_shocks", - "to": "sector_shocks" - } + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "INDP": [ + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + } + ], + "NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] + }, + "before": { + "PipelineFunctionality": [ + { + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + } + ], + "WfnFunctionality": [ + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + } + ] } }, - "CommercialBuildingRecovery": { + "INDP": { "before": { - "WfnFunctionality": { - "from": "failure_probability", - "to": "mcs_failure" - }, - "MonteCarloLimitStateProbability": { - "from": "failure_probability", - "to": "mcs_failure" - }, - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "building_dmg" - }, - "PipelineFunctionality": { - "from": "failure_probability", - "to": "mcs_failure" - }, - "EpnFunctionality": { - "from": "failure_probability", - "to": "mcs_failure" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "building_dmg" - } + "PipelineFunctionality": [ + { + "from": "epf_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_failure_state", + "to": "sample_failure_state" + }, + { + "from": "pipeline_failure_state", + "to": "sample_failure_state" + } + ], + "WaterFacilityRestoration": [ + { + "from": "wf_restoration_time", + "to": "repair_times" + } + ], + "EpnFunctionality": [ + { + "from": "wf_failure_state", + "to": "sample_failure_state" + }, + { + "from": "pipeline_failure_state", + "to": "sample_failure_state" + }, + { + "from": "epf_failure_state", + "to": "sample_failure_state" + } + ], + "PipelineRestoration": [ + { + "from": "pipeline_restoration_time", + "to": "pipeline_restoration" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "pipeline_failure_state", + "to": "sample_failure_state" + }, + { + "from": "epf_damage_state", + "to": "sample_damage_states" + }, + { + "from": "epf_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_damage_state", + "to": "sample_damage_states" + }, + { + "from": "wf_failure_state", + "to": "sample_failure_state" + } + ], + "WaterFacilityRepairCost": [ + { + "from": "epf_repair_cost", + "to": "result" + }, + { + "from": "wf_repair_cost", + "to": "result" + } + ], + "WfnFunctionality": [ + { + "from": "pipeline_failure_state", + "to": "sample_failure_state" + }, + { + "from": "epf_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_failure_state", + "to": "sample_failure_state" + } + ], + "PopulationDislocation": [ + { + "from": "pop_dislocation", + "to": "result" + } + ], + "EpfRepairCost": [ + { + "from": "epf_repair_cost", + "to": "result" + }, + { + "from": "wf_repair_cost", + "to": "result" + } + ], + "PipelineRepairCost": [ + { + "from": "pipeline_repair_cost", + "to": "result" + } + ], + "EpfRestoration": [ + { + "from": "epf_restoration_time", + "to": "repair_times" + } + ] }, "after": {} }, - "EpnFunctionality": { + "PipelineRepairCost": { "after": { - "CapitalShocks": { - "from": "failure_probability", - "to": "failure_probability" - }, - "INDP": { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - "BuildingFunctionality": { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - }, - "NciFunctionality": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - "CommercialBuildingRecovery": { - "from": "failure_probability", - "to": "mcs_failure" - } + "INDP": [ + { + "from": "result", + "to": "pipeline_repair_cost" + } + ] }, "before": { - "PipelineFunctionality": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - }, - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - }, - "MonteCarloLimitStateProbability": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } + "PipelineDamageRepairRate": [ + { + "from": "pipeline_dmg", + "to": "result" + } + ] } }, - "PipelineFunctionality": { + "EpfRepairCost": { "after": { - "CapitalShocks": { - "from": "failure_probability", - "to": "failure_probability" - }, - "INDP": { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - "BuildingFunctionality": { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - }, - "NciFunctionality": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - "CommercialBuildingRecovery": { - "from": "failure_probability", - "to": "mcs_failure" - } + "INDP": [ + { + "from": "result", + "to": "epf_repair_cost" + }, + { + "from": "result", + "to": "wf_repair_cost" + } + ] }, "before": { - "PipelineDamageRepairRate": { - "from": "result", - "to": "pipeline_repair_rate_damage" - } + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] } }, - "WfnFunctionality": { + "WaterFacilityRepairCost": { "after": { - "CapitalShocks": { - "from": "failure_probability", - "to": "failure_probability" - }, - "INDP": { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - "BuildingFunctionality": { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - }, - "NciFunctionality": { - "from": "failure_probability", - "to": "epf_subst_failure_results" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - "CommercialBuildingRecovery": { - "from": "failure_probability", - "to": "mcs_failure" - } + "INDP": [ + { + "from": "result", + "to": "epf_repair_cost" + }, + { + "from": "result", + "to": "wf_repair_cost" + } + ] }, "before": { - "PipelineFunctionality": { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - "MonteCarloLimitStateProbability": { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] } }, - "EpfRepairCost": { - "before": { - "MonteCarloLimitStateProbability": { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - }, + "PipelineDamage": { "after": { - "INDP": { - "from": "result", - "to": "epf_repair_cost" - } - } + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ] + }, + "before": {} }, - "INDP": { + "BuyoutDecision": { "before": { - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - "EpfRepairCost": { - "from": "result", - "to": "wf_repair_cost" - }, - "WaterFacilityRestoration": { - "from": "repair_times", - "to": "wf_restoration_time" - }, - "PipelineRepairCost": { - "from": "result", - "to": "pipeline_repair_cost" - }, - "MonteCarloLimitStateProbability": { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, - "PipelineFunctionality": { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - "EpfRestoration": { - "from": "repair_times", - "to": "epf_restoration_time" - }, - "WaterFacilityRepairCost": { - "from": "result", - "to": "wf_repair_cost" - }, - "PopulationDislocation": { - "from": "result", - "to": "pop_dislocation" - }, - "PipelineRestoration": { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } + "BuildingStructuralDamage": [ + { + "from": "future_building_damage", + "to": "ds_result" + }, + { + "from": "past_building_damage", + "to": "ds_result" + } + ], + "PopulationDislocation": [ + { + "from": "population_dislocation", + "to": "result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "future_building_damage", + "to": "ds_result" + }, + { + "from": "past_building_damage", + "to": "ds_result" + } + ], + "HousingUnitAllocation": [ + { + "from": "housing_unit_allocation", + "to": "result" + } + ] }, "after": {} }, - "ResidentialBuildingRecovery": { + "CombinedWindWaveSurgeBuildingDamage": { "before": { - "MonteCarloLimitStateProbability": { - "from": "sample_damage_states", - "to": "sample_damage_states" - } + "BuildingNonStructuralDamage": [ + { + "from": "flood_damage", + "to": "result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "surge_wave_damage", + "to": "ds_result" + }, + { + "from": "wind_damage", + "to": "ds_result" + } + ], + "BuildingStructuralDamage": [ + { + "from": "wind_damage", + "to": "ds_result" + }, + { + "from": "surge_wave_damage", + "to": "ds_result" + } + ] + }, + "after": { + "CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "JoplinEmpiricalBuildingRestoration": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + } + ], + "MeanDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "PopulationDislocation": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "BuyoutDecision": [ + { + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ] + } + }, + "CombinedWindWaveSurgeBuildingLoss": { + "before": { + "BuildingNonStructuralDamage": [ + { + "from": "flood_damage", + "to": "result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "surge_wave_damage", + "to": "ds_result" + }, + { + "from": "wind_damage", + "to": "ds_result" + } + ], + "BuildingStructuralDamage": [ + { + "from": "wind_damage", + "to": "ds_result" + }, + { + "from": "surge_wave_damage", + "to": "ds_result" + } + ] }, "after": {} }, - "WaterFacilityRepairCost": { + "CumulativeBuildingDamage": { "before": { - "MonteCarloLimitStateProbability": { - "from": "sample_damage_states", - "to": "sample_damage_states" - } + "BuildingStructuralDamage": [ + { + "from": "eq_bldg_dmg", + "to": "ds_result" + }, + { + "from": "tsunami_bldg_dmg", + "to": "ds_result" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "eq_bldg_dmg", + "to": "combined-result" + }, + { + "from": "tsunami_bldg_dmg", + "to": "combined-result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "eq_bldg_dmg", + "to": "ds_result" + }, + { + "from": "tsunami_bldg_dmg", + "to": "ds_result" + } + ] }, "after": { - "INDP": { - "from": "result", - "to": "epf_repair_cost" - } + "MeanDamage": [ + { + "from": "combined-result", + "to": "damage" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "eq_bldg_dmg" + }, + { + "from": "combined-result", + "to": "tsunami_bldg_dmg" + } + ], + "PopulationDislocation": [ + { + "from": "combined-result", + "to": "building_dmg" + } + ], + "JoplinEmpiricalBuildingRestoration": [ + { + "from": "combined-result", + "to": "building_dmg" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "combined-result", + "to": "damage" + } + ] } }, - "BuildingFunctionality": { + "JoplinEmpiricalBuildingRestoration": { "before": { - "PipelineFunctionality": { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - "EpnFunctionality": { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - "WfnFunctionality": { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - "MonteCarloLimitStateProbability": { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - } + "BuildingStructuralDamage": [ + { + "from": "building_dmg", + "to": "ds_result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "building_dmg", + "to": "ds_result" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "building_dmg", + "to": "combined-result" + } + ], + "BuildingNonStructuralDamage": [ + { + "from": "building_dmg", + "to": "result" + } + ] }, "after": {} }, - "PipelineRepairCost": { - "after": { - "INDP": { - "from": "result", - "to": "pipeline_repair_cost" - } + "MeanDamage": { + "before": { + "RoadDamage": [ + { + "from": "damage", + "to": "result" + } + ], + "BuildingStructuralDamage": [ + { + "from": "damage", + "to": "ds_result" + } + ], + "BridgeDamage": [ + { + "from": "damage", + "to": "result" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "damage", + "to": "combined-result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "damage", + "to": "ds_result" + } + ], + "BuildingNonStructuralDamage": [ + { + "from": "damage", + "to": "result" + } + ] }, + "after": { + "BuildingEconLoss": [ + { + "from": "result", + "to": "building_mean_dmg" + } + ] + } + }, + "PopulationDislocation": { "before": { - "PipelineDamageRepairRate": { - "from": "result", - "to": "pipeline_dmg" - } + "BuildingStructuralDamage": [ + { + "from": "building_dmg", + "to": "ds_result" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "building_dmg", + "to": "ds_result" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "building_dmg", + "to": "combined-result" + } + ], + "HousingUnitAllocation": [ + { + "from": "housing_unit_allocation", + "to": "result" + } + ] + }, + "after": { + "HousingRecoverySequential": [ + { + "from": "result", + "to": "population_dislocation_block" + } + ], + "HousingValuationRecovery": [ + { + "from": "result", + "to": "population_dislocation" + } + ], + "BuyoutDecision": [ + { + "from": "result", + "to": "population_dislocation" + } + ], + "INDP": [ + { + "from": "result", + "to": "pop_dislocation" + } + ] } }, - "PipelineDamage": { + "BuildingStructuralDamage": { "after": { - "MonteCarloLimitStateProbability": { - "from": "result", - "to": "damage" - } + "CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "JoplinEmpiricalBuildingRestoration": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + } + ], + "MeanDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "PopulationDislocation": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "BuyoutDecision": [ + { + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ] }, "before": {} }, - "HousingRecoverySequential": { + "BuildingEconLoss": { "before": { - "SocialVulnerabilityScore": { - "from": "sv_result", - "to": "sv_result" - }, - "PopulationDislocation": { - "from": "result", - "to": "population_dislocation_block" - } + "MeanDamage": [ + { + "from": "building_mean_dmg", + "to": "result" + } + ] }, "after": {} }, - "SocialVulnerabilityScore": { - "after": { - "HousingRecoverySequential": { - "from": "sv_result", - "to": "sv_result" - } - }, - "before": {} - }, - "CumulativeBuildingDamage": { + "WaterFacilityRestoration": { "before": { - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "eq_bldg_dmg" - }, - "CumulativeBuildingDamage": { - "from": "combined-result", - "to": "tsunami_bldg_dmg" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - } + "WaterFacilityDamage": [ + { + "from": "damage", + "to": "result" + } + ] }, "after": { - "MonteCarloLimitStateProbability": { - "from": "combined-result", - "to": "damage" - }, - "PopulationDislocation": { - "from": "combined-result", - "to": "building_dmg" - }, - "CumulativeBuildingDamage": { - "from": "combined-result", - "to": "tsunami_bldg_dmg" - }, - "JoplinEmpiricalBuildingRestoration": { - "from": "combined-result", - "to": "building_dmg" - }, - "MeanDamage": { - "from": "combined-result", - "to": "damage" - } + "NciFunctionality": [ + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + } + ], + "INDP": [ + { + "from": "repair_times", + "to": "wf_restoration_time" + } + ] } }, - "JoplinEmpiricalBuildingRestoration": { - "before": { - "BuildingNonStructuralDamage": { - "from": "result", - "to": "building_dmg" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "building_dmg" - }, - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "building_dmg" - }, - "CumulativeBuildingDamage": { - "from": "combined-result", - "to": "building_dmg" - } - }, - "after": {} - }, - "PipelineRestoration": { + "WaterFacilityDamage": { "after": { - "INDP": { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } + "WaterFacilityRestoration": [ + { + "from": "result", + "to": "damage" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ], + "NciFunctionality": [ + { + "from": "result", + "to": "wds_dmg_results" + } + ] }, - "before": { - "PipelineDamageRepairRate": { - "from": "result", - "to": "pipeline_damage" - } - } + "before": {} }, - "EpfRestoration": { - "before": { - "EpfDamage": { - "from": "result", - "to": "damage" - } - }, + "HousingUnitAllocation": { "after": { - "INDP": { - "from": "repair_times", - "to": "epf_restoration_time" - }, - "NciFunctionality": { - "from": "time_results", - "to": "epf_time_results" - } - } + "PopulationDislocation": [ + { + "from": "result", + "to": "housing_unit_allocation" + } + ], + "BuyoutDecision": [ + { + "from": "result", + "to": "housing_unit_allocation" + } + ] + }, + "before": {} }, - "EpfDamage": { + "RoadDamage": { "after": { - "NciFunctionality": { - "from": "result", - "to": "epf_damage" - }, - "MonteCarloLimitStateProbability": { - "from": "result", - "to": "damage" - }, - "EpfRestoration": { - "from": "result", - "to": "damage" - } + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ], + "MeanDamage": [ + { + "from": "result", + "to": "damage" + } + ] }, "before": {} }, - "PipelineDamageRepairRate": { + "BuildingFunctionality": { + "before": { + "PipelineFunctionality": [ + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + } + ], + "WfnFunctionality": [ + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + } + ] + }, + "after": {} + }, + "EpfDamage": { "after": { - "PipelineRestoration": { - "from": "result", - "to": "pipeline_damage" - }, - "PipelineRepairCost": { - "from": "result", - "to": "pipeline_dmg" - }, - "PipelineFunctionality": { - "from": "result", - "to": "pipeline_repair_rate_damage" - } + "NciFunctionality": [ + { + "from": "result", + "to": "epf_damage" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ], + "EpfRestoration": [ + { + "from": "result", + "to": "damage" + } + ] }, "before": {} }, - "BuildingEconLoss": { + "HousingRecoverySequential": { "before": { - "MeanDamage": { - "from": "result", - "to": "building_mean_dmg" - } + "PopulationDislocation": [ + { + "from": "population_dislocation_block", + "to": "result" + } + ], + "SocialVulnerabilityScore": [ + { + "from": "sv_result", + "to": "sv_result" + } + ] }, "after": {} }, + "SocialVulnerabilityScore": { + "after": { + "HousingRecoverySequential": [ + { + "from": "sv_result", + "to": "sv_result" + } + ] + }, + "before": {} + }, "HousingValuationRecovery": { "before": { - "PopulationDislocation": { - "from": "result", - "to": "population_dislocation" - } + "PopulationDislocation": [ + { + "from": "population_dislocation", + "to": "result" + } + ] }, "after": {} }, - "BridgeDamage": { + "BuildingNonStructuralDamage": { "after": { - "MonteCarloLimitStateProbability": { - "from": "result", - "to": "damage" - }, - "MeanDamage": { - "from": "result", - "to": "damage" - } + "CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "result", + "to": "flood_damage" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "result", + "to": "flood_damage" + } + ], + "MeanDamage": [ + { + "from": "result", + "to": "damage" + } + ], + "JoplinEmpiricalBuildingRestoration": [ + { + "from": "result", + "to": "building_dmg" + } + ] }, "before": {} }, - "WaterFacilityDamage": { + "BridgeDamage": { "after": { - "WaterFacilityRestoration": { - "from": "result", - "to": "damage" - }, - "MonteCarloLimitStateProbability": { - "from": "result", - "to": "damage" - }, - "NciFunctionality": { - "from": "result", - "to": "wds_dmg_results" - } + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ], + "MeanDamage": [ + { + "from": "result", + "to": "damage" + } + ] }, "before": {} }, "GalvestonCGEModel": { "before": { - "CapitalShocks": { - "from": "sector_shocks", - "to": "sector_shocks" - } + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] }, "after": {} }, "JoplinCGEModel": { "before": { - "CapitalShocks": { - "from": "sector_shocks", - "to": "sector_shocks" - } + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] }, "after": {} }, "MlEnabledCgeSlc": { "before": { - "CapitalShocks": { - "from": "sector_shocks", - "to": "sector_shocks" - } + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] }, "after": {} }, "SaltLakeCGEModel": { "before": { - "CapitalShocks": { - "from": "sector_shocks", - "to": "sector_shocks" - } + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] }, "after": {} }, "SeasideCGEModel": { "before": { - "CapitalShocks": { - "from": "sector_shocks", - "to": "sector_shocks" - } + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] }, "after": {} }, - "CombinedWindWaveSurgeBuildingDamage": { - "before": { - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "wind_damage" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "wind_damage" - }, - "BuildingNonStructuralDamage": { - "from": "result", - "to": "flood_damage" - } - }, - "after": { - "CombinedWindWaveSurgeBuildingLoss": { - "from": "ds_result", - "to": "surge_wave_damage" - }, - "CommercialBuildingRecovery": { - "from": "ds_result", - "to": "building_dmg" - }, - "CumulativeBuildingDamage": { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, - "BuyoutDecision": { - "from": "ds_result", - "to": "future_building_damage" - }, - "JoplinEmpiricalBuildingRestoration": { - "from": "ds_result", - "to": "building_dmg" - }, - "MonteCarloLimitStateProbability": { - "from": "ds_result", - "to": "damage" - }, - "MeanDamage": { - "from": "ds_result", - "to": "damage" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "wind_damage" - }, - "PopulationDislocation": { - "from": "ds_result", - "to": "building_dmg" - } - } - }, - "CombinedWindWaveSurgeBuildingLoss": { + "ResidentialBuildingRecovery": { "before": { - "BuildingStructuralDamage": { - "from": "ds_result", - "to": "wind_damage" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "wind_damage" - }, - "BuildingNonStructuralDamage": { - "from": "result", - "to": "flood_damage" - } + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] }, "after": {} }, - "BuildingStructuralDamage": { + "PipelineRestoration": { "after": { - "CombinedWindWaveSurgeBuildingLoss": { - "from": "ds_result", - "to": "surge_wave_damage" - }, - "CommercialBuildingRecovery": { - "from": "ds_result", - "to": "building_dmg" - }, - "CumulativeBuildingDamage": { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, - "BuyoutDecision": { - "from": "ds_result", - "to": "future_building_damage" - }, - "JoplinEmpiricalBuildingRestoration": { - "from": "ds_result", - "to": "building_dmg" - }, - "MonteCarloLimitStateProbability": { - "from": "ds_result", - "to": "damage" - }, - "MeanDamage": { - "from": "ds_result", - "to": "damage" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "from": "ds_result", - "to": "wind_damage" - }, - "PopulationDislocation": { - "from": "ds_result", - "to": "building_dmg" - } + "INDP": [ + { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ] }, - "before": {} + "before": { + "PipelineDamageRepairRate": [ + { + "from": "pipeline_damage", + "to": "result" + } + ] + } }, - "BuildingNonStructuralDamage": { + "PipelineDamageRepairRate": { "after": { - "CombinedWindWaveSurgeBuildingDamage": { - "from": "result", - "to": "flood_damage" - }, - "CombinedWindWaveSurgeBuildingLoss": { - "from": "result", - "to": "flood_damage" - }, - "JoplinEmpiricalBuildingRestoration": { - "from": "result", - "to": "building_dmg" - }, - "MonteCarloLimitStateProbability": { - "from": "result", - "to": "damage" - }, - "MeanDamage": { - "from": "result", - "to": "damage" - } + "PipelineFunctionality": [ + { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + ], + "PipelineRestoration": [ + { + "from": "result", + "to": "pipeline_damage" + } + ], + "PipelineRepairCost": [ + { + "from": "result", + "to": "pipeline_dmg" + } + ] }, "before": {} }, From d66b583616795019af925e0f9ae91d2c7c2c33f2 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Tue, 1 Oct 2024 09:39:26 -0500 Subject: [PATCH 06/19] add pretty names for analysis --- .../pyincore_utils/create_dependency_graph.py | 57 +- .../pyincore_utils/new_dependency_graph.json | 2050 +++++++++-------- 2 files changed, 1104 insertions(+), 1003 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index f62b698..502f356 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -68,7 +68,7 @@ "BuildingClusterRecovery": BuildingClusterRecovery(client), "BuildingEconLoss": BuildingEconLoss(client), "BuildingFunctionality": BuildingFunctionality(client), - "BuildingNonStructuralDamage": BuildingNonStructDamage(client), + "BuildingNonStructDamage": BuildingNonStructDamage(client), "BuildingStructuralDamage": BuildingStructuralDamage(client), "BuyoutDecision": BuyoutDecision(client), "CapitalShocks": CapitalShocks(client), @@ -113,6 +113,57 @@ "WfnFunctionality": WfnFunctionality(client), } +# create a dictionary of pretty names +pretty_names = { + "BridgeDamage": "Bridge Damage", + "BuildingClusterRecovery": "Building Cluster Recovery", + "BuildingEconLoss": "Building Economic Loss", + "BuildingFunctionality": "Building Functionality", + "BuildingNonStructDamage": "Building Non-Structural Damage", + "BuildingStructuralDamage": "Building Structural Damage", + "BuyoutDecision": "Buyout Decision", + "CapitalShocks": "Capital Shocks", + "CombinedWindWaveSurgeBuildingDamage": "Combined Wind Wave Surge Building Damage", + "CombinedWindWaveSurgeBuildingLoss": "Combined Wind Wave Surge Building Loss", + "CommercialBuildingRecovery": "Commercial Building Recovery", + "CumulativeBuildingDamage": "Cumulative Building Damage", + "EpfDamage": "Electric Power Facility Damage", + "EpfRepairCost": "Electric Power Facility Repair Cost", + "EpfRestoration": "Electric Power Facility Restoration", + "EpnFunctionality": "Electric Power Network Functionality", + "GalvestonCGEModel": "Galveston CGE Model", + "GasFacilityDamage": "Gas Facility Damage", + "HousingRecoverySequential": "Housing Recovery Sequential", + "HousingUnitAllocation": "Housing Unit Allocation", + "HousingValuationRecovery": "Housing Valuation Recovery", + "INDP": "Infrastructure Network Disruption Planning", + "JoplinCGEModel": "Joplin CGE Model", + "JoplinEmpiricalBuildingRestoration": "Joplin Empirical Building Restoration", + "MeanDamage": "Mean Damage", + "MlEnabledCgeSlc": "Machine Learning Enabled CGE SLC", + "MonteCarloLimitStateProbability": "Monte Carlo Limit State Probability", + "MultiObjectiveRetrofitOptimization": "Multi-Objective Retrofit Optimization", + "NciFunctionality": "Network Cascading Interdependency Functionality", + "PipelineDamage": "Pipeline Damage", + "PipelineDamageRepairRate": "Pipeline Damage Repair Rate", + "PipelineFunctionality": "Pipeline Functionality", + "PipelineRepairCost": "Pipeline Repair Cost", + "PipelineRestoration": "Pipeline Restoration", + "PopulationDislocation": "Population Dislocation", + "ResidentialBuildingRecovery": "Residential Building Recovery", + "RoadDamage": "Road Damage", + "SaltLakeCGEModel": "Salt Lake CGE Model", + "SeasideCGEModel": "Seaside CGE Model", + "SocialVulnerabilityScore": "Social Vulnerability Score", + "TornadoEpnDamage": "Tornado Electric Power Network Damage", + "TrafficFlowRecovery": "Traffic Flow Recovery", + "WaterFacilityDamage": "Water Facility Damage", + "WaterFacilityRepairCost": "Water Facility Repair Cost", + "WaterFacilityDamage": "Water Facility Damage", + "WaterFacilityRestoration": "Water Facility Restoration", + "WfnFunctionality": "Water Facility Network Functionality", +} + input_types_for_analysis = defaultdict(list) output_types_for_analysis = defaultdict(list) seen_types = set() @@ -203,4 +254,8 @@ print(analysis_name) dependency_graph[analysis_name] = {"before": {}, "after": {}} +# Add pretty names +for analysis_name, value in dependency_graph.items(): + value["pretty_name"] = pretty_names[analysis_name] + json.dump(dependency_graph, open("new_dependency_graph.json", "w"), indent=4) diff --git a/utils/pyincore_utils/new_dependency_graph.json b/utils/pyincore_utils/new_dependency_graph.json index 7946e69..cf3f622 100644 --- a/utils/pyincore_utils/new_dependency_graph.json +++ b/utils/pyincore_utils/new_dependency_graph.json @@ -1,266 +1,195 @@ { - "NciFunctionality": { + "MeanDamage": { "before": { - "PipelineFunctionality": [ - { - "from": "epf_subst_failure_results", - "to": "failure_probability" - } - ], - "WfnFunctionality": [ + "BuildingNonStructDamage": [ { - "from": "epf_subst_failure_results", - "to": "failure_probability" + "from": "damage", + "to": "result" } ], - "EpfRestoration": [ - { - "from": "wds_inventory_rest_map", - "to": "inventory_restoration_map" - }, - { - "from": "epf_inventory_rest_map", - "to": "inventory_restoration_map" - }, + "BuildingStructuralDamage": [ { - "from": "epf_time_results", - "to": "time_results" + "from": "damage", + "to": "ds_result" } ], - "EpfDamage": [ + "BridgeDamage": [ { - "from": "epf_damage", + "from": "damage", "to": "result" } ], - "WaterFacilityRestoration": [ - { - "from": "wds_time_results", - "to": "time_results" - }, - { - "from": "wds_inventory_rest_map", - "to": "inventory_restoration_map" - }, - { - "from": "epf_inventory_rest_map", - "to": "inventory_restoration_map" - } - ], - "WaterFacilityDamage": [ + "RoadDamage": [ { - "from": "wds_dmg_results", + "from": "damage", "to": "result" } ], - "EpnFunctionality": [ + "CumulativeBuildingDamage": [ { - "from": "epf_subst_failure_results", - "to": "failure_probability" + "from": "damage", + "to": "combined-result" } ], - "MonteCarloLimitStateProbability": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "epf_subst_failure_results", - "to": "failure_probability" + "from": "damage", + "to": "ds_result" } ] }, - "after": {} - }, - "EpfRestoration": { "after": { - "NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - { - "from": "time_results", - "to": "epf_time_results" - } - ], - "INDP": [ + "BuildingEconLoss": [ { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "result", + "to": "building_mean_dmg" } ] }, + "pretty_name": "Mean Damage" + }, + "MonteCarloLimitStateProbability": { "before": { - "EpfDamage": [ + "BuildingNonStructDamage": [ { "from": "damage", "to": "result" } - ] - } - }, - "CapitalShocks": { - "before": { - "PipelineFunctionality": [ - { - "from": "failure_probability", - "to": "failure_probability" - } ], - "WfnFunctionality": [ + "BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "damage", + "to": "ds_result" } ], - "EpnFunctionality": [ + "BridgeDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "damage", + "to": "result" } ], - "MonteCarloLimitStateProbability": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ] - }, - "after": { - "SaltLakeCGEModel": [ + "RoadDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "damage", + "to": "result" } ], - "MlEnabledCgeSlc": [ + "WaterFacilityDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "damage", + "to": "result" } ], - "GalvestonCGEModel": [ + "CumulativeBuildingDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "damage", + "to": "combined-result" } ], - "JoplinCGEModel": [ + "PipelineDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "damage", + "to": "result" } ], - "SeasideCGEModel": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - } - }, - "CommercialBuildingRecovery": { - "before": { - "EpnFunctionality": [ + "EpfDamage": [ { - "from": "mcs_failure", - "to": "failure_probability" + "from": "damage", + "to": "result" } ], - "BuildingStructuralDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "building_dmg", + "from": "damage", "to": "ds_result" } - ], - "WfnFunctionality": [ - { - "from": "mcs_failure", - "to": "failure_probability" - } - ], - "MonteCarloLimitStateProbability": [ + ] + }, + "after": { + "CommercialBuildingRecovery": [ { - "from": "mcs_failure", - "to": "failure_probability" + "from": "failure_probability", + "to": "mcs_failure" }, { "from": "sample_damage_states", "to": "sample_damage_states" } ], - "PipelineFunctionality": [ - { - "from": "mcs_failure", - "to": "failure_probability" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ + "INDP": [ { - "from": "building_dmg", - "to": "ds_result" - } - ] - }, - "after": {} - }, - "EpnFunctionality": { - "after": { - "BuildingFunctionality": [ + "from": "sample_damage_states", + "to": "epf_damage_state" + }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "epf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "wf_damage_state" }, { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "wf_failure_state" } ], - "CommercialBuildingRecovery": [ + "CapitalShocks": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "failure_probability" } ], - "INDP": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "NciFunctionality": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "ResidentialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "NciFunctionality": [ + "EpfRepairCost": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "CapitalShocks": [ + "WaterFacilityRepairCost": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, { "from": "sample_failure_state", "to": "wf_sample_failure_state" + } + ], + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], "EpnFunctionality": [ @@ -270,626 +199,467 @@ } ] }, - "before": { - "MonteCarloLimitStateProbability": [ + "pretty_name": "Monte Carlo Limit State Probability" + }, + "RoadDamage": { + "after": { + "MonteCarloLimitStateProbability": [ { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" + "from": "result", + "to": "damage" } ], - "PipelineFunctionality": [ + "MeanDamage": [ { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" + "from": "result", + "to": "damage" } - ], - "WfnFunctionality": [ + ] + }, + "before": {}, + "pretty_name": "Road Damage" + }, + "BridgeDamage": { + "after": { + "MonteCarloLimitStateProbability": [ { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" + "from": "result", + "to": "damage" } ], - "EpnFunctionality": [ + "MeanDamage": [ { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" + "from": "result", + "to": "damage" } ] - } + }, + "before": {}, + "pretty_name": "Bridge Damage" }, - "MonteCarloLimitStateProbability": { - "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "CombinedWindWaveSurgeBuildingDamage": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "surge_wave_damage", + "to": "ds_result" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "wind_damage", + "to": "ds_result" } ], - "CommercialBuildingRecovery": [ + "BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "wind_damage", + "to": "ds_result" }, { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "surge_wave_damage", + "to": "ds_result" } ], - "INDP": [ + "BuildingNonStructDamage": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "flood_damage", + "to": "result" + } + ] + }, + "after": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_damage_states", - "to": "epf_damage_state" + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "from": "ds_result", + "to": "wind_damage" + } + ], + "CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_damage_states", - "to": "wf_damage_state" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "NciFunctionality": [ + "BuyoutDecision": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } ], - "ResidentialBuildingRecovery": [ + "CommercialBuildingRecovery": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "building_dmg" } ], - "WaterFacilityRepairCost": [ + "CumulativeBuildingDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "CapitalShocks": [ + "JoplinEmpiricalBuildingRestoration": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "building_dmg" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "EpfRepairCost": [ + "MeanDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "damage" } ], - "EpnFunctionality": [ + "MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "damage" } ] }, + "pretty_name": "Combined Wind Wave Surge Building Damage" + }, + "CombinedWindWaveSurgeBuildingLoss": { "before": { - "PipelineDamage": [ - { - "from": "damage", - "to": "result" - } - ], - "WaterFacilityDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "damage", - "to": "result" - } - ], - "RoadDamage": [ + "from": "surge_wave_damage", + "to": "ds_result" + }, { - "from": "damage", - "to": "result" + "from": "wind_damage", + "to": "ds_result" } ], "BuildingStructuralDamage": [ { - "from": "damage", + "from": "wind_damage", + "to": "ds_result" + }, + { + "from": "surge_wave_damage", "to": "ds_result" } ], - "BridgeDamage": [ + "BuildingNonStructDamage": [ { - "from": "damage", + "from": "flood_damage", "to": "result" } - ], - "EpfDamage": [ + ] + }, + "after": {}, + "pretty_name": "Combined Wind Wave Surge Building Loss" + }, + "JoplinEmpiricalBuildingRestoration": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "damage", - "to": "result" + "from": "building_dmg", + "to": "ds_result" } ], "CumulativeBuildingDamage": [ { - "from": "damage", + "from": "building_dmg", "to": "combined-result" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "BuildingStructuralDamage": [ { - "from": "damage", + "from": "building_dmg", "to": "ds_result" } ], - "BuildingNonStructuralDamage": [ + "BuildingNonStructDamage": [ { - "from": "damage", + "from": "building_dmg", "to": "result" } ] - } + }, + "after": {}, + "pretty_name": "Joplin Empirical Building Restoration" }, - "PipelineFunctionality": { + "BuildingNonStructDamage": { "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "result", + "to": "flood_damage" } ], - "CommercialBuildingRecovery": [ + "JoplinEmpiricalBuildingRestoration": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "building_dmg" } ], - "INDP": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "result", + "to": "flood_damage" } ], - "NciFunctionality": [ + "MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "damage" } ], - "CapitalShocks": [ + "MeanDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "damage" } - ], - "WfnFunctionality": [ + ] + }, + "before": {}, + "pretty_name": "Building Non-Structural Damage" + }, + "BuyoutDecision": { + "before": { + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "future_building_damage", + "to": "ds_result" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "past_building_damage", + "to": "ds_result" } ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ] - }, - "before": { - "PipelineDamageRepairRate": [ + "HousingUnitAllocation": [ { - "from": "pipeline_repair_rate_damage", + "from": "housing_unit_allocation", "to": "result" } - ] - } - }, - "WfnFunctionality": { - "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } ], - "CommercialBuildingRecovery": [ + "PopulationDislocation": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "population_dislocation", + "to": "result" } ], - "INDP": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "past_building_damage", + "to": "ds_result" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "future_building_damage", + "to": "ds_result" + } + ] + }, + "after": {}, + "pretty_name": "Buyout Decision" + }, + "CommercialBuildingRecovery": { + "before": { + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "mcs_failure", + "to": "failure_probability" } ], - "NciFunctionality": [ + "EpnFunctionality": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "mcs_failure", + "to": "failure_probability" } ], - "CapitalShocks": [ + "PipelineFunctionality": [ { - "from": "failure_probability", + "from": "mcs_failure", "to": "failure_probability" } ], "WfnFunctionality": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "from": "mcs_failure", + "to": "failure_probability" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "building_dmg", + "to": "ds_result" } ], - "EpnFunctionality": [ + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "building_dmg", + "to": "ds_result" } ] }, + "after": {}, + "pretty_name": "Commercial Building Recovery" + }, + "CumulativeBuildingDamage": { "before": { - "PipelineFunctionality": [ - { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" - }, - { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" - } - ], - "MonteCarloLimitStateProbability": [ + "CumulativeBuildingDamage": [ { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" + "from": "eq_bldg_dmg", + "to": "combined-result" }, { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" + "from": "tsunami_bldg_dmg", + "to": "combined-result" } ], - "EpnFunctionality": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" + "from": "tsunami_bldg_dmg", + "to": "ds_result" }, { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" + "from": "eq_bldg_dmg", + "to": "ds_result" } ], - "WfnFunctionality": [ + "BuildingStructuralDamage": [ { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" + "from": "tsunami_bldg_dmg", + "to": "ds_result" }, { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" + "from": "eq_bldg_dmg", + "to": "ds_result" } ] - } - }, - "INDP": { - "before": { - "PipelineFunctionality": [ - { - "from": "epf_failure_state", - "to": "sample_failure_state" - }, + }, + "after": { + "CumulativeBuildingDamage": [ { - "from": "wf_failure_state", - "to": "sample_failure_state" + "from": "combined-result", + "to": "eq_bldg_dmg" }, { - "from": "pipeline_failure_state", - "to": "sample_failure_state" + "from": "combined-result", + "to": "tsunami_bldg_dmg" } ], - "WaterFacilityRestoration": [ + "PopulationDislocation": [ { - "from": "wf_restoration_time", - "to": "repair_times" + "from": "combined-result", + "to": "building_dmg" } ], - "EpnFunctionality": [ - { - "from": "wf_failure_state", - "to": "sample_failure_state" - }, - { - "from": "pipeline_failure_state", - "to": "sample_failure_state" - }, + "JoplinEmpiricalBuildingRestoration": [ { - "from": "epf_failure_state", - "to": "sample_failure_state" + "from": "combined-result", + "to": "building_dmg" } ], - "PipelineRestoration": [ + "MeanDamage": [ { - "from": "pipeline_restoration_time", - "to": "pipeline_restoration" + "from": "combined-result", + "to": "damage" } ], "MonteCarloLimitStateProbability": [ { - "from": "pipeline_failure_state", - "to": "sample_failure_state" - }, - { - "from": "epf_damage_state", - "to": "sample_damage_states" - }, + "from": "combined-result", + "to": "damage" + } + ] + }, + "pretty_name": "Cumulative Building Damage" + }, + "PopulationDislocation": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "epf_failure_state", - "to": "sample_failure_state" - }, + "from": "building_dmg", + "to": "ds_result" + } + ], + "CumulativeBuildingDamage": [ { - "from": "wf_damage_state", - "to": "sample_damage_states" - }, + "from": "building_dmg", + "to": "combined-result" + } + ], + "BuildingStructuralDamage": [ { - "from": "wf_failure_state", - "to": "sample_failure_state" + "from": "building_dmg", + "to": "ds_result" } ], - "WaterFacilityRepairCost": [ + "HousingUnitAllocation": [ { - "from": "epf_repair_cost", + "from": "housing_unit_allocation", "to": "result" - }, + } + ] + }, + "after": { + "INDP": [ { - "from": "wf_repair_cost", - "to": "result" + "from": "result", + "to": "pop_dislocation" } ], - "WfnFunctionality": [ - { - "from": "pipeline_failure_state", - "to": "sample_failure_state" - }, - { - "from": "epf_failure_state", - "to": "sample_failure_state" - }, + "BuyoutDecision": [ { - "from": "wf_failure_state", - "to": "sample_failure_state" + "from": "result", + "to": "population_dislocation" } ], - "PopulationDislocation": [ + "HousingValuationRecovery": [ { - "from": "pop_dislocation", - "to": "result" + "from": "result", + "to": "population_dislocation" } ], - "EpfRepairCost": [ - { - "from": "epf_repair_cost", - "to": "result" - }, - { - "from": "wf_repair_cost", - "to": "result" - } - ], - "PipelineRepairCost": [ - { - "from": "pipeline_repair_cost", - "to": "result" - } - ], - "EpfRestoration": [ - { - "from": "epf_restoration_time", - "to": "repair_times" - } - ] - }, - "after": {} - }, - "PipelineRepairCost": { - "after": { - "INDP": [ - { - "from": "result", - "to": "pipeline_repair_cost" - } - ] - }, - "before": { - "PipelineDamageRepairRate": [ - { - "from": "pipeline_dmg", - "to": "result" - } - ] - } - }, - "EpfRepairCost": { - "after": { - "INDP": [ - { - "from": "result", - "to": "epf_repair_cost" - }, - { - "from": "result", - "to": "wf_repair_cost" - } - ] - }, - "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ] - } - }, - "WaterFacilityRepairCost": { - "after": { - "INDP": [ - { - "from": "result", - "to": "epf_repair_cost" - }, + "HousingRecoverySequential": [ { "from": "result", - "to": "wf_repair_cost" + "to": "population_dislocation_block" } ] }, - "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ] - } + "pretty_name": "Population Dislocation" }, - "PipelineDamage": { + "BuildingStructuralDamage": { "after": { - "MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ] - }, - "before": {} - }, - "BuyoutDecision": { - "before": { - "BuildingStructuralDamage": [ - { - "from": "future_building_damage", - "to": "ds_result" - }, - { - "from": "past_building_damage", - "to": "ds_result" - } - ], - "PopulationDislocation": [ - { - "from": "population_dislocation", - "to": "result" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "future_building_damage", - "to": "ds_result" - }, - { - "from": "past_building_damage", - "to": "ds_result" - } - ], - "HousingUnitAllocation": [ - { - "from": "housing_unit_allocation", - "to": "result" - } - ] - }, - "after": {} - }, - "CombinedWindWaveSurgeBuildingDamage": { - "before": { - "BuildingNonStructuralDamage": [ - { - "from": "flood_damage", - "to": "result" - } - ], "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "surge_wave_damage", - "to": "ds_result" + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "wind_damage", - "to": "ds_result" + "from": "ds_result", + "to": "wind_damage" } ], - "BuildingStructuralDamage": [ - { - "from": "wind_damage", - "to": "ds_result" - }, - { - "from": "surge_wave_damage", - "to": "ds_result" - } - ] - }, - "after": { "CombinedWindWaveSurgeBuildingLoss": [ { "from": "ds_result", @@ -900,17 +670,17 @@ "to": "surge_wave_damage" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "BuyoutDecision": [ { "from": "ds_result", - "to": "surge_wave_damage" + "to": "past_building_damage" }, { "from": "ds_result", - "to": "wind_damage" + "to": "future_building_damage" } ], - "JoplinEmpiricalBuildingRestoration": [ + "CommercialBuildingRecovery": [ { "from": "ds_result", "to": "building_dmg" @@ -919,17 +689,17 @@ "CumulativeBuildingDamage": [ { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "tsunami_bldg_dmg" }, { "from": "ds_result", - "to": "tsunami_bldg_dmg" + "to": "eq_bldg_dmg" } ], - "MeanDamage": [ + "JoplinEmpiricalBuildingRestoration": [ { "from": "ds_result", - "to": "damage" + "to": "building_dmg" } ], "PopulationDislocation": [ @@ -938,548 +708,857 @@ "to": "building_dmg" } ], - "MonteCarloLimitStateProbability": [ + "MeanDamage": [ { "from": "ds_result", "to": "damage" } ], - "BuyoutDecision": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, + "MonteCarloLimitStateProbability": [ { "from": "ds_result", - "to": "future_building_damage" + "to": "damage" } - ], - "CommercialBuildingRecovery": [ + ] + }, + "before": {}, + "pretty_name": "Building Structural Damage" + }, + "PipelineDamage": { + "after": { + "MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } ] - } + }, + "before": {}, + "pretty_name": "Pipeline Damage" }, - "CombinedWindWaveSurgeBuildingLoss": { + "INDP": { "before": { - "BuildingNonStructuralDamage": [ + "PipelineFunctionality": [ { - "from": "flood_damage", - "to": "result" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ + "from": "pipeline_failure_state", + "to": "sample_failure_state" + }, { - "from": "surge_wave_damage", - "to": "ds_result" + "from": "wf_failure_state", + "to": "sample_failure_state" }, { - "from": "wind_damage", - "to": "ds_result" + "from": "epf_failure_state", + "to": "sample_failure_state" } ], - "BuildingStructuralDamage": [ + "EpnFunctionality": [ { - "from": "wind_damage", - "to": "ds_result" + "from": "pipeline_failure_state", + "to": "sample_failure_state" }, { - "from": "surge_wave_damage", - "to": "ds_result" - } - ] - }, - "after": {} - }, - "CumulativeBuildingDamage": { - "before": { - "BuildingStructuralDamage": [ - { - "from": "eq_bldg_dmg", - "to": "ds_result" + "from": "wf_failure_state", + "to": "sample_failure_state" }, { - "from": "tsunami_bldg_dmg", - "to": "ds_result" + "from": "epf_failure_state", + "to": "sample_failure_state" } ], - "CumulativeBuildingDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "eq_bldg_dmg", - "to": "combined-result" + "from": "epf_failure_state", + "to": "sample_failure_state" }, { - "from": "tsunami_bldg_dmg", - "to": "combined-result" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ + "from": "epf_damage_state", + "to": "sample_damage_states" + }, { - "from": "eq_bldg_dmg", - "to": "ds_result" + "from": "pipeline_failure_state", + "to": "sample_failure_state" }, { - "from": "tsunami_bldg_dmg", - "to": "ds_result" - } - ] - }, - "after": { - "MeanDamage": [ + "from": "wf_failure_state", + "to": "sample_failure_state" + }, { - "from": "combined-result", - "to": "damage" + "from": "wf_damage_state", + "to": "sample_damage_states" } ], - "CumulativeBuildingDamage": [ + "EpfRestoration": [ { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "epf_restoration_time", + "to": "repair_times" + } + ], + "PipelineRestoration": [ + { + "from": "pipeline_restoration_time", + "to": "pipeline_restoration" + } + ], + "EpfRepairCost": [ + { + "from": "epf_repair_cost", + "to": "result" }, { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "wf_repair_cost", + "to": "result" } ], "PopulationDislocation": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "pop_dislocation", + "to": "result" } ], - "JoplinEmpiricalBuildingRestoration": [ + "WfnFunctionality": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "pipeline_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_failure_state", + "to": "sample_failure_state" + }, + { + "from": "epf_failure_state", + "to": "sample_failure_state" } ], - "MonteCarloLimitStateProbability": [ + "WaterFacilityRepairCost": [ { - "from": "combined-result", - "to": "damage" + "from": "epf_repair_cost", + "to": "result" + }, + { + "from": "wf_repair_cost", + "to": "result" + } + ], + "PipelineRepairCost": [ + { + "from": "pipeline_repair_cost", + "to": "result" + } + ], + "WaterFacilityRestoration": [ + { + "from": "wf_restoration_time", + "to": "repair_times" } ] - } + }, + "after": {}, + "pretty_name": "Infrastructure Network Disruption Planning" }, - "JoplinEmpiricalBuildingRestoration": { + "WaterFacilityRestoration": { + "after": { + "NciFunctionality": [ + { + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + } + ], + "INDP": [ + { + "from": "repair_times", + "to": "wf_restoration_time" + } + ] + }, "before": { - "BuildingStructuralDamage": [ + "WaterFacilityDamage": [ { - "from": "building_dmg", - "to": "ds_result" + "from": "damage", + "to": "result" + } + ] + }, + "pretty_name": "Water Facility Restoration" + }, + "HousingRecoverySequential": { + "before": { + "SocialVulnerabilityScore": [ + { + "from": "sv_result", + "to": "sv_result" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "PopulationDislocation": [ { - "from": "building_dmg", - "to": "ds_result" + "from": "population_dislocation_block", + "to": "result" + } + ] + }, + "after": {}, + "pretty_name": "Housing Recovery Sequential" + }, + "SocialVulnerabilityScore": { + "after": { + "HousingRecoverySequential": [ + { + "from": "sv_result", + "to": "sv_result" + } + ] + }, + "before": {}, + "pretty_name": "Social Vulnerability Score" + }, + "PipelineFunctionality": { + "before": { + "PipelineDamageRepairRate": [ + { + "from": "pipeline_repair_rate_damage", + "to": "result" + } + ] + }, + "after": { + "CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" } ], - "CumulativeBuildingDamage": [ + "CapitalShocks": [ { - "from": "building_dmg", - "to": "combined-result" + "from": "failure_probability", + "to": "failure_probability" } ], - "BuildingNonStructuralDamage": [ + "NciFunctionality": [ { - "from": "building_dmg", + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "INDP": [ + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + } + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } + ], + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] + }, + "pretty_name": "Pipeline Functionality" + }, + "PipelineRepairCost": { + "before": { + "PipelineDamageRepairRate": [ + { + "from": "pipeline_dmg", "to": "result" } ] }, - "after": {} - }, - "MeanDamage": { - "before": { - "RoadDamage": [ + "after": { + "INDP": [ + { + "from": "result", + "to": "pipeline_repair_cost" + } + ] + }, + "pretty_name": "Pipeline Repair Cost" + }, + "PipelineRestoration": { + "before": { + "PipelineDamageRepairRate": [ + { + "from": "pipeline_damage", + "to": "result" + } + ] + }, + "after": { + "INDP": [ + { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ] + }, + "pretty_name": "Pipeline Restoration" + }, + "PipelineDamageRepairRate": { + "after": { + "PipelineFunctionality": [ + { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + ], + "PipelineRestoration": [ + { + "from": "result", + "to": "pipeline_damage" + } + ], + "PipelineRepairCost": [ + { + "from": "result", + "to": "pipeline_dmg" + } + ] + }, + "before": {}, + "pretty_name": "Pipeline Damage Repair Rate" + }, + "EpfRepairCost": { + "after": { + "INDP": [ + { + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" + } + ] + }, + "before": { + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, + "pretty_name": "Electric Power Facility Repair Cost" + }, + "WaterFacilityRepairCost": { + "after": { + "INDP": [ + { + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" + } + ] + }, + "before": { + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, + "pretty_name": "Water Facility Repair Cost" + }, + "BuildingFunctionality": { + "before": { + "MonteCarloLimitStateProbability": [ + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + } + ], + "PipelineFunctionality": [ + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + } + ], + "WfnFunctionality": [ + { + "from": "substations_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "building_damage_mcs_samples", + "to": "sample_failure_state" + }, + { + "from": "poles_damage_mcs_samples", + "to": "sample_failure_state" + } + ] + }, + "after": {}, + "pretty_name": "Building Functionality" + }, + "EpnFunctionality": { + "before": { + "PipelineFunctionality": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ], + "WfnFunctionality": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "epf_sample_failure_state", + "to": "sample_failure_state" + } + ] + }, + "after": { + "CommercialBuildingRecovery": [ { - "from": "damage", - "to": "result" + "from": "failure_probability", + "to": "mcs_failure" } ], - "BuildingStructuralDamage": [ + "CapitalShocks": [ { - "from": "damage", - "to": "ds_result" + "from": "failure_probability", + "to": "failure_probability" } ], - "BridgeDamage": [ + "NciFunctionality": [ { - "from": "damage", - "to": "result" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "CumulativeBuildingDamage": [ + "INDP": [ { - "from": "damage", - "to": "combined-result" + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "WfnFunctionality": [ { - "from": "damage", - "to": "ds_result" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "BuildingNonStructuralDamage": [ + "BuildingFunctionality": [ { - "from": "damage", - "to": "result" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } - ] - }, - "after": { - "BuildingEconLoss": [ + ], + "EpnFunctionality": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] - } + }, + "pretty_name": "Electric Power Network Functionality" }, - "PopulationDislocation": { + "WfnFunctionality": { "before": { - "BuildingStructuralDamage": [ + "EpnFunctionality": [ { - "from": "building_dmg", - "to": "ds_result" + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "building_dmg", - "to": "ds_result" + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" } ], - "CumulativeBuildingDamage": [ + "WfnFunctionality": [ { - "from": "building_dmg", - "to": "combined-result" + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" } ], - "HousingUnitAllocation": [ + "PipelineFunctionality": [ { - "from": "housing_unit_allocation", - "to": "result" + "from": "pp_sample_failure_state", + "to": "sample_failure_state" + }, + { + "from": "wf_sample_failure_state", + "to": "sample_failure_state" } ] }, "after": { - "HousingRecoverySequential": [ + "CommercialBuildingRecovery": [ { - "from": "result", - "to": "population_dislocation_block" + "from": "failure_probability", + "to": "mcs_failure" } ], - "HousingValuationRecovery": [ + "CapitalShocks": [ { - "from": "result", - "to": "population_dislocation" + "from": "failure_probability", + "to": "failure_probability" } ], - "BuyoutDecision": [ + "NciFunctionality": [ { - "from": "result", - "to": "population_dislocation" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], "INDP": [ { - "from": "result", - "to": "pop_dislocation" - } - ] - } - }, - "BuildingStructuralDamage": { - "after": { - "CombinedWindWaveSurgeBuildingLoss": [ + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "WfnFunctionality": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "JoplinEmpiricalBuildingRestoration": [ + "BuildingFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" - } - ], - "CumulativeBuildingDamage": [ + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], - "MeanDamage": [ + "EpnFunctionality": [ { - "from": "ds_result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ], - "PopulationDislocation": [ + ] + }, + "pretty_name": "Water Facility Network Functionality" + }, + "NciFunctionality": { + "before": { + "PipelineFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "epf_subst_failure_results", + "to": "failure_probability" } ], - "MonteCarloLimitStateProbability": [ + "WaterFacilityRestoration": [ { - "from": "ds_result", - "to": "damage" - } - ], - "BuyoutDecision": [ + "from": "wds_time_results", + "to": "time_results" + }, { - "from": "ds_result", - "to": "past_building_damage" + "from": "epf_inventory_rest_map", + "to": "inventory_restoration_map" }, { - "from": "ds_result", - "to": "future_building_damage" + "from": "wds_inventory_rest_map", + "to": "inventory_restoration_map" } ], - "CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ] - }, - "before": {} - }, - "BuildingEconLoss": { - "before": { - "MeanDamage": [ - { - "from": "building_mean_dmg", - "to": "result" - } - ] - }, - "after": {} - }, - "WaterFacilityRestoration": { - "before": { - "WaterFacilityDamage": [ + "WfnFunctionality": [ { - "from": "damage", - "to": "result" + "from": "epf_subst_failure_results", + "to": "failure_probability" } - ] - }, - "after": { - "NciFunctionality": [ + ], + "EpfRestoration": [ { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "wds_inventory_rest_map", + "to": "inventory_restoration_map" }, { - "from": "time_results", - "to": "wds_time_results" + "from": "epf_time_results", + "to": "time_results" }, { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "epf_inventory_rest_map", + "to": "inventory_restoration_map" } ], - "INDP": [ + "WaterFacilityDamage": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "wds_dmg_results", + "to": "result" } - ] - } - }, - "WaterFacilityDamage": { - "after": { - "WaterFacilityRestoration": [ + ], + "EpfDamage": [ { - "from": "result", - "to": "damage" + "from": "epf_damage", + "to": "result" } ], "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "epf_subst_failure_results", + "to": "failure_probability" } ], - "NciFunctionality": [ + "EpnFunctionality": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "epf_subst_failure_results", + "to": "failure_probability" } ] }, - "before": {} + "after": {}, + "pretty_name": "Network Cascading Interdependency Functionality" }, - "HousingUnitAllocation": { + "EpfRestoration": { "after": { - "PopulationDislocation": [ + "NciFunctionality": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "time_results", + "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], - "BuyoutDecision": [ + "INDP": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "repair_times", + "to": "epf_restoration_time" } ] }, - "before": {} - }, - "RoadDamage": { - "after": { - "MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], - "MeanDamage": [ + "before": { + "EpfDamage": [ { - "from": "result", - "to": "damage" + "from": "damage", + "to": "result" } ] }, - "before": {} + "pretty_name": "Electric Power Facility Restoration" }, - "BuildingFunctionality": { + "CapitalShocks": { "before": { "PipelineFunctionality": [ { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "EpnFunctionality": [ - { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" - }, + "WfnFunctionality": [ { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], "MonteCarloLimitStateProbability": [ { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "WfnFunctionality": [ - { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" - }, + "EpnFunctionality": [ { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ] }, - "after": {} - }, - "EpfDamage": { "after": { - "NciFunctionality": [ + "MlEnabledCgeSlc": [ { - "from": "result", - "to": "epf_damage" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "MonteCarloLimitStateProbability": [ + "SeasideCGEModel": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "EpfRestoration": [ + "GalvestonCGEModel": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "SaltLakeCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "JoplinCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "before": {} + "pretty_name": "Capital Shocks" }, - "HousingRecoverySequential": { - "before": { - "PopulationDislocation": [ + "HousingUnitAllocation": { + "after": { + "BuyoutDecision": [ { - "from": "population_dislocation_block", - "to": "result" + "from": "result", + "to": "housing_unit_allocation" } ], - "SocialVulnerabilityScore": [ + "PopulationDislocation": [ { - "from": "sv_result", - "to": "sv_result" + "from": "result", + "to": "housing_unit_allocation" } ] }, - "after": {} + "before": {}, + "pretty_name": "Housing Unit Allocation" }, - "SocialVulnerabilityScore": { - "after": { - "HousingRecoverySequential": [ + "ResidentialBuildingRecovery": { + "before": { + "MonteCarloLimitStateProbability": [ { - "from": "sv_result", - "to": "sv_result" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "before": {} + "after": {}, + "pretty_name": "Residential Building Recovery" }, "HousingValuationRecovery": { "before": { @@ -1490,59 +1569,44 @@ } ] }, - "after": {} + "after": {}, + "pretty_name": "Housing Valuation Recovery" }, - "BuildingNonStructuralDamage": { + "WaterFacilityDamage": { "after": { - "CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "result", - "to": "flood_damage" - } - ], "MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "result", - "to": "flood_damage" - } - ], - "MeanDamage": [ + "WaterFacilityRestoration": [ { "from": "result", "to": "damage" } ], - "JoplinEmpiricalBuildingRestoration": [ + "NciFunctionality": [ { "from": "result", - "to": "building_dmg" + "to": "wds_dmg_results" } ] }, - "before": {} + "before": {}, + "pretty_name": "Water Facility Damage" }, - "BridgeDamage": { - "after": { - "MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], + "BuildingEconLoss": { + "before": { "MeanDamage": [ { - "from": "result", - "to": "damage" + "from": "building_mean_dmg", + "to": "result" } ] }, - "before": {} + "after": {}, + "pretty_name": "Building Economic Loss" }, "GalvestonCGEModel": { "before": { @@ -1553,7 +1617,8 @@ } ] }, - "after": {} + "after": {}, + "pretty_name": "Galveston CGE Model" }, "JoplinCGEModel": { "before": { @@ -1564,7 +1629,8 @@ } ] }, - "after": {} + "after": {}, + "pretty_name": "Joplin CGE Model" }, "MlEnabledCgeSlc": { "before": { @@ -1575,7 +1641,8 @@ } ] }, - "after": {} + "after": {}, + "pretty_name": "Machine Learning Enabled CGE SLC" }, "SaltLakeCGEModel": { "before": { @@ -1586,7 +1653,8 @@ } ] }, - "after": {} + "after": {}, + "pretty_name": "Salt Lake CGE Model" }, "SeasideCGEModel": { "before": { @@ -1597,78 +1665,56 @@ } ] }, - "after": {} - }, - "ResidentialBuildingRecovery": { - "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ] - }, - "after": {} + "after": {}, + "pretty_name": "Seaside CGE Model" }, - "PipelineRestoration": { - "after": { - "INDP": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ] - }, - "before": { - "PipelineDamageRepairRate": [ - { - "from": "pipeline_damage", - "to": "result" - } - ] - } - }, - "PipelineDamageRepairRate": { + "EpfDamage": { "after": { - "PipelineFunctionality": [ + "MonteCarloLimitStateProbability": [ { "from": "result", - "to": "pipeline_repair_rate_damage" + "to": "damage" } ], - "PipelineRestoration": [ + "NciFunctionality": [ { "from": "result", - "to": "pipeline_damage" + "to": "epf_damage" } ], - "PipelineRepairCost": [ + "EpfRestoration": [ { "from": "result", - "to": "pipeline_dmg" + "to": "damage" } ] }, - "before": {} + "before": {}, + "pretty_name": "Electric Power Facility Damage" }, "BuildingClusterRecovery": { "before": {}, - "after": {} + "after": {}, + "pretty_name": "Building Cluster Recovery" }, "GasFacilityDamage": { "before": {}, - "after": {} + "after": {}, + "pretty_name": "Gas Facility Damage" }, "MultiObjectiveRetrofitOptimization": { "before": {}, - "after": {} + "after": {}, + "pretty_name": "Multi-Objective Retrofit Optimization" }, "TornadoEpnDamage": { "before": {}, - "after": {} + "after": {}, + "pretty_name": "Tornado Electric Power Network Damage" }, "TrafficFlowRecovery": { "before": {}, - "after": {} + "after": {}, + "pretty_name": "Traffic Flow Recovery" } } \ No newline at end of file From 664cb696e59adb8d9a2ef5b52ddf7afcb7865ad6 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Mon, 7 Oct 2024 15:00:10 -0500 Subject: [PATCH 07/19] swap to and from property in before --- .../pyincore_utils/create_dependency_graph.py | 2 +- .../pyincore_utils/new_dependency_graph.json | 1876 ++++++++--------- 2 files changed, 939 insertions(+), 939 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 502f356..a037c36 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -222,7 +222,7 @@ if k == "before": value[k] = defaultdict(list) for analysis, propA, propB in list(v): - value[k][analysis].append({"from": propB, "to": propA}) + value[k][analysis].append({"from": propA, "to": propB}) # value[k] = dict( # [ diff --git a/utils/pyincore_utils/new_dependency_graph.json b/utils/pyincore_utils/new_dependency_graph.json index cf3f622..e03b44f 100644 --- a/utils/pyincore_utils/new_dependency_graph.json +++ b/utils/pyincore_utils/new_dependency_graph.json @@ -1,419 +1,377 @@ { - "MeanDamage": { + "CombinedWindWaveSurgeBuildingDamage": { "before": { - "BuildingNonStructDamage": [ - { - "from": "damage", - "to": "result" - } - ], - "BuildingStructuralDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "damage", - "to": "ds_result" - } - ], - "BridgeDamage": [ + "from": "ds_result", + "to": "surge_wave_damage" + }, { - "from": "damage", - "to": "result" + "from": "ds_result", + "to": "wind_damage" } ], - "RoadDamage": [ + "BuildingNonStructDamage": [ { - "from": "damage", - "to": "result" + "from": "result", + "to": "flood_damage" } ], - "CumulativeBuildingDamage": [ + "BuildingStructuralDamage": [ { - "from": "damage", - "to": "combined-result" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ + "from": "ds_result", + "to": "surge_wave_damage" + }, { - "from": "damage", - "to": "ds_result" + "from": "ds_result", + "to": "wind_damage" } ] }, "after": { - "BuildingEconLoss": [ - { - "from": "result", - "to": "building_mean_dmg" - } - ] - }, - "pretty_name": "Mean Damage" - }, - "MonteCarloLimitStateProbability": { - "before": { - "BuildingNonStructDamage": [ + "JoplinEmpiricalBuildingRestoration": [ { - "from": "damage", - "to": "result" + "from": "ds_result", + "to": "building_dmg" } ], - "BuildingStructuralDamage": [ + "CumulativeBuildingDamage": [ + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, { - "from": "damage", - "to": "ds_result" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "BridgeDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, { - "from": "damage", - "to": "result" + "from": "ds_result", + "to": "wind_damage" } ], - "RoadDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "damage", - "to": "result" + "from": "ds_result", + "to": "damage" } ], - "WaterFacilityDamage": [ + "CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "ds_result", + "to": "wind_damage" + }, { - "from": "damage", - "to": "result" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "CumulativeBuildingDamage": [ + "MeanDamage": [ { - "from": "damage", - "to": "combined-result" + "from": "ds_result", + "to": "damage" } ], - "PipelineDamage": [ + "BuyoutDecision": [ + { + "from": "ds_result", + "to": "future_building_damage" + }, { - "from": "damage", - "to": "result" + "from": "ds_result", + "to": "past_building_damage" } ], - "EpfDamage": [ + "CommercialBuildingRecovery": [ { - "from": "damage", - "to": "result" + "from": "ds_result", + "to": "building_dmg" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "PopulationDislocation": [ { - "from": "damage", - "to": "ds_result" + "from": "ds_result", + "to": "building_dmg" } ] }, - "after": { - "CommercialBuildingRecovery": [ + "pretty_name": "Combined Wind Wave Surge Building Damage" + }, + "CombinedWindWaveSurgeBuildingLoss": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "wind_damage" } ], - "INDP": [ - { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, + "BuildingNonStructDamage": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "from": "result", + "to": "flood_damage" + } + ], + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, + "from": "ds_result", + "to": "wind_damage" + } + ] + }, + "after": {}, + "pretty_name": "Combined Wind Wave Surge Building Loss" + }, + "JoplinEmpiricalBuildingRestoration": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "CapitalShocks": [ + "BuildingNonStructDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "building_dmg" } ], - "NciFunctionality": [ + "CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "combined-result", + "to": "building_dmg" } ], - "ResidentialBuildingRecovery": [ + "BuildingStructuralDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "building_dmg" } - ], - "EpfRepairCost": [ + ] + }, + "after": {}, + "pretty_name": "Joplin Empirical Building Restoration" + }, + "MeanDamage": { + "before": { + "BridgeDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "result", + "to": "damage" } ], - "WaterFacilityRepairCost": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "damage" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "damage" } ], - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "RoadDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "from": "result", + "to": "damage" + } + ], + "BuildingNonStructDamage": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "result", + "to": "damage" } ], - "EpnFunctionality": [ + "CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "combined-result", + "to": "damage" } ] }, - "pretty_name": "Monte Carlo Limit State Probability" - }, - "RoadDamage": { "after": { - "MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], - "MeanDamage": [ + "BuildingEconLoss": [ { "from": "result", - "to": "damage" + "to": "building_mean_dmg" } ] }, - "before": {}, - "pretty_name": "Road Damage" + "pretty_name": "Mean Damage" }, - "BridgeDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + "MonteCarloLimitStateProbability": { + "before": { + "EpfDamage": [ { "from": "result", "to": "damage" } ], - "MeanDamage": [ + "BridgeDamage": [ { "from": "result", "to": "damage" } - ] - }, - "before": {}, - "pretty_name": "Bridge Damage" - }, - "CombinedWindWaveSurgeBuildingDamage": { - "before": { + ], "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "surge_wave_damage", - "to": "ds_result" - }, + "from": "ds_result", + "to": "damage" + } + ], + "PipelineDamage": [ { - "from": "wind_damage", - "to": "ds_result" + "from": "result", + "to": "damage" } ], "BuildingStructuralDamage": [ { - "from": "wind_damage", - "to": "ds_result" - }, + "from": "ds_result", + "to": "damage" + } + ], + "RoadDamage": [ + { + "from": "result", + "to": "damage" + } + ], + "WaterFacilityDamage": [ { - "from": "surge_wave_damage", - "to": "ds_result" + "from": "result", + "to": "damage" } ], "BuildingNonStructDamage": [ { - "from": "flood_damage", - "to": "result" + "from": "result", + "to": "damage" + } + ], + "CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "damage" } ] }, "after": { - "CombinedWindWaveSurgeBuildingDamage": [ + "BuildingFunctionality": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "ds_result", - "to": "wind_damage" - } - ], - "CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "BuyoutDecision": [ + "INDP": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_damage_states", + "to": "epf_damage_state" }, { - "from": "ds_result", - "to": "future_building_damage" - } - ], - "CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ], - "CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "ds_result", - "to": "eq_bldg_dmg" - } - ], - "JoplinEmpiricalBuildingRestoration": [ + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, { - "from": "ds_result", - "to": "building_dmg" - } - ], - "PopulationDislocation": [ + "from": "sample_failure_state", + "to": "epf_failure_state" + }, { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_damage_states", + "to": "wf_damage_state" } ], - "MeanDamage": [ + "EpfRepairCost": [ { - "from": "ds_result", - "to": "damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "MonteCarloLimitStateProbability": [ - { - "from": "ds_result", - "to": "damage" - } - ] - }, - "pretty_name": "Combined Wind Wave Surge Building Damage" - }, - "CombinedWindWaveSurgeBuildingLoss": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "WfnFunctionality": [ { - "from": "surge_wave_damage", - "to": "ds_result" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "wind_damage", - "to": "ds_result" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "BuildingStructuralDamage": [ + "CommercialBuildingRecovery": [ { - "from": "wind_damage", - "to": "ds_result" + "from": "failure_probability", + "to": "mcs_failure" }, { - "from": "surge_wave_damage", - "to": "ds_result" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "BuildingNonStructDamage": [ + "CapitalShocks": [ { - "from": "flood_damage", - "to": "result" + "from": "failure_probability", + "to": "failure_probability" } - ] - }, - "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss" - }, - "JoplinEmpiricalBuildingRestoration": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + ], + "EpnFunctionality": [ { - "from": "building_dmg", - "to": "ds_result" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "CumulativeBuildingDamage": [ + "NciFunctionality": [ { - "from": "building_dmg", - "to": "combined-result" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "BuildingStructuralDamage": [ + "ResidentialBuildingRecovery": [ { - "from": "building_dmg", - "to": "ds_result" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "BuildingNonStructDamage": [ + "WaterFacilityRepairCost": [ { - "from": "building_dmg", - "to": "result" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "after": {}, - "pretty_name": "Joplin Empirical Building Restoration" + "pretty_name": "Monte Carlo Limit State Probability" }, "BuildingNonStructDamage": { "after": { - "CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "result", - "to": "flood_damage" - } - ], - "JoplinEmpiricalBuildingRestoration": [ + "MeanDamage": [ { "from": "result", - "to": "building_dmg" + "to": "damage" } ], "CombinedWindWaveSurgeBuildingDamage": [ @@ -428,195 +386,229 @@ "to": "damage" } ], - "MeanDamage": [ + "JoplinEmpiricalBuildingRestoration": [ { "from": "result", - "to": "damage" + "to": "building_dmg" + } + ], + "CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "result", + "to": "flood_damage" } ] }, "before": {}, "pretty_name": "Building Non-Structural Damage" }, - "BuyoutDecision": { + "CommercialBuildingRecovery": { "before": { - "BuildingStructuralDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "future_building_damage", - "to": "ds_result" - }, + "from": "ds_result", + "to": "building_dmg" + } + ], + "PipelineFunctionality": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "WfnFunctionality": [ { - "from": "past_building_damage", - "to": "ds_result" + "from": "failure_probability", + "to": "mcs_failure" } ], - "HousingUnitAllocation": [ + "BuildingStructuralDamage": [ { - "from": "housing_unit_allocation", - "to": "result" + "from": "ds_result", + "to": "building_dmg" } ], - "PopulationDislocation": [ + "EpnFunctionality": [ { - "from": "population_dislocation", - "to": "result" + "from": "failure_probability", + "to": "mcs_failure" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "past_building_damage", - "to": "ds_result" + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "future_building_damage", - "to": "ds_result" + "from": "failure_probability", + "to": "mcs_failure" } ] }, "after": {}, - "pretty_name": "Buyout Decision" + "pretty_name": "Commercial Building Recovery" }, - "CommercialBuildingRecovery": { + "EpfRepairCost": { "before": { "MonteCarloLimitStateProbability": [ { "from": "sample_damage_states", "to": "sample_damage_states" - }, - { - "from": "mcs_failure", - "to": "failure_probability" - } - ], - "EpnFunctionality": [ - { - "from": "mcs_failure", - "to": "failure_probability" } - ], - "PipelineFunctionality": [ - { - "from": "mcs_failure", - "to": "failure_probability" - } - ], - "WfnFunctionality": [ - { - "from": "mcs_failure", - "to": "failure_probability" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ + ] + }, + "after": { + "INDP": [ { - "from": "building_dmg", - "to": "ds_result" - } - ], - "BuildingStructuralDamage": [ + "from": "result", + "to": "wf_repair_cost" + }, { - "from": "building_dmg", - "to": "ds_result" + "from": "result", + "to": "epf_repair_cost" } ] }, - "after": {}, - "pretty_name": "Commercial Building Recovery" + "pretty_name": "Electric Power Facility Repair Cost" }, - "CumulativeBuildingDamage": { + "INDP": { "before": { - "CumulativeBuildingDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "eq_bldg_dmg", - "to": "combined-result" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "tsunami_bldg_dmg", - "to": "combined-result" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "tsunami_bldg_dmg", - "to": "ds_result" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "eq_bldg_dmg", - "to": "ds_result" - } - ], - "BuildingStructuralDamage": [ + "from": "sample_damage_states", + "to": "wf_damage_state" + }, { - "from": "tsunami_bldg_dmg", - "to": "ds_result" + "from": "sample_damage_states", + "to": "epf_damage_state" }, { - "from": "eq_bldg_dmg", - "to": "ds_result" - } - ] - }, - "after": { - "CumulativeBuildingDamage": [ + "from": "sample_failure_state", + "to": "wf_failure_state" + } + ], + "WfnFunctionality": [ { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "PopulationDislocation": [ + "EpnFunctionality": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "JoplinEmpiricalBuildingRestoration": [ + "PipelineRestoration": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ], - "MeanDamage": [ + "PipelineFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "MonteCarloLimitStateProbability": [ + "PipelineRepairCost": [ { - "from": "combined-result", - "to": "damage" + "from": "result", + "to": "pipeline_repair_cost" } - ] - }, - "pretty_name": "Cumulative Building Damage" - }, - "PopulationDislocation": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + ], + "WaterFacilityRestoration": [ { - "from": "building_dmg", - "to": "ds_result" + "from": "repair_times", + "to": "wf_restoration_time" } ], - "CumulativeBuildingDamage": [ + "EpfRestoration": [ { - "from": "building_dmg", - "to": "combined-result" + "from": "repair_times", + "to": "epf_restoration_time" } ], - "BuildingStructuralDamage": [ + "WaterFacilityRepairCost": [ + { + "from": "result", + "to": "epf_repair_cost" + }, { - "from": "building_dmg", - "to": "ds_result" + "from": "result", + "to": "wf_repair_cost" } ], - "HousingUnitAllocation": [ + "PopulationDislocation": [ + { + "from": "result", + "to": "pop_dislocation" + } + ], + "EpfRepairCost": [ + { + "from": "result", + "to": "epf_repair_cost" + }, { - "from": "housing_unit_allocation", - "to": "result" + "from": "result", + "to": "wf_repair_cost" + } + ] + }, + "after": {}, + "pretty_name": "Infrastructure Network Disruption Planning" + }, + "ResidentialBuildingRecovery": { + "before": { + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, + "after": {}, + "pretty_name": "Residential Building Recovery" + }, + "WaterFacilityRepairCost": { + "before": { + "MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, @@ -624,341 +616,386 @@ "INDP": [ { "from": "result", - "to": "pop_dislocation" + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" } - ], - "BuyoutDecision": [ + ] + }, + "pretty_name": "Water Facility Repair Cost" + }, + "PipelineRepairCost": { + "after": { + "INDP": [ { "from": "result", - "to": "population_dislocation" + "to": "pipeline_repair_cost" } - ], - "HousingValuationRecovery": [ + ] + }, + "before": { + "PipelineDamageRepairRate": [ { "from": "result", - "to": "population_dislocation" + "to": "pipeline_dmg" } - ], - "HousingRecoverySequential": [ + ] + }, + "pretty_name": "Pipeline Repair Cost" + }, + "BuildingEconLoss": { + "before": { + "MeanDamage": [ { "from": "result", - "to": "population_dislocation_block" + "to": "building_mean_dmg" } ] }, - "pretty_name": "Population Dislocation" + "after": {}, + "pretty_name": "Building Economic Loss" }, - "BuildingStructuralDamage": { - "after": { - "CombinedWindWaveSurgeBuildingDamage": [ + "CumulativeBuildingDamage": { + "before": { + "CumulativeBuildingDamage": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "combined-result", + "to": "tsunami_bldg_dmg" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "combined-result", + "to": "eq_bldg_dmg" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "wind_damage" + "to": "eq_bldg_dmg" }, { "from": "ds_result", - "to": "surge_wave_damage" + "to": "tsunami_bldg_dmg" } ], - "BuyoutDecision": [ + "BuildingStructuralDamage": [ { "from": "ds_result", - "to": "past_building_damage" + "to": "tsunami_bldg_dmg" }, { "from": "ds_result", - "to": "future_building_damage" + "to": "eq_bldg_dmg" + } + ] + }, + "after": { + "MeanDamage": [ + { + "from": "combined-result", + "to": "damage" } ], - "CommercialBuildingRecovery": [ + "PopulationDislocation": [ { - "from": "ds_result", + "from": "combined-result", "to": "building_dmg" } ], "CumulativeBuildingDamage": [ { - "from": "ds_result", + "from": "combined-result", "to": "tsunami_bldg_dmg" }, { - "from": "ds_result", + "from": "combined-result", "to": "eq_bldg_dmg" } ], "JoplinEmpiricalBuildingRestoration": [ { - "from": "ds_result", + "from": "combined-result", "to": "building_dmg" } ], - "PopulationDislocation": [ + "MonteCarloLimitStateProbability": [ + { + "from": "combined-result", + "to": "damage" + } + ] + }, + "pretty_name": "Cumulative Building Damage" + }, + "PopulationDislocation": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", "to": "building_dmg" } ], - "MeanDamage": [ + "BuildingStructuralDamage": [ { "from": "ds_result", - "to": "damage" + "to": "building_dmg" } ], - "MonteCarloLimitStateProbability": [ + "CumulativeBuildingDamage": [ { - "from": "ds_result", - "to": "damage" + "from": "combined-result", + "to": "building_dmg" } - ] - }, - "before": {}, - "pretty_name": "Building Structural Damage" - }, - "PipelineDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + ], + "HousingUnitAllocation": [ { "from": "result", - "to": "damage" + "to": "housing_unit_allocation" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage" - }, - "INDP": { - "before": { - "PipelineFunctionality": [ - { - "from": "pipeline_failure_state", - "to": "sample_failure_state" - }, - { - "from": "wf_failure_state", - "to": "sample_failure_state" - }, + "after": { + "HousingRecoverySequential": [ { - "from": "epf_failure_state", - "to": "sample_failure_state" + "from": "result", + "to": "population_dislocation_block" } ], - "EpnFunctionality": [ + "HousingValuationRecovery": [ { - "from": "pipeline_failure_state", - "to": "sample_failure_state" - }, - { - "from": "wf_failure_state", - "to": "sample_failure_state" - }, - { - "from": "epf_failure_state", - "to": "sample_failure_state" + "from": "result", + "to": "population_dislocation" } ], - "MonteCarloLimitStateProbability": [ - { - "from": "epf_failure_state", - "to": "sample_failure_state" - }, + "BuyoutDecision": [ { - "from": "epf_damage_state", - "to": "sample_damage_states" - }, + "from": "result", + "to": "population_dislocation" + } + ], + "INDP": [ { - "from": "pipeline_failure_state", - "to": "sample_failure_state" - }, + "from": "result", + "to": "pop_dislocation" + } + ] + }, + "pretty_name": "Population Dislocation" + }, + "BuyoutDecision": { + "before": { + "BuildingStructuralDamage": [ { - "from": "wf_failure_state", - "to": "sample_failure_state" + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "wf_damage_state", - "to": "sample_damage_states" + "from": "ds_result", + "to": "future_building_damage" } ], - "EpfRestoration": [ + "HousingUnitAllocation": [ { - "from": "epf_restoration_time", - "to": "repair_times" + "from": "result", + "to": "housing_unit_allocation" } ], - "PipelineRestoration": [ + "PopulationDislocation": [ { - "from": "pipeline_restoration_time", - "to": "pipeline_restoration" + "from": "result", + "to": "population_dislocation" } ], - "EpfRepairCost": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "epf_repair_cost", - "to": "result" + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "wf_repair_cost", - "to": "result" + "from": "ds_result", + "to": "future_building_damage" } - ], + ] + }, + "after": {}, + "pretty_name": "Buyout Decision" + }, + "HousingRecoverySequential": { + "before": { "PopulationDislocation": [ { - "from": "pop_dislocation", - "to": "result" + "from": "result", + "to": "population_dislocation_block" } ], - "WfnFunctionality": [ + "SocialVulnerabilityScore": [ { - "from": "pipeline_failure_state", - "to": "sample_failure_state" - }, + "from": "sv_result", + "to": "sv_result" + } + ] + }, + "after": {}, + "pretty_name": "Housing Recovery Sequential" + }, + "HousingValuationRecovery": { + "before": { + "PopulationDislocation": [ { - "from": "wf_failure_state", - "to": "sample_failure_state" - }, + "from": "result", + "to": "population_dislocation" + } + ] + }, + "after": {}, + "pretty_name": "Housing Valuation Recovery" + }, + "CapitalShocks": { + "before": { + "WfnFunctionality": [ { - "from": "epf_failure_state", - "to": "sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "WaterFacilityRepairCost": [ - { - "from": "epf_repair_cost", - "to": "result" - }, + "MonteCarloLimitStateProbability": [ { - "from": "wf_repair_cost", - "to": "result" + "from": "failure_probability", + "to": "failure_probability" } ], - "PipelineRepairCost": [ + "EpnFunctionality": [ { - "from": "pipeline_repair_cost", - "to": "result" + "from": "failure_probability", + "to": "failure_probability" } ], - "WaterFacilityRestoration": [ + "PipelineFunctionality": [ { - "from": "wf_restoration_time", - "to": "repair_times" + "from": "failure_probability", + "to": "failure_probability" } ] }, - "after": {}, - "pretty_name": "Infrastructure Network Disruption Planning" - }, - "WaterFacilityRestoration": { "after": { - "NciFunctionality": [ + "GalvestonCGEModel": [ { - "from": "time_results", - "to": "wds_time_results" - }, + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "SaltLakeCGEModel": [ { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "JoplinCGEModel": [ { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "INDP": [ + "SeasideCGEModel": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "sector_shocks", + "to": "sector_shocks" } - ] - }, - "before": { - "WaterFacilityDamage": [ + ], + "MlEnabledCgeSlc": [ { - "from": "damage", - "to": "result" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Water Facility Restoration" + "pretty_name": "Capital Shocks" }, - "HousingRecoverySequential": { + "NciFunctionality": { "before": { - "SocialVulnerabilityScore": [ + "WaterFacilityRestoration": [ { - "from": "sv_result", - "to": "sv_result" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" } ], - "PopulationDislocation": [ + "EpfRestoration": [ { - "from": "population_dislocation_block", - "to": "result" - } - ] - }, - "after": {}, - "pretty_name": "Housing Recovery Sequential" - }, - "SocialVulnerabilityScore": { - "after": { - "HousingRecoverySequential": [ + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, { - "from": "sv_result", - "to": "sv_result" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" } - ] - }, - "before": {}, - "pretty_name": "Social Vulnerability Score" - }, - "PipelineFunctionality": { - "before": { - "PipelineDamageRepairRate": [ + ], + "EpfDamage": [ { - "from": "pipeline_repair_rate_damage", - "to": "result" + "from": "result", + "to": "epf_damage" } - ] - }, - "after": { - "CommercialBuildingRecovery": [ + ], + "MonteCarloLimitStateProbability": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "epf_subst_failure_results" } ], - "CapitalShocks": [ + "PipelineFunctionality": [ { "from": "failure_probability", - "to": "failure_probability" + "to": "epf_subst_failure_results" } ], - "NciFunctionality": [ + "WfnFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "INDP": [ + "WaterFacilityDamage": [ + { + "from": "result", + "to": "wds_dmg_results" + } + ], + "EpnFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ] + }, + "after": {}, + "pretty_name": "Network Cascading Interdependency Functionality" + }, + "EpnFunctionality": { + "after": { + "BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "poles_damage_mcs_samples" } ], "WfnFunctionality": [ @@ -971,227 +1008,113 @@ "to": "wf_sample_failure_state" } ], - "BuildingFunctionality": [ + "INDP": [ { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "wf_failure_state" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "pipeline_failure_state" } ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ] - }, - "pretty_name": "Pipeline Functionality" - }, - "PipelineRepairCost": { - "before": { - "PipelineDamageRepairRate": [ - { - "from": "pipeline_dmg", - "to": "result" - } - ] - }, - "after": { - "INDP": [ - { - "from": "result", - "to": "pipeline_repair_cost" - } - ] - }, - "pretty_name": "Pipeline Repair Cost" - }, - "PipelineRestoration": { - "before": { - "PipelineDamageRepairRate": [ - { - "from": "pipeline_damage", - "to": "result" - } - ] - }, - "after": { - "INDP": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ] - }, - "pretty_name": "Pipeline Restoration" - }, - "PipelineDamageRepairRate": { - "after": { - "PipelineFunctionality": [ + "CommercialBuildingRecovery": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "PipelineRestoration": [ + "CapitalShocks": [ { - "from": "result", - "to": "pipeline_damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_dmg" - } - ] - }, - "before": {}, - "pretty_name": "Pipeline Damage Repair Rate" - }, - "EpfRepairCost": { - "after": { - "INDP": [ - { - "from": "result", - "to": "wf_repair_cost" - }, - { - "from": "result", - "to": "epf_repair_cost" - } - ] - }, - "before": { - "MonteCarloLimitStateProbability": [ + "EpnFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ] - }, - "pretty_name": "Electric Power Facility Repair Cost" - }, - "WaterFacilityRepairCost": { - "after": { - "INDP": [ - { - "from": "result", - "to": "wf_repair_cost" - }, + ], + "NciFunctionality": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ] }, "before": { - "MonteCarloLimitStateProbability": [ + "PipelineFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ] - }, - "pretty_name": "Water Facility Repair Cost" - }, - "BuildingFunctionality": { - "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" - }, + ], + "WfnFunctionality": [ { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "PipelineFunctionality": [ - { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" - }, + "MonteCarloLimitStateProbability": [ { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], "EpnFunctionality": [ { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] + }, + "pretty_name": "Electric Power Network Functionality" + }, + "PipelineFunctionality": { + "after": { + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" }, { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], "WfnFunctionality": [ { - "from": "substations_damage_mcs_samples", - "to": "sample_failure_state" - }, - { - "from": "building_damage_mcs_samples", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "poles_damage_mcs_samples", - "to": "sample_failure_state" - } - ] - }, - "after": {}, - "pretty_name": "Building Functionality" - }, - "EpnFunctionality": { - "before": { - "PipelineFunctionality": [ - { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "WfnFunctionality": [ + "INDP": [ { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" - } - ], - "EpnFunctionality": [ + "from": "sample_failure_state", + "to": "wf_failure_state" + }, { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" - } - ], - "MonteCarloLimitStateProbability": [ + "from": "sample_failure_state", + "to": "epf_failure_state" + }, { - "from": "epf_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "pipeline_failure_state" } - ] - }, - "after": { + ], "CommercialBuildingRecovery": [ { "from": "failure_probability", @@ -1204,24 +1127,43 @@ "to": "failure_probability" } ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], "NciFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } - ], - "INDP": [ + ] + }, + "before": { + "PipelineDamageRepairRate": [ + { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + ] + }, + "pretty_name": "Pipeline Functionality" + }, + "WfnFunctionality": { + "after": { + "BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "poles_damage_mcs_samples" } ], "WfnFunctionality": [ @@ -1234,18 +1176,30 @@ "to": "wf_sample_failure_state" } ], - "BuildingFunctionality": [ + "INDP": [ { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "wf_failure_state" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "pipeline_failure_state" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" } ], "EpnFunctionality": [ @@ -1253,203 +1207,253 @@ "from": "sample_failure_state", "to": "epf_sample_failure_state" } + ], + "NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } ] }, - "pretty_name": "Electric Power Network Functionality" - }, - "WfnFunctionality": { "before": { "EpnFunctionality": [ { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], "MonteCarloLimitStateProbability": [ { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "WfnFunctionality": [ + "PipelineFunctionality": [ { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "PipelineFunctionality": [ + "WfnFunctionality": [ { - "from": "pp_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "wf_sample_failure_state", - "to": "sample_failure_state" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ] }, + "pretty_name": "Water Facility Network Functionality" + }, + "SocialVulnerabilityScore": { "after": { - "CommercialBuildingRecovery": [ + "HousingRecoverySequential": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sv_result", + "to": "sv_result" + } + ] + }, + "before": {}, + "pretty_name": "Social Vulnerability Score" + }, + "BridgeDamage": { + "after": { + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" } ], - "CapitalShocks": [ + "MeanDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "damage" + } + ] + }, + "before": {}, + "pretty_name": "Bridge Damage" + }, + "RoadDamage": { + "after": { + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" } ], - "NciFunctionality": [ + "MeanDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "damage" + } + ] + }, + "before": {}, + "pretty_name": "Road Damage" + }, + "BuildingStructuralDamage": { + "after": { + "JoplinEmpiricalBuildingRestoration": [ + { + "from": "ds_result", + "to": "building_dmg" } ], - "INDP": [ + "CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "ds_result", + "to": "wind_damage" } ], - "WfnFunctionality": [ + "MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "damage" + } + ], + "CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "BuildingFunctionality": [ + "MeanDamage": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "from": "ds_result", + "to": "damage" + } + ], + "BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "future_building_damage" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "past_building_damage" } ], - "EpnFunctionality": [ + "CommercialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" + } + ], + "PopulationDislocation": [ + { + "from": "ds_result", + "to": "building_dmg" } ] }, - "pretty_name": "Water Facility Network Functionality" + "before": {}, + "pretty_name": "Building Structural Damage" }, - "NciFunctionality": { + "WaterFacilityRestoration": { "before": { - "PipelineFunctionality": [ + "WaterFacilityDamage": [ { - "from": "epf_subst_failure_results", - "to": "failure_probability" + "from": "result", + "to": "damage" } - ], - "WaterFacilityRestoration": [ + ] + }, + "after": { + "NciFunctionality": [ { - "from": "wds_time_results", - "to": "time_results" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" }, { - "from": "epf_inventory_rest_map", - "to": "inventory_restoration_map" + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" }, { - "from": "wds_inventory_rest_map", - "to": "inventory_restoration_map" - } - ], - "WfnFunctionality": [ - { - "from": "epf_subst_failure_results", - "to": "failure_probability" + "from": "time_results", + "to": "wds_time_results" } ], - "EpfRestoration": [ - { - "from": "wds_inventory_rest_map", - "to": "inventory_restoration_map" - }, - { - "from": "epf_time_results", - "to": "time_results" - }, + "INDP": [ { - "from": "epf_inventory_rest_map", - "to": "inventory_restoration_map" + "from": "repair_times", + "to": "wf_restoration_time" } - ], - "WaterFacilityDamage": [ + ] + }, + "pretty_name": "Water Facility Restoration" + }, + "WaterFacilityDamage": { + "after": { + "NciFunctionality": [ { - "from": "wds_dmg_results", - "to": "result" + "from": "result", + "to": "wds_dmg_results" } ], - "EpfDamage": [ + "WaterFacilityRestoration": [ { - "from": "epf_damage", - "to": "result" + "from": "result", + "to": "damage" } ], "MonteCarloLimitStateProbability": [ { - "from": "epf_subst_failure_results", - "to": "failure_probability" - } - ], - "EpnFunctionality": [ - { - "from": "epf_subst_failure_results", - "to": "failure_probability" + "from": "result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Network Cascading Interdependency Functionality" + "before": {}, + "pretty_name": "Water Facility Damage" }, "EpfRestoration": { "after": { "NciFunctionality": [ { - "from": "time_results", - "to": "epf_time_results" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" }, { "from": "inventory_restoration_map", "to": "wds_inventory_rest_map" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "time_results", + "to": "epf_time_results" } ], "INDP": [ @@ -1462,151 +1466,129 @@ "before": { "EpfDamage": [ { - "from": "damage", - "to": "result" + "from": "result", + "to": "damage" } ] }, "pretty_name": "Electric Power Facility Restoration" }, - "CapitalShocks": { + "PipelineRestoration": { "before": { - "PipelineFunctionality": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "WfnFunctionality": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "MonteCarloLimitStateProbability": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "EpnFunctionality": [ + "PipelineDamageRepairRate": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "pipeline_damage" } ] }, "after": { - "MlEnabledCgeSlc": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "SeasideCGEModel": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "GalvestonCGEModel": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "SaltLakeCGEModel": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "JoplinCGEModel": [ + "INDP": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ] }, - "pretty_name": "Capital Shocks" + "pretty_name": "Pipeline Restoration" }, - "HousingUnitAllocation": { + "PipelineDamageRepairRate": { "after": { - "BuyoutDecision": [ + "PipelineRestoration": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "pipeline_damage" } ], - "PopulationDislocation": [ + "PipelineFunctionality": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "pipeline_repair_rate_damage" + } + ], + "PipelineRepairCost": [ + { + "from": "result", + "to": "pipeline_dmg" } ] }, "before": {}, - "pretty_name": "Housing Unit Allocation" + "pretty_name": "Pipeline Damage Repair Rate" }, - "ResidentialBuildingRecovery": { - "before": { + "PipelineDamage": { + "after": { "MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Residential Building Recovery" + "before": {}, + "pretty_name": "Pipeline Damage" }, - "HousingValuationRecovery": { + "BuildingFunctionality": { "before": { - "PopulationDislocation": [ - { - "from": "population_dislocation", - "to": "result" - } - ] - }, - "after": {}, - "pretty_name": "Housing Valuation Recovery" - }, - "WaterFacilityDamage": { - "after": { "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "WaterFacilityRestoration": [ + "PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], - "NciFunctionality": [ + "EpnFunctionality": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } - ] - }, - "before": {}, - "pretty_name": "Water Facility Damage" - }, - "BuildingEconLoss": { - "before": { - "MeanDamage": [ + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, { - "from": "building_mean_dmg", - "to": "result" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ] }, "after": {}, - "pretty_name": "Building Economic Loss" + "pretty_name": "Building Functionality" }, "GalvestonCGEModel": { "before": { @@ -1670,7 +1652,7 @@ }, "EpfDamage": { "after": { - "MonteCarloLimitStateProbability": [ + "EpfRestoration": [ { "from": "result", "to": "damage" @@ -1682,7 +1664,7 @@ "to": "epf_damage" } ], - "EpfRestoration": [ + "MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" @@ -1692,6 +1674,24 @@ "before": {}, "pretty_name": "Electric Power Facility Damage" }, + "HousingUnitAllocation": { + "after": { + "BuyoutDecision": [ + { + "from": "result", + "to": "housing_unit_allocation" + } + ], + "PopulationDislocation": [ + { + "from": "result", + "to": "housing_unit_allocation" + } + ] + }, + "before": {}, + "pretty_name": "Housing Unit Allocation" + }, "BuildingClusterRecovery": { "before": {}, "after": {}, From b98ba97ad7d97f1588b15ae64c47021dab8859b2 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Wed, 23 Oct 2024 14:29:13 -0500 Subject: [PATCH 08/19] add tags --- .../pyincore_utils/create_dependency_graph.py | 183 +- .../pyincore_utils/new_dependency_graph.json | 2039 +++++++++-------- 2 files changed, 1223 insertions(+), 999 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index a037c36..2fe2de0 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -114,54 +114,138 @@ } # create a dictionary of pretty names -pretty_names = { - "BridgeDamage": "Bridge Damage", - "BuildingClusterRecovery": "Building Cluster Recovery", - "BuildingEconLoss": "Building Economic Loss", - "BuildingFunctionality": "Building Functionality", - "BuildingNonStructDamage": "Building Non-Structural Damage", - "BuildingStructuralDamage": "Building Structural Damage", - "BuyoutDecision": "Buyout Decision", - "CapitalShocks": "Capital Shocks", - "CombinedWindWaveSurgeBuildingDamage": "Combined Wind Wave Surge Building Damage", - "CombinedWindWaveSurgeBuildingLoss": "Combined Wind Wave Surge Building Loss", - "CommercialBuildingRecovery": "Commercial Building Recovery", - "CumulativeBuildingDamage": "Cumulative Building Damage", - "EpfDamage": "Electric Power Facility Damage", - "EpfRepairCost": "Electric Power Facility Repair Cost", - "EpfRestoration": "Electric Power Facility Restoration", - "EpnFunctionality": "Electric Power Network Functionality", - "GalvestonCGEModel": "Galveston CGE Model", - "GasFacilityDamage": "Gas Facility Damage", - "HousingRecoverySequential": "Housing Recovery Sequential", - "HousingUnitAllocation": "Housing Unit Allocation", - "HousingValuationRecovery": "Housing Valuation Recovery", - "INDP": "Infrastructure Network Disruption Planning", - "JoplinCGEModel": "Joplin CGE Model", - "JoplinEmpiricalBuildingRestoration": "Joplin Empirical Building Restoration", - "MeanDamage": "Mean Damage", - "MlEnabledCgeSlc": "Machine Learning Enabled CGE SLC", - "MonteCarloLimitStateProbability": "Monte Carlo Limit State Probability", - "MultiObjectiveRetrofitOptimization": "Multi-Objective Retrofit Optimization", - "NciFunctionality": "Network Cascading Interdependency Functionality", - "PipelineDamage": "Pipeline Damage", - "PipelineDamageRepairRate": "Pipeline Damage Repair Rate", - "PipelineFunctionality": "Pipeline Functionality", - "PipelineRepairCost": "Pipeline Repair Cost", - "PipelineRestoration": "Pipeline Restoration", - "PopulationDislocation": "Population Dislocation", - "ResidentialBuildingRecovery": "Residential Building Recovery", - "RoadDamage": "Road Damage", - "SaltLakeCGEModel": "Salt Lake CGE Model", - "SeasideCGEModel": "Seaside CGE Model", - "SocialVulnerabilityScore": "Social Vulnerability Score", - "TornadoEpnDamage": "Tornado Electric Power Network Damage", - "TrafficFlowRecovery": "Traffic Flow Recovery", - "WaterFacilityDamage": "Water Facility Damage", - "WaterFacilityRepairCost": "Water Facility Repair Cost", - "WaterFacilityDamage": "Water Facility Damage", - "WaterFacilityRestoration": "Water Facility Restoration", - "WfnFunctionality": "Water Facility Network Functionality", +pretty_tagged_names = { + "BridgeDamage": {"name": "Bridge Damage", "tags": ["Bridge"]}, + "BuildingClusterRecovery": { + "name": "Building Cluster Recovery", + "tags": ["Building"], + }, + "BuildingEconLoss": {"name": "Building Economic Loss", "tags": ["Building"]}, + "BuildingFunctionality": {"name": "Building Functionality", "tags": ["Building"]}, + "BuildingNonStructDamage": { + "name": "Building Non-Structural Damage", + "tags": ["Building"], + }, + "BuildingStructuralDamage": { + "name": "Building Structural Damage", + "tags": ["Building"], + }, + "BuyoutDecision": {"name": "Buyout Decision", "tags": ["Decision Support"]}, + "CapitalShocks": {"name": "Capital Shocks", "tags": ["Economic"]}, + "CombinedWindWaveSurgeBuildingDamage": { + "name": "Combined Wind Wave Surge Building Damage", + "tags": ["Building"], + }, + "CombinedWindWaveSurgeBuildingLoss": { + "name": "Combined Wind Wave Surge Building Loss", + "tags": ["Building"], + }, + "CommercialBuildingRecovery": { + "name": "Commercial Building Recovery", + "tags": ["Socioeconomic"], + }, + "CumulativeBuildingDamage": { + "name": "Cumulative Building Damage", + "tags": ["Building"], + }, + "EpfDamage": {"name": "Electric Power Facility Damage", "tags": ["Lifeline"]}, + "EpfRepairCost": { + "name": "Electric Power Facility Repair Cost", + "tags": ["Lifeline"], + }, + "EpfRestoration": { + "name": "Electric Power Facility Restoration", + "tags": ["LifeLine"], + }, + "EpnFunctionality": { + "name": "Electric Power Network Functionality", + "tags": ["Lifeline"], + }, + "GalvestonCGEModel": {"name": "Galveston CGE Model", "tags": ["Economic"]}, + "GasFacilityDamage": {"name": "Gas Facility Damage", "tags": ["Lifeline"]}, + "HousingRecoverySequential": { + "name": "Housing Recovery Sequential", + "tags": ["Socioeconomic", "Decision Support"], + }, + "HousingUnitAllocation": { + "name": "Housing Unit Allocation", + "tags": ["Socioeconomic"], + }, + "HousingValuationRecovery": { + "name": "Housing Valuation Recovery", + "tags": ["Socioeconomic"], + }, + "INDP": { + "name": "Infrastructure Network Disruption Planning", + "tags": ["Decision Support"], + }, + "JoplinCGEModel": {"name": "Joplin CGE Model", "tags": ["Economic"]}, + "JoplinEmpiricalBuildingRestoration": { + "name": "Joplin Empirical Building Restoration", + "tags": ["Building"], + }, + "MeanDamage": {"name": "Mean Damage", "tags": []}, + "MlEnabledCgeSlc": { + "name": "Machine Learning Enabled CGE SLC", + "tags": ["Economic"], + }, + "MonteCarloLimitStateProbability": { + "name": "Monte Carlo Limit State Probability", + "tags": ["Decision Support"], + }, + "MultiObjectiveRetrofitOptimization": { + "name": "Multi-Objective Retrofit Optimization", + "tags": ["Decision Support"], + }, + "NciFunctionality": { + "name": "Network Cascading Interdependency Functionality", + "tags": ["Decision Support"], + }, + "PipelineDamage": {"name": "Pipeline Damage", "tags": ["Lifeline"]}, + "PipelineDamageRepairRate": { + "name": "Pipeline Damage Repair Rate", + "tags": ["Lifeline"], + }, + "PipelineFunctionality": {"name": "Pipeline Functionality", "tags": ["Lifeline"]}, + "PipelineRepairCost": {"name": "Pipeline Repair Cost", "tags": ["Lifeline"]}, + "PipelineRestoration": {"name": "Pipeline Restoration", "tags": ["Lifeline"]}, + "PopulationDislocation": { + "name": "Population Dislocation", + "tags": ["Socioeconomic"], + }, + "ResidentialBuildingRecovery": { + "name": "Residential Building Recovery", + "tags": ["Socioeconomic", "Decision Support"], + }, + "RoadDamage": {"name": "Road Damage", "tags": ["Lifeline"]}, + "SaltLakeCGEModel": {"name": "Salt Lake CGE Model", "tags": ["Economic"]}, + "SeasideCGEModel": {"name": "Seaside CGE Model", "tags": ["Economic"]}, + "SocialVulnerabilityScore": { + "name": "Social Vulnerability Score", + "tags": ["Socioeconomic"], + }, + "TornadoEpnDamage": { + "name": "Tornado Electric Power Network Damage", + "tags": ["Lifeline"], + }, + "TrafficFlowRecovery": { + "name": "Traffic Flow Recovery", + "tags": ["Decision Support", "Lifeline"], + }, + "WaterFacilityDamage": {"name": "Water Facility Damage", "tags": ["Lifeline"]}, + "WaterFacilityRepairCost": { + "name": "Water Facility Repair Cost", + "tags": ["Lifeline"], + }, + "WaterFacilityDamage": {"name": "Water Facility Damage", "tags": ["Lifeline"]}, + "WaterFacilityRestoration": { + "name": "Water Facility Restoration", + "tags": ["Lifeline"], + }, + "WfnFunctionality": { + "name": "Water Facility Network Functionality", + "tags": ["Lifeline"], + }, } input_types_for_analysis = defaultdict(list) @@ -256,6 +340,7 @@ # Add pretty names for analysis_name, value in dependency_graph.items(): - value["pretty_name"] = pretty_names[analysis_name] + value["pretty_name"] = pretty_tagged_names[analysis_name]["name"] + value["tags"] = pretty_tagged_names[analysis_name]["tags"] json.dump(dependency_graph, open("new_dependency_graph.json", "w"), indent=4) diff --git a/utils/pyincore_utils/new_dependency_graph.json b/utils/pyincore_utils/new_dependency_graph.json index e03b44f..764fc80 100644 --- a/utils/pyincore_utils/new_dependency_graph.json +++ b/utils/pyincore_utils/new_dependency_graph.json @@ -1,223 +1,190 @@ { - "CombinedWindWaveSurgeBuildingDamage": { + "INDP": { "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "WfnFunctionality": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "ds_result", - "to": "wind_damage" - } - ], - "BuildingNonStructDamage": [ + "from": "sample_failure_state", + "to": "epf_failure_state" + }, { - "from": "result", - "to": "flood_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "BuildingStructuralDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "wind_damage" - } - ] - }, - "after": { - "JoplinEmpiricalBuildingRestoration": [ + "from": "sample_failure_state", + "to": "wf_failure_state" + }, { - "from": "ds_result", - "to": "building_dmg" - } - ], - "CumulativeBuildingDamage": [ + "from": "sample_damage_states", + "to": "epf_damage_state" + }, { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_damage_states", + "to": "wf_damage_state" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "WaterFacilityRepairCost": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "result", + "to": "epf_repair_cost" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "wf_repair_cost" } ], - "MonteCarloLimitStateProbability": [ + "EpnFunctionality": [ { - "from": "ds_result", - "to": "damage" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "PipelineFunctionality": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "MeanDamage": [ + "PopulationDislocation": [ { - "from": "ds_result", - "to": "damage" + "from": "result", + "to": "pop_dislocation" } ], - "BuyoutDecision": [ + "EpfRepairCost": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "result", + "to": "epf_repair_cost" }, { - "from": "ds_result", - "to": "past_building_damage" + "from": "result", + "to": "wf_repair_cost" } ], - "CommercialBuildingRecovery": [ + "WaterFacilityRestoration": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "repair_times", + "to": "wf_restoration_time" } ], - "PopulationDislocation": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ] - }, - "pretty_name": "Combined Wind Wave Surge Building Damage" - }, - "CombinedWindWaveSurgeBuildingLoss": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "PipelineRestoration": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ], - "BuildingNonStructDamage": [ + "EpfRestoration": [ { - "from": "result", - "to": "flood_damage" + "from": "repair_times", + "to": "epf_restoration_time" } ], - "BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "PipelineRepairCost": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "pipeline_repair_cost" } ] }, "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss" + "pretty_name": "Infrastructure Network Disruption Planning", + "tags": [ + "Decision Support" + ] }, - "JoplinEmpiricalBuildingRestoration": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "PipelineRestoration": { + "after": { + "INDP": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } - ], - "BuildingNonStructDamage": [ + ] + }, + "before": { + "PipelineDamageRepairRate": [ { "from": "result", - "to": "building_dmg" - } - ], - "CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "building_dmg" - } - ], - "BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "building_dmg" + "to": "pipeline_damage" } ] }, - "after": {}, - "pretty_name": "Joplin Empirical Building Restoration" + "pretty_name": "Pipeline Restoration", + "tags": [ + "Lifeline" + ] }, - "MeanDamage": { + "EpfRestoration": { "before": { - "BridgeDamage": [ + "EpfDamage": [ { "from": "result", "to": "damage" } - ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "damage" - } - ], - "BuildingStructuralDamage": [ + ] + }, + "after": { + "NciFunctionality": [ { - "from": "ds_result", - "to": "damage" - } - ], - "RoadDamage": [ + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, { - "from": "result", - "to": "damage" - } - ], - "BuildingNonStructDamage": [ + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, { - "from": "result", - "to": "damage" + "from": "time_results", + "to": "epf_time_results" } ], - "CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "damage" - } - ] - }, - "after": { - "BuildingEconLoss": [ + "INDP": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "repair_times", + "to": "epf_restoration_time" } ] }, - "pretty_name": "Mean Damage" + "pretty_name": "Electric Power Facility Restoration", + "tags": [ + "LifeLine" + ] }, "MonteCarloLimitStateProbability": { "before": { - "EpfDamage": [ + "CumulativeBuildingDamage": [ { - "from": "result", + "from": "combined-result", "to": "damage" } ], @@ -227,9 +194,9 @@ "to": "damage" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "RoadDamage": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], @@ -239,56 +206,52 @@ "to": "damage" } ], - "BuildingStructuralDamage": [ + "WaterFacilityDamage": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "RoadDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ], - "WaterFacilityDamage": [ + "BuildingNonStructDamage": [ { "from": "result", "to": "damage" } ], - "BuildingNonStructDamage": [ + "EpfDamage": [ { "from": "result", "to": "damage" } ], - "CumulativeBuildingDamage": [ + "BuildingStructuralDamage": [ { - "from": "combined-result", + "from": "ds_result", "to": "damage" } ] }, "after": { - "BuildingFunctionality": [ + "CommercialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "failure_probability", + "to": "mcs_failure" } ], "INDP": [ { "from": "sample_damage_states", - "to": "epf_damage_state" + "to": "wf_damage_state" }, { "from": "sample_failure_state", @@ -296,47 +259,41 @@ }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_damage_states", - "to": "wf_damage_state" + "to": "epf_damage_state" } ], - "EpfRepairCost": [ + "BuildingFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ], - "WfnFunctionality": [ + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "substations_damage_mcs_samples" } ], - "CommercialBuildingRecovery": [ - { - "from": "failure_probability", - "to": "mcs_failure" - }, + "ResidentialBuildingRecovery": [ { "from": "sample_damage_states", "to": "sample_damage_states" } ], - "CapitalShocks": [ + "WaterFacilityRepairCost": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], "EpnFunctionality": [ @@ -351,448 +308,562 @@ "to": "epf_subst_failure_results" } ], - "ResidentialBuildingRecovery": [ + "WfnFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "WaterFacilityRepairCost": [ + "EpfRepairCost": [ { "from": "sample_damage_states", "to": "sample_damage_states" } + ], + "CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } ] }, - "pretty_name": "Monte Carlo Limit State Probability" + "pretty_name": "Monte Carlo Limit State Probability", + "tags": [ + "Decision Support" + ] }, - "BuildingNonStructDamage": { - "after": { - "MeanDamage": [ + "NciFunctionality": { + "before": { + "PipelineFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "WaterFacilityRestoration": [ + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "time_results", + "to": "wds_time_results" + } + ], + "WaterFacilityDamage": [ { "from": "result", - "to": "damage" + "to": "wds_dmg_results" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "EpfRestoration": [ + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" + } + ], + "EpnFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "WfnFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "EpfDamage": [ { "from": "result", - "to": "flood_damage" + "to": "epf_damage" } ], + "MonteCarloLimitStateProbability": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ] + }, + "after": {}, + "pretty_name": "Network Cascading Interdependency Functionality", + "tags": [ + "Decision Support" + ] + }, + "EpfDamage": { + "after": { "MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ], - "JoplinEmpiricalBuildingRestoration": [ + "EpfRestoration": [ { "from": "result", - "to": "building_dmg" + "to": "damage" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "NciFunctionality": [ { "from": "result", - "to": "flood_damage" + "to": "epf_damage" } ] }, "before": {}, - "pretty_name": "Building Non-Structural Damage" + "pretty_name": "Electric Power Facility Damage", + "tags": [ + "Lifeline" + ] }, - "CommercialBuildingRecovery": { + "MeanDamage": { "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "CumulativeBuildingDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "combined-result", + "to": "damage" } ], - "PipelineFunctionality": [ + "BridgeDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "damage" } ], - "WfnFunctionality": [ + "RoadDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "damage" } ], - "BuildingStructuralDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "building_dmg" + "to": "damage" } ], - "EpnFunctionality": [ + "BuildingNonStructDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "damage" } ], - "MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - }, + "BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Commercial Building Recovery" - }, - "EpfRepairCost": { - "before": { - "MonteCarloLimitStateProbability": [ + "after": { + "BuildingEconLoss": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "result", + "to": "building_mean_dmg" } ] }, + "pretty_name": "Mean Damage", + "tags": [] + }, + "RoadDamage": { "after": { - "INDP": [ + "MonteCarloLimitStateProbability": [ { "from": "result", - "to": "wf_repair_cost" - }, + "to": "damage" + } + ], + "MeanDamage": [ { "from": "result", - "to": "epf_repair_cost" + "to": "damage" } ] }, - "pretty_name": "Electric Power Facility Repair Cost" + "before": {}, + "pretty_name": "Road Damage", + "tags": [ + "Lifeline" + ] }, - "INDP": { + "BuildingFunctionality": { "before": { "MonteCarloLimitStateProbability": [ { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, - { - "from": "sample_damage_states", - "to": "epf_damage_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "substations_damage_mcs_samples" } ], - "WfnFunctionality": [ + "PipelineFunctionality": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "substations_damage_mcs_samples" } ], "EpnFunctionality": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" - } - ], - "PipelineRestoration": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "to": "substations_damage_mcs_samples" } ], - "PipelineFunctionality": [ + "WfnFunctionality": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_repair_cost" + "to": "substations_damage_mcs_samples" } - ], - "WaterFacilityRestoration": [ + ] + }, + "after": {}, + "pretty_name": "Building Functionality", + "tags": [ + "Building" + ] + }, + "EpnFunctionality": { + "before": { + "WfnFunctionality": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "EpfRestoration": [ + "PipelineFunctionality": [ { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "WaterFacilityRepairCost": [ + "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] + }, + "after": { + "BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" }, { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "PopulationDislocation": [ + "EpnFunctionality": [ { - "from": "result", - "to": "pop_dislocation" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "EpfRepairCost": [ + "INDP": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } - ] - }, - "after": {}, - "pretty_name": "Infrastructure Network Disruption Planning" - }, - "ResidentialBuildingRecovery": { - "before": { - "MonteCarloLimitStateProbability": [ + ], + "CommercialBuildingRecovery": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "mcs_failure" } - ] - }, - "after": {}, - "pretty_name": "Residential Building Recovery" - }, - "WaterFacilityRepairCost": { - "before": { - "MonteCarloLimitStateProbability": [ + ], + "NciFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "epf_subst_failure_results" } - ] - }, - "after": { - "INDP": [ + ], + "WfnFunctionality": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "result", - "to": "epf_repair_cost" - } - ] - }, - "pretty_name": "Water Facility Repair Cost" - }, - "PipelineRepairCost": { - "after": { - "INDP": [ - { - "from": "result", - "to": "pipeline_repair_cost" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } - ] - }, - "before": { - "PipelineDamageRepairRate": [ + ], + "CapitalShocks": [ { - "from": "result", - "to": "pipeline_dmg" + "from": "failure_probability", + "to": "failure_probability" } ] }, - "pretty_name": "Pipeline Repair Cost" + "pretty_name": "Electric Power Network Functionality", + "tags": [ + "Lifeline" + ] }, - "BuildingEconLoss": { + "WfnFunctionality": { "before": { - "MeanDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } - ] - }, - "after": {}, - "pretty_name": "Building Economic Loss" - }, - "CumulativeBuildingDamage": { - "before": { - "CumulativeBuildingDamage": [ + ], + "EpnFunctionality": [ { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "PipelineFunctionality": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "BuildingStructuralDamage": [ + "WfnFunctionality": [ { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ] }, "after": { - "MeanDamage": [ + "BuildingFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "PopulationDislocation": [ + "EpnFunctionality": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "CumulativeBuildingDamage": [ + "INDP": [ { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "JoplinEmpiricalBuildingRestoration": [ + "CommercialBuildingRecovery": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "failure_probability", + "to": "mcs_failure" } ], - "MonteCarloLimitStateProbability": [ + "NciFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } + ], + "CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" } ] }, - "pretty_name": "Cumulative Building Damage" + "pretty_name": "Water Facility Network Functionality", + "tags": [ + "Lifeline" + ] }, - "PopulationDislocation": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "PipelineFunctionality": { + "after": { + "BuildingFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "BuildingStructuralDamage": [ + "EpnFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "CumulativeBuildingDamage": [ + "INDP": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "HousingUnitAllocation": [ + "CommercialBuildingRecovery": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "failure_probability", + "to": "mcs_failure" } - ] - }, - "after": { - "HousingRecoverySequential": [ + ], + "NciFunctionality": [ { - "from": "result", - "to": "population_dislocation_block" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "HousingValuationRecovery": [ + "WfnFunctionality": [ { - "from": "result", - "to": "population_dislocation" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "BuyoutDecision": [ + "CapitalShocks": [ { - "from": "result", - "to": "population_dislocation" + "from": "failure_probability", + "to": "failure_probability" } - ], - "INDP": [ + ] + }, + "before": { + "PipelineDamageRepairRate": [ { "from": "result", - "to": "pop_dislocation" + "to": "pipeline_repair_rate_damage" } ] }, - "pretty_name": "Population Dislocation" + "pretty_name": "Pipeline Functionality", + "tags": [ + "Lifeline" + ] }, "BuyoutDecision": { "before": { - "BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, + "PopulationDislocation": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "result", + "to": "population_dislocation" } ], "HousingUnitAllocation": [ @@ -801,13 +872,17 @@ "to": "housing_unit_allocation" } ], - "PopulationDislocation": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "population_dislocation" + "from": "ds_result", + "to": "future_building_damage" + }, + { + "from": "ds_result", + "to": "past_building_damage" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "BuildingStructuralDamage": [ { "from": "ds_result", "to": "past_building_damage" @@ -819,25 +894,32 @@ ] }, "after": {}, - "pretty_name": "Buyout Decision" + "pretty_name": "Buyout Decision", + "tags": [ + "Decision Support" + ] }, "HousingRecoverySequential": { "before": { - "PopulationDislocation": [ - { - "from": "result", - "to": "population_dislocation_block" - } - ], "SocialVulnerabilityScore": [ { "from": "sv_result", "to": "sv_result" } + ], + "PopulationDislocation": [ + { + "from": "result", + "to": "population_dislocation_block" + } ] }, "after": {}, - "pretty_name": "Housing Recovery Sequential" + "pretty_name": "Housing Recovery Sequential", + "tags": [ + "Socioeconomic", + "Decision Support" + ] }, "HousingValuationRecovery": { "before": { @@ -849,415 +931,317 @@ ] }, "after": {}, - "pretty_name": "Housing Valuation Recovery" + "pretty_name": "Housing Valuation Recovery", + "tags": [ + "Socioeconomic" + ] }, - "CapitalShocks": { - "before": { - "WfnFunctionality": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "MonteCarloLimitStateProbability": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "EpnFunctionality": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "PipelineFunctionality": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ] - }, + "PopulationDislocation": { "after": { - "GalvestonCGEModel": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "SaltLakeCGEModel": [ + "INDP": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "pop_dislocation" } ], - "JoplinCGEModel": [ + "HousingRecoverySequential": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "population_dislocation_block" } ], - "SeasideCGEModel": [ + "HousingValuationRecovery": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "population_dislocation" } ], - "MlEnabledCgeSlc": [ + "BuyoutDecision": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "population_dislocation" } ] }, - "pretty_name": "Capital Shocks" - }, - "NciFunctionality": { "before": { - "WaterFacilityRestoration": [ - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - { - "from": "time_results", - "to": "wds_time_results" - }, - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - } - ], - "EpfRestoration": [ - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - { - "from": "time_results", - "to": "epf_time_results" - } - ], - "EpfDamage": [ - { - "from": "result", - "to": "epf_damage" - } - ], - "MonteCarloLimitStateProbability": [ + "CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "combined-result", + "to": "building_dmg" } ], - "PipelineFunctionality": [ + "BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "building_dmg" } ], - "WfnFunctionality": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "building_dmg" } ], - "WaterFacilityDamage": [ + "HousingUnitAllocation": [ { "from": "result", - "to": "wds_dmg_results" - } - ], - "EpnFunctionality": [ - { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "to": "housing_unit_allocation" } ] }, - "after": {}, - "pretty_name": "Network Cascading Interdependency Functionality" + "pretty_name": "Population Dislocation", + "tags": [ + "Socioeconomic" + ] }, - "EpnFunctionality": { + "WaterFacilityRestoration": { "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } - ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } - ], - "INDP": [ + "NciFunctionality": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "time_results", + "to": "wds_time_results" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "CommercialBuildingRecovery": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "CapitalShocks": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" } ], - "NciFunctionality": [ + "INDP": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "repair_times", + "to": "wf_restoration_time" } ] }, "before": { - "PipelineFunctionality": [ + "WaterFacilityDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "damage" } - ], - "WfnFunctionality": [ + ] + }, + "pretty_name": "Water Facility Restoration", + "tags": [ + "Lifeline" + ] + }, + "CombinedWindWaveSurgeBuildingDamage": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ], - "MonteCarloLimitStateProbability": [ + "BuildingNonStructDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "flood_damage" } ], - "EpnFunctionality": [ + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ] }, - "pretty_name": "Electric Power Network Functionality" - }, - "PipelineFunctionality": { "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "ds_result", + "to": "damage" + } + ], + "JoplinEmpiricalBuildingRestoration": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "building_dmg" } ], - "WfnFunctionality": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "INDP": [ + "PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "ds_result", + "to": "building_dmg" + } + ], + "BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "ds_result", + "to": "future_building_damage" } ], - "CommercialBuildingRecovery": [ + "CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "CapitalShocks": [ + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "EpnFunctionality": [ + "CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ], - "NciFunctionality": [ + "CommercialBuildingRecovery": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "building_dmg" } - ] - }, - "before": { - "PipelineDamageRepairRate": [ + ], + "MeanDamage": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "ds_result", + "to": "damage" } ] }, - "pretty_name": "Pipeline Functionality" + "pretty_name": "Combined Wind Wave Surge Building Damage", + "tags": [ + "Building" + ] }, - "WfnFunctionality": { - "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "CombinedWindWaveSurgeBuildingLoss": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "BuildingNonStructDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "result", + "to": "flood_damage" } ], - "INDP": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "ds_result", + "to": "surge_wave_damage" } - ], - "CommercialBuildingRecovery": [ + ] + }, + "after": {}, + "pretty_name": "Combined Wind Wave Surge Building Loss", + "tags": [ + "Building" + ] + }, + "JoplinEmpiricalBuildingRestoration": { + "before": { + "CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "combined-result", + "to": "building_dmg" } ], - "CapitalShocks": [ + "BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "building_dmg" } ], - "EpnFunctionality": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "NciFunctionality": [ + "BuildingNonStructDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "building_dmg" } ] }, - "before": { - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "after": {}, + "pretty_name": "Joplin Empirical Building Restoration", + "tags": [ + "Building" + ] + }, + "BuildingNonStructDamage": { + "after": { + "JoplinEmpiricalBuildingRestoration": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "result", + "to": "building_dmg" } ], "MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "result", + "to": "damage" } ], - "PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "result", + "to": "flood_damage" } ], - "WfnFunctionality": [ + "CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "from": "result", + "to": "flood_damage" + } + ], + "MeanDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "result", + "to": "damage" } ] }, - "pretty_name": "Water Facility Network Functionality" + "before": {}, + "pretty_name": "Building Non-Structural Damage", + "tags": [ + "Building" + ] }, "SocialVulnerabilityScore": { "after": { @@ -1269,168 +1253,272 @@ ] }, "before": {}, - "pretty_name": "Social Vulnerability Score" + "pretty_name": "Social Vulnerability Score", + "tags": [ + "Socioeconomic" + ] }, - "BridgeDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + "CapitalShocks": { + "before": { + "WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "MeanDamage": [ + "PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" } - ] - }, - "before": {}, - "pretty_name": "Bridge Damage" - }, - "RoadDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + ], + "EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "MeanDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" } ] }, - "before": {}, - "pretty_name": "Road Damage" - }, - "BuildingStructuralDamage": { "after": { - "JoplinEmpiricalBuildingRestoration": [ + "SeasideCGEModel": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + "JoplinCGEModel": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "MlEnabledCgeSlc": [ { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "GalvestonCGEModel": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "MonteCarloLimitStateProbability": [ + "SaltLakeCGEModel": [ { - "from": "ds_result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "pretty_name": "Capital Shocks", + "tags": [ + "Economic" + ] + }, + "CommercialBuildingRecovery": { + "before": { + "EpnFunctionality": [ + { + "from": "failure_probability", + "to": "mcs_failure" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "MeanDamage": [ + "WfnFunctionality": [ { - "from": "ds_result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "BuyoutDecision": [ - { - "from": "ds_result", - "to": "future_building_damage" - }, + "CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "past_building_damage" + "to": "building_dmg" } ], - "CommercialBuildingRecovery": [ + "PipelineFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "failure_probability", + "to": "mcs_failure" } ], - "PopulationDislocation": [ + "BuildingStructuralDamage": [ { "from": "ds_result", "to": "building_dmg" } ] }, - "before": {}, - "pretty_name": "Building Structural Damage" + "after": {}, + "pretty_name": "Commercial Building Recovery", + "tags": [ + "Socioeconomic" + ] }, - "WaterFacilityRestoration": { + "PipelineRepairCost": { "before": { - "WaterFacilityDamage": [ + "PipelineDamageRepairRate": [ { "from": "result", - "to": "damage" + "to": "pipeline_dmg" } ] }, "after": { - "NciFunctionality": [ + "INDP": [ { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, + "from": "result", + "to": "pipeline_repair_cost" + } + ] + }, + "pretty_name": "Pipeline Repair Cost", + "tags": [ + "Lifeline" + ] + }, + "PipelineDamageRepairRate": { + "after": { + "PipelineRestoration": [ { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, + "from": "result", + "to": "pipeline_damage" + } + ], + "PipelineRepairCost": [ { - "from": "time_results", - "to": "wds_time_results" + "from": "result", + "to": "pipeline_dmg" } ], - "INDP": [ + "PipelineFunctionality": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "result", + "to": "pipeline_repair_rate_damage" } ] }, - "pretty_name": "Water Facility Restoration" + "before": {}, + "pretty_name": "Pipeline Damage Repair Rate", + "tags": [ + "Lifeline" + ] }, - "WaterFacilityDamage": { - "after": { - "NciFunctionality": [ + "GalvestonCGEModel": { + "before": { + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": {}, + "pretty_name": "Galveston CGE Model", + "tags": [ + "Economic" + ] + }, + "JoplinCGEModel": { + "before": { + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": {}, + "pretty_name": "Joplin CGE Model", + "tags": [ + "Economic" + ] + }, + "MlEnabledCgeSlc": { + "before": { + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": {}, + "pretty_name": "Machine Learning Enabled CGE SLC", + "tags": [ + "Economic" + ] + }, + "SaltLakeCGEModel": { + "before": { + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": {}, + "pretty_name": "Salt Lake CGE Model", + "tags": [ + "Economic" + ] + }, + "SeasideCGEModel": { + "before": { + "CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": {}, + "pretty_name": "Seaside CGE Model", + "tags": [ + "Economic" + ] + }, + "BuildingEconLoss": { + "before": { + "MeanDamage": [ { "from": "result", - "to": "wds_dmg_results" + "to": "building_mean_dmg" } - ], - "WaterFacilityRestoration": [ + ] + }, + "after": {}, + "pretty_name": "Building Economic Loss", + "tags": [ + "Building" + ] + }, + "BridgeDamage": { + "after": { + "MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ], - "MonteCarloLimitStateProbability": [ + "MeanDamage": [ { "from": "result", "to": "damage" @@ -1438,83 +1526,105 @@ ] }, "before": {}, - "pretty_name": "Water Facility Damage" + "pretty_name": "Bridge Damage", + "tags": [ + "Bridge" + ] }, - "EpfRestoration": { - "after": { - "NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, + "EpfRepairCost": { + "before": { + "MonteCarloLimitStateProbability": [ { - "from": "time_results", - "to": "epf_time_results" + "from": "sample_damage_states", + "to": "sample_damage_states" } - ], + ] + }, + "after": { "INDP": [ { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" } ] }, + "pretty_name": "Electric Power Facility Repair Cost", + "tags": [ + "Lifeline" + ] + }, + "ResidentialBuildingRecovery": { "before": { - "EpfDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "pretty_name": "Electric Power Facility Restoration" + "after": {}, + "pretty_name": "Residential Building Recovery", + "tags": [ + "Socioeconomic", + "Decision Support" + ] }, - "PipelineRestoration": { + "WaterFacilityRepairCost": { "before": { - "PipelineDamageRepairRate": [ + "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "pipeline_damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, "after": { "INDP": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" } ] }, - "pretty_name": "Pipeline Restoration" + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ] }, - "PipelineDamageRepairRate": { + "WaterFacilityDamage": { "after": { - "PipelineRestoration": [ + "MonteCarloLimitStateProbability": [ { "from": "result", - "to": "pipeline_damage" + "to": "damage" } ], - "PipelineFunctionality": [ + "WaterFacilityRestoration": [ { "from": "result", - "to": "pipeline_repair_rate_damage" + "to": "damage" } ], - "PipelineRepairCost": [ + "NciFunctionality": [ { "from": "result", - "to": "pipeline_dmg" + "to": "wds_dmg_results" } ] }, "before": {}, - "pretty_name": "Pipeline Damage Repair Rate" + "pretty_name": "Water Facility Damage", + "tags": [ + "Lifeline" + ] }, "PipelineDamage": { "after": { @@ -1526,195 +1636,224 @@ ] }, "before": {}, - "pretty_name": "Pipeline Damage" + "pretty_name": "Pipeline Damage", + "tags": [ + "Lifeline" + ] }, - "BuildingFunctionality": { - "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "HousingUnitAllocation": { + "after": { + "PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "result", + "to": "housing_unit_allocation" } ], - "PipelineFunctionality": [ + "BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "from": "result", + "to": "housing_unit_allocation" + } + ] + }, + "before": {}, + "pretty_name": "Housing Unit Allocation", + "tags": [ + "Socioeconomic" + ] + }, + "CumulativeBuildingDamage": { + "before": { + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "combined-result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "combined-result", + "to": "eq_bldg_dmg" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "eq_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "tsunami_bldg_dmg" } ] }, - "after": {}, - "pretty_name": "Building Functionality" - }, - "GalvestonCGEModel": { - "before": { - "CapitalShocks": [ + "after": { + "PopulationDislocation": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "combined-result", + "to": "building_dmg" } - ] - }, - "after": {}, - "pretty_name": "Galveston CGE Model" - }, - "JoplinCGEModel": { - "before": { - "CapitalShocks": [ + ], + "CumulativeBuildingDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "combined-result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "combined-result", + "to": "eq_bldg_dmg" } - ] - }, - "after": {}, - "pretty_name": "Joplin CGE Model" - }, - "MlEnabledCgeSlc": { - "before": { - "CapitalShocks": [ + ], + "MonteCarloLimitStateProbability": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "combined-result", + "to": "damage" } - ] - }, - "after": {}, - "pretty_name": "Machine Learning Enabled CGE SLC" - }, - "SaltLakeCGEModel": { - "before": { - "CapitalShocks": [ + ], + "MeanDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "combined-result", + "to": "damage" } - ] - }, - "after": {}, - "pretty_name": "Salt Lake CGE Model" - }, - "SeasideCGEModel": { - "before": { - "CapitalShocks": [ + ], + "JoplinEmpiricalBuildingRestoration": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "combined-result", + "to": "building_dmg" } ] }, - "after": {}, - "pretty_name": "Seaside CGE Model" + "pretty_name": "Cumulative Building Damage", + "tags": [ + "Building" + ] }, - "EpfDamage": { + "BuildingStructuralDamage": { "after": { - "EpfRestoration": [ + "MonteCarloLimitStateProbability": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ], - "NciFunctionality": [ + "JoplinEmpiricalBuildingRestoration": [ { - "from": "result", - "to": "epf_damage" + "from": "ds_result", + "to": "building_dmg" } ], - "MonteCarloLimitStateProbability": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "damage" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } - ] - }, - "before": {}, - "pretty_name": "Electric Power Facility Damage" - }, - "HousingUnitAllocation": { - "after": { + ], + "PopulationDislocation": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], "BuyoutDecision": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } ], - "PopulationDislocation": [ + "CumulativeBuildingDamage": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ], + "CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "CommercialBuildingRecovery": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "MeanDamage": [ + { + "from": "ds_result", + "to": "damage" } ] }, "before": {}, - "pretty_name": "Housing Unit Allocation" + "pretty_name": "Building Structural Damage", + "tags": [ + "Building" + ] }, "BuildingClusterRecovery": { "before": {}, "after": {}, - "pretty_name": "Building Cluster Recovery" + "pretty_name": "Building Cluster Recovery", + "tags": [ + "Building" + ] }, "GasFacilityDamage": { "before": {}, "after": {}, - "pretty_name": "Gas Facility Damage" + "pretty_name": "Gas Facility Damage", + "tags": [ + "Lifeline" + ] }, "MultiObjectiveRetrofitOptimization": { "before": {}, "after": {}, - "pretty_name": "Multi-Objective Retrofit Optimization" + "pretty_name": "Multi-Objective Retrofit Optimization", + "tags": [ + "Decision Support" + ] }, "TornadoEpnDamage": { "before": {}, "after": {}, - "pretty_name": "Tornado Electric Power Network Damage" + "pretty_name": "Tornado Electric Power Network Damage", + "tags": [ + "Lifeline" + ] }, "TrafficFlowRecovery": { "before": {}, "after": {}, - "pretty_name": "Traffic Flow Recovery" + "pretty_name": "Traffic Flow Recovery", + "tags": [ + "Decision Support", + "Lifeline" + ] } } \ No newline at end of file From 2390d9e0d8eb08781211ecaa52aa30774e7a4cc5 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 14 Feb 2025 13:26:56 -0600 Subject: [PATCH 09/19] add input dataset types to each analysis --- .../pyincore_utils/create_dependency_graph.py | 24 +- ...ndency_graph.json => dependencyGraph.json} | 2025 +++++++++-------- 2 files changed, 1046 insertions(+), 1003 deletions(-) rename utils/pyincore_utils/{new_dependency_graph.json => dependencyGraph.json} (98%) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 2fe2de0..4ab2b1a 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -34,6 +34,7 @@ ) from pyincore.analyses.meandamage import MeanDamage from pyincore.analyses.mlenabledcgeslc import MlEnabledCgeSlc +from pyincore.analyses.mlenabledcgejoplin import MlEnabledCgeJoplin from pyincore.analyses.montecarlolimitstateprobability import ( MonteCarloLimitStateProbability, ) @@ -90,6 +91,7 @@ "JoplinEmpiricalBuildingRestoration": JoplinEmpiricalBuildingRestoration(client), "MeanDamage": MeanDamage(client), "MlEnabledCgeSlc": MlEnabledCgeSlc(client), + "MlEnabledCgeJoplin": MlEnabledCgeJoplin(client), "MonteCarloLimitStateProbability": MonteCarloLimitStateProbability(client), "MultiObjectiveRetrofitOptimization": MultiObjectiveRetrofitOptimization(client), "NciFunctionality": NciFunctionality(client), @@ -189,6 +191,10 @@ "name": "Machine Learning Enabled CGE SLC", "tags": ["Economic"], }, + "MlEnabledCgeJoplin": { + "name": "Machine Learning Enabled CGE Joplin", + "tags": ["Economic"], + }, "MonteCarloLimitStateProbability": { "name": "Monte Carlo Limit State Probability", "tags": ["Decision Support"], @@ -343,4 +349,20 @@ value["pretty_name"] = pretty_tagged_names[analysis_name]["name"] value["tags"] = pretty_tagged_names[analysis_name]["tags"] -json.dump(dependency_graph, open("new_dependency_graph.json", "w"), indent=4) +# add input dataset types in dependency graph +for analysis_name, analysis_class in analysis_classes.items(): + spec = analysis_class.get_spec() + dependency_graph[analysis_name]["inputs"] = dict() + hazards = spec.get("input_hazards", []) + datasets = spec.get("input_datasets", []) + print(analysis_name) + for hazard in hazards: + dependency_graph[analysis_name]["inputs"][hazard["id"]] = ( + hazard["type"] if isinstance(hazard["type"], list) else [hazard["type"]] + ) + for dataset in datasets: + dependency_graph[analysis_name]["inputs"][dataset["id"]] = ( + dataset["type"] if isinstance(dataset["type"], list) else [dataset["type"]] + ) + +json.dump(dependency_graph, open("test_dependencyGraph.json", "w"), indent=4) diff --git a/utils/pyincore_utils/new_dependency_graph.json b/utils/pyincore_utils/dependencyGraph.json similarity index 98% rename from utils/pyincore_utils/new_dependency_graph.json rename to utils/pyincore_utils/dependencyGraph.json index 764fc80..71b44ea 100644 --- a/utils/pyincore_utils/new_dependency_graph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -1,190 +1,15 @@ { - "INDP": { - "before": { - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - } - ], - "MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_damage_states", - "to": "wf_damage_state" - } - ], - "WaterFacilityRepairCost": [ - { - "from": "result", - "to": "epf_repair_cost" - }, - { - "from": "result", - "to": "wf_repair_cost" - } - ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - } - ], - "PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "PopulationDislocation": [ - { - "from": "result", - "to": "pop_dislocation" - } - ], - "EpfRepairCost": [ - { - "from": "result", - "to": "epf_repair_cost" - }, - { - "from": "result", - "to": "wf_repair_cost" - } - ], - "WaterFacilityRestoration": [ - { - "from": "repair_times", - "to": "wf_restoration_time" - } - ], - "PipelineRestoration": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ], - "EpfRestoration": [ - { - "from": "repair_times", - "to": "epf_restoration_time" - } - ], - "PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_repair_cost" - } - ] - }, - "after": {}, - "pretty_name": "Infrastructure Network Disruption Planning", - "tags": [ - "Decision Support" - ] - }, - "PipelineRestoration": { - "after": { - "INDP": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ] - }, - "before": { - "PipelineDamageRepairRate": [ - { - "from": "result", - "to": "pipeline_damage" - } - ] - }, - "pretty_name": "Pipeline Restoration", - "tags": [ - "Lifeline" - ] - }, - "EpfRestoration": { + "MonteCarloLimitStateProbability": { "before": { - "EpfDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } - ] - }, - "after": { - "NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - { - "from": "time_results", - "to": "epf_time_results" - } ], - "INDP": [ - { - "from": "repair_times", - "to": "epf_restoration_time" - } - ] - }, - "pretty_name": "Electric Power Facility Restoration", - "tags": [ - "LifeLine" - ] - }, - "MonteCarloLimitStateProbability": { - "before": { - "CumulativeBuildingDamage": [ + "BuildingStructuralDamage": [ { - "from": "combined-result", + "from": "ds_result", "to": "damage" } ], @@ -194,7 +19,7 @@ "to": "damage" } ], - "RoadDamage": [ + "BuildingNonStructDamage": [ { "from": "result", "to": "damage" @@ -206,21 +31,21 @@ "to": "damage" } ], - "WaterFacilityDamage": [ + "RoadDamage": [ { "from": "result", "to": "damage" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "WaterFacilityDamage": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "BuildingNonStructDamage": [ + "CumulativeBuildingDamage": [ { - "from": "result", + "from": "combined-result", "to": "damage" } ], @@ -229,15 +54,15 @@ "from": "result", "to": "damage" } - ], - "BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "damage" - } ] }, "after": { + "ResidentialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], "CommercialBuildingRecovery": [ { "from": "sample_damage_states", @@ -249,10 +74,6 @@ } ], "INDP": [ - { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, { "from": "sample_failure_state", "to": "wf_failure_state" @@ -261,13 +82,23 @@ "from": "sample_failure_state", "to": "epf_failure_state" }, + { + "from": "sample_damage_states", + "to": "epf_damage_state" + }, { "from": "sample_failure_state", "to": "pipeline_failure_state" }, { "from": "sample_damage_states", - "to": "epf_damage_state" + "to": "wf_damage_state" + } + ], + "EpfRepairCost": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" } ], "BuildingFunctionality": [ @@ -284,24 +115,6 @@ "to": "substations_damage_mcs_samples" } ], - "ResidentialBuildingRecovery": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ], - "WaterFacilityRepairCost": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ], "NciFunctionality": [ { "from": "failure_probability", @@ -311,14 +124,14 @@ "WfnFunctionality": [ { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "wf_sample_failure_state" }, { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "pp_sample_failure_state" } ], - "EpfRepairCost": [ + "WaterFacilityRepairCost": [ { "from": "sample_damage_states", "to": "sample_damage_states" @@ -329,6 +142,12 @@ "from": "failure_probability", "to": "failure_probability" } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } ] }, "pretty_name": "Monte Carlo Limit State Probability", @@ -336,665 +155,723 @@ "Decision Support" ] }, - "NciFunctionality": { + "PipelineDamage": { + "after": { + "MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ] + }, + "before": {}, + "pretty_name": "Pipeline Damage", + "tags": [ + "Lifeline" + ] + }, + "INDP": { "before": { + "PipelineRestoration": [ + { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + } + ], "PipelineFunctionality": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "WaterFacilityRestoration": [ + "MonteCarloLimitStateProbability": [ { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "time_results", - "to": "wds_time_results" + "from": "sample_damage_states", + "to": "wf_damage_state" + }, + { + "from": "sample_damage_states", + "to": "epf_damage_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "WaterFacilityDamage": [ + "EpfRepairCost": [ { "from": "result", - "to": "wds_dmg_results" + "to": "epf_repair_cost" + }, + { + "from": "result", + "to": "wf_repair_cost" } ], - "EpfRestoration": [ + "WfnFunctionality": [ { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "time_results", - "to": "epf_time_results" + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "EpnFunctionality": [ + "EpfRestoration": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "repair_times", + "to": "epf_restoration_time" } ], - "WfnFunctionality": [ + "WaterFacilityRepairCost": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "epf_repair_cost" + }, + { + "from": "result", + "to": "wf_repair_cost" } ], - "EpfDamage": [ + "PopulationDislocation": [ { "from": "result", - "to": "epf_damage" + "to": "pop_dislocation" } ], - "MonteCarloLimitStateProbability": [ + "PipelineRepairCost": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "pipeline_repair_cost" + } + ], + "WaterFacilityRestoration": [ + { + "from": "repair_times", + "to": "wf_restoration_time" } ] }, "after": {}, - "pretty_name": "Network Cascading Interdependency Functionality", + "pretty_name": "Infrastructure Network Disruption Planning", "tags": [ "Decision Support" ] }, - "EpfDamage": { + "EpfRepairCost": { "after": { - "MonteCarloLimitStateProbability": [ + "INDP": [ { "from": "result", - "to": "damage" - } - ], - "EpfRestoration": [ + "to": "wf_repair_cost" + }, { "from": "result", - "to": "damage" + "to": "epf_repair_cost" } - ], - "NciFunctionality": [ + ] + }, + "before": { + "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "epf_damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "before": {}, - "pretty_name": "Electric Power Facility Damage", + "pretty_name": "Electric Power Facility Repair Cost", "tags": [ "Lifeline" ] }, - "MeanDamage": { - "before": { - "CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "damage" - } - ], - "BridgeDamage": [ - { - "from": "result", - "to": "damage" - } - ], - "RoadDamage": [ + "WaterFacilityRepairCost": { + "after": { + "INDP": [ { "from": "result", - "to": "damage" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "damage" - } - ], - "BuildingNonStructDamage": [ + "to": "wf_repair_cost" + }, { "from": "result", - "to": "damage" + "to": "epf_repair_cost" } - ], - "BuildingStructuralDamage": [ + ] + }, + "before": { + "MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "after": { - "BuildingEconLoss": [ + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ] + }, + "GalvestonCGEModel": { + "before": { + "CapitalShocks": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Mean Damage", - "tags": [] + "after": {}, + "pretty_name": "Galveston CGE Model", + "tags": [ + "Economic" + ] }, - "RoadDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + "JoplinCGEModel": { + "before": { + "CapitalShocks": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "MeanDamage": [ + ] + }, + "after": {}, + "pretty_name": "Joplin CGE Model", + "tags": [ + "Economic" + ] + }, + "MlEnabledCgeSlc": { + "before": { + "CapitalShocks": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "before": {}, - "pretty_name": "Road Damage", + "after": {}, + "pretty_name": "Machine Learning Enabled CGE SLC", "tags": [ - "Lifeline" + "Economic" ] }, - "BuildingFunctionality": { + "MlEnabledCgeJoplin": { "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "CapitalShocks": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - } - ], - "PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - } - ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + ] + }, + "after": {}, + "pretty_name": "Machine Learning Enabled CGE Joplin", + "tags": [ + "Economic" + ] + }, + "SaltLakeCGEModel": { + "before": { + "CapitalShocks": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, "after": {}, - "pretty_name": "Building Functionality", + "pretty_name": "Salt Lake CGE Model", "tags": [ - "Building" + "Economic" ] }, - "EpnFunctionality": { + "SeasideCGEModel": { "before": { - "WfnFunctionality": [ + "CapitalShocks": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "PipelineFunctionality": [ + ] + }, + "after": {}, + "pretty_name": "Seaside CGE Model", + "tags": [ + "Economic" + ] + }, + "CapitalShocks": { + "after": { + "GalvestonCGEModel": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "MonteCarloLimitStateProbability": [ + "JoplinCGEModel": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "EpnFunctionality": [ + "MlEnabledCgeJoplin": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } - ] - }, - "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + ], + "SaltLakeCGEModel": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "EpnFunctionality": [ + "MlEnabledCgeSlc": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "INDP": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "SeasideCGEModel": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "CommercialBuildingRecovery": [ + ] + }, + "before": { + "MonteCarloLimitStateProbability": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "failure_probability" } ], - "NciFunctionality": [ + "WfnFunctionality": [ { "from": "failure_probability", - "to": "epf_subst_failure_results" + "to": "failure_probability" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "EpnFunctionality": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "CapitalShocks": [ + "PipelineFunctionality": [ { "from": "failure_probability", "to": "failure_probability" } ] }, - "pretty_name": "Electric Power Network Functionality", + "pretty_name": "Capital Shocks", "tags": [ - "Lifeline" + "Economic" ] }, - "WfnFunctionality": { + "CommercialBuildingRecovery": { "before": { + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], "MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "failure_probability", + "to": "mcs_failure" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], "EpnFunctionality": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], "PipelineFunctionality": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "failure_probability", + "to": "mcs_failure" } ], "WfnFunctionality": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "failure_probability", + "to": "mcs_failure" } ] }, - "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "after": {}, + "pretty_name": "Commercial Building Recovery", + "tags": [ + "Socioeconomic" + ] + }, + "ResidentialBuildingRecovery": { + "before": { + "MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "sample_damage_states", + "to": "sample_damage_states" } - ], - "EpnFunctionality": [ + ] + }, + "after": {}, + "pretty_name": "Residential Building Recovery", + "tags": [ + "Socioeconomic", + "Decision Support" + ] + }, + "BuyoutDecision": { + "before": { + "HousingUnitAllocation": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "housing_unit_allocation" } ], - "INDP": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "ds_result", + "to": "future_building_damage" }, { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "CommercialBuildingRecovery": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "NciFunctionality": [ - { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "past_building_damage" } ], - "WfnFunctionality": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "future_building_damage" } ], - "CapitalShocks": [ + "PopulationDislocation": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "population_dislocation" } ] }, - "pretty_name": "Water Facility Network Functionality", + "after": {}, + "pretty_name": "Buyout Decision", "tags": [ - "Lifeline" + "Decision Support" ] }, - "PipelineFunctionality": { - "after": { - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "PopulationDislocation": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "building_dmg" } ], - "EpnFunctionality": [ + "BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "INDP": [ + "HousingUnitAllocation": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "result", + "to": "housing_unit_allocation" + } + ], + "CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "from": "combined-result", + "to": "building_dmg" + } + ] + }, + "after": { + "HousingValuationRecovery": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "result", + "to": "population_dislocation" } ], - "CommercialBuildingRecovery": [ + "BuyoutDecision": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "population_dislocation" } ], - "NciFunctionality": [ + "INDP": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "pop_dislocation" } ], - "WfnFunctionality": [ + "HousingRecoverySequential": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "from": "result", + "to": "population_dislocation_block" + } + ] + }, + "pretty_name": "Population Dislocation", + "tags": [ + "Socioeconomic" + ] + }, + "HousingUnitAllocation": { + "after": { + "PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "result", + "to": "housing_unit_allocation" } ], - "CapitalShocks": [ + "BuyoutDecision": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "housing_unit_allocation" } ] }, + "before": {}, + "pretty_name": "Housing Unit Allocation", + "tags": [ + "Socioeconomic" + ] + }, + "HousingRecoverySequential": { "before": { - "PipelineDamageRepairRate": [ + "PopulationDislocation": [ { "from": "result", - "to": "pipeline_repair_rate_damage" + "to": "population_dislocation_block" + } + ], + "SocialVulnerabilityScore": [ + { + "from": "sv_result", + "to": "sv_result" } ] }, - "pretty_name": "Pipeline Functionality", + "after": {}, + "pretty_name": "Housing Recovery Sequential", "tags": [ - "Lifeline" + "Socioeconomic", + "Decision Support" ] }, - "BuyoutDecision": { + "HousingValuationRecovery": { "before": { "PopulationDislocation": [ { "from": "result", "to": "population_dislocation" } + ] + }, + "after": {}, + "pretty_name": "Housing Valuation Recovery", + "tags": [ + "Socioeconomic" + ] + }, + "EpfRestoration": { + "before": { + "EpfDamage": [ + { + "from": "result", + "to": "damage" + } + ] + }, + "after": { + "INDP": [ + { + "from": "repair_times", + "to": "epf_restoration_time" + } ], - "HousingUnitAllocation": [ + "NciFunctionality": [ + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" + } + ] + }, + "pretty_name": "Electric Power Facility Restoration", + "tags": [ + "LifeLine" + ] + }, + "NciFunctionality": { + "before": { + "EpfRestoration": [ + { + "from": "time_results", + "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + } + ], + "WaterFacilityDamage": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "wds_dmg_results" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "WaterFacilityRestoration": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" }, { - "from": "ds_result", - "to": "past_building_damage" + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" } ], - "BuildingStructuralDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "past_building_damage" - }, + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "EpnFunctionality": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" } - ] - }, - "after": {}, - "pretty_name": "Buyout Decision", - "tags": [ - "Decision Support" - ] - }, - "HousingRecoverySequential": { - "before": { - "SocialVulnerabilityScore": [ + ], + "PipelineFunctionality": [ { - "from": "sv_result", - "to": "sv_result" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "PopulationDislocation": [ + "WfnFunctionality": [ { - "from": "result", - "to": "population_dislocation_block" + "from": "failure_probability", + "to": "epf_subst_failure_results" } - ] - }, - "after": {}, - "pretty_name": "Housing Recovery Sequential", - "tags": [ - "Socioeconomic", - "Decision Support" - ] - }, - "HousingValuationRecovery": { - "before": { - "PopulationDislocation": [ + ], + "EpfDamage": [ { "from": "result", - "to": "population_dislocation" + "to": "epf_damage" } ] }, "after": {}, - "pretty_name": "Housing Valuation Recovery", + "pretty_name": "Network Cascading Interdependency Functionality", "tags": [ - "Socioeconomic" + "Decision Support" ] }, - "PopulationDislocation": { + "EpfDamage": { "after": { - "INDP": [ - { - "from": "result", - "to": "pop_dislocation" - } - ], - "HousingRecoverySequential": [ + "EpfRestoration": [ { "from": "result", - "to": "population_dislocation_block" + "to": "damage" } ], - "HousingValuationRecovery": [ + "NciFunctionality": [ { "from": "result", - "to": "population_dislocation" + "to": "epf_damage" } ], - "BuyoutDecision": [ + "MonteCarloLimitStateProbability": [ { "from": "result", - "to": "population_dislocation" + "to": "damage" } ] }, + "before": {}, + "pretty_name": "Electric Power Facility Damage", + "tags": [ + "Lifeline" + ] + }, + "WaterFacilityRestoration": { "before": { - "CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "building_dmg" - } - ], - "BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ], - "HousingUnitAllocation": [ + "WaterFacilityDamage": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "damage" } ] }, - "pretty_name": "Population Dislocation", - "tags": [ - "Socioeconomic" - ] - }, - "WaterFacilityRestoration": { "after": { "NciFunctionality": [ { @@ -1017,69 +894,98 @@ } ] }, - "before": { - "WaterFacilityDamage": [ + "pretty_name": "Water Facility Restoration", + "tags": [ + "Lifeline" + ] + }, + "WaterFacilityDamage": { + "after": { + "WaterFacilityRestoration": [ + { + "from": "result", + "to": "damage" + } + ], + "NciFunctionality": [ + { + "from": "result", + "to": "wds_dmg_results" + } + ], + "MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ] }, - "pretty_name": "Water Facility Restoration", + "before": {}, + "pretty_name": "Water Facility Damage", "tags": [ "Lifeline" ] }, "CombinedWindWaveSurgeBuildingDamage": { "before": { + "BuildingNonStructDamage": [ + { + "from": "result", + "to": "flood_damage" + } + ], "CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "wind_damage" + "to": "surge_wave_damage" }, { "from": "ds_result", - "to": "surge_wave_damage" - } - ], - "BuildingNonStructDamage": [ - { - "from": "result", - "to": "flood_damage" + "to": "wind_damage" } ], "BuildingStructuralDamage": [ { "from": "ds_result", - "to": "wind_damage" + "to": "surge_wave_damage" }, { "from": "ds_result", - "to": "surge_wave_damage" + "to": "wind_damage" } ] }, "after": { - "MonteCarloLimitStateProbability": [ + "CumulativeBuildingDamage": [ { "from": "ds_result", - "to": "damage" + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "JoplinEmpiricalBuildingRestoration": [ + "CommercialBuildingRecovery": [ { "from": "ds_result", "to": "building_dmg" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "MeanDamage": [ { "from": "ds_result", - "to": "wind_damage" - }, + "to": "damage" + } + ], + "CombinedWindWaveSurgeBuildingLoss": [ { "from": "ds_result", "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], "PopulationDislocation": [ @@ -1089,93 +995,157 @@ } ], "BuyoutDecision": [ + { + "from": "ds_result", + "to": "future_building_damage" + }, { "from": "ds_result", "to": "past_building_damage" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" }, { "from": "ds_result", - "to": "future_building_damage" + "to": "wind_damage" } ], - "CumulativeBuildingDamage": [ + "JoplinEmpiricalBuildingRestoration": [ { "from": "ds_result", - "to": "tsunami_bldg_dmg" + "to": "building_dmg" + } + ], + "MonteCarloLimitStateProbability": [ + { + "from": "ds_result", + "to": "damage" + } + ] + }, + "pretty_name": "Combined Wind Wave Surge Building Damage", + "tags": [ + "Building" + ] + }, + "CombinedWindWaveSurgeBuildingLoss": { + "before": { + "BuildingNonStructDamage": [ + { + "from": "result", + "to": "flood_damage" + } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" }, { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "wind_damage" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, { "from": "ds_result", "to": "wind_damage" + } + ] + }, + "after": {}, + "pretty_name": "Combined Wind Wave Surge Building Loss", + "tags": [ + "Building" + ] + }, + "CumulativeBuildingDamage": { + "before": { + "BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "eq_bldg_dmg" }, { "from": "ds_result", - "to": "surge_wave_damage" + "to": "tsunami_bldg_dmg" } ], - "CommercialBuildingRecovery": [ + "CumulativeBuildingDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "combined-result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "combined-result", + "to": "eq_bldg_dmg" } ], - "MeanDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "damage" + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" } ] }, - "pretty_name": "Combined Wind Wave Surge Building Damage", - "tags": [ - "Building" - ] - }, - "CombinedWindWaveSurgeBuildingLoss": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "after": { + "CumulativeBuildingDamage": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "combined-result", + "to": "tsunami_bldg_dmg" }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "combined-result", + "to": "eq_bldg_dmg" } ], - "BuildingNonStructDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "flood_damage" + "from": "combined-result", + "to": "damage" } ], - "BuildingStructuralDamage": [ + "MeanDamage": [ { - "from": "ds_result", - "to": "wind_damage" - }, + "from": "combined-result", + "to": "damage" + } + ], + "PopulationDislocation": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "combined-result", + "to": "building_dmg" + } + ], + "JoplinEmpiricalBuildingRestoration": [ + { + "from": "combined-result", + "to": "building_dmg" } ] }, - "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss", + "pretty_name": "Cumulative Building Damage", "tags": [ "Building" ] }, "JoplinEmpiricalBuildingRestoration": { "before": { - "CumulativeBuildingDamage": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "combined-result", + "from": "ds_result", "to": "building_dmg" } ], @@ -1185,15 +1155,15 @@ "to": "building_dmg" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "BuildingNonStructDamage": [ { - "from": "ds_result", + "from": "result", "to": "building_dmg" } ], - "BuildingNonStructDamage": [ + "CumulativeBuildingDamage": [ { - "from": "result", + "from": "combined-result", "to": "building_dmg" } ] @@ -1204,171 +1174,211 @@ "Building" ] }, - "BuildingNonStructDamage": { - "after": { - "JoplinEmpiricalBuildingRestoration": [ + "MeanDamage": { + "before": { + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "building_dmg" + "from": "ds_result", + "to": "damage" } ], - "MonteCarloLimitStateProbability": [ + "BuildingStructuralDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "BridgeDamage": [ { "from": "result", - "to": "flood_damage" + "to": "damage" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "BuildingNonStructDamage": [ { "from": "result", - "to": "flood_damage" + "to": "damage" } ], - "MeanDamage": [ + "RoadDamage": [ { "from": "result", "to": "damage" } + ], + "CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "damage" + } ] }, - "before": {}, - "pretty_name": "Building Non-Structural Damage", - "tags": [ - "Building" - ] - }, - "SocialVulnerabilityScore": { "after": { - "HousingRecoverySequential": [ + "BuildingEconLoss": [ { - "from": "sv_result", - "to": "sv_result" + "from": "result", + "to": "building_mean_dmg" } ] }, - "before": {}, - "pretty_name": "Social Vulnerability Score", - "tags": [ - "Socioeconomic" - ] + "pretty_name": "Mean Damage", + "tags": [] }, - "CapitalShocks": { - "before": { - "WfnFunctionality": [ + "BuildingStructuralDamage": { + "after": { + "CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "PipelineFunctionality": [ + "CommercialBuildingRecovery": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "building_dmg" } ], - "EpnFunctionality": [ + "MeanDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "damage" } ], - "MonteCarloLimitStateProbability": [ + "CombinedWindWaveSurgeBuildingLoss": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } - ] - }, - "after": { - "SeasideCGEModel": [ + ], + "PopulationDislocation": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "building_dmg" } ], - "JoplinCGEModel": [ + "BuyoutDecision": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "future_building_damage" + }, + { + "from": "ds_result", + "to": "past_building_damage" } ], - "MlEnabledCgeSlc": [ + "CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], - "GalvestonCGEModel": [ + "JoplinEmpiricalBuildingRestoration": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "building_dmg" } ], - "SaltLakeCGEModel": [ + "MonteCarloLimitStateProbability": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "damage" } ] }, - "pretty_name": "Capital Shocks", + "before": {}, + "pretty_name": "Building Structural Damage", "tags": [ - "Economic" + "Building" ] }, - "CommercialBuildingRecovery": { + "PipelineFunctionality": { "before": { - "EpnFunctionality": [ + "PipelineDamageRepairRate": [ + { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + ] + }, + "after": { + "INDP": [ + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + } + ], + "CommercialBuildingRecovery": [ { "from": "failure_probability", "to": "mcs_failure" } ], - "MonteCarloLimitStateProbability": [ + "BuildingFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" }, { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "WfnFunctionality": [ + "NciFunctionality": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "epf_subst_failure_results" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "WfnFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "PipelineFunctionality": [ + "CapitalShocks": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "failure_probability" } ], - "BuildingStructuralDamage": [ + "EpnFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "after": {}, - "pretty_name": "Commercial Building Recovery", + "pretty_name": "Pipeline Functionality", "tags": [ - "Socioeconomic" + "Lifeline" ] }, "PipelineRepairCost": { @@ -1393,106 +1403,74 @@ "Lifeline" ] }, - "PipelineDamageRepairRate": { - "after": { - "PipelineRestoration": [ + "PipelineRestoration": { + "before": { + "PipelineDamageRepairRate": [ { "from": "result", "to": "pipeline_damage" } - ], - "PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_dmg" - } - ], - "PipelineFunctionality": [ + ] + }, + "after": { + "INDP": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage Repair Rate", + "pretty_name": "Pipeline Restoration", "tags": [ "Lifeline" ] }, - "GalvestonCGEModel": { - "before": { - "CapitalShocks": [ + "PipelineDamageRepairRate": { + "after": { + "PipelineFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "pipeline_repair_rate_damage" } - ] - }, - "after": {}, - "pretty_name": "Galveston CGE Model", - "tags": [ - "Economic" - ] - }, - "JoplinCGEModel": { - "before": { - "CapitalShocks": [ + ], + "PipelineRepairCost": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "pipeline_dmg" } - ] - }, - "after": {}, - "pretty_name": "Joplin CGE Model", - "tags": [ - "Economic" - ] - }, - "MlEnabledCgeSlc": { - "before": { - "CapitalShocks": [ + ], + "PipelineRestoration": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "pipeline_damage" } ] }, - "after": {}, - "pretty_name": "Machine Learning Enabled CGE SLC", + "before": {}, + "pretty_name": "Pipeline Damage Repair Rate", "tags": [ - "Economic" + "Lifeline" ] }, - "SaltLakeCGEModel": { - "before": { - "CapitalShocks": [ + "BridgeDamage": { + "after": { + "MeanDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "damage" } - ] - }, - "after": {}, - "pretty_name": "Salt Lake CGE Model", - "tags": [ - "Economic" - ] - }, - "SeasideCGEModel": { - "before": { - "CapitalShocks": [ + ], + "MonteCarloLimitStateProbability": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Seaside CGE Model", + "before": {}, + "pretty_name": "Bridge Damage", "tags": [ - "Economic" + "Bridge" ] }, "BuildingEconLoss": { @@ -1510,15 +1488,15 @@ "Building" ] }, - "BridgeDamage": { + "RoadDamage": { "after": { - "MonteCarloLimitStateProbability": [ + "MeanDamage": [ { "from": "result", "to": "damage" } ], - "MeanDamage": [ + "MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" @@ -1526,295 +1504,338 @@ ] }, "before": {}, - "pretty_name": "Bridge Damage", + "pretty_name": "Road Damage", "tags": [ - "Bridge" + "Lifeline" ] }, - "EpfRepairCost": { + "BuildingFunctionality": { "before": { - "MonteCarloLimitStateProbability": [ + "EpnFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } - ] - }, - "after": { - "INDP": [ + ], + "WfnFunctionality": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } - ] - }, - "pretty_name": "Electric Power Facility Repair Cost", - "tags": [ - "Lifeline" - ] - }, - "ResidentialBuildingRecovery": { - "before": { + ], "MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + } + ], + "PipelineFunctionality": [ + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ] }, "after": {}, - "pretty_name": "Residential Building Recovery", + "pretty_name": "Building Functionality", "tags": [ - "Socioeconomic", - "Decision Support" + "Building" ] }, - "WaterFacilityRepairCost": { + "EpnFunctionality": { "before": { + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], "MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], + "PipelineFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], + "EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, "after": { "INDP": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } - ] - }, - "pretty_name": "Water Facility Repair Cost", - "tags": [ - "Lifeline" - ] - }, - "WaterFacilityDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + ], + "CommercialBuildingRecovery": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "WaterFacilityRestoration": [ + "BuildingFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], "NciFunctionality": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "failure_probability", + "to": "epf_subst_failure_results" } - ] - }, - "before": {}, - "pretty_name": "Water Facility Damage", - "tags": [ - "Lifeline" - ] - }, - "PipelineDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + ], + "WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } - ] - }, - "before": {}, - "pretty_name": "Pipeline Damage", - "tags": [ - "Lifeline" - ] - }, - "HousingUnitAllocation": { - "after": { - "PopulationDislocation": [ + ], + "CapitalShocks": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "failure_probability", + "to": "failure_probability" } ], - "BuyoutDecision": [ + "EpnFunctionality": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "before": {}, - "pretty_name": "Housing Unit Allocation", + "pretty_name": "Electric Power Network Functionality", "tags": [ - "Socioeconomic" + "Lifeline" ] }, - "CumulativeBuildingDamage": { + "WfnFunctionality": { "before": { - "BuildingStructuralDamage": [ + "PipelineFunctionality": [ { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "CumulativeBuildingDamage": [ + "EpnFunctionality": [ { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ] }, "after": { - "PopulationDislocation": [ + "INDP": [ { - "from": "combined-result", - "to": "building_dmg" - } - ], - "CumulativeBuildingDamage": [ + "from": "sample_failure_state", + "to": "wf_failure_state" + }, { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "MonteCarloLimitStateProbability": [ + "CommercialBuildingRecovery": [ { - "from": "combined-result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "MeanDamage": [ + "BuildingFunctionality": [ { - "from": "combined-result", - "to": "damage" - } - ], - "JoplinEmpiricalBuildingRestoration": [ + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, { - "from": "combined-result", - "to": "building_dmg" - } - ] - }, - "pretty_name": "Cumulative Building Damage", - "tags": [ - "Building" - ] - }, - "BuildingStructuralDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, { - "from": "ds_result", - "to": "damage" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "JoplinEmpiricalBuildingRestoration": [ + "NciFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "WfnFunctionality": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "PopulationDislocation": [ + "CapitalShocks": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "failure_probability", + "to": "failure_probability" } ], - "BuyoutDecision": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, + "EpnFunctionality": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ], - "CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + ] + }, + "pretty_name": "Water Facility Network Functionality", + "tags": [ + "Lifeline" + ] + }, + "BuildingNonStructDamage": { + "after": { + "MeanDamage": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "result", + "to": "damage" } ], "CombinedWindWaveSurgeBuildingLoss": [ { - "from": "ds_result", - "to": "wind_damage" - }, - { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "result", + "to": "flood_damage" } ], - "CommercialBuildingRecovery": [ + "JoplinEmpiricalBuildingRestoration": [ { - "from": "ds_result", + "from": "result", "to": "building_dmg" } ], - "MeanDamage": [ + "MonteCarloLimitStateProbability": [ { - "from": "ds_result", + "from": "result", "to": "damage" } + ], + "CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "result", + "to": "flood_damage" + } ] }, "before": {}, - "pretty_name": "Building Structural Damage", + "pretty_name": "Building Non-Structural Damage", "tags": [ "Building" ] }, + "SocialVulnerabilityScore": { + "after": { + "HousingRecoverySequential": [ + { + "from": "sv_result", + "to": "sv_result" + } + ] + }, + "before": {}, + "pretty_name": "Social Vulnerability Score", + "tags": [ + "Socioeconomic" + ] + }, "BuildingClusterRecovery": { "before": {}, "after": {}, From 8a86c844c47aa967391e35fad4b601e1bbab16c6 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 7 Mar 2025 09:47:47 -0600 Subject: [PATCH 10/19] add manual information --- .../pyincore_utils/create_dependency_graph.py | 297 +- utils/pyincore_utils/dependencyGraph.json | 2927 +++++++++++------ 2 files changed, 2106 insertions(+), 1118 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 4ab2b1a..8010dd2 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -65,192 +65,295 @@ # Create a dictionary of all the classes analysis_classes = { - "BridgeDamage": BridgeDamage(client), - "BuildingClusterRecovery": BuildingClusterRecovery(client), - "BuildingEconLoss": BuildingEconLoss(client), - "BuildingFunctionality": BuildingFunctionality(client), - "BuildingNonStructDamage": BuildingNonStructDamage(client), - "BuildingStructuralDamage": BuildingStructuralDamage(client), - "BuyoutDecision": BuyoutDecision(client), - "CapitalShocks": CapitalShocks(client), - "CombinedWindWaveSurgeBuildingDamage": CombinedWindWaveSurgeBuildingDamage(client), - "CombinedWindWaveSurgeBuildingLoss": CombinedWindWaveSurgeBuildingLoss(client), - "CommercialBuildingRecovery": CommercialBuildingRecovery(client), - "CumulativeBuildingDamage": CumulativeBuildingDamage(client), - "EpfDamage": EpfDamage(client), - "EpfRepairCost": EpfRepairCost(client), - "EpfRestoration": EpfRestoration(client), - "EpnFunctionality": EpnFunctionality(client), - "GalvestonCGEModel": GalvestonCGEModel(client), - "GasFacilityDamage": GasFacilityDamage(client), - "HousingRecoverySequential": HousingRecoverySequential(client), - "HousingUnitAllocation": HousingUnitAllocation(client), - "HousingValuationRecovery": HousingValuationRecovery(client), - "INDP": INDP(client), - "JoplinCGEModel": JoplinCGEModel(client), - "JoplinEmpiricalBuildingRestoration": JoplinEmpiricalBuildingRestoration(client), - "MeanDamage": MeanDamage(client), - "MlEnabledCgeSlc": MlEnabledCgeSlc(client), - "MlEnabledCgeJoplin": MlEnabledCgeJoplin(client), - "MonteCarloLimitStateProbability": MonteCarloLimitStateProbability(client), - "MultiObjectiveRetrofitOptimization": MultiObjectiveRetrofitOptimization(client), - "NciFunctionality": NciFunctionality(client), - "PipelineDamage": PipelineDamage(client), - "PipelineDamageRepairRate": PipelineDamageRepairRate(client), - "PipelineFunctionality": PipelineFunctionality(client), - "PipelineRepairCost": PipelineRepairCost(client), - "PipelineRestoration": PipelineRestoration(client), - "PopulationDislocation": PopulationDislocation(client), - "ResidentialBuildingRecovery": ResidentialBuildingRecovery(client), - "RoadDamage": RoadDamage(client), - "SaltLakeCGEModel": SaltLakeCGEModel(client), - "SeasideCGEModel": SeasideCGEModel(client), - "SocialVulnerabilityScore": SocialVulnerabilityScore(client), - "TornadoEpnDamage": TornadoEpnDamage(client), - "TrafficFlowRecovery": TrafficFlowRecovery(client), - "WaterFacilityDamage": WaterFacilityDamage(client), - "WaterFacilityRepairCost": WaterFacilityRepairCost(client), - "WaterFacilityDamage": WaterFacilityDamage(client), - "WaterFacilityRestoration": WaterFacilityRestoration(client), - "WfnFunctionality": WfnFunctionality(client), + "studio-BridgeDamage": BridgeDamage(client), + "studio-BuildingClusterRecovery": BuildingClusterRecovery(client), + "studio-BuildingEconLoss": BuildingEconLoss(client), + "studio-BuildingFunctionality": BuildingFunctionality(client), + "studio-BuildingNonStructDamage": BuildingNonStructDamage(client), + "studio-BuildingStructuralDamage": BuildingStructuralDamage(client), + "studio-BuyoutDecision": BuyoutDecision(client), + "studio-CapitalShocks": CapitalShocks(client), + "studio-CombinedWindWaveSurgeBuildingDamage": CombinedWindWaveSurgeBuildingDamage( + client + ), + "studio-CombinedWindWaveSurgeBuildingLoss": CombinedWindWaveSurgeBuildingLoss( + client + ), + "studio-CommercialBuildingRecovery": CommercialBuildingRecovery(client), + "studio-CumulativeBuildingDamage": CumulativeBuildingDamage(client), + "studio-EpfDamage": EpfDamage(client), + "studio-EpfRepairCost": EpfRepairCost(client), + "studio-EpfRestoration": EpfRestoration(client), + "studio-EpnFunctionality": EpnFunctionality(client), + "studio-GalvestonCGEModel": GalvestonCGEModel(client), + "studio-GasFacilityDamage": GasFacilityDamage(client), + "studio-HousingRecoverySequential": HousingRecoverySequential(client), + "studio-HousingUnitAllocation": HousingUnitAllocation(client), + "studio-HousingValuationRecovery": HousingValuationRecovery(client), + "studio-INDP": INDP(client), + "studio-JoplinCGEModel": JoplinCGEModel(client), + "studio-JoplinEmpiricalBuildingRestoration": JoplinEmpiricalBuildingRestoration( + client + ), + "studio-MeanDamage": MeanDamage(client), + "studio-MlEnabledCgeSlc": MlEnabledCgeSlc(client), + "studio-MlEnabledCgeJoplin": MlEnabledCgeJoplin(client), + "studio-MonteCarloLimitStateProbability": MonteCarloLimitStateProbability(client), + "studio-MultiObjectiveRetrofitOptimization": MultiObjectiveRetrofitOptimization( + client + ), + "studio-NciFunctionality": NciFunctionality(client), + "studio-PipelineDamage": PipelineDamage(client), + "studio-PipelineDamageRepairRate": PipelineDamageRepairRate(client), + "studio-PipelineFunctionality": PipelineFunctionality(client), + "studio-PipelineRepairCost": PipelineRepairCost(client), + "studio-PipelineRestoration": PipelineRestoration(client), + "studio-PopulationDislocation": PopulationDislocation(client), + "studio-ResidentialBuildingRecovery": ResidentialBuildingRecovery(client), + "studio-RoadDamage": RoadDamage(client), + "studio-SaltLakeCGEModel": SaltLakeCGEModel(client), + "studio-SeasideCGEModel": SeasideCGEModel(client), + "studio-SocialVulnerabilityScore": SocialVulnerabilityScore(client), + "studio-TornadoEpnDamage": TornadoEpnDamage(client), + "studio-TrafficFlowRecovery": TrafficFlowRecovery(client), + "studio-WaterFacilityDamage": WaterFacilityDamage(client), + "studio-WaterFacilityRepairCost": WaterFacilityRepairCost(client), + "studio-WaterFacilityRestoration": WaterFacilityRestoration(client), + "studio-WfnFunctionality": WfnFunctionality(client), } # create a dictionary of pretty names pretty_tagged_names = { - "BridgeDamage": {"name": "Bridge Damage", "tags": ["Bridge"]}, - "BuildingClusterRecovery": { + "studio-BridgeDamage": { + "name": "Bridge Damage", + "tags": ["Bridge"], + "manual": "bridge_dmg.html", + }, + "studio-BuildingClusterRecovery": { "name": "Building Cluster Recovery", "tags": ["Building"], + "manual": "building_cluster_recovery.html", + }, + "studio-BuildingEconLoss": { + "name": "Building Economic Loss", + "tags": ["Building"], + "manual": "building_loss.html", + }, + "studio-BuildingFunctionality": { + "name": "Building Functionality", + "tags": ["Building"], + "manual": "building_func.html", }, - "BuildingEconLoss": {"name": "Building Economic Loss", "tags": ["Building"]}, - "BuildingFunctionality": {"name": "Building Functionality", "tags": ["Building"]}, - "BuildingNonStructDamage": { + "studio-BuildingNonStructDamage": { "name": "Building Non-Structural Damage", "tags": ["Building"], + "manual": "building_nonstructural_dmg.html", }, - "BuildingStructuralDamage": { + "studio-BuildingStructuralDamage": { "name": "Building Structural Damage", "tags": ["Building"], + "manual": "building_structural_dmg.html", + }, + "studio-BuyoutDecision": { + "name": "Buyout Decision", + "tags": ["Decision Support"], + "manual": "buyout_decision.html", + }, + "studio-CapitalShocks": { + "name": "Capital Shocks", + "tags": ["Economic"], + "manual": "capital_shocks.html", }, - "BuyoutDecision": {"name": "Buyout Decision", "tags": ["Decision Support"]}, - "CapitalShocks": {"name": "Capital Shocks", "tags": ["Economic"]}, - "CombinedWindWaveSurgeBuildingDamage": { + "studio-CombinedWindWaveSurgeBuildingDamage": { "name": "Combined Wind Wave Surge Building Damage", "tags": ["Building"], + "manual": "combined_wind_wave_surge_building_dmg.html", }, - "CombinedWindWaveSurgeBuildingLoss": { + "studio-CombinedWindWaveSurgeBuildingLoss": { "name": "Combined Wind Wave Surge Building Loss", "tags": ["Building"], + "manual": "combined_wind_wave_surge_building_loss.html", }, - "CommercialBuildingRecovery": { + "studio-CommercialBuildingRecovery": { "name": "Commercial Building Recovery", "tags": ["Socioeconomic"], + "manual": "commercial_building_recovery.html", }, - "CumulativeBuildingDamage": { + "studio-CumulativeBuildingDamage": { "name": "Cumulative Building Damage", "tags": ["Building"], + "manual": "cumulative_building_dmg.html", }, - "EpfDamage": {"name": "Electric Power Facility Damage", "tags": ["Lifeline"]}, - "EpfRepairCost": { + "studio-EpfDamage": { + "name": "Electric Power Facility Damage", + "tags": ["Lifeline"], + "manual": "epf_dmg.html", + }, + "studio-EpfRepairCost": { "name": "Electric Power Facility Repair Cost", "tags": ["Lifeline"], + "manual": "epf_repair_cost.html", }, - "EpfRestoration": { + "studio-EpfRestoration": { "name": "Electric Power Facility Restoration", "tags": ["LifeLine"], + "manual": "epf_restoration.html", }, - "EpnFunctionality": { + "studio-EpnFunctionality": { "name": "Electric Power Network Functionality", "tags": ["Lifeline"], + "manual": "epn_functionality.html", + }, + "studio-GalvestonCGEModel": { + "name": "Galveston CGE Model", + "tags": ["Economic"], + "manual": "galveston_cge.html", + }, + "studio-GasFacilityDamage": { + "name": "Gas Facility Damage", + "tags": ["Lifeline"], + "manual": "gas_facility_damage.html", }, - "GalvestonCGEModel": {"name": "Galveston CGE Model", "tags": ["Economic"]}, - "GasFacilityDamage": {"name": "Gas Facility Damage", "tags": ["Lifeline"]}, - "HousingRecoverySequential": { + "studio-HousingRecoverySequential": { "name": "Housing Recovery Sequential", "tags": ["Socioeconomic", "Decision Support"], + "manual": "housing_household_recovery.html", }, - "HousingUnitAllocation": { + "studio-HousingUnitAllocation": { "name": "Housing Unit Allocation", "tags": ["Socioeconomic"], + "manual": "housingunitallocation.html", }, - "HousingValuationRecovery": { + "studio-HousingValuationRecovery": { "name": "Housing Valuation Recovery", "tags": ["Socioeconomic"], + "manual": "housing_recovery.html", }, - "INDP": { + "studio-INDP": { "name": "Infrastructure Network Disruption Planning", "tags": ["Decision Support"], + "manual": "indp.html", + }, + "studio-JoplinCGEModel": { + "name": "Joplin CGE Model", + "tags": ["Economic"], + "manual": "joplin_cge.html", }, - "JoplinCGEModel": {"name": "Joplin CGE Model", "tags": ["Economic"]}, - "JoplinEmpiricalBuildingRestoration": { + "studio-JoplinEmpiricalBuildingRestoration": { "name": "Joplin Empirical Building Restoration", "tags": ["Building"], + "manual": "", }, - "MeanDamage": {"name": "Mean Damage", "tags": []}, - "MlEnabledCgeSlc": { + "studio-MeanDamage": {"name": "Mean Damage", "tags": [], "manual": "mean_dmg.html"}, + "studio-MlEnabledCgeSlc": { "name": "Machine Learning Enabled CGE SLC", "tags": ["Economic"], + "manual": "ml_slc_cge.html", }, - "MlEnabledCgeJoplin": { + "studio-MlEnabledCgeJoplin": { "name": "Machine Learning Enabled CGE Joplin", "tags": ["Economic"], + "manual": "ml_joplin_cge.html", }, - "MonteCarloLimitStateProbability": { + "studio-MonteCarloLimitStateProbability": { "name": "Monte Carlo Limit State Probability", "tags": ["Decision Support"], + "manual": "mc_limit_state_prob.html", }, - "MultiObjectiveRetrofitOptimization": { + "studio-MultiObjectiveRetrofitOptimization": { "name": "Multi-Objective Retrofit Optimization", "tags": ["Decision Support"], + "manual": "multi_retrofit_optimization.html", }, - "NciFunctionality": { + "studio-NciFunctionality": { "name": "Network Cascading Interdependency Functionality", "tags": ["Decision Support"], + "manual": "nci_functionality.html", }, - "PipelineDamage": {"name": "Pipeline Damage", "tags": ["Lifeline"]}, - "PipelineDamageRepairRate": { + "studio-PipelineDamage": { + "name": "Pipeline Damage", + "tags": ["Lifeline"], + "manual": "pipeline_dmg.html", + }, + "studio-PipelineDamageRepairRate": { "name": "Pipeline Damage Repair Rate", "tags": ["Lifeline"], + "manual": "pipeline_dmg_w_repair_rate.html", + }, + "studio-PipelineFunctionality": { + "name": "Pipeline Functionality", + "tags": ["Lifeline"], + "manual": "pipeline_functionality.html", + }, + "studio-PipelineRepairCost": { + "name": "Pipeline Repair Cost", + "tags": ["Lifeline"], + "manual": "pipeline_repair_cost.html", + }, + "studio-PipelineRestoration": { + "name": "Pipeline Restoration", + "tags": ["Lifeline"], + "manual": "pipeline_restoration.html", }, - "PipelineFunctionality": {"name": "Pipeline Functionality", "tags": ["Lifeline"]}, - "PipelineRepairCost": {"name": "Pipeline Repair Cost", "tags": ["Lifeline"]}, - "PipelineRestoration": {"name": "Pipeline Restoration", "tags": ["Lifeline"]}, - "PopulationDislocation": { + "studio-PopulationDislocation": { "name": "Population Dislocation", "tags": ["Socioeconomic"], + "manual": "populationdislocation.html", }, - "ResidentialBuildingRecovery": { + "studio-ResidentialBuildingRecovery": { "name": "Residential Building Recovery", "tags": ["Socioeconomic", "Decision Support"], + "manual": "residential_building_recovery.html", }, - "RoadDamage": {"name": "Road Damage", "tags": ["Lifeline"]}, - "SaltLakeCGEModel": {"name": "Salt Lake CGE Model", "tags": ["Economic"]}, - "SeasideCGEModel": {"name": "Seaside CGE Model", "tags": ["Economic"]}, - "SocialVulnerabilityScore": { + "studio-RoadDamage": { + "name": "Road Damage", + "tags": ["Lifeline"], + "manual": "road_dmg.html", + }, + "studio-SaltLakeCGEModel": { + "name": "Salt Lake CGE Model", + "tags": ["Economic"], + "manual": "slc_cge.html", + }, + "studio-SeasideCGEModel": { + "name": "Seaside CGE Model", + "tags": ["Economic"], + "manual": "seaside_cge.html", + }, + "studio-SocialVulnerabilityScore": { "name": "Social Vulnerability Score", "tags": ["Socioeconomic"], + "manual": "social_vulnerability_score.html", }, - "TornadoEpnDamage": { + "studio-TornadoEpnDamage": { "name": "Tornado Electric Power Network Damage", "tags": ["Lifeline"], + "manual": "tornadoepn_dmg.html", }, - "TrafficFlowRecovery": { + "studio-TrafficFlowRecovery": { "name": "Traffic Flow Recovery", "tags": ["Decision Support", "Lifeline"], + "manual": "traffic_flow_recovery.html", + }, + "studio-WaterFacilityDamage": { + "name": "Water Facility Damage", + "tags": ["Lifeline"], + "manual": "waterfacility_dmg.html", }, - "WaterFacilityDamage": {"name": "Water Facility Damage", "tags": ["Lifeline"]}, - "WaterFacilityRepairCost": { + "studio-WaterFacilityRepairCost": { "name": "Water Facility Repair Cost", "tags": ["Lifeline"], + "manual": "water_facility_repair_cost.html", }, - "WaterFacilityDamage": {"name": "Water Facility Damage", "tags": ["Lifeline"]}, - "WaterFacilityRestoration": { + "studio-WaterFacilityRestoration": { "name": "Water Facility Restoration", "tags": ["Lifeline"], + "manual": "water_facility_restoration.html", }, - "WfnFunctionality": { + "studio-WfnFunctionality": { "name": "Water Facility Network Functionality", "tags": ["Lifeline"], + "manual": "wfn_functionality.html", }, } @@ -348,6 +451,7 @@ for analysis_name, value in dependency_graph.items(): value["pretty_name"] = pretty_tagged_names[analysis_name]["name"] value["tags"] = pretty_tagged_names[analysis_name]["tags"] + value["manual"] = pretty_tagged_names[analysis_name]["manual"] # add input dataset types in dependency graph for analysis_name, analysis_class in analysis_classes.items(): @@ -355,7 +459,6 @@ dependency_graph[analysis_name]["inputs"] = dict() hazards = spec.get("input_hazards", []) datasets = spec.get("input_datasets", []) - print(analysis_name) for hazard in hazards: dependency_graph[analysis_name]["inputs"][hazard["id"]] = ( hazard["type"] if isinstance(hazard["type"], list) else [hazard["type"]] diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index 71b44ea..885a40a 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -1,187 +1,199 @@ { - "MonteCarloLimitStateProbability": { + "studio-BuildingFunctionality": { "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "damage" - } - ], - "BuildingStructuralDamage": [ + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, { - "from": "ds_result", - "to": "damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "BridgeDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "BuildingNonStructDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "PipelineDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } + ] + }, + "after": {}, + "pretty_name": "Building Functionality", + "tags": [ + "Building" + ], + "manual": "building_func.html", + "inputs": { + "building_damage_mcs_samples": [ + "incore:sampleFailureState" + ], + "substations_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "RoadDamage": [ + "poles_damage_mcs_samples": [ + "incore:sampleFailureState" + ], + "interdependency_dictionary": [ + "incore:buildingInterdependencyDict" + ] + } + }, + "studio-EpnFunctionality": { + "before": { + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "WaterFacilityDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "CumulativeBuildingDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "EpfDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, "after": { - "ResidentialBuildingRecovery": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ], - "CommercialBuildingRecovery": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - }, - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "INDP": [ + "studio-INDP": [ { "from": "sample_failure_state", "to": "wf_failure_state" }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, { "from": "sample_failure_state", "to": "pipeline_failure_state" }, { - "from": "sample_damage_states", - "to": "wf_damage_state" - } - ], - "EpfRepairCost": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "BuildingFunctionality": [ + "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", "to": "substations_damage_mcs_samples" } ], - "NciFunctionality": [ + "studio-NciFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-EpnFunctionality": [ { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "epf_sample_failure_state" } ], - "WaterFacilityRepairCost": [ + "studio-CommercialBuildingRecovery": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "mcs_failure" } ], - "CapitalShocks": [ + "studio-CapitalShocks": [ { "from": "failure_probability", "to": "failure_probability" } ], - "EpnFunctionality": [ + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ] - }, - "pretty_name": "Monte Carlo Limit State Probability", - "tags": [ - "Decision Support" - ] - }, - "PipelineDamage": { - "after": { - "MonteCarloLimitStateProbability": [ + "to": "wf_sample_failure_state" + }, { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage", + "pretty_name": "Electric Power Network Functionality", "tags": [ "Lifeline" - ] + ], + "manual": "epn_functionality.html", + "inputs": { + "epn_network": [ + "incore:epnNetwork" + ], + "epf_sample_failure_state": [ + "incore:sampleFailureState" + ] + } }, - "INDP": { + "studio-INDP": { "before": { - "PipelineRestoration": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ], - "EpnFunctionality": [ + "from": "sample_damage_states", + "to": "wf_damage_state" + }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", @@ -189,13 +201,17 @@ }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "wf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "epf_damage_state" } ], - "PipelineFunctionality": [ + "studio-PipelineFunctionality": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", @@ -203,32 +219,30 @@ }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "wf_failure_state" + } + ], + "studio-PopulationDislocation": [ + { + "from": "result", + "to": "pop_dislocation" } ], - "MonteCarloLimitStateProbability": [ + "studio-WfnFunctionality": [ { "from": "sample_failure_state", "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, - { - "from": "sample_damage_states", - "to": "epf_damage_state" + "to": "wf_failure_state" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "pipeline_failure_state" } ], - "EpfRepairCost": [ + "studio-WaterFacilityRepairCost": [ { "from": "result", "to": "epf_repair_cost" @@ -238,10 +252,26 @@ "to": "wf_repair_cost" } ], - "WfnFunctionality": [ + "studio-EpfRepairCost": [ + { + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" + } + ], + "studio-WaterFacilityRestoration": [ + { + "from": "repair_times", + "to": "wf_restoration_time" + } + ], + "studio-EpnFunctionality": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", @@ -249,456 +279,503 @@ }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "wf_failure_state" } ], - "EpfRestoration": [ + "studio-EpfRestoration": [ { "from": "repair_times", "to": "epf_restoration_time" } ], - "WaterFacilityRepairCost": [ - { - "from": "result", - "to": "epf_repair_cost" - }, - { - "from": "result", - "to": "wf_repair_cost" - } - ], - "PopulationDislocation": [ + "studio-PipelineRestoration": [ { - "from": "result", - "to": "pop_dislocation" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ], - "PipelineRepairCost": [ + "studio-PipelineRepairCost": [ { "from": "result", "to": "pipeline_repair_cost" } - ], - "WaterFacilityRestoration": [ - { - "from": "repair_times", - "to": "wf_restoration_time" - } ] }, "after": {}, "pretty_name": "Infrastructure Network Disruption Planning", "tags": [ "Decision Support" - ] + ], + "manual": "indp.html", + "inputs": { + "wf_repair_cost": [ + "incore:repairCost" + ], + "wf_restoration_time": [ + "incore:waterFacilityRepairTime" + ], + "epf_repair_cost": [ + "incore:repairCost" + ], + "epf_restoration_time": [ + "incore:epfRepairTime" + ], + "pipeline_repair_cost": [ + "incore:pipelineRepairCost" + ], + "pipeline_restoration_time": [ + "incore:pipelineRestorationVer1" + ], + "power_network": [ + "incore:epnNetwork" + ], + "water_network": [ + "incore:waterNetwork" + ], + "powerline_supply_demand_info": [ + "incore:powerLineSupplyDemandInfo" + ], + "epf_supply_demand_info": [ + "incore:epfSupplyDemandInfo" + ], + "wf_supply_demand_info": [ + "incore:waterFacilitySupplyDemandInfo" + ], + "pipeline_supply_demand_info": [ + "incore:pipelineSupplyDemandInfo" + ], + "interdep": [ + "incore:interdep" + ], + "wf_failure_state": [ + "incore:sampleFailureState" + ], + "wf_damage_state": [ + "incore:sampleDamageState" + ], + "pipeline_failure_state": [ + "incore:sampleFailureState" + ], + "epf_failure_state": [ + "incore:sampleFailureState" + ], + "epf_damage_state": [ + "incore:sampleDamageState" + ], + "dt_params": [ + "incore:dTParams" + ], + "pop_dislocation": [ + "incore:popDislocation" + ], + "bldgs2elec": [ + "incore:bldgs2elec" + ], + "bldgs2wter": [ + "incore:bldgs2wter" + ] + } }, - "EpfRepairCost": { - "after": { - "INDP": [ + "studio-WfnFunctionality": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } - ] - }, - "before": { - "MonteCarloLimitStateProbability": [ + ], + "studio-EpnFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ] - }, - "pretty_name": "Electric Power Facility Repair Cost", - "tags": [ - "Lifeline" - ] - }, - "WaterFacilityRepairCost": { - "after": { - "INDP": [ - { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "result", - "to": "epf_repair_cost" - } - ] - }, - "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } - ] - }, - "pretty_name": "Water Facility Repair Cost", - "tags": [ - "Lifeline" - ] - }, - "GalvestonCGEModel": { - "before": { - "CapitalShocks": [ + ], + "studio-PipelineFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "after": {}, - "pretty_name": "Galveston CGE Model", - "tags": [ - "Economic" - ] - }, - "JoplinCGEModel": { - "before": { - "CapitalShocks": [ + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } - ] - }, - "after": {}, - "pretty_name": "Joplin CGE Model", - "tags": [ - "Economic" - ] - }, - "MlEnabledCgeSlc": { - "before": { - "CapitalShocks": [ + ], + "studio-WfnFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "after": {}, - "pretty_name": "Machine Learning Enabled CGE SLC", - "tags": [ - "Economic" - ] - }, - "MlEnabledCgeJoplin": { - "before": { - "CapitalShocks": [ + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ] }, - "after": {}, - "pretty_name": "Machine Learning Enabled CGE Joplin", - "tags": [ - "Economic" - ] - }, - "SaltLakeCGEModel": { - "before": { - "CapitalShocks": [ + "after": { + "studio-INDP": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "after": {}, - "pretty_name": "Salt Lake CGE Model", - "tags": [ - "Economic" - ] - }, - "SeasideCGEModel": { - "before": { - "CapitalShocks": [ + "from": "sample_failure_state", + "to": "wf_failure_state" + }, { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "after": {}, - "pretty_name": "Seaside CGE Model", - "tags": [ - "Economic" - ] - }, - "CapitalShocks": { - "after": { - "GalvestonCGEModel": [ + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "JoplinCGEModel": [ + "studio-BuildingFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "MlEnabledCgeJoplin": [ + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "SaltLakeCGEModel": [ + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "MlEnabledCgeSlc": [ + "studio-NciFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "SeasideCGEModel": [ + "studio-EpnFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "before": { - "MonteCarloLimitStateProbability": [ - { - "from": "failure_probability", - "to": "failure_probability" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "WfnFunctionality": [ + "studio-CommercialBuildingRecovery": [ { "from": "failure_probability", - "to": "failure_probability" + "to": "mcs_failure" } ], - "EpnFunctionality": [ + "studio-CapitalShocks": [ { "from": "failure_probability", "to": "failure_probability" } ], - "PipelineFunctionality": [ + "studio-WfnFunctionality": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ] }, - "pretty_name": "Capital Shocks", + "pretty_name": "Water Facility Network Functionality", "tags": [ - "Economic" - ] + "Lifeline" + ], + "manual": "wfn_functionality.html", + "inputs": { + "wfn_network": [ + "incore:waterNetwork" + ], + "wf_sample_failure_state": [ + "incore:sampleFailureState" + ], + "pp_sample_failure_state": [ + "incore:sampleFailureState" + ] + } }, - "CommercialBuildingRecovery": { - "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-MonteCarloLimitStateProbability": { + "after": { + "studio-INDP": [ { - "from": "ds_result", - "to": "building_dmg" - } - ], - "MonteCarloLimitStateProbability": [ + "from": "sample_failure_state", + "to": "wf_failure_state" + }, { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { "from": "sample_damage_states", - "to": "sample_damage_states" + "to": "epf_damage_state" + }, + { + "from": "sample_damage_states", + "to": "wf_damage_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "EpnFunctionality": [ + "studio-CommercialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + }, { "from": "failure_probability", "to": "mcs_failure" } ], - "BuildingStructuralDamage": [ + "studio-BuildingFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "PipelineFunctionality": [ + "studio-NciFunctionality": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "epf_subst_failure_results" + } + ], + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "WfnFunctionality": [ + "studio-CapitalShocks": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "failure_probability" } - ] - }, - "after": {}, - "pretty_name": "Commercial Building Recovery", - "tags": [ - "Socioeconomic" - ] - }, - "ResidentialBuildingRecovery": { - "before": { - "MonteCarloLimitStateProbability": [ + ], + "studio-WaterFacilityRepairCost": [ { "from": "sample_damage_states", "to": "sample_damage_states" } - ] - }, - "after": {}, - "pretty_name": "Residential Building Recovery", - "tags": [ - "Socioeconomic", - "Decision Support" - ] - }, - "BuyoutDecision": { - "before": { - "HousingUnitAllocation": [ - { - "from": "result", - "to": "housing_unit_allocation" - } ], - "BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "future_building_damage" - }, + "studio-ResidentialBuildingRecovery": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-WfnFunctionality": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "PopulationDislocation": [ + "studio-EpfRepairCost": [ { - "from": "result", - "to": "population_dislocation" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "after": {}, - "pretty_name": "Buyout Decision", - "tags": [ - "Decision Support" - ] - }, - "PopulationDislocation": { "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-RoadDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } ], - "BuildingStructuralDamage": [ + "studio-PipelineDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } ], - "HousingUnitAllocation": [ + "studio-EpfDamage": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "damage" } ], - "CumulativeBuildingDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "ds_result", + "to": "damage" } - ] - }, - "after": { - "HousingValuationRecovery": [ + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "population_dislocation" + "from": "ds_result", + "to": "damage" } ], - "BuyoutDecision": [ + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "damage" + } + ], + "studio-BridgeDamage": [ { "from": "result", - "to": "population_dislocation" + "to": "damage" } ], - "INDP": [ + "studio-WaterFacilityDamage": [ { "from": "result", - "to": "pop_dislocation" + "to": "damage" } ], - "HousingRecoverySequential": [ + "studio-BuildingNonStructDamage": [ { "from": "result", - "to": "population_dislocation_block" + "to": "damage" } ] }, - "pretty_name": "Population Dislocation", + "pretty_name": "Monte Carlo Limit State Probability", "tags": [ - "Socioeconomic" - ] + "Decision Support" + ], + "manual": "mc_limit_state_prob.html", + "inputs": { + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:waterFacilityDamageVer4", + "ergo:waterFacilityDamageVer5", + "ergo:waterFacilityDamageVer6", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3", + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3", + "incore:pipelineDamage", + "incore:pipelineDamageVer2", + "incore:pipelineDamageVer3" + ] + } }, - "HousingUnitAllocation": { + "studio-PipelineFunctionality": { "after": { - "PopulationDislocation": [ + "studio-INDP": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "BuyoutDecision": [ + "studio-BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + } + ], + "studio-NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "studio-CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ] + }, + "before": { + "studio-PipelineDamageRepairRate": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "pipeline_repair_rate_damage" } ] }, - "before": {}, - "pretty_name": "Housing Unit Allocation", + "pretty_name": "Pipeline Functionality", "tags": [ - "Socioeconomic" - ] + "Lifeline" + ], + "manual": "pipeline_functionality.html", + "inputs": { + "pipeline_repair_rate_damage": [ + "ergo:pipelineDamageVer3" + ] + } }, - "HousingRecoverySequential": { + "studio-HousingRecoverySequential": { "before": { - "PopulationDislocation": [ + "studio-PopulationDislocation": [ { "from": "result", "to": "population_dislocation_block" } ], - "SocialVulnerabilityScore": [ + "studio-SocialVulnerabilityScore": [ { "from": "sv_result", "to": "sv_result" @@ -710,86 +787,104 @@ "tags": [ "Socioeconomic", "Decision Support" - ] + ], + "manual": "housing_household_recovery.html", + "inputs": { + "population_dislocation_block": [ + "incore:popDislocation" + ], + "tpm": [ + "incore:houseRecTransitionProbMatrix" + ], + "initial_stage_probabilities": [ + "incore:houseRecInitialStageProbability" + ], + "sv_result": [ + "incore:socialVulnerabilityScore" + ], + "zone_def_sv": [ + "incore:zoneDefinitionsSocialVulnerability" + ], + "zone_def_hhinc": [ + "incore:zoneDefinitionsHouseholdIncome" + ] + } }, - "HousingValuationRecovery": { - "before": { - "PopulationDislocation": [ + "studio-SocialVulnerabilityScore": { + "after": { + "studio-HousingRecoverySequential": [ { - "from": "result", - "to": "population_dislocation" + "from": "sv_result", + "to": "sv_result" } ] }, - "after": {}, - "pretty_name": "Housing Valuation Recovery", + "before": {}, + "pretty_name": "Social Vulnerability Score", "tags": [ "Socioeconomic" - ] + ], + "manual": "social_vulnerability_score.html", + "inputs": { + "national_vulnerability_feature_averages": [ + "incore:socialVulnerabilityFeatureAverages" + ], + "social_vulnerability_demographic_factors": [ + "incore:socialVulnerabilityDemFactors" + ] + } }, - "EpfRestoration": { - "before": { - "EpfDamage": [ + "studio-PipelineRestoration": { + "after": { + "studio-INDP": [ { - "from": "result", - "to": "damage" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ] }, - "after": { - "INDP": [ - { - "from": "repair_times", - "to": "epf_restoration_time" - } - ], - "NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, + "before": { + "studio-PipelineDamageRepairRate": [ { - "from": "time_results", - "to": "epf_time_results" + "from": "result", + "to": "pipeline_damage" } ] }, - "pretty_name": "Electric Power Facility Restoration", + "pretty_name": "Pipeline Restoration", "tags": [ - "LifeLine" - ] + "Lifeline" + ], + "manual": "pipeline_restoration.html", + "inputs": { + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "pipeline_damage": [ + "ergo:pipelineDamageVer2", + "ergo:pipelineDamageVer3" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } }, - "NciFunctionality": { + "studio-NciFunctionality": { "before": { - "EpfRestoration": [ + "studio-EpnFunctionality": [ { - "from": "time_results", - "to": "epf_time_results" - }, - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "WaterFacilityDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "WaterFacilityRestoration": [ - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, + "studio-WaterFacilityRestoration": [ { "from": "time_results", "to": "wds_time_results" @@ -797,33 +892,45 @@ { "from": "inventory_restoration_map", "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], - "MonteCarloLimitStateProbability": [ + "studio-WaterFacilityDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "wds_dmg_results" } ], - "EpnFunctionality": [ + "studio-WfnFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "PipelineFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "WfnFunctionality": [ + "studio-EpfRestoration": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "time_results", + "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], - "EpfDamage": [ + "studio-EpfDamage": [ { "from": "result", "to": "epf_damage" @@ -834,38 +941,47 @@ "pretty_name": "Network Cascading Interdependency Functionality", "tags": [ "Decision Support" - ] - }, - "EpfDamage": { - "after": { - "EpfRestoration": [ - { - "from": "result", - "to": "damage" - } + ], + "manual": "nci_functionality.html", + "inputs": { + "epf_network": [ + "incore:epnNetwork" ], - "NciFunctionality": [ - { - "from": "result", - "to": "epf_damage" - } + "wds_network": [ + "incore:waterNetwork" ], - "MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } + "epf_wds_intdp_table": [ + "incore:networkInterdependencyTable" + ], + "wds_epf_intdp_table": [ + "incore:networkInterdependencyTable" + ], + "epf_subst_failure_results": [ + "incore:failureProbability" + ], + "epf_inventory_rest_map": [ + "incore:inventoryRestorationMap" + ], + "epf_time_results": [ + "incore:epfRestorationTime" + ], + "wds_dmg_results": [ + "ergo:waterFacilityDamageVer6" + ], + "wds_inventory_rest_map": [ + "incore:inventoryRestorationMap" + ], + "wds_time_results": [ + "incore:waterFacilityRestorationTime" + ], + "epf_damage": [ + "incore:epfDamageVer3" ] - }, - "before": {}, - "pretty_name": "Electric Power Facility Damage", - "tags": [ - "Lifeline" - ] + } }, - "WaterFacilityRestoration": { + "studio-WaterFacilityRestoration": { "before": { - "WaterFacilityDamage": [ + "studio-WaterFacilityDamage": [ { "from": "result", "to": "damage" @@ -873,7 +989,11 @@ ] }, "after": { - "NciFunctionality": [ + "studio-NciFunctionality": [ + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, { "from": "time_results", "to": "wds_time_results" @@ -881,13 +1001,9 @@ { "from": "inventory_restoration_map", "to": "epf_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" } ], - "INDP": [ + "studio-INDP": [ { "from": "repair_times", "to": "wf_restoration_time" @@ -897,23 +1013,35 @@ "pretty_name": "Water Facility Restoration", "tags": [ "Lifeline" - ] + ], + "manual": "water_facility_restoration.html", + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "damage": [ + "ergo:waterFacilityDamageVer6" + ] + } }, - "WaterFacilityDamage": { + "studio-WaterFacilityDamage": { "after": { - "WaterFacilityRestoration": [ + "studio-NciFunctionality": [ { "from": "result", - "to": "damage" + "to": "wds_dmg_results" } ], - "NciFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", - "to": "wds_dmg_results" + "to": "damage" } ], - "MonteCarloLimitStateProbability": [ + "studio-WaterFacilityRestoration": [ { "from": "result", "to": "damage" @@ -924,152 +1052,191 @@ "pretty_name": "Water Facility Damage", "tags": [ "Lifeline" - ] + ], + "manual": "waterfacility_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tsunami" + ], + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } }, - "CombinedWindWaveSurgeBuildingDamage": { + "studio-CapitalShocks": { "before": { - "BuildingNonStructDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "flood_damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "BuildingStructuralDamage": [ + "studio-WfnFunctionality": [ { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "failure_probability", + "to": "failure_probability" } ] }, "after": { - "CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + "studio-GalvestonCGEModel": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "CommercialBuildingRecovery": [ + "studio-MlEnabledCgeJoplin": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "MeanDamage": [ + "studio-SeasideCGEModel": [ { - "from": "ds_result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "studio-JoplinCGEModel": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "PopulationDislocation": [ + "studio-MlEnabledCgeSlc": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "BuyoutDecision": [ - { - "from": "ds_result", - "to": "future_building_damage" - }, + "studio-SaltLakeCGEModel": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + ] + }, + "pretty_name": "Capital Shocks", + "tags": [ + "Economic" + ], + "manual": "capital_shocks.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "buildings_to_sectors": [ + "incore:buildingsToSectors" + ], + "failure_probability": [ + "incore:failureProbability" + ] + } + }, + "studio-CommercialBuildingRecovery": { + "before": { + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "JoplinEmpiricalBuildingRestoration": [ + "studio-PipelineFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "failure_probability", + "to": "mcs_failure" } ], - "MonteCarloLimitStateProbability": [ - { - "from": "ds_result", - "to": "damage" - } - ] - }, - "pretty_name": "Combined Wind Wave Surge Building Damage", - "tags": [ - "Building" - ] - }, - "CombinedWindWaveSurgeBuildingLoss": { - "before": { - "BuildingNonStructDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "flood_damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "BuildingStructuralDamage": [ + "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "surge_wave_damage" - }, + "to": "building_dmg" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "wind_damage" + "to": "building_dmg" } ] }, "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss", + "pretty_name": "Commercial Building Recovery", "tags": [ - "Building" - ] + "Socioeconomic" + ], + "manual": "commercial_building_recovery.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "mcs_failure": [ + "incore:failureProbability" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ], + "building_dmg": [ + "ergo:buildingDamageVer6" + ] + } }, - "CumulativeBuildingDamage": { + "studio-CumulativeBuildingDamage": { "before": { - "BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ], + "studio-BuildingStructuralDamage": [ { "from": "ds_result", "to": "eq_bldg_dmg" @@ -1079,89 +1246,90 @@ "to": "tsunami_bldg_dmg" } ], - "CumulativeBuildingDamage": [ + "studio-CumulativeBuildingDamage": [ { "from": "combined-result", - "to": "tsunami_bldg_dmg" + "to": "eq_bldg_dmg" }, { "from": "combined-result", - "to": "eq_bldg_dmg" - } - ], - "CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", "to": "tsunami_bldg_dmg" - }, - { - "from": "ds_result", - "to": "eq_bldg_dmg" } ] }, "after": { - "CumulativeBuildingDamage": [ + "studio-PopulationDislocation": [ { "from": "combined-result", - "to": "tsunami_bldg_dmg" - }, + "to": "building_dmg" + } + ], + "studio-CumulativeBuildingDamage": [ { "from": "combined-result", "to": "eq_bldg_dmg" - } - ], - "MonteCarloLimitStateProbability": [ + }, { "from": "combined-result", - "to": "damage" + "to": "tsunami_bldg_dmg" } ], - "MeanDamage": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { "from": "combined-result", - "to": "damage" + "to": "building_dmg" } ], - "PopulationDislocation": [ + "studio-MeanDamage": [ { "from": "combined-result", - "to": "building_dmg" + "to": "damage" } ], - "JoplinEmpiricalBuildingRestoration": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "combined-result", - "to": "building_dmg" + "to": "damage" } ] }, "pretty_name": "Cumulative Building Damage", "tags": [ "Building" - ] + ], + "manual": "cumulative_building_dmg.html", + "inputs": { + "eq_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" + ], + "tsunami_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" + ] + } }, - "JoplinEmpiricalBuildingRestoration": { + "studio-JoplinEmpiricalBuildingRestoration": { "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-BuildingNonStructDamage": [ { - "from": "ds_result", + "from": "result", "to": "building_dmg" } ], - "BuildingStructuralDamage": [ + "studio-BuildingStructuralDamage": [ { "from": "ds_result", "to": "building_dmg" } ], - "BuildingNonStructDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", + "from": "ds_result", "to": "building_dmg" } ], - "CumulativeBuildingDamage": [ + "studio-CumulativeBuildingDamage": [ { "from": "combined-result", "to": "building_dmg" @@ -1172,49 +1340,71 @@ "pretty_name": "Joplin Empirical Building Restoration", "tags": [ "Building" - ] + ], + "manual": "", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "building_dmg": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4" + ], + "building_functionality_level": [ + "incore:buildingFuncTargetVer1" + ] + } }, - "MeanDamage": { + "studio-MeanDamage": { "before": { - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-RoadDamage": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", "to": "damage" } ], - "BridgeDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ], - "BuildingNonStructDamage": [ + "studio-CumulativeBuildingDamage": [ { - "from": "result", + "from": "combined-result", "to": "damage" } ], - "RoadDamage": [ + "studio-BridgeDamage": [ { "from": "result", "to": "damage" } ], - "CumulativeBuildingDamage": [ + "studio-BuildingNonStructDamage": [ { - "from": "combined-result", + "from": "result", "to": "damage" } ] }, "after": { - "BuildingEconLoss": [ + "studio-BuildingEconLoss": [ { "from": "result", "to": "building_mean_dmg" @@ -1222,659 +1412,1354 @@ ] }, "pretty_name": "Mean Damage", - "tags": [] + "tags": [], + "manual": "mean_dmg.html", + "inputs": { + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3" + ], + "dmg_ratios": [ + "ergo:buildingDamageRatios", + "ergo:bridgeDamageRatios", + "ergo:buildingContentDamageRatios", + "ergo:buildingASDamageRatios", + "ergo:buildingDSDamageRatios", + "ergo:roadDamageRatios" + ] + } }, - "BuildingStructuralDamage": { - "after": { - "CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + "studio-PopulationDislocation": { + "before": { + "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "building_dmg" } ], - "CommercialBuildingRecovery": [ + "studio-HousingUnitAllocation": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "housing_unit_allocation" } ], - "MeanDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "damage" + "to": "building_dmg" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "studio-CumulativeBuildingDamage": [ { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "from": "combined-result", + "to": "building_dmg" + } + ] + }, + "after": { + "studio-INDP": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "pop_dislocation" } ], - "PopulationDislocation": [ + "studio-BuyoutDecision": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "population_dislocation" } ], - "BuyoutDecision": [ - { - "from": "ds_result", - "to": "future_building_damage" - }, + "studio-HousingValuationRecovery": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "result", + "to": "population_dislocation" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-HousingRecoverySequential": [ { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "from": "result", + "to": "population_dislocation_block" + } + ] + }, + "pretty_name": "Population Dislocation", + "tags": [ + "Socioeconomic" + ], + "manual": "populationdislocation.html", + "inputs": { + "building_dmg": [ + "ergo:buildingInventoryVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory" + ], + "housing_unit_allocation": [ + "incore:housingUnitAllocation" + ], + "block_group_data": [ + "incore:blockGroupData" + ], + "value_loss_param": [ + "incore:valuLossParam" + ] + } + }, + "studio-RoadDamage": { + "after": { + "studio-MeanDamage": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "damage" } ], - "JoplinEmpiricalBuildingRestoration": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } - ], - "MonteCarloLimitStateProbability": [ + ] + }, + "before": {}, + "pretty_name": "Road Damage", + "tags": [ + "Lifeline" + ], + "manual": "road_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "hurricane", + "tsunami" + ], + "roads": [ + "ergo:roadLinkTopo", + "incore:roads", + "ergo:roadLinkTopoVer2" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } + }, + "studio-PipelineDamage": { + "after": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ] }, "before": {}, - "pretty_name": "Building Structural Damage", + "pretty_name": "Pipeline Damage", "tags": [ - "Building" - ] + "Lifeline" + ], + "manual": "pipeline_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tsunami" + ], + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } }, - "PipelineFunctionality": { + "studio-EpfRepairCost": { "before": { - "PipelineDamageRepairRate": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, "after": { - "INDP": [ + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "result", + "to": "wf_repair_cost" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "from": "result", + "to": "epf_repair_cost" + } + ] + }, + "pretty_name": "Electric Power Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "epf_repair_cost.html", + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" + ], + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "epf_dmg_ratios": [ + "incore:epfDamageRatios" + ] + } + }, + "studio-ResidentialBuildingRecovery": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "sample_damage_states", + "to": "sample_damage_states" } + ] + }, + "after": {}, + "pretty_name": "Residential Building Recovery", + "tags": [ + "Socioeconomic", + "Decision Support" + ], + "manual": "residential_building_recovery.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "socio_demographic_data": [ + "incore:socioDemograhicData" ], - "CommercialBuildingRecovery": [ + "financial_resources": [ + "incore:householdFinancialResources" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ] + } + }, + "studio-WaterFacilityRepairCost": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_damage_states", + "to": "sample_damage_states" } - ], - "BuildingFunctionality": [ + ] + }, + "after": { + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "result", + "to": "wf_repair_cost" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "result", + "to": "epf_repair_cost" + } + ] + }, + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_repair_cost.html", + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "wf_dmg_ratios": [ + "incore:waterFacilityDamageRatios" + ] + } + }, + "studio-BuyoutDecision": { + "before": { + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "future_building_damage" } ], - "NciFunctionality": [ + "studio-HousingUnitAllocation": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "housing_unit_allocation" } ], - "WfnFunctionality": [ + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "result", + "to": "population_dislocation" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "future_building_damage" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "past_building_damage" + } + ] + }, + "after": {}, + "pretty_name": "Buyout Decision", + "tags": [ + "Decision Support" + ], + "manual": "buyout_decision.html", + "inputs": { + "past_building_damage": [ + "ergo:buildingDamageVer6" + ], + "future_building_damage": [ + "ergo:buildingDamageVer6" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "housing_unit_allocation": [ + "incore:housingUnitAllocation" + ], + "population_dislocation": [ + "incore:popDislocation" + ] + } + }, + "studio-HousingValuationRecovery": { + "before": { + "studio-PopulationDislocation": [ + { + "from": "result", + "to": "population_dislocation" } + ] + }, + "after": {}, + "pretty_name": "Housing Valuation Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "housing_recovery.html", + "inputs": { + "population_dislocation": [ + "incore:popDislocation" + ], + "building_area": [ + "incore:buildingInventoryArea" ], - "CapitalShocks": [ + "census_block_groups_data": [ + "incore:censusBlockGroupsData" + ], + "census_appraisal_data": [ + "incore:censusAppraisalData" + ] + } + }, + "studio-EpfRestoration": { + "after": { + "studio-NciFunctionality": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], - "EpnFunctionality": [ + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "repair_times", + "to": "epf_restoration_time" } ] }, - "pretty_name": "Pipeline Functionality", - "tags": [ - "Lifeline" - ] - }, - "PipelineRepairCost": { "before": { - "PipelineDamageRepairRate": [ + "studio-EpfDamage": [ { "from": "result", - "to": "pipeline_dmg" + "to": "damage" } ] }, + "pretty_name": "Electric Power Facility Restoration", + "tags": [ + "LifeLine" + ], + "manual": "epf_restoration.html", + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "damage": [ + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3" + ] + } + }, + "studio-HousingUnitAllocation": { "after": { - "INDP": [ + "studio-BuyoutDecision": [ { "from": "result", - "to": "pipeline_repair_cost" + "to": "housing_unit_allocation" + } + ], + "studio-PopulationDislocation": [ + { + "from": "result", + "to": "housing_unit_allocation" } ] }, - "pretty_name": "Pipeline Repair Cost", + "before": {}, + "pretty_name": "Housing Unit Allocation", "tags": [ - "Lifeline" - ] + "Socioeconomic" + ], + "manual": "housingunitallocation.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "housing_unit_inventory": [ + "incore:housingUnitInventory" + ], + "address_point_inventory": [ + "incore:addressPoints" + ] + } }, - "PipelineRestoration": { + "studio-GalvestonCGEModel": { "before": { - "PipelineDamageRepairRate": [ + "studio-CapitalShocks": [ { - "from": "result", - "to": "pipeline_damage" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "after": { - "INDP": [ + "after": {}, + "pretty_name": "Galveston CGE Model", + "tags": [ + "Economic" + ], + "manual": "galveston_cge.html", + "inputs": { + "SAM": [ + "incore:CGEsam" + ], + "BB": [ + "incore:CGEbb" + ], + "IOUT": [ + "incore:CGEiout" + ], + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-JoplinCGEModel": { + "before": { + "studio-CapitalShocks": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Pipeline Restoration", + "after": {}, + "pretty_name": "Joplin CGE Model", "tags": [ - "Lifeline" - ] - }, - "PipelineDamageRepairRate": { - "after": { - "PipelineFunctionality": [ - { - "from": "result", - "to": "pipeline_repair_rate_damage" - } + "Economic" + ], + "manual": "joplin_cge.html", + "inputs": { + "SAM": [ + "incore:CGEsam" ], - "PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_dmg" - } + "BB": [ + "incore:CGEbb" + ], + "IOUT": [ + "incore:CGEiout" ], - "PipelineRestoration": [ + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "LANDCAP": [ + "incore:CGElandcap" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "IGTD": [ + "incore:CGEigtd" + ], + "TAUFF": [ + "incore:CGEtauff" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-MlEnabledCgeSlc": { + "before": { + "studio-CapitalShocks": [ { - "from": "result", - "to": "pipeline_damage" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage Repair Rate", + "after": {}, + "pretty_name": "Machine Learning Enabled CGE SLC", "tags": [ - "Lifeline" - ] + "Economic" + ], + "manual": "ml_slc_cge.html", + "inputs": { + "sector_shocks": [ + "incore:capitalShocks" + ] + } }, - "BridgeDamage": { - "after": { - "MeanDamage": [ + "studio-MlEnabledCgeJoplin": { + "before": { + "studio-CapitalShocks": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "MonteCarloLimitStateProbability": [ + ] + }, + "after": {}, + "pretty_name": "Machine Learning Enabled CGE Joplin", + "tags": [ + "Economic" + ], + "manual": "ml_joplin_cge.html", + "inputs": { + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-SaltLakeCGEModel": { + "before": { + "studio-CapitalShocks": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "before": {}, - "pretty_name": "Bridge Damage", + "after": {}, + "pretty_name": "Salt Lake CGE Model", "tags": [ - "Bridge" - ] + "Economic" + ], + "manual": "slc_cge.html", + "inputs": { + "SAM": [ + "incore:CGEsam" + ], + "BB": [ + "incore:CGEbb" + ], + "IOUT": [ + "incore:CGEiout" + ], + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + } }, - "BuildingEconLoss": { + "studio-SeasideCGEModel": { "before": { - "MeanDamage": [ + "studio-CapitalShocks": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, "after": {}, - "pretty_name": "Building Economic Loss", + "pretty_name": "Seaside CGE Model", "tags": [ - "Building" - ] + "Economic" + ], + "manual": "seaside_cge.html", + "inputs": { + "SAM": [ + "incore:SeasideCGEsam" + ], + "BB": [ + "incore:SeasideCGEbb" + ], + "HHTABLE": [ + "incore:SeasideCGEhhtable" + ], + "EMPLOY": [ + "incore:SeasideCGEemploy" + ], + "JOBCR": [ + "incore:SeasideCGEjobcr" + ], + "SIMS": [ + "incore:SeasideCGEsim" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + } }, - "RoadDamage": { - "after": { - "MeanDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": { + "before": { + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "damage" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], - "MonteCarloLimitStateProbability": [ + "studio-BuildingNonStructDamage": [ { "from": "result", - "to": "damage" + "to": "flood_damage" } ] }, - "before": {}, - "pretty_name": "Road Damage", - "tags": [ - "Lifeline" - ] - }, - "BuildingFunctionality": { - "before": { - "EpnFunctionality": [ + "after": { + "studio-BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "from": "ds_result", + "to": "future_building_damage" + } + ], + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "damage" } ], - "WfnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "wind_damage" } ], - "MonteCarloLimitStateProbability": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ], + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "building_dmg" } ], - "PipelineFunctionality": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-MeanDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ] + }, + "pretty_name": "Combined Wind Wave Surge Building Damage", + "tags": [ + "Building" + ], + "manual": "combined_wind_wave_surge_building_dmg.html", + "inputs": { + "wind_damage": [ + "ergo:buildingDamageVer6" + ], + "surge_wave_damage": [ + "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" + ] + } + }, + "studio-CombinedWindWaveSurgeBuildingLoss": { + "before": { + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "flood_damage" } ] }, "after": {}, - "pretty_name": "Building Functionality", + "pretty_name": "Combined Wind Wave Surge Building Loss", "tags": [ "Building" - ] - }, - "EpnFunctionality": { - "before": { - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } + ], + "manual": "combined_wind_wave_surge_building_loss.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } + "wind_damage": [ + "ergo:buildingDamageVer6" ], - "PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } + "surge_wave_damage": [ + "ergo:buildingDamageVer6" ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" + ], + "structural_cost": [ + "incore:structuralCostRatio" + ], + "content_cost": [ + "incore:contentCostRatio" ] - }, + } + }, + "studio-BuildingNonStructDamage": { "after": { - "INDP": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "result", + "to": "flood_damage" } ], - "CommercialBuildingRecovery": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "building_dmg" } ], - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "result", + "to": "damage" } ], - "NciFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "damage" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "result", + "to": "flood_damage" } - ], - "CapitalShocks": [ + ] + }, + "before": {}, + "pretty_name": "Building Non-Structural Damage", + "tags": [ + "Building" + ], + "manual": "building_nonstructural_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "flood", + "hurricane" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" + ] + } + }, + "studio-PipelineRepairCost": { + "after": { + "studio-INDP": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "pipeline_repair_cost" } - ], - "EpnFunctionality": [ + ] + }, + "before": { + "studio-PipelineDamageRepairRate": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "pipeline_dmg" } ] }, - "pretty_name": "Electric Power Network Functionality", + "pretty_name": "Pipeline Repair Cost", "tags": [ "Lifeline" - ] + ], + "manual": "pipeline_repair_cost.html", + "inputs": { + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "replacement_cost": [ + "incore:replacementCost" + ], + "pipeline_dmg": [ + "ergo:pipelineDamageVer3" + ], + "pipeline_dmg_ratios": [ + "incore:pipelineDamageRatios" + ] + } }, - "WfnFunctionality": { - "before": { - "PipelineFunctionality": [ + "studio-BuildingStructuralDamage": { + "after": { + "studio-BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "future_building_damage" } ], - "EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "damage" } ], - "MonteCarloLimitStateProbability": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "WfnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "wind_damage" } - ] - }, - "after": { - "INDP": [ - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + ], + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "CommercialBuildingRecovery": [ - { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "building_dmg" } ], - "NciFunctionality": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "building_dmg" } ], - "WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "damage" } ], - "CapitalShocks": [ + "studio-CommercialBuildingRecovery": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "building_dmg" } - ], - "EpnFunctionality": [ + ] + }, + "before": {}, + "pretty_name": "Building Structural Damage", + "tags": [ + "Building" + ], + "manual": "building_structural_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" + ] + } + }, + "studio-BuildingEconLoss": { + "before": { + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "building_mean_dmg" } ] }, - "pretty_name": "Water Facility Network Functionality", + "after": {}, + "pretty_name": "Building Economic Loss", "tags": [ - "Lifeline" - ] + "Building" + ], + "manual": "building_loss.html", + "inputs": { + "buildings": [ + "ergo:buildingInventory", + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "building_mean_dmg": [ + "ergo:meanDamage" + ], + "occupancy_multiplier": [ + "incore:buildingOccupancyMultiplier" + ] + } }, - "BuildingNonStructDamage": { + "studio-BridgeDamage": { "after": { - "MeanDamage": [ + "studio-MeanDamage": [ { "from": "result", "to": "damage" } ], - "CombinedWindWaveSurgeBuildingLoss": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", - "to": "flood_damage" + "to": "damage" } - ], - "JoplinEmpiricalBuildingRestoration": [ + ] + }, + "before": {}, + "pretty_name": "Bridge Damage", + "tags": [ + "Bridge" + ], + "manual": "bridge_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], + "bridges": [ + "ergo:bridges", + "ergo:bridgesVer2", + "ergo:bridgesVer3" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } + }, + "studio-EpfDamage": { + "after": { + "studio-EpfRestoration": [ { "from": "result", - "to": "building_dmg" + "to": "damage" } ], - "MonteCarloLimitStateProbability": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ], - "CombinedWindWaveSurgeBuildingDamage": [ + "studio-NciFunctionality": [ { "from": "result", - "to": "flood_damage" + "to": "epf_damage" } ] }, "before": {}, - "pretty_name": "Building Non-Structural Damage", + "pretty_name": "Electric Power Facility Damage", "tags": [ - "Building" - ] + "Lifeline" + ], + "manual": "epf_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } }, - "SocialVulnerabilityScore": { + "studio-PipelineDamageRepairRate": { "after": { - "HousingRecoverySequential": [ + "studio-PipelineRestoration": [ { - "from": "sv_result", - "to": "sv_result" + "from": "result", + "to": "pipeline_damage" + } + ], + "studio-PipelineRepairCost": [ + { + "from": "result", + "to": "pipeline_dmg" + } + ], + "studio-PipelineFunctionality": [ + { + "from": "result", + "to": "pipeline_repair_rate_damage" } ] }, "before": {}, - "pretty_name": "Social Vulnerability Score", + "pretty_name": "Pipeline Damage Repair Rate", "tags": [ - "Socioeconomic" - ] + "Lifeline" + ], + "manual": "pipeline_dmg_w_repair_rate.html", + "inputs": { + "hazard": [ + "earthquake", + "tsunami" + ], + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } }, - "BuildingClusterRecovery": { + "studio-BuildingClusterRecovery": { "before": {}, "after": {}, "pretty_name": "Building Cluster Recovery", "tags": [ "Building" - ] + ], + "manual": "building_cluster_recovery.html", + "inputs": { + "building_data": [ + "incore:portfolioBuildingInventory" + ], + "occupancy_mapping": [ + "incore:portfolioOccupancyMapping" + ], + "building_damage": [ + "incore:portfolioBuildingDamage" + ], + "dmg_ratios": [ + "incore:portfolioDamageRatios" + ], + "utility": [ + "incore:portfolioUtilityAvailability" + ], + "utility_partial": [ + "incore:portfolioUtilityAvailability" + ], + "coefFL": [ + "incore:portfolioCoefficients" + ] + } }, - "GasFacilityDamage": { + "studio-GasFacilityDamage": { "before": {}, "after": {}, "pretty_name": "Gas Facility Damage", "tags": [ "Lifeline" - ] + ], + "manual": "gas_facility_damage.html", + "inputs": { + "hazard": [ + "earthquake" + ], + "gas_facilities": [ + "ergo:gasFacilityInventory" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } }, - "MultiObjectiveRetrofitOptimization": { + "studio-MultiObjectiveRetrofitOptimization": { "before": {}, "after": {}, "pretty_name": "Multi-Objective Retrofit Optimization", "tags": [ "Decision Support" - ] + ], + "manual": "multi_retrofit_optimization.html", + "inputs": { + "building_related_data": [ + "incore:multiobjectiveBuildingRelatedData" + ], + "strategy_costs_data": [ + "incore:multiobjectiveStrategyCosts" + ] + } }, - "TornadoEpnDamage": { + "studio-TornadoEpnDamage": { "before": {}, "after": {}, "pretty_name": "Tornado Electric Power Network Damage", "tags": [ "Lifeline" - ] + ], + "manual": "tornadoepn_dmg.html", + "inputs": { + "hazard": [ + "tornado" + ], + "epn_network": [ + "incore:epnNetwork" + ], + "tornado": [ + "incore:tornadoWindfield" + ] + } }, - "TrafficFlowRecovery": { + "studio-TrafficFlowRecovery": { "before": {}, "after": {}, "pretty_name": "Traffic Flow Recovery", "tags": [ "Decision Support", "Lifeline" - ] + ], + "manual": "traffic_flow_recovery.html", + "inputs": { + "nodes": [ + "ergo:roadNetwork" + ], + "links": [ + "ergo:roadNetwork" + ], + "bridges": [ + "ergo:bridges", + "ergo:bridgesVer2", + "ergo:bridgesVer3" + ], + "bridge_damage_value": [ + "incore:bridgeDamageValue" + ], + "unrepaired_bridge": [ + "incore:unrepairedBridge" + ], + "ADT": [ + "incore:ADT" + ] + } } } \ No newline at end of file From bfcc6b398d1e7821354f69816985090d5e9af926 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Thu, 3 Apr 2025 10:57:39 -0500 Subject: [PATCH 11/19] add utility tools --- utils/pyincore_utils/dependencyGraph.json | 288 ++++++++++++++++++++++ 1 file changed, 288 insertions(+) diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index 885a40a..4335cc6 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -2761,5 +2761,293 @@ "incore:ADT" ] } + }, + "studio-MaxDamageStateTool": { + "before": { + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "output_dataset" + } + ], + "studio-EpfDamage": [ + { + "from": "ds_result", + "to": "output_dataset" + } + ], + "studio-BridgeDamage": [ + { + "from": "ds_result", + "to": "output_dataset" + } + ] + }, + "after": { + "studio-BuildingDamageSummaryTool": [ + { + "from": "max_damage", + "to": "max_damage_state" + } + ] + }, + "pretty_name": "Max Damage State Tool", + "tags": [ + "Pyincore Utility" + ], + "manual": null, + "inputs": { + "output_dataset": [ + "ergo:buildingDamageVer6" + ] + } + }, + "studio-BuildingDamageSummaryTool": { + "before": { + "studio-MaxDamageStateTool": [ + { + "from": "max_damage", + "to": "max_damage_state" + } + ] + }, + "after": {}, + "pretty_name": "Building Damage Summary Tool", + "tags": [ + "Pyincore Utility" + ], + "manual": null, + "inputs": { + "max_damage_state": [ + "Max damage State type" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "archetype_mapping": [ + "Archetype Mapping type" + ] + } + }, + "studio-CGEPostProcessTool": { + "before": { + "studio-SaltLakeCGEModel": [ + { + "from": "household-count", + "to": "household-count" + }, + { + "from": "domestic-supply", + "to": "domestic-supply" + }, + { + "from": "gross-income", + "to": "gross-income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "pre-disaster-factor-demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "post-disaster-factor-demand" + } + ], + "studio-JoplinCGEModel": [ + { + "from": "household-count", + "to": "household-count" + }, + { + "from": "domestic-supply", + "to": "domestic-supply" + }, + { + "from": "gross-income", + "to": "gross-income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "pre-disaster-factor-demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "post-disaster-factor-demand" + } + ], + "studio-GalvestonCGEModel": [ + { + "from": "household-count", + "to": "household-count" + }, + { + "from": "domestic-supply", + "to": "domestic-supply" + }, + { + "from": "gross-income", + "to": "gross-income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "pre-disaster-factor-demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "post-disaster-factor-demand" + } + ], + "studio-MlEnabledCgeJoplin": [ + { + "from": "household-count", + "to": "household-count" + }, + { + "from": "domestic-supply", + "to": "domestic-supply" + }, + { + "from": "gross-income", + "to": "gross-income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "pre-disaster-factor-demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "post-disaster-factor-demand" + } + ], + "studio-MlEnabledCgeSlc": [ + { + "from": "household-count", + "to": "household-count" + }, + { + "from": "domestic-supply", + "to": "domestic-supply" + }, + { + "from": "gross-income", + "to": "gross-income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "pre-disaster-factor-demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "post-disaster-factor-demand" + } + ] + }, + "after": {}, + "pretty_name": "CGE Post Process Tool", + "tags": [ + "Pyincore Utility" + ], + "manual": null, + "inputs": { + "household-count": [ + "incore:HouseholdCount" + ], + "domestic-supply": [ + "incore:Employment" + ], + "gross-income": [ + "incore:Employment" + ], + "pre-disaster-factor-demand":[ + "incore:FactorDemand" + ], + "post-disaster-factor-demand":[ + "incore:FactorDemand" + ] + } + }, + "studio-DislPostProcessTool": { + "before": { + "studio-PopulationDislocation": [ + { + "from": "result", + "to": "dislocation-output" + } + ] + }, + "after": {}, + "pretty_name": "Population Dislocation Post Process Tool", + "tags": [ + "Pyincore Utility" + ], + "manual": null, + "inputs": { + "dislocation-output": [ + "incore:popDislocation" + ] + } + }, + "studio-BuildingFailureClusterTool": { + "before": { + "studio-MonteCarloLimitStateProbability": [ + { + "from": "failure_probability", + "to": "building_failure_probability" + } + ] + }, + "after": {}, + "pretty_name": "Building Failure Cluster Tool", + "tags": [ + "Pyincore Utility" + ], + "manual": null, + "inputs": { + "building_failure_probability": [ + "incore:failureProbability" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "archetype_mapping": [ + "Archetype Mapping type" + ] + } + }, + "studio-BuildingFunctionalityClusterTool": { + "before": { + "studio-BuildingFunctionality": [ + { + "from": "functionality_probability", + "to": "functionality_probability" + } + ] + }, + "after": {}, + "pretty_name": "Building Functionality Cluster Tool", + "tags": [ + "Pyincore Utility" + ], + "manual": null, + "inputs": { + "functionality_probability": [ + "incore:funcProbability" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "archetype_mapping": [ + "Archetype Mapping type" + ] + } } } \ No newline at end of file From bf0ac6b46d21e63766fe026b43da7a961b98a0c8 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 11 Apr 2025 11:34:08 -0500 Subject: [PATCH 12/19] update script to add links from analyses to tools --- .../pyincore_utils/create_dependency_graph.py | 225 +++ utils/pyincore_utils/dependencyGraph.json | 1326 ++++++----------- 2 files changed, 682 insertions(+), 869 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 8010dd2..3b8e062 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -357,6 +357,222 @@ }, } +tool_afters = { + "studio-BuildingStructuralDamage": { + "studio-MaxDamageStateTool": [{"from": "ds_result", "to": "Output dataset"}] + }, + "studio-EpfDamage": { + "studio-MaxDamageStateTool": [{"from": "ds_result", "to": "Output dataset"}] + }, + "studio-BridgeDamage": { + "studio-MaxDamageStateTool": [{"from": "ds_result", "to": "Output dataset"}] + }, + "studio-SaltLakeCGEModel": { + "studio-CGEPostProcessTool": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ] + }, + "studio-JoplinCGEModel": { + "studio-CGEPostProcessTool": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ] + }, + "studio-GalvestonCGEModel": { + "studio-CGEPostProcessTool": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ] + }, + "studio-MlEnabledCgeJoplin": { + "studio-CGEPostProcessTool": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ] + }, + "studio-MlEnabledCgeSlc": { + "studio-CGEPostProcessTool": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ] + }, + "studio-PopulationDislocation": { + "studio-DislPostProcessTool": [{"from": "result", "to": "Dislocation Output"}] + }, + "studio-MonteCarloLimitStateProbability": { + "studio-BuildingFailureClusterTool": [ + {"from": "failure_probability", "to": "Building Failure Probability"} + ] + }, + "studio-BuildingFunctionality": { + "studio-BuildingFunctionalityClusterTool": [ + {"from": "functionality_probability", "to": "Functionality Probability"} + ] + }, +} + +tools = { + "studio-MaxDamageStateTool": { + "before": { + "studio-BuildingStructuralDamage": [ + {"from": "ds_result", "to": "Output dataset"} + ], + "studio-EpfDamage": [{"from": "ds_result", "to": "Output dataset"}], + "studio-BridgeDamage": [{"from": "ds_result", "to": "Output dataset"}], + }, + "after": { + "studio-BuildingDamageSummaryTool": [ + {"from": "Max Damage", "to": "Max Damage State"} + ] + }, + "pretty_name": "Max Damage State Tool", + "tags": ["Pyincore Utility"], + "manual": None, + "inputs": {"Output dataset": ["ergo:buildingDamageVer6"]}, + }, + "studio-BuildingDamageSummaryTool": { + "before": { + "studio-MaxDamageStateTool": [ + {"from": "Max Damage", "to": "Max Damage State"} + ] + }, + "after": {}, + "pretty_name": "Building Damage Summary Tool", + "tags": ["Pyincore Utility"], + "manual": None, + "inputs": { + "Max Damage State": ["Max damage State type"], + "Buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7", + ], + "Archetype Mapping": ["Archetype Mapping type"], + }, + }, + "studio-CGEPostProcessTool": { + "before": { + "studio-SaltLakeCGEModel": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ], + "studio-JoplinCGEModel": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ], + "studio-GalvestonCGEModel": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ], + "studio-MlEnabledCgeJoplin": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ], + "studio-MlEnabledCgeSlc": [ + {"from": "household-count", "to": "Household Count"}, + {"from": "domestic-supply", "to": "Domestic supply"}, + {"from": "gross-income", "to": "Gross Income"}, + {"from": "pre-disaster-factor-demand", "to": "Pre Demand"}, + {"from": "post-disaster-factor-demand", "to": "Post Demand"}, + ], + }, + "after": {}, + "pretty_name": "CGE Post Process Tool", + "tags": ["Pyincore Utility"], + "manual": None, + "inputs": { + "Household Count": ["incore:HouseholdCount"], + "Domestic supply": ["incore:Employment"], + "Gross Income": ["incore:Employment"], + "Pre Demand": ["incore:FactorDemand"], + "Post Demand": ["incore:FactorDemand"], + }, + }, + "studio-DislPostProcessTool": { + "before": { + "studio-PopulationDislocation": [ + {"from": "result", "to": "Dislocation Output"} + ] + }, + "after": {}, + "pretty_name": "Population Dislocation Post Process Tool", + "tags": ["Pyincore Utility"], + "manual": None, + "inputs": {"Dislocation Output": ["incore:popDislocation"]}, + }, + "studio-BuildingFailureClusterTool": { + "before": { + "studio-MonteCarloLimitStateProbability": [ + {"from": "failure_probability", "to": "Building Failure Probability"} + ] + }, + "after": {}, + "pretty_name": "Building Failure Cluster Tool", + "tags": ["Pyincore Utility"], + "manual": None, + "inputs": { + "Building Failure Probability": ["incore:failureProbability"], + "Buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7", + ], + "Archetype Mapping": ["Archetype Mapping type"], + }, + }, + "studio-BuildingFunctionalityClusterTool": { + "before": { + "studio-BuildingFunctionality": [ + {"from": "functionality_probability", "to": "Functionality Probability"} + ] + }, + "after": {}, + "pretty_name": "Building Functionality Cluster Tool", + "tags": ["Pyincore Utility"], + "manual": None, + "inputs": { + "Functionality Probability": ["incore:funcProbability"], + "Buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7", + ], + "Archetype Mapping": ["Archetype Mapping type"], + }, + }, +} + input_types_for_analysis = defaultdict(list) output_types_for_analysis = defaultdict(list) seen_types = set() @@ -468,4 +684,13 @@ dataset["type"] if isinstance(dataset["type"], list) else [dataset["type"]] ) +# add tools to dependency graph +for key, value in tools.items(): + dependency_graph[key] = value + +# add links to tools from analyses +for key, value in tool_afters.items(): + for k, v in value.items(): + dependency_graph[key]["after"][k] = v + json.dump(dependency_graph, open("test_dependencyGraph.json", "w"), indent=4) diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index 4335cc6..6d048ef 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -58,25 +58,22 @@ } ] }, - "after": {}, + "after": { + "studio-BuildingFunctionalityClusterTool": [ + { + "from": "functionality_probability", + "to": "Functionality Probability" + } + ] + }, "pretty_name": "Building Functionality", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "building_func.html", "inputs": { - "building_damage_mcs_samples": [ - "incore:sampleFailureState" - ], - "substations_damage_mcs_samples": [ - "incore:sampleFailureState" - ], - "poles_damage_mcs_samples": [ - "incore:sampleFailureState" - ], - "interdependency_dictionary": [ - "incore:buildingInterdependencyDict" - ] + "building_damage_mcs_samples": ["incore:sampleFailureState"], + "substations_damage_mcs_samples": ["incore:sampleFailureState"], + "poles_damage_mcs_samples": ["incore:sampleFailureState"], + "interdependency_dictionary": ["incore:buildingInterdependencyDict"] } }, "studio-EpnFunctionality": { @@ -171,17 +168,11 @@ ] }, "pretty_name": "Electric Power Network Functionality", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "epn_functionality.html", "inputs": { - "epn_network": [ - "incore:epnNetwork" - ], - "epf_sample_failure_state": [ - "incore:sampleFailureState" - ] + "epn_network": ["incore:epnNetwork"], + "epf_sample_failure_state": ["incore:sampleFailureState"] } }, "studio-INDP": { @@ -303,77 +294,31 @@ }, "after": {}, "pretty_name": "Infrastructure Network Disruption Planning", - "tags": [ - "Decision Support" - ], + "tags": ["Decision Support"], "manual": "indp.html", "inputs": { - "wf_repair_cost": [ - "incore:repairCost" - ], - "wf_restoration_time": [ - "incore:waterFacilityRepairTime" - ], - "epf_repair_cost": [ - "incore:repairCost" - ], - "epf_restoration_time": [ - "incore:epfRepairTime" - ], - "pipeline_repair_cost": [ - "incore:pipelineRepairCost" - ], - "pipeline_restoration_time": [ - "incore:pipelineRestorationVer1" - ], - "power_network": [ - "incore:epnNetwork" - ], - "water_network": [ - "incore:waterNetwork" - ], - "powerline_supply_demand_info": [ - "incore:powerLineSupplyDemandInfo" - ], - "epf_supply_demand_info": [ - "incore:epfSupplyDemandInfo" - ], - "wf_supply_demand_info": [ - "incore:waterFacilitySupplyDemandInfo" - ], - "pipeline_supply_demand_info": [ - "incore:pipelineSupplyDemandInfo" - ], - "interdep": [ - "incore:interdep" - ], - "wf_failure_state": [ - "incore:sampleFailureState" - ], - "wf_damage_state": [ - "incore:sampleDamageState" - ], - "pipeline_failure_state": [ - "incore:sampleFailureState" - ], - "epf_failure_state": [ - "incore:sampleFailureState" - ], - "epf_damage_state": [ - "incore:sampleDamageState" - ], - "dt_params": [ - "incore:dTParams" - ], - "pop_dislocation": [ - "incore:popDislocation" - ], - "bldgs2elec": [ - "incore:bldgs2elec" - ], - "bldgs2wter": [ - "incore:bldgs2wter" - ] + "wf_repair_cost": ["incore:repairCost"], + "wf_restoration_time": ["incore:waterFacilityRepairTime"], + "epf_repair_cost": ["incore:repairCost"], + "epf_restoration_time": ["incore:epfRepairTime"], + "pipeline_repair_cost": ["incore:pipelineRepairCost"], + "pipeline_restoration_time": ["incore:pipelineRestorationVer1"], + "power_network": ["incore:epnNetwork"], + "water_network": ["incore:waterNetwork"], + "powerline_supply_demand_info": ["incore:powerLineSupplyDemandInfo"], + "epf_supply_demand_info": ["incore:epfSupplyDemandInfo"], + "wf_supply_demand_info": ["incore:waterFacilitySupplyDemandInfo"], + "pipeline_supply_demand_info": ["incore:pipelineSupplyDemandInfo"], + "interdep": ["incore:interdep"], + "wf_failure_state": ["incore:sampleFailureState"], + "wf_damage_state": ["incore:sampleDamageState"], + "pipeline_failure_state": ["incore:sampleFailureState"], + "epf_failure_state": ["incore:sampleFailureState"], + "epf_damage_state": ["incore:sampleDamageState"], + "dt_params": ["incore:dTParams"], + "pop_dislocation": ["incore:popDislocation"], + "bldgs2elec": ["incore:bldgs2elec"], + "bldgs2wter": ["incore:bldgs2wter"] } }, "studio-WfnFunctionality": { @@ -484,20 +429,12 @@ ] }, "pretty_name": "Water Facility Network Functionality", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "wfn_functionality.html", "inputs": { - "wfn_network": [ - "incore:waterNetwork" - ], - "wf_sample_failure_state": [ - "incore:sampleFailureState" - ], - "pp_sample_failure_state": [ - "incore:sampleFailureState" - ] + "wfn_network": ["incore:waterNetwork"], + "wf_sample_failure_state": ["incore:sampleFailureState"], + "pp_sample_failure_state": ["incore:sampleFailureState"] } }, "studio-MonteCarloLimitStateProbability": { @@ -593,6 +530,12 @@ "from": "sample_damage_states", "to": "sample_damage_states" } + ], + "studio-BuildingFailureClusterTool": [ + { + "from": "failure_probability", + "to": "Building Failure Probability" + } ] }, "before": { @@ -652,9 +595,7 @@ ] }, "pretty_name": "Monte Carlo Limit State Probability", - "tags": [ - "Decision Support" - ], + "tags": ["Decision Support"], "manual": "mc_limit_state_prob.html", "inputs": { "damage": [ @@ -757,14 +698,10 @@ ] }, "pretty_name": "Pipeline Functionality", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "pipeline_functionality.html", "inputs": { - "pipeline_repair_rate_damage": [ - "ergo:pipelineDamageVer3" - ] + "pipeline_repair_rate_damage": ["ergo:pipelineDamageVer3"] } }, "studio-HousingRecoverySequential": { @@ -784,30 +721,15 @@ }, "after": {}, "pretty_name": "Housing Recovery Sequential", - "tags": [ - "Socioeconomic", - "Decision Support" - ], + "tags": ["Socioeconomic", "Decision Support"], "manual": "housing_household_recovery.html", "inputs": { - "population_dislocation_block": [ - "incore:popDislocation" - ], - "tpm": [ - "incore:houseRecTransitionProbMatrix" - ], - "initial_stage_probabilities": [ - "incore:houseRecInitialStageProbability" - ], - "sv_result": [ - "incore:socialVulnerabilityScore" - ], - "zone_def_sv": [ - "incore:zoneDefinitionsSocialVulnerability" - ], - "zone_def_hhinc": [ - "incore:zoneDefinitionsHouseholdIncome" - ] + "population_dislocation_block": ["incore:popDislocation"], + "tpm": ["incore:houseRecTransitionProbMatrix"], + "initial_stage_probabilities": ["incore:houseRecInitialStageProbability"], + "sv_result": ["incore:socialVulnerabilityScore"], + "zone_def_sv": ["incore:zoneDefinitionsSocialVulnerability"], + "zone_def_hhinc": ["incore:zoneDefinitionsHouseholdIncome"] } }, "studio-SocialVulnerabilityScore": { @@ -821,17 +743,11 @@ }, "before": {}, "pretty_name": "Social Vulnerability Score", - "tags": [ - "Socioeconomic" - ], + "tags": ["Socioeconomic"], "manual": "social_vulnerability_score.html", "inputs": { - "national_vulnerability_feature_averages": [ - "incore:socialVulnerabilityFeatureAverages" - ], - "social_vulnerability_demographic_factors": [ - "incore:socialVulnerabilityDemFactors" - ] + "national_vulnerability_feature_averages": ["incore:socialVulnerabilityFeatureAverages"], + "social_vulnerability_demographic_factors": ["incore:socialVulnerabilityDemFactors"] } }, "studio-PipelineRestoration": { @@ -852,22 +768,12 @@ ] }, "pretty_name": "Pipeline Restoration", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "pipeline_restoration.html", "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "pipeline_damage": [ - "ergo:pipelineDamageVer2", - "ergo:pipelineDamageVer3" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], + "pipeline_damage": ["ergo:pipelineDamageVer2", "ergo:pipelineDamageVer3"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-NciFunctionality": { @@ -939,44 +845,20 @@ }, "after": {}, "pretty_name": "Network Cascading Interdependency Functionality", - "tags": [ - "Decision Support" - ], + "tags": ["Decision Support"], "manual": "nci_functionality.html", "inputs": { - "epf_network": [ - "incore:epnNetwork" - ], - "wds_network": [ - "incore:waterNetwork" - ], - "epf_wds_intdp_table": [ - "incore:networkInterdependencyTable" - ], - "wds_epf_intdp_table": [ - "incore:networkInterdependencyTable" - ], - "epf_subst_failure_results": [ - "incore:failureProbability" - ], - "epf_inventory_rest_map": [ - "incore:inventoryRestorationMap" - ], - "epf_time_results": [ - "incore:epfRestorationTime" - ], - "wds_dmg_results": [ - "ergo:waterFacilityDamageVer6" - ], - "wds_inventory_rest_map": [ - "incore:inventoryRestorationMap" - ], - "wds_time_results": [ - "incore:waterFacilityRestorationTime" - ], - "epf_damage": [ - "incore:epfDamageVer3" - ] + "epf_network": ["incore:epnNetwork"], + "wds_network": ["incore:waterNetwork"], + "epf_wds_intdp_table": ["incore:networkInterdependencyTable"], + "wds_epf_intdp_table": ["incore:networkInterdependencyTable"], + "epf_subst_failure_results": ["incore:failureProbability"], + "epf_inventory_rest_map": ["incore:inventoryRestorationMap"], + "epf_time_results": ["incore:epfRestorationTime"], + "wds_dmg_results": ["ergo:waterFacilityDamageVer6"], + "wds_inventory_rest_map": ["incore:inventoryRestorationMap"], + "wds_time_results": ["incore:waterFacilityRestorationTime"], + "epf_damage": ["incore:epfDamageVer3"] } }, "studio-WaterFacilityRestoration": { @@ -1011,20 +893,12 @@ ] }, "pretty_name": "Water Facility Restoration", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "water_facility_restoration.html", "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "damage": [ - "ergo:waterFacilityDamageVer6" - ] + "water_facilities": ["ergo:waterFacilityTopo"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"], + "damage": ["ergo:waterFacilityDamageVer6"] } }, "studio-WaterFacilityDamage": { @@ -1050,21 +924,12 @@ }, "before": {}, "pretty_name": "Water Facility Damage", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "waterfacility_dmg.html", "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "hazard": ["earthquake", "tsunami"], + "water_facilities": ["ergo:waterFacilityTopo"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-CapitalShocks": { @@ -1133,22 +998,12 @@ ] }, "pretty_name": "Capital Shocks", - "tags": [ - "Economic" - ], + "tags": ["Economic"], "manual": "capital_shocks.html", "inputs": { - "buildings": [ - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "buildings_to_sectors": [ - "incore:buildingsToSectors" - ], - "failure_probability": [ - "incore:failureProbability" - ] + "buildings": ["ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7"], + "buildings_to_sectors": ["incore:buildingsToSectors"], + "failure_probability": ["incore:failureProbability"] } }, "studio-CommercialBuildingRecovery": { @@ -1196,9 +1051,7 @@ }, "after": {}, "pretty_name": "Commercial Building Recovery", - "tags": [ - "Socioeconomic" - ], + "tags": ["Socioeconomic"], "manual": "commercial_building_recovery.html", "inputs": { "buildings": [ @@ -1207,21 +1060,11 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "mcs_failure": [ - "incore:failureProbability" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" - ], - "building_dmg": [ - "ergo:buildingDamageVer6" - ] + "dfr3_mapping_set": ["incore:dfr3MappingSet"], + "sample_damage_states": ["incore:sampleDamageState"], + "mcs_failure": ["incore:failureProbability"], + "delay_factors": ["incore:buildingRecoveryFactors"], + "building_dmg": ["ergo:buildingDamageVer6"] } }, "studio-CumulativeBuildingDamage": { @@ -1294,19 +1137,11 @@ ] }, "pretty_name": "Cumulative Building Damage", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "cumulative_building_dmg.html", "inputs": { - "eq_bldg_dmg": [ - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" - ], - "tsunami_bldg_dmg": [ - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" - ] + "eq_bldg_dmg": ["ergo:buildingDamageVer5", "ergo:buildingDamageVer6"], + "tsunami_bldg_dmg": ["ergo:buildingDamageVer5", "ergo:buildingDamageVer6"] } }, "studio-JoplinEmpiricalBuildingRestoration": { @@ -1338,9 +1173,7 @@ }, "after": {}, "pretty_name": "Joplin Empirical Building Restoration", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "", "inputs": { "buildings": [ @@ -1359,9 +1192,7 @@ "ergo:nsBuildingInventoryDamageVer3", "ergo:nsBuildingInventoryDamageVer4" ], - "building_functionality_level": [ - "incore:buildingFuncTargetVer1" - ] + "building_functionality_level": ["incore:buildingFuncTargetVer1"] } }, "studio-MeanDamage": { @@ -1491,12 +1322,16 @@ "from": "result", "to": "population_dislocation_block" } + ], + "studio-DislPostProcessTool": [ + { + "from": "result", + "to": "Dislocation Output" + } ] }, "pretty_name": "Population Dislocation", - "tags": [ - "Socioeconomic" - ], + "tags": ["Socioeconomic"], "manual": "populationdislocation.html", "inputs": { "building_dmg": [ @@ -1505,15 +1340,9 @@ "ergo:buildingDamageVer6", "ergo:buildingInventory" ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" - ], - "block_group_data": [ - "incore:blockGroupData" - ], - "value_loss_param": [ - "incore:valuLossParam" - ] + "housing_unit_allocation": ["incore:housingUnitAllocation"], + "block_group_data": ["incore:blockGroupData"], + "value_loss_param": ["incore:valuLossParam"] } }, "studio-RoadDamage": { @@ -1533,24 +1362,12 @@ }, "before": {}, "pretty_name": "Road Damage", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "road_dmg.html", "inputs": { - "hazard": [ - "earthquake", - "hurricane", - "tsunami" - ], - "roads": [ - "ergo:roadLinkTopo", - "incore:roads", - "ergo:roadLinkTopoVer2" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "hazard": ["earthquake", "hurricane", "tsunami"], + "roads": ["ergo:roadLinkTopo", "incore:roads", "ergo:roadLinkTopoVer2"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-PipelineDamage": { @@ -1564,22 +1381,12 @@ }, "before": {}, "pretty_name": "Pipeline Damage", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "pipeline_dmg.html", "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "hazard": ["earthquake", "tsunami"], + "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-EpfRepairCost": { @@ -1604,25 +1411,13 @@ ] }, "pretty_name": "Electric Power Facility Repair Cost", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "epf_repair_cost.html", "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" - ], - "replacement_cost": [ - "incore:replacementCost" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "epf_dmg_ratios": [ - "incore:epfDamageRatios" - ] + "epfs": ["incore:epf", "ergo:epf", "incore:epfVer2"], + "replacement_cost": ["incore:replacementCost"], + "sample_damage_states": ["incore:sampleDamageState"], + "epf_dmg_ratios": ["incore:epfDamageRatios"] } }, "studio-ResidentialBuildingRecovery": { @@ -1636,10 +1431,7 @@ }, "after": {}, "pretty_name": "Residential Building Recovery", - "tags": [ - "Socioeconomic", - "Decision Support" - ], + "tags": ["Socioeconomic", "Decision Support"], "manual": "residential_building_recovery.html", "inputs": { "buildings": [ @@ -1648,21 +1440,11 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "socio_demographic_data": [ - "incore:socioDemograhicData" - ], - "financial_resources": [ - "incore:householdFinancialResources" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" - ] + "dfr3_mapping_set": ["incore:dfr3MappingSet"], + "sample_damage_states": ["incore:sampleDamageState"], + "socio_demographic_data": ["incore:socioDemograhicData"], + "financial_resources": ["incore:householdFinancialResources"], + "delay_factors": ["incore:buildingRecoveryFactors"] } }, "studio-WaterFacilityRepairCost": { @@ -1687,23 +1469,13 @@ ] }, "pretty_name": "Water Facility Repair Cost", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "water_facility_repair_cost.html", "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "replacement_cost": [ - "incore:replacementCost" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "wf_dmg_ratios": [ - "incore:waterFacilityDamageRatios" - ] + "water_facilities": ["ergo:waterFacilityTopo"], + "replacement_cost": ["incore:replacementCost"], + "sample_damage_states": ["incore:sampleDamageState"], + "wf_dmg_ratios": ["incore:waterFacilityDamageRatios"] } }, "studio-BuyoutDecision": { @@ -1743,29 +1515,19 @@ }, "after": {}, "pretty_name": "Buyout Decision", - "tags": [ - "Decision Support" - ], + "tags": ["Decision Support"], "manual": "buyout_decision.html", "inputs": { - "past_building_damage": [ - "ergo:buildingDamageVer6" - ], - "future_building_damage": [ - "ergo:buildingDamageVer6" - ], + "past_building_damage": ["ergo:buildingDamageVer6"], + "future_building_damage": ["ergo:buildingDamageVer6"], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" - ], - "population_dislocation": [ - "incore:popDislocation" - ] + "housing_unit_allocation": ["incore:housingUnitAllocation"], + "population_dislocation": ["incore:popDislocation"] } }, "studio-HousingValuationRecovery": { @@ -1779,23 +1541,13 @@ }, "after": {}, "pretty_name": "Housing Valuation Recovery", - "tags": [ - "Socioeconomic" - ], + "tags": ["Socioeconomic"], "manual": "housing_recovery.html", "inputs": { - "population_dislocation": [ - "incore:popDislocation" - ], - "building_area": [ - "incore:buildingInventoryArea" - ], - "census_block_groups_data": [ - "incore:censusBlockGroupsData" - ], - "census_appraisal_data": [ - "incore:censusAppraisalData" - ] + "population_dislocation": ["incore:popDislocation"], + "building_area": ["incore:buildingInventoryArea"], + "census_block_groups_data": ["incore:censusBlockGroupsData"], + "census_appraisal_data": ["incore:censusAppraisalData"] } }, "studio-EpfRestoration": { @@ -1830,23 +1582,12 @@ ] }, "pretty_name": "Electric Power Facility Restoration", - "tags": [ - "LifeLine" - ], + "tags": ["LifeLine"], "manual": "epf_restoration.html", "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "damage": [ - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3" - ] + "epfs": ["incore:epf", "ergo:epf"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"], + "damage": ["incore:epfDamage", "incore:epfDamageVer2", "incore:epfDamageVer3"] } }, "studio-HousingUnitAllocation": { @@ -1866,9 +1607,7 @@ }, "before": {}, "pretty_name": "Housing Unit Allocation", - "tags": [ - "Socioeconomic" - ], + "tags": ["Socioeconomic"], "manual": "housingunitallocation.html", "inputs": { "buildings": [ @@ -1877,12 +1616,8 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "housing_unit_inventory": [ - "incore:housingUnitInventory" - ], - "address_point_inventory": [ - "incore:addressPoints" - ] + "housing_unit_inventory": ["incore:housingUnitInventory"], + "address_point_inventory": ["incore:addressPoints"] } }, "studio-GalvestonCGEModel": { @@ -1894,40 +1629,43 @@ } ] }, - "after": {}, + "after": { + "studio-CGEPostProcessTool": [ + { + "from": "household-count", + "to": "Household Count" + }, + { + "from": "domestic-supply", + "to": "Domestic supply" + }, + { + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" + } + ] + }, "pretty_name": "Galveston CGE Model", - "tags": [ - "Economic" - ], + "tags": ["Economic"], "manual": "galveston_cge.html", "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "JOBCR": [ - "incore:CGEjobcr" - ], - "OUTCR": [ - "incore:CGEoutcr" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] + "SAM": ["incore:CGEsam"], + "BB": ["incore:CGEbb"], + "IOUT": ["incore:CGEiout"], + "MISC": ["incore:CGEmisc"], + "MISCH": ["incore:CGEmisch"], + "EMPLOY": ["incore:CGEemploy"], + "JOBCR": ["incore:CGEjobcr"], + "OUTCR": ["incore:CGEoutcr"], + "sector_shocks": ["incore:capitalShocks"] } }, "studio-JoplinCGEModel": { @@ -1939,49 +1677,46 @@ } ] }, - "after": {}, + "after": { + "studio-CGEPostProcessTool": [ + { + "from": "household-count", + "to": "Household Count" + }, + { + "from": "domestic-supply", + "to": "Domestic supply" + }, + { + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" + } + ] + }, "pretty_name": "Joplin CGE Model", - "tags": [ - "Economic" - ], + "tags": ["Economic"], "manual": "joplin_cge.html", "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "LANDCAP": [ - "incore:CGElandcap" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "IGTD": [ - "incore:CGEigtd" - ], - "TAUFF": [ - "incore:CGEtauff" - ], - "JOBCR": [ - "incore:CGEjobcr" - ], - "OUTCR": [ - "incore:CGEoutcr" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] + "SAM": ["incore:CGEsam"], + "BB": ["incore:CGEbb"], + "IOUT": ["incore:CGEiout"], + "MISC": ["incore:CGEmisc"], + "MISCH": ["incore:CGEmisch"], + "LANDCAP": ["incore:CGElandcap"], + "EMPLOY": ["incore:CGEemploy"], + "IGTD": ["incore:CGEigtd"], + "TAUFF": ["incore:CGEtauff"], + "JOBCR": ["incore:CGEjobcr"], + "OUTCR": ["incore:CGEoutcr"], + "sector_shocks": ["incore:capitalShocks"] } }, "studio-MlEnabledCgeSlc": { @@ -1993,16 +1728,35 @@ } ] }, - "after": {}, + "after": { + "studio-CGEPostProcessTool": [ + { + "from": "household-count", + "to": "Household Count" + }, + { + "from": "domestic-supply", + "to": "Domestic supply" + }, + { + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" + } + ] + }, "pretty_name": "Machine Learning Enabled CGE SLC", - "tags": [ - "Economic" - ], + "tags": ["Economic"], "manual": "ml_slc_cge.html", "inputs": { - "sector_shocks": [ - "incore:capitalShocks" - ] + "sector_shocks": ["incore:capitalShocks"] } }, "studio-MlEnabledCgeJoplin": { @@ -2014,16 +1768,35 @@ } ] }, - "after": {}, + "after": { + "studio-CGEPostProcessTool": [ + { + "from": "household-count", + "to": "Household Count" + }, + { + "from": "domestic-supply", + "to": "Domestic supply" + }, + { + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" + } + ] + }, "pretty_name": "Machine Learning Enabled CGE Joplin", - "tags": [ - "Economic" - ], + "tags": ["Economic"], "manual": "ml_joplin_cge.html", "inputs": { - "sector_shocks": [ - "incore:capitalShocks" - ] + "sector_shocks": ["incore:capitalShocks"] } }, "studio-SaltLakeCGEModel": { @@ -2035,40 +1808,43 @@ } ] }, - "after": {}, + "after": { + "studio-CGEPostProcessTool": [ + { + "from": "household-count", + "to": "Household Count" + }, + { + "from": "domestic-supply", + "to": "Domestic supply" + }, + { + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" + } + ] + }, "pretty_name": "Salt Lake CGE Model", - "tags": [ - "Economic" - ], + "tags": ["Economic"], "manual": "slc_cge.html", "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "JOBCR": [ - "incore:CGEjobcr" - ], - "OUTCR": [ - "incore:CGEoutcr" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] + "SAM": ["incore:CGEsam"], + "BB": ["incore:CGEbb"], + "IOUT": ["incore:CGEiout"], + "MISC": ["incore:CGEmisc"], + "MISCH": ["incore:CGEmisch"], + "EMPLOY": ["incore:CGEemploy"], + "JOBCR": ["incore:CGEjobcr"], + "OUTCR": ["incore:CGEoutcr"], + "sector_shocks": ["incore:capitalShocks"] } }, "studio-SeasideCGEModel": { @@ -2082,32 +1858,16 @@ }, "after": {}, "pretty_name": "Seaside CGE Model", - "tags": [ - "Economic" - ], + "tags": ["Economic"], "manual": "seaside_cge.html", "inputs": { - "SAM": [ - "incore:SeasideCGEsam" - ], - "BB": [ - "incore:SeasideCGEbb" - ], - "HHTABLE": [ - "incore:SeasideCGEhhtable" - ], - "EMPLOY": [ - "incore:SeasideCGEemploy" - ], - "JOBCR": [ - "incore:SeasideCGEjobcr" - ], - "SIMS": [ - "incore:SeasideCGEsim" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] + "SAM": ["incore:SeasideCGEsam"], + "BB": ["incore:SeasideCGEbb"], + "HHTABLE": ["incore:SeasideCGEhhtable"], + "EMPLOY": ["incore:SeasideCGEemploy"], + "JOBCR": ["incore:SeasideCGEjobcr"], + "SIMS": ["incore:SeasideCGEsim"], + "sector_shocks": ["incore:capitalShocks"] } }, "studio-CombinedWindWaveSurgeBuildingDamage": { @@ -2212,20 +1972,12 @@ ] }, "pretty_name": "Combined Wind Wave Surge Building Damage", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "combined_wind_wave_surge_building_dmg.html", "inputs": { - "wind_damage": [ - "ergo:buildingDamageVer6" - ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" - ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" - ] + "wind_damage": ["ergo:buildingDamageVer6"], + "surge_wave_damage": ["ergo:buildingDamageVer6"], + "flood_damage": ["ergo:nsBuildingInventoryDamageVer4"] } }, "studio-CombinedWindWaveSurgeBuildingLoss": { @@ -2259,9 +2011,7 @@ }, "after": {}, "pretty_name": "Combined Wind Wave Surge Building Loss", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "combined_wind_wave_surge_building_loss.html", "inputs": { "buildings": [ @@ -2270,21 +2020,11 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "wind_damage": [ - "ergo:buildingDamageVer6" - ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" - ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" - ], - "structural_cost": [ - "incore:structuralCostRatio" - ], - "content_cost": [ - "incore:contentCostRatio" - ] + "wind_damage": ["ergo:buildingDamageVer6"], + "surge_wave_damage": ["ergo:buildingDamageVer6"], + "flood_damage": ["ergo:nsBuildingInventoryDamageVer4"], + "structural_cost": ["incore:structuralCostRatio"], + "content_cost": ["incore:contentCostRatio"] } }, "studio-BuildingNonStructDamage": { @@ -2322,28 +2062,18 @@ }, "before": {}, "pretty_name": "Building Non-Structural Damage", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "building_nonstructural_dmg.html", "inputs": { - "hazard": [ - "earthquake", - "flood", - "hurricane" - ], + "hazard": ["earthquake", "flood", "hurricane"], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "retrofit_strategy": [ - "incore:retrofitStrategy" - ] + "dfr3_mapping_set": ["incore:dfr3MappingSet"], + "retrofit_strategy": ["incore:retrofitStrategy"] } }, "studio-PipelineRepairCost": { @@ -2364,24 +2094,13 @@ ] }, "pretty_name": "Pipeline Repair Cost", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "pipeline_repair_cost.html", "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "replacement_cost": [ - "incore:replacementCost" - ], - "pipeline_dmg": [ - "ergo:pipelineDamageVer3" - ], - "pipeline_dmg_ratios": [ - "incore:pipelineDamageRatios" - ] + "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], + "replacement_cost": ["incore:replacementCost"], + "pipeline_dmg": ["ergo:pipelineDamageVer3"], + "pipeline_dmg_ratios": ["incore:pipelineDamageRatios"] } }, "studio-BuildingStructuralDamage": { @@ -2455,34 +2174,28 @@ "from": "ds_result", "to": "building_dmg" } + ], + "studio-MaxDamageStateTool": [ + { + "from": "ds_result", + "to": "Output dataset" + } ] }, "before": {}, "pretty_name": "Building Structural Damage", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "building_structural_dmg.html", "inputs": { - "hazard": [ - "earthquake", - "tornado", - "hurricane", - "flood", - "tsunami" - ], + "hazard": ["earthquake", "tornado", "hurricane", "flood", "tsunami"], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "retrofit_strategy": [ - "incore:retrofitStrategy" - ] + "dfr3_mapping_set": ["incore:dfr3MappingSet"], + "retrofit_strategy": ["incore:retrofitStrategy"] } }, "studio-BuildingEconLoss": { @@ -2496,9 +2209,7 @@ }, "after": {}, "pretty_name": "Building Economic Loss", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "building_loss.html", "inputs": { "buildings": [ @@ -2508,12 +2219,8 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "building_mean_dmg": [ - "ergo:meanDamage" - ], - "occupancy_multiplier": [ - "incore:buildingOccupancyMultiplier" - ] + "building_mean_dmg": ["ergo:meanDamage"], + "occupancy_multiplier": ["incore:buildingOccupancyMultiplier"] } }, "studio-BridgeDamage": { @@ -2529,30 +2236,22 @@ "from": "result", "to": "damage" } + ], + "studio-MaxDamageStateTool": [ + { + "from": "ds_result", + "to": "Output dataset" + } ] }, "before": {}, "pretty_name": "Bridge Damage", - "tags": [ - "Bridge" - ], + "tags": ["Bridge"], "manual": "bridge_dmg.html", "inputs": { - "hazard": [ - "earthquake", - "tornado", - "hurricane", - "flood", - "tsunami" - ], - "bridges": [ - "ergo:bridges", - "ergo:bridgesVer2", - "ergo:bridgesVer3" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "hazard": ["earthquake", "tornado", "hurricane", "flood", "tsunami"], + "bridges": ["ergo:bridges", "ergo:bridgesVer2", "ergo:bridgesVer3"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-EpfDamage": { @@ -2574,30 +2273,22 @@ "from": "result", "to": "epf_damage" } + ], + "studio-MaxDamageStateTool": [ + { + "from": "ds_result", + "to": "Output dataset" + } ] }, "before": {}, "pretty_name": "Electric Power Facility Damage", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "epf_dmg.html", "inputs": { - "hazard": [ - "earthquake", - "tornado", - "hurricane", - "flood", - "tsunami" - ], - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "hazard": ["earthquake", "tornado", "hurricane", "flood", "tsunami"], + "epfs": ["incore:epf", "ergo:epf", "incore:epfVer2"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-PipelineDamageRepairRate": { @@ -2623,143 +2314,78 @@ }, "before": {}, "pretty_name": "Pipeline Damage Repair Rate", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "pipeline_dmg_w_repair_rate.html", "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "hazard": ["earthquake", "tsunami"], + "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-BuildingClusterRecovery": { "before": {}, "after": {}, "pretty_name": "Building Cluster Recovery", - "tags": [ - "Building" - ], + "tags": ["Building"], "manual": "building_cluster_recovery.html", "inputs": { - "building_data": [ - "incore:portfolioBuildingInventory" - ], - "occupancy_mapping": [ - "incore:portfolioOccupancyMapping" - ], - "building_damage": [ - "incore:portfolioBuildingDamage" - ], - "dmg_ratios": [ - "incore:portfolioDamageRatios" - ], - "utility": [ - "incore:portfolioUtilityAvailability" - ], - "utility_partial": [ - "incore:portfolioUtilityAvailability" - ], - "coefFL": [ - "incore:portfolioCoefficients" - ] + "building_data": ["incore:portfolioBuildingInventory"], + "occupancy_mapping": ["incore:portfolioOccupancyMapping"], + "building_damage": ["incore:portfolioBuildingDamage"], + "dmg_ratios": ["incore:portfolioDamageRatios"], + "utility": ["incore:portfolioUtilityAvailability"], + "utility_partial": ["incore:portfolioUtilityAvailability"], + "coefFL": ["incore:portfolioCoefficients"] } }, "studio-GasFacilityDamage": { "before": {}, "after": {}, "pretty_name": "Gas Facility Damage", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "gas_facility_damage.html", "inputs": { - "hazard": [ - "earthquake" - ], - "gas_facilities": [ - "ergo:gasFacilityInventory" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] + "hazard": ["earthquake"], + "gas_facilities": ["ergo:gasFacilityInventory"], + "dfr3_mapping_set": ["incore:dfr3MappingSet"] } }, "studio-MultiObjectiveRetrofitOptimization": { "before": {}, "after": {}, "pretty_name": "Multi-Objective Retrofit Optimization", - "tags": [ - "Decision Support" - ], + "tags": ["Decision Support"], "manual": "multi_retrofit_optimization.html", "inputs": { - "building_related_data": [ - "incore:multiobjectiveBuildingRelatedData" - ], - "strategy_costs_data": [ - "incore:multiobjectiveStrategyCosts" - ] + "building_related_data": ["incore:multiobjectiveBuildingRelatedData"], + "strategy_costs_data": ["incore:multiobjectiveStrategyCosts"] } }, "studio-TornadoEpnDamage": { "before": {}, "after": {}, "pretty_name": "Tornado Electric Power Network Damage", - "tags": [ - "Lifeline" - ], + "tags": ["Lifeline"], "manual": "tornadoepn_dmg.html", "inputs": { - "hazard": [ - "tornado" - ], - "epn_network": [ - "incore:epnNetwork" - ], - "tornado": [ - "incore:tornadoWindfield" - ] + "hazard": ["tornado"], + "epn_network": ["incore:epnNetwork"], + "tornado": ["incore:tornadoWindfield"] } }, "studio-TrafficFlowRecovery": { "before": {}, "after": {}, "pretty_name": "Traffic Flow Recovery", - "tags": [ - "Decision Support", - "Lifeline" - ], + "tags": ["Decision Support", "Lifeline"], "manual": "traffic_flow_recovery.html", "inputs": { - "nodes": [ - "ergo:roadNetwork" - ], - "links": [ - "ergo:roadNetwork" - ], - "bridges": [ - "ergo:bridges", - "ergo:bridgesVer2", - "ergo:bridgesVer3" - ], - "bridge_damage_value": [ - "incore:bridgeDamageValue" - ], - "unrepaired_bridge": [ - "incore:unrepairedBridge" - ], - "ADT": [ - "incore:ADT" - ] + "nodes": ["ergo:roadNetwork"], + "links": ["ergo:roadNetwork"], + "bridges": ["ergo:bridges", "ergo:bridgesVer2", "ergo:bridgesVer3"], + "bridge_damage_value": ["incore:bridgeDamageValue"], + "unrepaired_bridge": ["incore:unrepairedBridge"], + "ADT": ["incore:ADT"] } }, "studio-MaxDamageStateTool": { @@ -2767,69 +2393,59 @@ "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "output_dataset" + "to": "Output dataset" } ], "studio-EpfDamage": [ { "from": "ds_result", - "to": "output_dataset" + "to": "Output dataset" } ], "studio-BridgeDamage": [ { "from": "ds_result", - "to": "output_dataset" + "to": "Output dataset" } ] }, "after": { "studio-BuildingDamageSummaryTool": [ { - "from": "max_damage", - "to": "max_damage_state" + "from": "Max Damage", + "to": "Max Damage State" } ] }, "pretty_name": "Max Damage State Tool", - "tags": [ - "Pyincore Utility" - ], + "tags": ["Pyincore Utility"], "manual": null, "inputs": { - "output_dataset": [ - "ergo:buildingDamageVer6" - ] + "Output dataset": ["ergo:buildingDamageVer6"] } }, "studio-BuildingDamageSummaryTool": { "before": { "studio-MaxDamageStateTool": [ { - "from": "max_damage", - "to": "max_damage_state" + "from": "Max Damage", + "to": "Max Damage State" } ] }, "after": {}, "pretty_name": "Building Damage Summary Tool", - "tags": [ - "Pyincore Utility" - ], + "tags": ["Pyincore Utility"], "manual": null, "inputs": { - "max_damage_state": [ - "Max damage State type" - ], - "buildings": [ + "Max Damage State": ["Max damage State type"], + "Buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "archetype_mapping": [ - "Archetype Mapping type" - ] + "Archetype Mapping": ["Archetype Mapping type"] } }, "studio-CGEPostProcessTool": { @@ -2837,136 +2453,124 @@ "studio-SaltLakeCGEModel": [ { "from": "household-count", - "to": "household-count" + "to": "Household Count" }, { "from": "domestic-supply", - "to": "domestic-supply" + "to": "Domestic supply" }, { "from": "gross-income", - "to": "gross-income" + "to": "Gross Income" }, { "from": "pre-disaster-factor-demand", - "to": "pre-disaster-factor-demand" + "to": "Pre Demand" }, { "from": "post-disaster-factor-demand", - "to": "post-disaster-factor-demand" + "to": "Post Demand" } ], "studio-JoplinCGEModel": [ { "from": "household-count", - "to": "household-count" + "to": "Household Count" }, { "from": "domestic-supply", - "to": "domestic-supply" + "to": "Domestic supply" }, { "from": "gross-income", - "to": "gross-income" + "to": "Gross Income" }, { "from": "pre-disaster-factor-demand", - "to": "pre-disaster-factor-demand" + "to": "Pre Demand" }, { "from": "post-disaster-factor-demand", - "to": "post-disaster-factor-demand" + "to": "Post Demand" } ], "studio-GalvestonCGEModel": [ { "from": "household-count", - "to": "household-count" + "to": "Household Count" }, { "from": "domestic-supply", - "to": "domestic-supply" + "to": "Domestic supply" }, { "from": "gross-income", - "to": "gross-income" + "to": "Gross Income" }, { "from": "pre-disaster-factor-demand", - "to": "pre-disaster-factor-demand" + "to": "Pre Demand" }, { "from": "post-disaster-factor-demand", - "to": "post-disaster-factor-demand" + "to": "Post Demand" } ], "studio-MlEnabledCgeJoplin": [ { "from": "household-count", - "to": "household-count" + "to": "Household Count" }, { "from": "domestic-supply", - "to": "domestic-supply" + "to": "Domestic supply" }, { "from": "gross-income", - "to": "gross-income" + "to": "Gross Income" }, { "from": "pre-disaster-factor-demand", - "to": "pre-disaster-factor-demand" + "to": "Pre Demand" }, { "from": "post-disaster-factor-demand", - "to": "post-disaster-factor-demand" + "to": "Post Demand" } ], "studio-MlEnabledCgeSlc": [ { "from": "household-count", - "to": "household-count" + "to": "Household Count" }, { "from": "domestic-supply", - "to": "domestic-supply" + "to": "Domestic supply" }, { "from": "gross-income", - "to": "gross-income" + "to": "Gross Income" }, { "from": "pre-disaster-factor-demand", - "to": "pre-disaster-factor-demand" + "to": "Pre Demand" }, { "from": "post-disaster-factor-demand", - "to": "post-disaster-factor-demand" + "to": "Post Demand" } ] }, "after": {}, "pretty_name": "CGE Post Process Tool", - "tags": [ - "Pyincore Utility" - ], + "tags": ["Pyincore Utility"], "manual": null, "inputs": { - "household-count": [ - "incore:HouseholdCount" - ], - "domestic-supply": [ - "incore:Employment" - ], - "gross-income": [ - "incore:Employment" - ], - "pre-disaster-factor-demand":[ - "incore:FactorDemand" - ], - "post-disaster-factor-demand":[ - "incore:FactorDemand" - ] + "Household Count": ["incore:HouseholdCount"], + "Domestic supply": ["incore:Employment"], + "Gross Income": ["incore:Employment"], + "Pre Demand": ["incore:FactorDemand"], + "Post Demand": ["incore:FactorDemand"] } }, "studio-DislPostProcessTool": { @@ -2974,20 +2578,16 @@ "studio-PopulationDislocation": [ { "from": "result", - "to": "dislocation-output" + "to": "Dislocation Output" } ] }, "after": {}, "pretty_name": "Population Dislocation Post Process Tool", - "tags": [ - "Pyincore Utility" - ], + "tags": ["Pyincore Utility"], "manual": null, "inputs": { - "dislocation-output": [ - "incore:popDislocation" - ] + "Dislocation Output": ["incore:popDislocation"] } }, "studio-BuildingFailureClusterTool": { @@ -2995,29 +2595,23 @@ "studio-MonteCarloLimitStateProbability": [ { "from": "failure_probability", - "to": "building_failure_probability" + "to": "Building Failure Probability" } ] }, "after": {}, "pretty_name": "Building Failure Cluster Tool", - "tags": [ - "Pyincore Utility" - ], + "tags": ["Pyincore Utility"], "manual": null, "inputs": { - "building_failure_probability": [ - "incore:failureProbability" - ], - "buildings": [ + "Building Failure Probability": ["incore:failureProbability"], + "Buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "archetype_mapping": [ - "Archetype Mapping type" - ] + "Archetype Mapping": ["Archetype Mapping type"] } }, "studio-BuildingFunctionalityClusterTool": { @@ -3025,29 +2619,23 @@ "studio-BuildingFunctionality": [ { "from": "functionality_probability", - "to": "functionality_probability" + "to": "Functionality Probability" } ] }, "after": {}, "pretty_name": "Building Functionality Cluster Tool", - "tags": [ - "Pyincore Utility" - ], + "tags": ["Pyincore Utility"], "manual": null, "inputs": { - "functionality_probability": [ - "incore:funcProbability" - ], - "buildings": [ + "Functionality Probability": ["incore:funcProbability"], + "Buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "archetype_mapping": [ - "Archetype Mapping type" - ] + "Archetype Mapping": ["Archetype Mapping type"] } } -} \ No newline at end of file +} From 1ddb1457df62d41c459810f73d7dda98bc364411 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Mon, 21 Apr 2025 14:54:57 -0400 Subject: [PATCH 13/19] add default values for parameters in graph --- .../pyincore_utils/create_dependency_graph.py | 6 + utils/pyincore_utils/dependencyGraph.json | 3645 ++++++++++------- 2 files changed, 2261 insertions(+), 1390 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 3b8e062..a430e6b 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -673,8 +673,10 @@ for analysis_name, analysis_class in analysis_classes.items(): spec = analysis_class.get_spec() dependency_graph[analysis_name]["inputs"] = dict() + dependency_graph[analysis_name]["parameter_defaults"] = dict() hazards = spec.get("input_hazards", []) datasets = spec.get("input_datasets", []) + parameters = spec.get("input_parameters", []) for hazard in hazards: dependency_graph[analysis_name]["inputs"][hazard["id"]] = ( hazard["type"] if isinstance(hazard["type"], list) else [hazard["type"]] @@ -683,6 +685,10 @@ dependency_graph[analysis_name]["inputs"][dataset["id"]] = ( dataset["type"] if isinstance(dataset["type"], list) else [dataset["type"]] ) + for parameter in parameters: + dependency_graph[analysis_name]["parameter_defaults"][parameter["id"]] = ( + parameter.get("studio-default", None) + ) # add tools to dependency graph for key, value in tools.items(): diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index 6d048ef..fb5df19 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -1,150 +1,346 @@ { - "studio-BuildingFunctionality": { + "studio-BuildingEconLoss": { "before": { - "studio-EpnFunctionality": [ + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "from": "result", + "to": "building_mean_dmg" + } + ] + }, + "after": {}, + "pretty_name": "Building Economic Loss", + "tags": [ + "Building" + ], + "manual": "building_loss.html", + "inputs": { + "buildings": [ + "ergo:buildingInventory", + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "building_mean_dmg": [ + "ergo:meanDamage" + ], + "occupancy_multiplier": [ + "incore:buildingOccupancyMultiplier" + ] + }, + "parameter_defaults": { + "result_name": "building-econ-loss-result", + "inflation_factor": 0.0 + } + }, + "studio-MeanDamage": { + "after": { + "studio-BuildingEconLoss": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "result", + "to": "building_mean_dmg" + } + ] + }, + "before": { + "studio-BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "damage" } ], - "studio-PipelineFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "combined-result", + "to": "damage" + } + ], + "studio-BridgeDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "from": "result", + "to": "damage" + } + ], + "studio-BuildingNonStructDamage": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "result", + "to": "damage" } ], - "studio-WfnFunctionality": [ + "studio-RoadDamage": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "result", + "to": "damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "damage" + } + ] + }, + "pretty_name": "Mean Damage", + "tags": [], + "manual": "mean_dmg.html", + "inputs": { + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3" + ], + "dmg_ratios": [ + "ergo:buildingDamageRatios", + "ergo:bridgeDamageRatios", + "ergo:buildingContentDamageRatios", + "ergo:buildingASDamageRatios", + "ergo:buildingDSDamageRatios", + "ergo:roadDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "mean-damage-result", + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", + "num_cpu": 1 + } + }, + "studio-CumulativeBuildingDamage": { + "before": { + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "combined-result", + "to": "eq_bldg_dmg" } ] }, "after": { - "studio-BuildingFunctionalityClusterTool": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "functionality_probability", - "to": "Functionality Probability" + "from": "combined-result", + "to": "building_dmg" + } + ], + "studio-PopulationDislocation": [ + { + "from": "combined-result", + "to": "building_dmg" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "combined-result", + "to": "damage" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "combined-result", + "to": "eq_bldg_dmg" + } + ], + "studio-MeanDamage": [ + { + "from": "combined-result", + "to": "damage" } ] }, - "pretty_name": "Building Functionality", - "tags": ["Building"], - "manual": "building_func.html", + "pretty_name": "Cumulative Building Damage", + "tags": [ + "Building" + ], + "manual": "cumulative_building_dmg.html", "inputs": { - "building_damage_mcs_samples": ["incore:sampleFailureState"], - "substations_damage_mcs_samples": ["incore:sampleFailureState"], - "poles_damage_mcs_samples": ["incore:sampleFailureState"], - "interdependency_dictionary": ["incore:buildingInterdependencyDict"] + "eq_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" + ], + "tsunami_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" + ] + }, + "parameter_defaults": { + "result_name": "cumulative-building-damage-result", + "num_cpu": 4 } }, - "studio-EpnFunctionality": { + "studio-JoplinEmpiricalBuildingRestoration": { "before": { - "studio-EpnFunctionality": [ + "studio-BuildingNonStructDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "building_dmg" } ], - "studio-WfnFunctionality": [ + "studio-BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-PipelineFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "combined-result", + "to": "building_dmg" } ] }, - "after": { - "studio-INDP": [ + "after": {}, + "pretty_name": "Joplin Empirical Building Restoration", + "tags": [ + "Building" + ], + "manual": "", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "building_dmg": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4" + ], + "building_functionality_level": [ + "incore:buildingFuncTargetVer1" + ] + }, + "parameter_defaults": { + "result_name": "joplin-empirical-building-restoration", + "target_functionality_level": 0, + "seed": 1234 + } + }, + "studio-MonteCarloLimitStateProbability": { + "before": { + "studio-PipelineDamage": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "result", + "to": "damage" + } + ], + "studio-BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "from": "ds_result", + "to": "damage" + } + ], + "studio-WaterFacilityDamage": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "result", + "to": "damage" } ], - "studio-BuildingFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "combined-result", + "to": "damage" + } + ], + "studio-EpfDamage": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "from": "result", + "to": "damage" + } + ], + "studio-BridgeDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "result", + "to": "damage" } ], - "studio-NciFunctionality": [ + "studio-BuildingNonStructDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "result", + "to": "damage" } ], - "studio-EpnFunctionality": [ + "studio-RoadDamage": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ] + }, + "after": { + "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], "studio-CommercialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + }, { "from": "failure_probability", "to": "mcs_failure" @@ -156,40 +352,19 @@ "to": "failure_probability" } ], - "studio-WfnFunctionality": [ + "studio-INDP": [ { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", - "to": "pp_sample_failure_state" - } - ] - }, - "pretty_name": "Electric Power Network Functionality", - "tags": ["Lifeline"], - "manual": "epn_functionality.html", - "inputs": { - "epn_network": ["incore:epnNetwork"], - "epf_sample_failure_state": ["incore:sampleFailureState"] - } - }, - "studio-INDP": { - "before": { - "studio-MonteCarloLimitStateProbability": [ + "to": "epf_failure_state" + }, { "from": "sample_damage_states", "to": "wf_damage_state" }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, { "from": "sample_failure_state", "to": "wf_failure_state" @@ -199,198 +374,243 @@ "to": "epf_damage_state" } ], - "studio-PipelineFunctionality": [ + "studio-WaterFacilityRepairCost": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "pp_sample_failure_state" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "wf_sample_failure_state" } ], - "studio-PopulationDislocation": [ + "studio-NciFunctionality": [ { - "from": "result", - "to": "pop_dislocation" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-WfnFunctionality": [ + "studio-EpnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "to": "epf_sample_failure_state" + } + ], + "studio-ResidentialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "studio-EpfRepairCost": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "studio-WaterFacilityRepairCost": [ + "studio-BuildingFailureClusterTool": [ { - "from": "result", - "to": "epf_repair_cost" - }, + "from": "failure_probability", + "to": "Building Failure Probability" + } + ] + }, + "pretty_name": "Monte Carlo Limit State Probability", + "tags": [ + "Decision Support" + ], + "manual": "mc_limit_state_prob.html", + "inputs": { + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:waterFacilityDamageVer4", + "ergo:waterFacilityDamageVer5", + "ergo:waterFacilityDamageVer6", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3", + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3", + "incore:pipelineDamage", + "incore:pipelineDamageVer2", + "incore:pipelineDamageVer3" + ] + }, + "parameter_defaults": { + "result_name": "monte_carlo_limit_state_probability-result", + "num_cpu": 8, + "num_samples": 10, + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", + "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", + "seed": 1234 + } + }, + "studio-PopulationDislocation": { + "before": { + "studio-HousingUnitAllocation": [ { "from": "result", - "to": "wf_repair_cost" + "to": "housing_unit_allocation" } ], - "studio-EpfRepairCost": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", - "to": "wf_repair_cost" - }, + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-WaterFacilityRestoration": [ + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "building_dmg" + } + ] + }, + "after": { + "studio-HousingRecoverySequential": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "result", + "to": "population_dislocation_block" } ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "studio-BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "result", + "to": "population_dislocation" } ], - "studio-EpfRestoration": [ + "studio-INDP": [ { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "result", + "to": "pop_dislocation" } ], - "studio-PipelineRestoration": [ + "studio-HousingValuationRecovery": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "result", + "to": "population_dislocation" } ], - "studio-PipelineRepairCost": [ + "studio-DislPostProcessTool": [ { "from": "result", - "to": "pipeline_repair_cost" + "to": "Dislocation Output" } ] }, - "after": {}, - "pretty_name": "Infrastructure Network Disruption Planning", - "tags": ["Decision Support"], - "manual": "indp.html", + "pretty_name": "Population Dislocation", + "tags": [ + "Socioeconomic" + ], + "manual": "populationdislocation.html", "inputs": { - "wf_repair_cost": ["incore:repairCost"], - "wf_restoration_time": ["incore:waterFacilityRepairTime"], - "epf_repair_cost": ["incore:repairCost"], - "epf_restoration_time": ["incore:epfRepairTime"], - "pipeline_repair_cost": ["incore:pipelineRepairCost"], - "pipeline_restoration_time": ["incore:pipelineRestorationVer1"], - "power_network": ["incore:epnNetwork"], - "water_network": ["incore:waterNetwork"], - "powerline_supply_demand_info": ["incore:powerLineSupplyDemandInfo"], - "epf_supply_demand_info": ["incore:epfSupplyDemandInfo"], - "wf_supply_demand_info": ["incore:waterFacilitySupplyDemandInfo"], - "pipeline_supply_demand_info": ["incore:pipelineSupplyDemandInfo"], - "interdep": ["incore:interdep"], - "wf_failure_state": ["incore:sampleFailureState"], - "wf_damage_state": ["incore:sampleDamageState"], - "pipeline_failure_state": ["incore:sampleFailureState"], - "epf_failure_state": ["incore:sampleFailureState"], - "epf_damage_state": ["incore:sampleDamageState"], - "dt_params": ["incore:dTParams"], - "pop_dislocation": ["incore:popDislocation"], - "bldgs2elec": ["incore:bldgs2elec"], - "bldgs2wter": ["incore:bldgs2wter"] + "building_dmg": [ + "ergo:buildingInventoryVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory" + ], + "housing_unit_allocation": [ + "incore:housingUnitAllocation" + ], + "block_group_data": [ + "incore:blockGroupData" + ], + "value_loss_param": [ + "incore:valuLossParam" + ] + }, + "parameter_defaults": { + "result_name": "population-dislocation-result", + "seed": 1234, + "choice_dislocation": false, + "choice_dislocation_cutoff": 0.0, + "choice_dislocation_ds": null, + "unsafe_occupancy": false, + "unsafe_occupancy_cutoff": 0.0, + "unsafe_occupancy_ds": null } }, - "studio-WfnFunctionality": { + "studio-PipelineFunctionality": { "before": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-PipelineDamageRepairRate": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "result", + "to": "pipeline_repair_rate_damage" } - ], - "studio-EpnFunctionality": [ + ] + }, + "after": { + "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } - ], - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "poles_damage_mcs_samples" } ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-CapitalShocks": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } - ] - }, - "after": { + ], "studio-INDP": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "wf_failure_state" } ], - "studio-BuildingFunctionality": [ + "studio-CommercialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "pp_sample_failure_state" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "wf_sample_failure_state" } ], "studio-NciFunctionality": [ @@ -404,1083 +624,1518 @@ "from": "sample_failure_state", "to": "epf_sample_failure_state" } - ], - "studio-CommercialBuildingRecovery": [ + ] + }, + "pretty_name": "Pipeline Functionality", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_functionality.html", + "inputs": { + "pipeline_repair_rate_damage": [ + "ergo:pipelineDamageVer3" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-functionality-result", + "num_samples": 100 + } + }, + "studio-PipelineRepairCost": { + "before": { + "studio-PipelineDamageRepairRate": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "pipeline_dmg" } - ], - "studio-CapitalShocks": [ + ] + }, + "after": { + "studio-INDP": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "pipeline_repair_cost" } + ] + }, + "pretty_name": "Pipeline Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_repair_cost.html", + "inputs": { + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], - "studio-WfnFunctionality": [ + "replacement_cost": [ + "incore:replacementCost" + ], + "pipeline_dmg": [ + "ergo:pipelineDamageVer3" + ], + "pipeline_dmg_ratios": [ + "incore:pipelineDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-repair-cost-result", + "num_cpu": 1, + "diameter": 20, + "segment_length": 20 + } + }, + "studio-PipelineRestoration": { + "before": { + "studio-PipelineDamageRepairRate": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "from": "result", + "to": "pipeline_damage" + } + ] + }, + "after": { + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ] }, - "pretty_name": "Water Facility Network Functionality", - "tags": ["Lifeline"], - "manual": "wfn_functionality.html", + "pretty_name": "Pipeline Restoration", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_restoration.html", "inputs": { - "wfn_network": ["incore:waterNetwork"], - "wf_sample_failure_state": ["incore:sampleFailureState"], - "pp_sample_failure_state": ["incore:sampleFailureState"] + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "pipeline_damage": [ + "ergo:pipelineDamageVer2", + "ergo:pipelineDamageVer3" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-restoration-result", + "num_cpu": 1, + "num_available_workers": 4, + "restoration_key": "Restoration ID Code" } }, - "studio-MonteCarloLimitStateProbability": { + "studio-PipelineDamageRepairRate": { "after": { - "studio-INDP": [ + "studio-PipelineFunctionality": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "result", + "to": "pipeline_repair_rate_damage" + } + ], + "studio-PipelineRestoration": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "from": "result", + "to": "pipeline_damage" + } + ], + "studio-PipelineRepairCost": [ { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, + "from": "result", + "to": "pipeline_dmg" + } + ] + }, + "before": {}, + "pretty_name": "Pipeline Damage Repair Rate", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_dmg_w_repair_rate.html", + "inputs": { + "hazard": [ + "earthquake", + "tsunami" + ], + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-damage-repair-rate-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null + } + }, + "studio-CapitalShocks": { + "before": { + "studio-PipelineFunctionality": [ { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-CommercialBuildingRecovery": [ + "studio-WfnFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" - }, + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-EpnFunctionality": [ { "from": "failure_probability", - "to": "mcs_failure" + "to": "failure_probability" + } + ] + }, + "after": { + "studio-SaltLakeCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-SeasideCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "studio-MlEnabledCgeJoplin": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-JoplinCGEModel": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-NciFunctionality": [ + "studio-MlEnabledCgeSlc": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-EpnFunctionality": [ + "studio-GalvestonCGEModel": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } + ] + }, + "pretty_name": "Capital Shocks", + "tags": [ + "Economic" + ], + "manual": "capital_shocks.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "studio-CapitalShocks": [ + "buildings_to_sectors": [ + "incore:buildingsToSectors" + ], + "failure_probability": [ + "incore:failureProbability" + ] + }, + "parameter_defaults": { + "result_name": "capital-shocks-result" + } + }, + "studio-CommercialBuildingRecovery": { + "before": { + "studio-BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-WaterFacilityRepairCost": [ + "studio-WfnFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-ResidentialBuildingRecovery": [ + "studio-EpnFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-WfnFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "failure_probability", + "to": "mcs_failure" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "studio-EpfRepairCost": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-BuildingFailureClusterTool": [ + "studio-PipelineFunctionality": [ { "from": "failure_probability", - "to": "Building Failure Probability" + "to": "mcs_failure" } ] }, + "after": {}, + "pretty_name": "Commercial Building Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "commercial_building_recovery.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "mcs_failure": [ + "incore:failureProbability" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ], + "building_dmg": [ + "ergo:buildingDamageVer6" + ] + }, + "parameter_defaults": { + "result_name": "commercial-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + } + }, + "studio-NciFunctionality": { "before": { - "studio-RoadDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-PipelineDamage": [ + "studio-WaterFacilityDamage": [ { "from": "result", - "to": "damage" + "to": "wds_dmg_results" } ], - "studio-EpfDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-BuildingStructuralDamage": [ + "studio-WfnFunctionality": [ { - "from": "ds_result", - "to": "damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-WaterFacilityRestoration": [ { - "from": "ds_result", - "to": "damage" - } - ], - "studio-CumulativeBuildingDamage": [ + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, { - "from": "combined-result", - "to": "damage" + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], - "studio-BridgeDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-WaterFacilityDamage": [ + "studio-EpfRestoration": [ { - "from": "result", - "to": "damage" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" } ], - "studio-BuildingNonStructDamage": [ + "studio-EpfDamage": [ { "from": "result", - "to": "damage" + "to": "epf_damage" } ] }, - "pretty_name": "Monte Carlo Limit State Probability", - "tags": ["Decision Support"], - "manual": "mc_limit_state_prob.html", + "after": {}, + "pretty_name": "Network Cascading Interdependency Functionality", + "tags": [ + "Decision Support" + ], + "manual": "nci_functionality.html", "inputs": { - "damage": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:waterFacilityDamageVer4", - "ergo:waterFacilityDamageVer5", - "ergo:waterFacilityDamageVer6", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3", - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3", - "incore:pipelineDamage", - "incore:pipelineDamageVer2", - "incore:pipelineDamageVer3" + "epf_network": [ + "incore:epnNetwork" + ], + "wds_network": [ + "incore:waterNetwork" + ], + "epf_wds_intdp_table": [ + "incore:networkInterdependencyTable" + ], + "wds_epf_intdp_table": [ + "incore:networkInterdependencyTable" + ], + "epf_subst_failure_results": [ + "incore:failureProbability" + ], + "epf_inventory_rest_map": [ + "incore:inventoryRestorationMap" + ], + "epf_time_results": [ + "incore:epfRestorationTime" + ], + "wds_dmg_results": [ + "ergo:waterFacilityDamageVer6" + ], + "wds_inventory_rest_map": [ + "incore:inventoryRestorationMap" + ], + "wds_time_results": [ + "incore:waterFacilityRestorationTime" + ], + "epf_damage": [ + "incore:epfDamageVer3" ] + }, + "parameter_defaults": { + "result_name": "nci-functionality-result", + "discretized_days": "[1, 3, 7, 30, 90]" } }, - "studio-PipelineFunctionality": { + "studio-EpnFunctionality": { "after": { - "studio-INDP": [ + "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "poles_damage_mcs_samples" } ], - "studio-BuildingFunctionality": [ + "studio-CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-INDP": [ { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "wf_failure_state" } ], - "studio-NciFunctionality": [ + "studio-CommercialBuildingRecovery": [ { "from": "failure_probability", - "to": "epf_subst_failure_results" + "to": "mcs_failure" } ], - "studio-EpnFunctionality": [ + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ], - "studio-CommercialBuildingRecovery": [ + "to": "pp_sample_failure_state" + }, { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "studio-CapitalShocks": [ + "studio-NciFunctionality": [ { "from": "failure_probability", - "to": "failure_probability" + "to": "epf_subst_failure_results" } ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-EpnFunctionality": [ { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "epf_sample_failure_state" } ] }, "before": { - "studio-PipelineDamageRepairRate": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ] - }, - "pretty_name": "Pipeline Functionality", - "tags": ["Lifeline"], - "manual": "pipeline_functionality.html", - "inputs": { - "pipeline_repair_rate_damage": ["ergo:pipelineDamageVer3"] - } - }, - "studio-HousingRecoverySequential": { - "before": { - "studio-PopulationDislocation": [ + ], + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "population_dislocation_block" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-SocialVulnerabilityScore": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sv_result", - "to": "sv_result" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ] - }, - "after": {}, - "pretty_name": "Housing Recovery Sequential", - "tags": ["Socioeconomic", "Decision Support"], - "manual": "housing_household_recovery.html", - "inputs": { - "population_dislocation_block": ["incore:popDislocation"], - "tpm": ["incore:houseRecTransitionProbMatrix"], - "initial_stage_probabilities": ["incore:houseRecInitialStageProbability"], - "sv_result": ["incore:socialVulnerabilityScore"], - "zone_def_sv": ["incore:zoneDefinitionsSocialVulnerability"], - "zone_def_hhinc": ["incore:zoneDefinitionsHouseholdIncome"] - } - }, - "studio-SocialVulnerabilityScore": { - "after": { - "studio-HousingRecoverySequential": [ + ], + "studio-WfnFunctionality": [ { - "from": "sv_result", - "to": "sv_result" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "before": {}, - "pretty_name": "Social Vulnerability Score", - "tags": ["Socioeconomic"], - "manual": "social_vulnerability_score.html", + "pretty_name": "Electric Power Network Functionality", + "tags": [ + "Lifeline" + ], + "manual": "epn_functionality.html", "inputs": { - "national_vulnerability_feature_averages": ["incore:socialVulnerabilityFeatureAverages"], - "social_vulnerability_demographic_factors": ["incore:socialVulnerabilityDemFactors"] + "epn_network": [ + "incore:epnNetwork" + ], + "epf_sample_failure_state": [ + "incore:sampleFailureState" + ] + }, + "parameter_defaults": { + "result_name": "epn-functionality-result", + "gate_station_node_list": null } }, - "studio-PipelineRestoration": { + "studio-WfnFunctionality": { "after": { - "studio-INDP": [ + "studio-BuildingFunctionality": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ] - }, - "before": { - "studio-PipelineDamageRepairRate": [ + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, { - "from": "result", - "to": "pipeline_damage" - } - ] - }, - "pretty_name": "Pipeline Restoration", - "tags": ["Lifeline"], - "manual": "pipeline_restoration.html", - "inputs": { - "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], - "pipeline_damage": ["ergo:pipelineDamageVer2", "ergo:pipelineDamageVer3"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] - } - }, - "studio-NciFunctionality": { - "before": { - "studio-EpnFunctionality": [ + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "studio-PipelineFunctionality": [ + "studio-CapitalShocks": [ { "from": "failure_probability", - "to": "epf_subst_failure_results" + "to": "failure_probability" } ], - "studio-WaterFacilityRestoration": [ + "studio-INDP": [ { - "from": "time_results", - "to": "wds_time_results" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "studio-WaterFacilityDamage": [ + "studio-CommercialBuildingRecovery": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "failure_probability", + "to": "mcs_failure" } ], "studio-WfnFunctionality": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-NciFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "studio-EpfRestoration": [ - { - "from": "time_results", - "to": "epf_time_results" - }, - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - } - ], - "studio-EpfDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "epf_damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "after": {}, - "pretty_name": "Network Cascading Interdependency Functionality", - "tags": ["Decision Support"], - "manual": "nci_functionality.html", - "inputs": { - "epf_network": ["incore:epnNetwork"], - "wds_network": ["incore:waterNetwork"], - "epf_wds_intdp_table": ["incore:networkInterdependencyTable"], - "wds_epf_intdp_table": ["incore:networkInterdependencyTable"], - "epf_subst_failure_results": ["incore:failureProbability"], - "epf_inventory_rest_map": ["incore:inventoryRestorationMap"], - "epf_time_results": ["incore:epfRestorationTime"], - "wds_dmg_results": ["ergo:waterFacilityDamageVer6"], - "wds_inventory_rest_map": ["incore:inventoryRestorationMap"], - "wds_time_results": ["incore:waterFacilityRestorationTime"], - "epf_damage": ["incore:epfDamageVer3"] - } - }, - "studio-WaterFacilityRestoration": { "before": { - "studio-WaterFacilityDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } - ] - }, - "after": { - "studio-NciFunctionality": [ + ], + "studio-EpnFunctionality": [ { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "time_results", - "to": "wds_time_results" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-INDP": [ + "studio-PipelineFunctionality": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ] }, - "pretty_name": "Water Facility Restoration", - "tags": ["Lifeline"], - "manual": "water_facility_restoration.html", + "pretty_name": "Water Facility Network Functionality", + "tags": [ + "Lifeline" + ], + "manual": "wfn_functionality.html", "inputs": { - "water_facilities": ["ergo:waterFacilityTopo"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"], - "damage": ["ergo:waterFacilityDamageVer6"] + "wfn_network": [ + "incore:waterNetwork" + ], + "wf_sample_failure_state": [ + "incore:sampleFailureState" + ], + "pp_sample_failure_state": [ + "incore:sampleFailureState" + ] + }, + "parameter_defaults": { + "result_name": "wfn-functionality-result", + "tank_node_list": "[]", + "pumpstation_node_list": "[]" } }, - "studio-WaterFacilityDamage": { - "after": { - "studio-NciFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingDamage": { + "before": { + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", - "to": "damage" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ], - "studio-WaterFacilityRestoration": [ + "studio-BuildingNonStructDamage": [ { "from": "result", - "to": "damage" + "to": "flood_damage" } ] }, - "before": {}, - "pretty_name": "Water Facility Damage", - "tags": ["Lifeline"], - "manual": "waterfacility_dmg.html", - "inputs": { - "hazard": ["earthquake", "tsunami"], - "water_facilities": ["ergo:waterFacilityTopo"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] - } - }, - "studio-CapitalShocks": { - "before": { - "studio-PipelineFunctionality": [ + "after": { + "studio-CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" } ], - "studio-EpnFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "damage" } ], - "studio-WfnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "failure_probability" - } - ] - }, - "after": { - "studio-GalvestonCGEModel": [ + "from": "ds_result", + "to": "surge_wave_damage" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "wind_damage" } ], - "studio-MlEnabledCgeJoplin": [ + "studio-CommercialBuildingRecovery": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-SeasideCGEModel": [ + "studio-BuyoutDecision": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } ], - "studio-JoplinCGEModel": [ + "studio-MeanDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "damage" } ], - "studio-MlEnabledCgeSlc": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-SaltLakeCGEModel": [ + "studio-PopulationDislocation": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "building_dmg" } ] }, - "pretty_name": "Capital Shocks", - "tags": ["Economic"], - "manual": "capital_shocks.html", + "pretty_name": "Combined Wind Wave Surge Building Damage", + "tags": [ + "Building" + ], + "manual": "combined_wind_wave_surge_building_dmg.html", "inputs": { - "buildings": ["ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7"], - "buildings_to_sectors": ["incore:buildingsToSectors"], - "failure_probability": ["incore:failureProbability"] + "wind_damage": [ + "ergo:buildingDamageVer6" + ], + "surge_wave_damage": [ + "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" + ] + }, + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-damage-result" } }, - "studio-CommercialBuildingRecovery": { + "studio-CombinedWindWaveSurgeBuildingLoss": { "before": { - "studio-EpnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], - "studio-PipelineFunctionality": [ + "studio-BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ], - "studio-WfnFunctionality": [ + "studio-BuildingNonStructDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "flood_damage" } + ] + }, + "after": {}, + "pretty_name": "Combined Wind Wave Surge Building Loss", + "tags": [ + "Building" + ], + "manual": "combined_wind_wave_surge_building_loss.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "wind_damage": [ + "ergo:buildingDamageVer6" + ], + "surge_wave_damage": [ + "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" ], + "structural_cost": [ + "incore:structuralCostRatio" + ], + "content_cost": [ + "incore:contentCostRatio" + ] + }, + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-loss-result" + } + }, + "studio-BuildingNonStructDamage": { + "after": { "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" - }, + "from": "result", + "to": "damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "flood_damage" } ], - "studio-BuildingStructuralDamage": [ + "studio-MeanDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "ds_result", + "from": "result", + "to": "flood_damage" + } + ], + "studio-JoplinEmpiricalBuildingRestoration": [ + { + "from": "result", "to": "building_dmg" } ] }, - "after": {}, - "pretty_name": "Commercial Building Recovery", - "tags": ["Socioeconomic"], - "manual": "commercial_building_recovery.html", + "before": {}, + "pretty_name": "Building Non-Structural Damage", + "tags": [ + "Building" + ], + "manual": "building_nonstructural_dmg.html", "inputs": { + "hazard": [ + "earthquake", + "flood", + "hurricane" + ], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": ["incore:dfr3MappingSet"], - "sample_damage_states": ["incore:sampleDamageState"], - "mcs_failure": ["incore:failureProbability"], - "delay_factors": ["incore:buildingRecoveryFactors"], - "building_dmg": ["ergo:buildingDamageVer6"] + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" + ] + }, + "parameter_defaults": { + "result_name": "building-nonstruct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": "Acceleration-Sensitive Fragility ID Code", + "use_liquefaction": true, + "liq_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 } }, - "studio-CumulativeBuildingDamage": { + "studio-EpfRestoration": { "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + "studio-EpfDamage": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "result", + "to": "damage" } - ], - "studio-BuildingStructuralDamage": [ + ] + }, + "after": { + "studio-NciFunctionality": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" }, { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "time_results", + "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" } ], - "studio-CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "eq_bldg_dmg" - }, + "studio-INDP": [ { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "repair_times", + "to": "epf_restoration_time" } ] }, - "after": { - "studio-PopulationDislocation": [ - { - "from": "combined-result", - "to": "building_dmg" - } + "pretty_name": "Electric Power Facility Restoration", + "tags": [ + "LifeLine" + ], + "manual": "epf_restoration.html", + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf" ], - "studio-CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "eq_bldg_dmg" - }, + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "damage": [ + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3" + ] + }, + "parameter_defaults": { + "result_name": "epf-restoration-result", + "restoration_key": null, + "end_time": 365.0, + "time_interval": 1.0, + "pf_interval": 0.1, + "discretized_days": "[1, 3, 7, 30, 90]" + } + }, + "studio-EpfDamage": { + "after": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "result", + "to": "damage" } ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-NciFunctionality": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "result", + "to": "epf_damage" } ], - "studio-MeanDamage": [ + "studio-EpfRestoration": [ { - "from": "combined-result", + "from": "result", "to": "damage" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-MaxDamageStateTool": [ { - "from": "combined-result", - "to": "damage" + "from": "ds_result", + "to": "Output dataset" } ] }, - "pretty_name": "Cumulative Building Damage", - "tags": ["Building"], - "manual": "cumulative_building_dmg.html", + "before": {}, + "pretty_name": "Electric Power Facility Damage", + "tags": [ + "Lifeline" + ], + "manual": "epf_dmg.html", "inputs": { - "eq_bldg_dmg": ["ergo:buildingDamageVer5", "ergo:buildingDamageVer6"], - "tsunami_bldg_dmg": ["ergo:buildingDamageVer5", "ergo:buildingDamageVer6"] + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "epf-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "liquefaction_fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 } }, - "studio-JoplinEmpiricalBuildingRestoration": { - "before": { - "studio-BuildingNonStructDamage": [ + "studio-WaterFacilityRestoration": { + "after": { + "studio-NciFunctionality": [ + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, { - "from": "result", - "to": "building_dmg" - } - ], - "studio-BuildingStructuralDamage": [ + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, { - "from": "ds_result", - "to": "building_dmg" + "from": "time_results", + "to": "wds_time_results" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-INDP": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "repair_times", + "to": "wf_restoration_time" } - ], - "studio-CumulativeBuildingDamage": [ + ] + }, + "before": { + "studio-WaterFacilityDamage": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Joplin Empirical Building Restoration", - "tags": ["Building"], - "manual": "", + "pretty_name": "Water Facility Restoration", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_restoration.html", "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "water_facilities": [ + "ergo:waterFacilityTopo" ], - "building_dmg": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ], - "building_functionality_level": ["incore:buildingFuncTargetVer1"] + "damage": [ + "ergo:waterFacilityDamageVer6" + ] + }, + "parameter_defaults": { + "result_name": "water-facility-restoration-result", + "restoration_key": "Restoration ID Code", + "end_time": 100.0, + "time_interval": 1.0, + "pf_interval": 0.05, + "discretized_days": "[1, 3, 7, 30, 90]" } }, - "studio-MeanDamage": { + "studio-BuildingFunctionality": { "before": { - "studio-RoadDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, { - "from": "ds_result", - "to": "damage" - } - ], - "studio-BuildingStructuralDamage": [ + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, { - "from": "ds_result", - "to": "damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], - "studio-CumulativeBuildingDamage": [ + "studio-EpnFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], - "studio-BridgeDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], - "studio-BuildingNonStructDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ] }, "after": { - "studio-BuildingEconLoss": [ + "studio-BuildingFunctionalityClusterTool": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "functionality_probability", + "to": "Functionality Probability" } ] }, - "pretty_name": "Mean Damage", - "tags": [], - "manual": "mean_dmg.html", + "pretty_name": "Building Functionality", + "tags": [ + "Building" + ], + "manual": "building_func.html", "inputs": { - "damage": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3" + "building_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "dmg_ratios": [ - "ergo:buildingDamageRatios", - "ergo:bridgeDamageRatios", - "ergo:buildingContentDamageRatios", - "ergo:buildingASDamageRatios", - "ergo:buildingDSDamageRatios", - "ergo:roadDamageRatios" + "substations_damage_mcs_samples": [ + "incore:sampleFailureState" + ], + "poles_damage_mcs_samples": [ + "incore:sampleFailureState" + ], + "interdependency_dictionary": [ + "incore:buildingInterdependencyDict" ] + }, + "parameter_defaults": { + "result_name": "bldg-functionality-result" } }, - "studio-PopulationDislocation": { + "studio-INDP": { "before": { - "studio-BuildingStructuralDamage": [ + "studio-PipelineFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "studio-HousingUnitAllocation": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-PopulationDislocation": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "pop_dislocation" } ], - "studio-CumulativeBuildingDamage": [ + "studio-EpfRepairCost": [ { - "from": "combined-result", - "to": "building_dmg" - } - ] - }, - "after": { - "studio-INDP": [ + "from": "result", + "to": "epf_repair_cost" + }, { "from": "result", - "to": "pop_dislocation" + "to": "wf_repair_cost" } ], - "studio-BuyoutDecision": [ + "studio-PipelineRepairCost": [ { "from": "result", - "to": "population_dislocation" + "to": "pipeline_repair_cost" } ], - "studio-HousingValuationRecovery": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "population_dislocation" + "from": "sample_damage_states", + "to": "epf_damage_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "wf_damage_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "studio-HousingRecoverySequential": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "population_dislocation_block" + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "studio-DislPostProcessTool": [ + "studio-WaterFacilityRepairCost": [ { "from": "result", - "to": "Dislocation Output" + "to": "epf_repair_cost" + }, + { + "from": "result", + "to": "wf_repair_cost" + } + ], + "studio-EpfRestoration": [ + { + "from": "repair_times", + "to": "epf_restoration_time" } - ] - }, - "pretty_name": "Population Dislocation", - "tags": ["Socioeconomic"], - "manual": "populationdislocation.html", - "inputs": { - "building_dmg": [ - "ergo:buildingInventoryVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory" ], - "housing_unit_allocation": ["incore:housingUnitAllocation"], - "block_group_data": ["incore:blockGroupData"], - "value_loss_param": ["incore:valuLossParam"] - } - }, - "studio-RoadDamage": { - "after": { - "studio-MeanDamage": [ + "studio-WaterFacilityRestoration": [ { - "from": "result", - "to": "damage" + "from": "repair_times", + "to": "wf_restoration_time" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-PipelineRestoration": [ { - "from": "result", - "to": "damage" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ] }, - "before": {}, - "pretty_name": "Road Damage", - "tags": ["Lifeline"], - "manual": "road_dmg.html", + "after": {}, + "pretty_name": "Infrastructure Network Disruption Planning", + "tags": [ + "Decision Support" + ], + "manual": "indp.html", "inputs": { - "hazard": ["earthquake", "hurricane", "tsunami"], - "roads": ["ergo:roadLinkTopo", "incore:roads", "ergo:roadLinkTopoVer2"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] - } - }, - "studio-PipelineDamage": { - "after": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } + "wf_repair_cost": [ + "incore:repairCost" + ], + "wf_restoration_time": [ + "incore:waterFacilityRepairTime" + ], + "epf_repair_cost": [ + "incore:repairCost" + ], + "epf_restoration_time": [ + "incore:epfRepairTime" + ], + "pipeline_repair_cost": [ + "incore:pipelineRepairCost" + ], + "pipeline_restoration_time": [ + "incore:pipelineRestorationVer1" + ], + "power_network": [ + "incore:epnNetwork" + ], + "water_network": [ + "incore:waterNetwork" + ], + "powerline_supply_demand_info": [ + "incore:powerLineSupplyDemandInfo" + ], + "epf_supply_demand_info": [ + "incore:epfSupplyDemandInfo" + ], + "wf_supply_demand_info": [ + "incore:waterFacilitySupplyDemandInfo" + ], + "pipeline_supply_demand_info": [ + "incore:pipelineSupplyDemandInfo" + ], + "interdep": [ + "incore:interdep" + ], + "wf_failure_state": [ + "incore:sampleFailureState" + ], + "wf_damage_state": [ + "incore:sampleDamageState" + ], + "pipeline_failure_state": [ + "incore:sampleFailureState" + ], + "epf_failure_state": [ + "incore:sampleFailureState" + ], + "epf_damage_state": [ + "incore:sampleDamageState" + ], + "dt_params": [ + "incore:dTParams" + ], + "pop_dislocation": [ + "incore:popDislocation" + ], + "bldgs2elec": [ + "incore:bldgs2elec" + ], + "bldgs2wter": [ + "incore:bldgs2wter" ] }, - "before": {}, - "pretty_name": "Pipeline Damage", - "tags": ["Lifeline"], - "manual": "pipeline_dmg.html", - "inputs": { - "hazard": ["earthquake", "tsunami"], - "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] + "parameter_defaults": { + "network_type": "from_csv", + "MAGS": "[1000]", + "sample_range": "[0]", + "dislocation_data_type": "incore", + "return_model": "step_function", + "testbed_name": null, + "extra_commodity": null, + "RC": null, + "layers": null, + "method": "INDP", + "t_steps": 10, + "time_resource": true, + "save_model": false, + "solver_engine": null, + "solver_path": null, + "solver_time_limit": null } }, - "studio-EpfRepairCost": { + "studio-BuyoutDecision": { "before": { - "studio-MonteCarloLimitStateProbability": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } - ] - }, - "after": { - "studio-INDP": [ + ], + "studio-PopulationDislocation": [ { "from": "result", - "to": "wf_repair_cost" - }, + "to": "population_dislocation" + } + ], + "studio-HousingUnitAllocation": [ { "from": "result", - "to": "epf_repair_cost" + "to": "housing_unit_allocation" } - ] - }, - "pretty_name": "Electric Power Facility Repair Cost", - "tags": ["Lifeline"], - "manual": "epf_repair_cost.html", - "inputs": { - "epfs": ["incore:epf", "ergo:epf", "incore:epfVer2"], - "replacement_cost": ["incore:replacementCost"], - "sample_damage_states": ["incore:sampleDamageState"], - "epf_dmg_ratios": ["incore:epfDamageRatios"] - } - }, - "studio-ResidentialBuildingRecovery": { - "before": { - "studio-MonteCarloLimitStateProbability": [ + ], + "studio-BuildingStructuralDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } ] }, "after": {}, - "pretty_name": "Residential Building Recovery", - "tags": ["Socioeconomic", "Decision Support"], - "manual": "residential_building_recovery.html", + "pretty_name": "Buyout Decision", + "tags": [ + "Decision Support" + ], + "manual": "buyout_decision.html", "inputs": { + "past_building_damage": [ + "ergo:buildingDamageVer6" + ], + "future_building_damage": [ + "ergo:buildingDamageVer6" + ], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": ["incore:dfr3MappingSet"], - "sample_damage_states": ["incore:sampleDamageState"], - "socio_demographic_data": ["incore:socioDemograhicData"], - "financial_resources": ["incore:householdFinancialResources"], - "delay_factors": ["incore:buildingRecoveryFactors"] + "housing_unit_allocation": [ + "incore:housingUnitAllocation" + ], + "population_dislocation": [ + "incore:popDislocation" + ] + }, + "parameter_defaults": { + "fema_buyout_cap": 250000.0, + "residential_archetypes": null, + "result_name": "buyout-decision-result" } }, - "studio-WaterFacilityRepairCost": { - "before": { + "studio-BuildingStructuralDamage": { + "after": { + "studio-CumulativeBuildingDamage": [ + { + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + } + ], "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "damage" } - ] - }, - "after": { - "studio-INDP": [ + ], + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "ds_result", + "to": "wind_damage" } - ] - }, - "pretty_name": "Water Facility Repair Cost", - "tags": ["Lifeline"], - "manual": "water_facility_repair_cost.html", - "inputs": { - "water_facilities": ["ergo:waterFacilityTopo"], - "replacement_cost": ["incore:replacementCost"], - "sample_damage_states": ["incore:sampleDamageState"], - "wf_dmg_ratios": ["incore:waterFacilityDamageRatios"] - } - }, - "studio-BuyoutDecision": { - "before": { - "studio-BuildingStructuralDamage": [ + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-BuyoutDecision": [ { "from": "ds_result", "to": "past_building_damage" @@ -1490,134 +2145,206 @@ "to": "future_building_damage" } ], - "studio-HousingUnitAllocation": [ + "studio-MeanDamage": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "ds_result", + "to": "damage" } ], - "studio-PopulationDislocation": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "result", - "to": "population_dislocation" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-PopulationDislocation": [ { "from": "ds_result", - "to": "future_building_damage" - }, + "to": "building_dmg" + } + ], + "studio-MaxDamageStateTool": [ { "from": "ds_result", - "to": "past_building_damage" + "to": "Output dataset" } ] }, - "after": {}, - "pretty_name": "Buyout Decision", - "tags": ["Decision Support"], - "manual": "buyout_decision.html", + "before": {}, + "pretty_name": "Building Structural Damage", + "tags": [ + "Building" + ], + "manual": "building_structural_dmg.html", "inputs": { - "past_building_damage": ["ergo:buildingDamageVer6"], - "future_building_damage": ["ergo:buildingDamageVer6"], + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "housing_unit_allocation": ["incore:housingUnitAllocation"], - "population_dislocation": ["incore:popDislocation"] + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" + ] + }, + "parameter_defaults": { + "result_name": "building-struct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "use_hazard_uncertainty": false, + "num_cpu": 1, + "seed": 1234, + "liquefaction_geology_dataset_id": null } }, - "studio-HousingValuationRecovery": { + "studio-EpfRepairCost": { "before": { - "studio-PopulationDislocation": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "population_dislocation" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "after": {}, - "pretty_name": "Housing Valuation Recovery", - "tags": ["Socioeconomic"], - "manual": "housing_recovery.html", - "inputs": { - "population_dislocation": ["incore:popDislocation"], - "building_area": ["incore:buildingInventoryArea"], - "census_block_groups_data": ["incore:censusBlockGroupsData"], - "census_appraisal_data": ["incore:censusAppraisalData"] - } - }, - "studio-EpfRestoration": { "after": { - "studio-NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, + "studio-INDP": [ { - "from": "time_results", - "to": "epf_time_results" + "from": "result", + "to": "wf_repair_cost" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "result", + "to": "epf_repair_cost" } + ] + }, + "pretty_name": "Electric Power Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "epf_repair_cost.html", + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" ], - "studio-INDP": [ - { - "from": "repair_times", - "to": "epf_restoration_time" - } + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "epf_dmg_ratios": [ + "incore:epfDamageRatios" ] }, + "parameter_defaults": { + "result_name": "epf-repair-cost-result", + "num_cpu": 1 + } + }, + "studio-ResidentialBuildingRecovery": { "before": { - "studio-EpfDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "pretty_name": "Electric Power Facility Restoration", - "tags": ["LifeLine"], - "manual": "epf_restoration.html", + "after": {}, + "pretty_name": "Residential Building Recovery", + "tags": [ + "Socioeconomic", + "Decision Support" + ], + "manual": "residential_building_recovery.html", "inputs": { - "epfs": ["incore:epf", "ergo:epf"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"], - "damage": ["incore:epfDamage", "incore:epfDamageVer2", "incore:epfDamageVer3"] + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "socio_demographic_data": [ + "incore:socioDemograhicData" + ], + "financial_resources": [ + "incore:householdFinancialResources" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ] + }, + "parameter_defaults": { + "result_name": "residential-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 } }, - "studio-HousingUnitAllocation": { + "studio-WaterFacilityRepairCost": { + "before": { + "studio-MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, "after": { - "studio-BuyoutDecision": [ + "studio-INDP": [ { "from": "result", - "to": "housing_unit_allocation" - } - ], - "studio-PopulationDislocation": [ + "to": "wf_repair_cost" + }, { "from": "result", - "to": "housing_unit_allocation" + "to": "epf_repair_cost" } ] }, - "before": {}, - "pretty_name": "Housing Unit Allocation", - "tags": ["Socioeconomic"], - "manual": "housingunitallocation.html", + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_repair_cost.html", "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" ], - "housing_unit_inventory": ["incore:housingUnitInventory"], - "address_point_inventory": ["incore:addressPoints"] + "wf_dmg_ratios": [ + "incore:waterFacilityDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "water-facility-repair-cost-result", + "num_cpu": 1 } }, "studio-GalvestonCGEModel": { @@ -1654,18 +2381,42 @@ ] }, "pretty_name": "Galveston CGE Model", - "tags": ["Economic"], + "tags": [ + "Economic" + ], "manual": "galveston_cge.html", "inputs": { - "SAM": ["incore:CGEsam"], - "BB": ["incore:CGEbb"], - "IOUT": ["incore:CGEiout"], - "MISC": ["incore:CGEmisc"], - "MISCH": ["incore:CGEmisch"], - "EMPLOY": ["incore:CGEemploy"], - "JOBCR": ["incore:CGEjobcr"], - "OUTCR": ["incore:CGEoutcr"], - "sector_shocks": ["incore:capitalShocks"] + "SAM": [ + "incore:CGEsam" + ], + "BB": [ + "incore:CGEbb" + ], + "IOUT": [ + "incore:CGEiout" + ], + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + }, + "parameter_defaults": { + "model_iterations": 1, + "solver_path": null } }, "studio-JoplinCGEModel": { @@ -1702,21 +2453,51 @@ ] }, "pretty_name": "Joplin CGE Model", - "tags": ["Economic"], + "tags": [ + "Economic" + ], "manual": "joplin_cge.html", "inputs": { - "SAM": ["incore:CGEsam"], - "BB": ["incore:CGEbb"], - "IOUT": ["incore:CGEiout"], - "MISC": ["incore:CGEmisc"], - "MISCH": ["incore:CGEmisch"], - "LANDCAP": ["incore:CGElandcap"], - "EMPLOY": ["incore:CGEemploy"], - "IGTD": ["incore:CGEigtd"], - "TAUFF": ["incore:CGEtauff"], - "JOBCR": ["incore:CGEjobcr"], - "OUTCR": ["incore:CGEoutcr"], - "sector_shocks": ["incore:capitalShocks"] + "SAM": [ + "incore:CGEsam" + ], + "BB": [ + "incore:CGEbb" + ], + "IOUT": [ + "incore:CGEiout" + ], + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "LANDCAP": [ + "incore:CGElandcap" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "IGTD": [ + "incore:CGEigtd" + ], + "TAUFF": [ + "incore:CGEtauff" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + }, + "parameter_defaults": { + "model_iterations": 1, + "solver_path": null } }, "studio-MlEnabledCgeSlc": { @@ -1753,10 +2534,17 @@ ] }, "pretty_name": "Machine Learning Enabled CGE SLC", - "tags": ["Economic"], + "tags": [ + "Economic" + ], "manual": "ml_slc_cge.html", "inputs": { - "sector_shocks": ["incore:capitalShocks"] + "sector_shocks": [ + "incore:capitalShocks" + ] + }, + "parameter_defaults": { + "result_name": "salt-lake-ml-enabled-cge" } }, "studio-MlEnabledCgeJoplin": { @@ -1793,10 +2581,17 @@ ] }, "pretty_name": "Machine Learning Enabled CGE Joplin", - "tags": ["Economic"], + "tags": [ + "Economic" + ], "manual": "ml_joplin_cge.html", "inputs": { - "sector_shocks": ["incore:capitalShocks"] + "sector_shocks": [ + "incore:capitalShocks" + ] + }, + "parameter_defaults": { + "result_name": "joplin-ml-enabled-cge" } }, "studio-SaltLakeCGEModel": { @@ -1833,18 +2628,42 @@ ] }, "pretty_name": "Salt Lake CGE Model", - "tags": ["Economic"], + "tags": [ + "Economic" + ], "manual": "slc_cge.html", "inputs": { - "SAM": ["incore:CGEsam"], - "BB": ["incore:CGEbb"], - "IOUT": ["incore:CGEiout"], - "MISC": ["incore:CGEmisc"], - "MISCH": ["incore:CGEmisch"], - "EMPLOY": ["incore:CGEemploy"], - "JOBCR": ["incore:CGEjobcr"], - "OUTCR": ["incore:CGEoutcr"], - "sector_shocks": ["incore:capitalShocks"] + "SAM": [ + "incore:CGEsam" + ], + "BB": [ + "incore:CGEbb" + ], + "IOUT": [ + "incore:CGEiout" + ], + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + }, + "parameter_defaults": { + "model_iterations": 1, + "solver_path": null } }, "studio-SeasideCGEModel": { @@ -1858,534 +2677,542 @@ }, "after": {}, "pretty_name": "Seaside CGE Model", - "tags": ["Economic"], + "tags": [ + "Economic" + ], "manual": "seaside_cge.html", "inputs": { - "SAM": ["incore:SeasideCGEsam"], - "BB": ["incore:SeasideCGEbb"], - "HHTABLE": ["incore:SeasideCGEhhtable"], - "EMPLOY": ["incore:SeasideCGEemploy"], - "JOBCR": ["incore:SeasideCGEjobcr"], - "SIMS": ["incore:SeasideCGEsim"], - "sector_shocks": ["incore:capitalShocks"] - } - }, - "studio-CombinedWindWaveSurgeBuildingDamage": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "wind_damage" - }, - { - "from": "ds_result", - "to": "surge_wave_damage" - } - ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, - { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-BuildingNonStructDamage": [ - { - "from": "result", - "to": "flood_damage" - } - ] - }, - "after": { - "studio-BuyoutDecision": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, - { - "from": "ds_result", - "to": "future_building_damage" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "ds_result", - "to": "damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "wind_damage" - }, - { - "from": "ds_result", - "to": "surge_wave_damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, - { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, - { - "from": "ds_result", - "to": "eq_bldg_dmg" - } + "SAM": [ + "incore:SeasideCGEsam" ], - "studio-PopulationDislocation": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "BB": [ + "incore:SeasideCGEbb" ], - "studio-JoplinEmpiricalBuildingRestoration": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "HHTABLE": [ + "incore:SeasideCGEhhtable" ], - "studio-MeanDamage": [ - { - "from": "ds_result", - "to": "damage" - } + "EMPLOY": [ + "incore:SeasideCGEemploy" ], - "studio-CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ] - }, - "pretty_name": "Combined Wind Wave Surge Building Damage", - "tags": ["Building"], - "manual": "combined_wind_wave_surge_building_dmg.html", - "inputs": { - "wind_damage": ["ergo:buildingDamageVer6"], - "surge_wave_damage": ["ergo:buildingDamageVer6"], - "flood_damage": ["ergo:nsBuildingInventoryDamageVer4"] - } - }, - "studio-CombinedWindWaveSurgeBuildingLoss": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "wind_damage" - }, - { - "from": "ds_result", - "to": "surge_wave_damage" - } + "JOBCR": [ + "incore:SeasideCGEjobcr" ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, - { - "from": "ds_result", - "to": "wind_damage" - } + "SIMS": [ + "incore:SeasideCGEsim" ], - "studio-BuildingNonStructDamage": [ - { - "from": "result", - "to": "flood_damage" - } + "sector_shocks": [ + "incore:capitalShocks" ] }, - "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss", - "tags": ["Building"], - "manual": "combined_wind_wave_surge_building_loss.html", - "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "wind_damage": ["ergo:buildingDamageVer6"], - "surge_wave_damage": ["ergo:buildingDamageVer6"], - "flood_damage": ["ergo:nsBuildingInventoryDamageVer4"], - "structural_cost": ["incore:structuralCostRatio"], - "content_cost": ["incore:contentCostRatio"] + "parameter_defaults": { + "print_solver_output": false, + "solver_path": null } }, - "studio-BuildingNonStructDamage": { + "studio-HousingUnitAllocation": { "after": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "result", - "to": "flood_damage" - } - ], - "studio-JoplinEmpiricalBuildingRestoration": [ - { - "from": "result", - "to": "building_dmg" - } - ], - "studio-MeanDamage": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-MonteCarloLimitStateProbability": [ + "studio-BuyoutDecision": [ { "from": "result", - "to": "damage" + "to": "housing_unit_allocation" } ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ + "studio-PopulationDislocation": [ { "from": "result", - "to": "flood_damage" + "to": "housing_unit_allocation" } ] }, "before": {}, - "pretty_name": "Building Non-Structural Damage", - "tags": ["Building"], - "manual": "building_nonstructural_dmg.html", + "pretty_name": "Housing Unit Allocation", + "tags": [ + "Socioeconomic" + ], + "manual": "housingunitallocation.html", "inputs": { - "hazard": ["earthquake", "flood", "hurricane"], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": ["incore:dfr3MappingSet"], - "retrofit_strategy": ["incore:retrofitStrategy"] + "housing_unit_inventory": [ + "incore:housingUnitInventory" + ], + "address_point_inventory": [ + "incore:addressPoints" + ] + }, + "parameter_defaults": { + "result_name": "housing-unit-allocation-result", + "seed": 1234, + "iterations": 10 } }, - "studio-PipelineRepairCost": { + "studio-RoadDamage": { "after": { - "studio-INDP": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", - "to": "pipeline_repair_cost" + "to": "damage" } - ] - }, - "before": { - "studio-PipelineDamageRepairRate": [ + ], + "studio-MeanDamage": [ { "from": "result", - "to": "pipeline_dmg" + "to": "damage" } ] }, - "pretty_name": "Pipeline Repair Cost", - "tags": ["Lifeline"], - "manual": "pipeline_repair_cost.html", + "before": {}, + "pretty_name": "Road Damage", + "tags": [ + "Lifeline" + ], + "manual": "road_dmg.html", "inputs": { - "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], - "replacement_cost": ["incore:replacementCost"], - "pipeline_dmg": ["ergo:pipelineDamageVer3"], - "pipeline_dmg_ratios": ["incore:pipelineDamageRatios"] + "hazard": [ + "earthquake", + "hurricane", + "tsunami" + ], + "roads": [ + "ergo:roadLinkTopo", + "incore:roads", + "ergo:roadLinkTopoVer2" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "road-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 } }, - "studio-BuildingStructuralDamage": { + "studio-WaterFacilityDamage": { "after": { - "studio-BuyoutDecision": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, - { - "from": "ds_result", - "to": "future_building_damage" - } - ], "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "wind_damage" - }, + "studio-NciFunctionality": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "result", + "to": "wds_dmg_results" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "studio-WaterFacilityRestoration": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "damage" } - ], - "studio-CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + ] + }, + "before": {}, + "pretty_name": "Water Facility Damage", + "tags": [ + "Lifeline" + ], + "manual": "waterfacility_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tsunami" + ], + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "water-facility-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "liquefaction_fragility_key": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + } + }, + "studio-HousingRecoverySequential": { + "before": { + "studio-SocialVulnerabilityScore": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sv_result", + "to": "sv_result" } ], "studio-PopulationDislocation": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "population_dislocation_block" } + ] + }, + "after": {}, + "pretty_name": "Housing Recovery Sequential", + "tags": [ + "Socioeconomic", + "Decision Support" + ], + "manual": "housing_household_recovery.html", + "inputs": { + "population_dislocation_block": [ + "incore:popDislocation" ], - "studio-JoplinEmpiricalBuildingRestoration": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "tpm": [ + "incore:houseRecTransitionProbMatrix" ], - "studio-MeanDamage": [ - { - "from": "ds_result", - "to": "damage" - } + "initial_stage_probabilities": [ + "incore:houseRecInitialStageProbability" ], - "studio-CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "sv_result": [ + "incore:socialVulnerabilityScore" ], - "studio-MaxDamageStateTool": [ - { - "from": "ds_result", - "to": "Output dataset" - } + "zone_def_sv": [ + "incore:zoneDefinitionsSocialVulnerability" + ], + "zone_def_hhinc": [ + "incore:zoneDefinitionsHouseholdIncome" ] }, - "before": {}, - "pretty_name": "Building Structural Damage", - "tags": ["Building"], - "manual": "building_structural_dmg.html", - "inputs": { - "hazard": ["earthquake", "tornado", "hurricane", "flood", "tsunami"], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "dfr3_mapping_set": ["incore:dfr3MappingSet"], - "retrofit_strategy": ["incore:retrofitStrategy"] + "parameter_defaults": { + "result_name": "housing-recovery-sequential-result", + "t_delta": null, + "t_final": null, + "seed": 1234, + "num_cpu": 4 } }, - "studio-BuildingEconLoss": { + "studio-HousingValuationRecovery": { "before": { - "studio-MeanDamage": [ + "studio-PopulationDislocation": [ { "from": "result", - "to": "building_mean_dmg" + "to": "population_dislocation" } ] }, "after": {}, - "pretty_name": "Building Economic Loss", - "tags": ["Building"], - "manual": "building_loss.html", + "pretty_name": "Housing Valuation Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "housing_recovery.html", "inputs": { - "buildings": [ - "ergo:buildingInventory", - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "population_dislocation": [ + "incore:popDislocation" ], - "building_mean_dmg": ["ergo:meanDamage"], - "occupancy_multiplier": ["incore:buildingOccupancyMultiplier"] + "building_area": [ + "incore:buildingInventoryArea" + ], + "census_block_groups_data": [ + "incore:censusBlockGroupsData" + ], + "census_appraisal_data": [ + "incore:censusAppraisalData" + ] + }, + "parameter_defaults": { + "base_year": 2008, + "result_name": "housing-valuation-recovery-result" } }, - "studio-BridgeDamage": { + "studio-SocialVulnerabilityScore": { "after": { - "studio-MeanDamage": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-MaxDamageStateTool": [ + "studio-HousingRecoverySequential": [ { - "from": "ds_result", - "to": "Output dataset" + "from": "sv_result", + "to": "sv_result" } ] }, "before": {}, - "pretty_name": "Bridge Damage", - "tags": ["Bridge"], - "manual": "bridge_dmg.html", + "pretty_name": "Social Vulnerability Score", + "tags": [ + "Socioeconomic" + ], + "manual": "social_vulnerability_score.html", "inputs": { - "hazard": ["earthquake", "tornado", "hurricane", "flood", "tsunami"], - "bridges": ["ergo:bridges", "ergo:bridgesVer2", "ergo:bridgesVer3"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] + "national_vulnerability_feature_averages": [ + "incore:socialVulnerabilityFeatureAverages" + ], + "social_vulnerability_demographic_factors": [ + "incore:socialVulnerabilityDemFactors" + ] + }, + "parameter_defaults": { + "result_name": "social-vulnerability-score-result" } }, - "studio-EpfDamage": { + "studio-PipelineDamage": { "after": { - "studio-EpfRestoration": [ - { - "from": "result", - "to": "damage" - } - ], "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } - ], - "studio-NciFunctionality": [ - { - "from": "result", - "to": "epf_damage" - } - ], - "studio-MaxDamageStateTool": [ - { - "from": "ds_result", - "to": "Output dataset" - } ] }, "before": {}, - "pretty_name": "Electric Power Facility Damage", - "tags": ["Lifeline"], - "manual": "epf_dmg.html", + "pretty_name": "Pipeline Damage", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_dmg.html", "inputs": { - "hazard": ["earthquake", "tornado", "hurricane", "flood", "tsunami"], - "epfs": ["incore:epf", "ergo:epf", "incore:epfVer2"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] + "hazard": [ + "earthquake", + "tsunami" + ], + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null } }, - "studio-PipelineDamageRepairRate": { + "studio-BridgeDamage": { "after": { - "studio-PipelineRestoration": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", - "to": "pipeline_damage" + "to": "damage" } ], - "studio-PipelineRepairCost": [ + "studio-MeanDamage": [ { "from": "result", - "to": "pipeline_dmg" + "to": "damage" } ], - "studio-PipelineFunctionality": [ + "studio-MaxDamageStateTool": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "ds_result", + "to": "Output dataset" } ] }, "before": {}, - "pretty_name": "Pipeline Damage Repair Rate", - "tags": ["Lifeline"], - "manual": "pipeline_dmg_w_repair_rate.html", + "pretty_name": "Bridge Damage", + "tags": [ + "Bridge" + ], + "manual": "bridge_dmg.html", "inputs": { - "hazard": ["earthquake", "tsunami"], - "pipeline": ["ergo:buriedPipelineTopology", "ergo:pipeline"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], + "bridges": [ + "ergo:bridges", + "ergo:bridgesVer2", + "ergo:bridgesVer3" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "bridge-damage-result", + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 4, + "hazard_id": null, + "hazard_type": null } }, "studio-BuildingClusterRecovery": { "before": {}, "after": {}, "pretty_name": "Building Cluster Recovery", - "tags": ["Building"], + "tags": [ + "Building" + ], "manual": "building_cluster_recovery.html", "inputs": { - "building_data": ["incore:portfolioBuildingInventory"], - "occupancy_mapping": ["incore:portfolioOccupancyMapping"], - "building_damage": ["incore:portfolioBuildingDamage"], - "dmg_ratios": ["incore:portfolioDamageRatios"], - "utility": ["incore:portfolioUtilityAvailability"], - "utility_partial": ["incore:portfolioUtilityAvailability"], - "coefFL": ["incore:portfolioCoefficients"] + "building_data": [ + "incore:portfolioBuildingInventory" + ], + "occupancy_mapping": [ + "incore:portfolioOccupancyMapping" + ], + "building_damage": [ + "incore:portfolioBuildingDamage" + ], + "dmg_ratios": [ + "incore:portfolioDamageRatios" + ], + "utility": [ + "incore:portfolioUtilityAvailability" + ], + "utility_partial": [ + "incore:portfolioUtilityAvailability" + ], + "coefFL": [ + "incore:portfolioCoefficients" + ] + }, + "parameter_defaults": { + "result_name": "building-recovery-result", + "uncertainty": true, + "sample_size": 35, + "random_sample_size": 50, + "no_of_weeks": 100, + "num_cpu": 4 } }, "studio-GasFacilityDamage": { "before": {}, "after": {}, "pretty_name": "Gas Facility Damage", - "tags": ["Lifeline"], + "tags": [ + "Lifeline" + ], "manual": "gas_facility_damage.html", "inputs": { - "hazard": ["earthquake"], - "gas_facilities": ["ergo:gasFacilityInventory"], - "dfr3_mapping_set": ["incore:dfr3MappingSet"] + "hazard": [ + "earthquake" + ], + "gas_facilities": [ + "ergo:gasFacilityInventory" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "gas-facility-damage-result", + "fragility_key": null, + "liquefaction_fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1, + "hazard_id": null, + "hazard_type": null } }, "studio-MultiObjectiveRetrofitOptimization": { "before": {}, "after": {}, "pretty_name": "Multi-Objective Retrofit Optimization", - "tags": ["Decision Support"], + "tags": [ + "Decision Support" + ], "manual": "multi_retrofit_optimization.html", "inputs": { - "building_related_data": ["incore:multiobjectiveBuildingRelatedData"], - "strategy_costs_data": ["incore:multiobjectiveStrategyCosts"] + "building_related_data": [ + "incore:multiobjectiveBuildingRelatedData" + ], + "strategy_costs_data": [ + "incore:multiobjectiveStrategyCosts" + ] + }, + "parameter_defaults": { + "result_name": "multiobjective-retrofit-optimization-result", + "model_solver": "ipopt", + "num_epsilon_steps": 2, + "max_budget": "default", + "budget_available": null, + "inactive_submodels": null, + "scale_data": null, + "scaling_factor": null } }, "studio-TornadoEpnDamage": { "before": {}, "after": {}, "pretty_name": "Tornado Electric Power Network Damage", - "tags": ["Lifeline"], + "tags": [ + "Lifeline" + ], "manual": "tornadoepn_dmg.html", "inputs": { - "hazard": ["tornado"], - "epn_network": ["incore:epnNetwork"], - "tornado": ["incore:tornadoWindfield"] + "hazard": [ + "tornado" + ], + "epn_network": [ + "incore:epnNetwork" + ], + "tornado": [ + "incore:tornadoWindfield" + ] + }, + "parameter_defaults": { + "result_name": "tornado-epn-damage-result", + "tornado_id": null, + "seed": 1234 } }, "studio-TrafficFlowRecovery": { "before": {}, "after": {}, "pretty_name": "Traffic Flow Recovery", - "tags": ["Decision Support", "Lifeline"], + "tags": [ + "Decision Support", + "Lifeline" + ], "manual": "traffic_flow_recovery.html", "inputs": { - "nodes": ["ergo:roadNetwork"], - "links": ["ergo:roadNetwork"], - "bridges": ["ergo:bridges", "ergo:bridgesVer2", "ergo:bridgesVer3"], - "bridge_damage_value": ["incore:bridgeDamageValue"], - "unrepaired_bridge": ["incore:unrepairedBridge"], - "ADT": ["incore:ADT"] + "nodes": [ + "ergo:roadNetwork" + ], + "links": [ + "ergo:roadNetwork" + ], + "bridges": [ + "ergo:bridges", + "ergo:bridgesVer2", + "ergo:bridgesVer3" + ], + "bridge_damage_value": [ + "incore:bridgeDamageValue" + ], + "unrepaired_bridge": [ + "incore:unrepairedBridge" + ], + "ADT": [ + "incore:ADT" + ] + }, + "parameter_defaults": { + "num_cpu": 1, + "pm": 1, + "ini_num_population": 5, + "population_size": 3, + "num_generation": 2, + "mutation_rate": 0.1, + "crossover_rate": 1.0 } }, "studio-MaxDamageStateTool": { @@ -2418,10 +3245,14 @@ ] }, "pretty_name": "Max Damage State Tool", - "tags": ["Pyincore Utility"], + "tags": [ + "Pyincore Utility" + ], "manual": null, "inputs": { - "Output dataset": ["ergo:buildingDamageVer6"] + "Output dataset": [ + "ergo:buildingDamageVer6" + ] } }, "studio-BuildingDamageSummaryTool": { @@ -2435,17 +3266,23 @@ }, "after": {}, "pretty_name": "Building Damage Summary Tool", - "tags": ["Pyincore Utility"], + "tags": [ + "Pyincore Utility" + ], "manual": null, "inputs": { - "Max Damage State": ["Max damage State type"], + "Max Damage State": [ + "Max damage State type" + ], "Buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "Archetype Mapping": ["Archetype Mapping type"] + "Archetype Mapping": [ + "Archetype Mapping type" + ] } }, "studio-CGEPostProcessTool": { @@ -2563,14 +3400,26 @@ }, "after": {}, "pretty_name": "CGE Post Process Tool", - "tags": ["Pyincore Utility"], + "tags": [ + "Pyincore Utility" + ], "manual": null, "inputs": { - "Household Count": ["incore:HouseholdCount"], - "Domestic supply": ["incore:Employment"], - "Gross Income": ["incore:Employment"], - "Pre Demand": ["incore:FactorDemand"], - "Post Demand": ["incore:FactorDemand"] + "Household Count": [ + "incore:HouseholdCount" + ], + "Domestic supply": [ + "incore:Employment" + ], + "Gross Income": [ + "incore:Employment" + ], + "Pre Demand": [ + "incore:FactorDemand" + ], + "Post Demand": [ + "incore:FactorDemand" + ] } }, "studio-DislPostProcessTool": { @@ -2584,10 +3433,14 @@ }, "after": {}, "pretty_name": "Population Dislocation Post Process Tool", - "tags": ["Pyincore Utility"], + "tags": [ + "Pyincore Utility" + ], "manual": null, "inputs": { - "Dislocation Output": ["incore:popDislocation"] + "Dislocation Output": [ + "incore:popDislocation" + ] } }, "studio-BuildingFailureClusterTool": { @@ -2601,17 +3454,23 @@ }, "after": {}, "pretty_name": "Building Failure Cluster Tool", - "tags": ["Pyincore Utility"], + "tags": [ + "Pyincore Utility" + ], "manual": null, "inputs": { - "Building Failure Probability": ["incore:failureProbability"], + "Building Failure Probability": [ + "incore:failureProbability" + ], "Buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "Archetype Mapping": ["Archetype Mapping type"] + "Archetype Mapping": [ + "Archetype Mapping type" + ] } }, "studio-BuildingFunctionalityClusterTool": { @@ -2625,17 +3484,23 @@ }, "after": {}, "pretty_name": "Building Functionality Cluster Tool", - "tags": ["Pyincore Utility"], + "tags": [ + "Pyincore Utility" + ], "manual": null, "inputs": { - "Functionality Probability": ["incore:funcProbability"], + "Functionality Probability": [ + "incore:funcProbability" + ], "Buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "Archetype Mapping": ["Archetype Mapping type"] + "Archetype Mapping": [ + "Archetype Mapping type" + ] } } -} +} \ No newline at end of file From 71a3903a919401cd1dfba132914d6e31eedf25df Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Mon, 21 Apr 2025 15:16:23 -0400 Subject: [PATCH 14/19] add empty parameter defaults for tools --- .../pyincore_utils/create_dependency_graph.py | 6 + utils/pyincore_utils/dependencyGraph.json | 3346 +++++++++-------- 2 files changed, 1682 insertions(+), 1670 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index a430e6b..3f13514 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -445,6 +445,7 @@ "tags": ["Pyincore Utility"], "manual": None, "inputs": {"Output dataset": ["ergo:buildingDamageVer6"]}, + "parameter_defaults": {}, }, "studio-BuildingDamageSummaryTool": { "before": { @@ -466,6 +467,7 @@ ], "Archetype Mapping": ["Archetype Mapping type"], }, + "parameter_defaults": {}, }, "studio-CGEPostProcessTool": { "before": { @@ -516,6 +518,7 @@ "Pre Demand": ["incore:FactorDemand"], "Post Demand": ["incore:FactorDemand"], }, + "parameter_defaults": {}, }, "studio-DislPostProcessTool": { "before": { @@ -528,6 +531,7 @@ "tags": ["Pyincore Utility"], "manual": None, "inputs": {"Dislocation Output": ["incore:popDislocation"]}, + "parameter_defaults": {}, }, "studio-BuildingFailureClusterTool": { "before": { @@ -549,6 +553,7 @@ ], "Archetype Mapping": ["Archetype Mapping type"], }, + "parameter_defaults": {}, }, "studio-BuildingFunctionalityClusterTool": { "before": { @@ -570,6 +575,7 @@ ], "Archetype Mapping": ["Archetype Mapping type"], }, + "parameter_defaults": {}, }, } diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index fb5df19..f78dd43 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -1,123 +1,108 @@ { - "studio-BuildingEconLoss": { + "studio-BuyoutDecision": { "before": { - "studio-MeanDamage": [ + "studio-HousingUnitAllocation": [ { "from": "result", - "to": "building_mean_dmg" + "to": "housing_unit_allocation" + } + ], + "studio-PopulationDislocation": [ + { + "from": "result", + "to": "population_dislocation" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "future_building_damage" + }, + { + "from": "ds_result", + "to": "past_building_damage" + } + ], + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "future_building_damage" + }, + { + "from": "ds_result", + "to": "past_building_damage" } ] }, "after": {}, - "pretty_name": "Building Economic Loss", + "pretty_name": "Buyout Decision", "tags": [ - "Building" + "Decision Support" ], - "manual": "building_loss.html", + "manual": "buyout_decision.html", "inputs": { + "past_building_damage": [ + "ergo:buildingDamageVer6" + ], + "future_building_damage": [ + "ergo:buildingDamageVer6" + ], "buildings": [ - "ergo:buildingInventory", "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "building_mean_dmg": [ - "ergo:meanDamage" + "housing_unit_allocation": [ + "incore:housingUnitAllocation" ], - "occupancy_multiplier": [ - "incore:buildingOccupancyMultiplier" + "population_dislocation": [ + "incore:popDislocation" ] }, "parameter_defaults": { - "result_name": "building-econ-loss-result", - "inflation_factor": 0.0 + "fema_buyout_cap": 250000.0, + "residential_archetypes": null, + "result_name": "buyout-decision-result" } }, - "studio-MeanDamage": { - "after": { - "studio-BuildingEconLoss": [ - { - "from": "result", - "to": "building_mean_dmg" - } - ] - }, + "studio-CombinedWindWaveSurgeBuildingDamage": { "before": { - "studio-BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "damage" - } - ], - "studio-CumulativeBuildingDamage": [ + "to": "surge_wave_damage" + }, { - "from": "combined-result", - "to": "damage" + "from": "ds_result", + "to": "wind_damage" } ], - "studio-BridgeDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", - "to": "damage" - } - ], - "studio-BuildingNonStructDamage": [ + "from": "ds_result", + "to": "surge_wave_damage" + }, { - "from": "result", - "to": "damage" + "from": "ds_result", + "to": "wind_damage" } ], - "studio-RoadDamage": [ + "studio-BuildingNonStructDamage": [ { "from": "result", - "to": "damage" + "to": "flood_damage" } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + ] + }, + "after": { + "studio-MeanDamage": [ { "from": "ds_result", "to": "damage" } - ] - }, - "pretty_name": "Mean Damage", - "tags": [], - "manual": "mean_dmg.html", - "inputs": { - "damage": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3" ], - "dmg_ratios": [ - "ergo:buildingDamageRatios", - "ergo:bridgeDamageRatios", - "ergo:buildingContentDamageRatios", - "ergo:buildingASDamageRatios", - "ergo:buildingDSDamageRatios", - "ergo:roadDamageRatios" - ] - }, - "parameter_defaults": { - "result_name": "mean-damage-result", - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", - "num_cpu": 1 - } - }, - "studio-CumulativeBuildingDamage": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-CumulativeBuildingDamage": [ { "from": "ds_result", "to": "tsunami_bldg_dmg" @@ -127,116 +112,116 @@ "to": "eq_bldg_dmg" } ], - "studio-BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "tsunami_bldg_dmg" + "to": "surge_wave_damage" }, { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "wind_damage" } ], - "studio-CumulativeBuildingDamage": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "ds_result", + "to": "surge_wave_damage" } - ] - }, - "after": { - "studio-JoplinEmpiricalBuildingRestoration": [ + ], + "studio-CommercialBuildingRecovery": [ { - "from": "combined-result", + "from": "ds_result", "to": "building_dmg" } ], + "studio-BuyoutDecision": [ + { + "from": "ds_result", + "to": "future_building_damage" + }, + { + "from": "ds_result", + "to": "past_building_damage" + } + ], "studio-PopulationDislocation": [ { - "from": "combined-result", + "from": "ds_result", "to": "building_dmg" } ], "studio-MonteCarloLimitStateProbability": [ { - "from": "combined-result", + "from": "ds_result", "to": "damage" } ], - "studio-CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "tsunami_bldg_dmg" - }, - { - "from": "combined-result", - "to": "eq_bldg_dmg" - } - ], - "studio-MeanDamage": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "combined-result", - "to": "damage" + "from": "ds_result", + "to": "building_dmg" } ] }, - "pretty_name": "Cumulative Building Damage", + "pretty_name": "Combined Wind Wave Surge Building Damage", "tags": [ "Building" ], - "manual": "cumulative_building_dmg.html", + "manual": "combined_wind_wave_surge_building_dmg.html", "inputs": { - "eq_bldg_dmg": [ - "ergo:buildingDamageVer5", + "wind_damage": [ "ergo:buildingDamageVer6" ], - "tsunami_bldg_dmg": [ - "ergo:buildingDamageVer5", + "surge_wave_damage": [ "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" ] }, "parameter_defaults": { - "result_name": "cumulative-building-damage-result", - "num_cpu": 4 + "result_name": "combined-wind-wave-surge-building-damage-result" } }, - "studio-JoplinEmpiricalBuildingRestoration": { + "studio-CombinedWindWaveSurgeBuildingLoss": { "before": { - "studio-BuildingNonStructDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "building_dmg" + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "to": "surge_wave_damage" + }, { "from": "ds_result", - "to": "building_dmg" + "to": "wind_damage" } ], - "studio-CumulativeBuildingDamage": [ + "studio-BuildingNonStructDamage": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "result", + "to": "flood_damage" } ] }, "after": {}, - "pretty_name": "Joplin Empirical Building Restoration", + "pretty_name": "Combined Wind Wave Surge Building Loss", "tags": [ "Building" ], - "manual": "", + "manual": "combined_wind_wave_surge_building_loss.html", "inputs": { "buildings": [ "ergo:buildingInventoryVer4", @@ -244,321 +229,389 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "building_dmg": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4" + "wind_damage": [ + "ergo:buildingDamageVer6" ], - "building_functionality_level": [ - "incore:buildingFuncTargetVer1" + "surge_wave_damage": [ + "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" + ], + "structural_cost": [ + "incore:structuralCostRatio" + ], + "content_cost": [ + "incore:contentCostRatio" ] }, "parameter_defaults": { - "result_name": "joplin-empirical-building-restoration", - "target_functionality_level": 0, - "seed": 1234 + "result_name": "combined-wind-wave-surge-building-loss-result" } }, - "studio-MonteCarloLimitStateProbability": { + "studio-CommercialBuildingRecovery": { "before": { - "studio-PipelineDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-BuildingStructuralDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "damage" - } - ], - "studio-WaterFacilityDamage": [ + "from": "failure_probability", + "to": "mcs_failure" + }, { - "from": "result", - "to": "damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "studio-CumulativeBuildingDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "combined-result", - "to": "damage" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-EpfDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-BridgeDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "damage" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-BuildingNonStructDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } + ] + }, + "after": {}, + "pretty_name": "Commercial Building Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "commercial_building_recovery.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "studio-RoadDamage": [ - { - "from": "result", - "to": "damage" - } + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "damage" - } + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "mcs_failure": [ + "incore:failureProbability" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ], + "building_dmg": [ + "ergo:buildingDamageVer6" ] }, - "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "parameter_defaults": { + "result_name": "commercial-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + } + }, + "studio-CumulativeBuildingDamage": { + "before": { + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "studio-CommercialBuildingRecovery": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "combined-result", + "to": "eq_bldg_dmg" }, { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "studio-CapitalShocks": [ - { - "from": "failure_probability", - "to": "failure_probability" + "from": "combined-result", + "to": "tsunami_bldg_dmg" } ], - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "studio-BuildingStructuralDamage": [ { - "from": "sample_damage_states", - "to": "wf_damage_state" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ] + }, + "after": { + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "sample_damage_states", - "to": "epf_damage_state" + "from": "combined-result", + "to": "building_dmg" } ], - "studio-WaterFacilityRepairCost": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "combined-result", + "to": "damage" } ], - "studio-WfnFunctionality": [ + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "from": "combined-result", + "to": "damage" + } + ], + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "combined-result", + "to": "building_dmg" } ], - "studio-NciFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "combined-result", + "to": "eq_bldg_dmg" + }, + { + "from": "combined-result", + "to": "tsunami_bldg_dmg" } + ] + }, + "pretty_name": "Cumulative Building Damage", + "tags": [ + "Building" + ], + "manual": "cumulative_building_dmg.html", + "inputs": { + "eq_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" ], - "studio-EpnFunctionality": [ + "tsunami_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" + ] + }, + "parameter_defaults": { + "result_name": "cumulative-building-damage-result", + "num_cpu": 4 + } + }, + "studio-JoplinEmpiricalBuildingRestoration": { + "before": { + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "combined-result", + "to": "building_dmg" } ], - "studio-ResidentialBuildingRecovery": [ + "studio-BuildingNonStructDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "result", + "to": "building_dmg" } ], - "studio-EpfRepairCost": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-BuildingFailureClusterTool": [ + "studio-BuildingStructuralDamage": [ { - "from": "failure_probability", - "to": "Building Failure Probability" + "from": "ds_result", + "to": "building_dmg" } ] }, - "pretty_name": "Monte Carlo Limit State Probability", + "after": {}, + "pretty_name": "Joplin Empirical Building Restoration", "tags": [ - "Decision Support" + "Building" ], - "manual": "mc_limit_state_prob.html", + "manual": "", "inputs": { - "damage": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "building_dmg": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:waterFacilityDamageVer4", - "ergo:waterFacilityDamageVer5", - "ergo:waterFacilityDamageVer6", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3", - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3", - "incore:pipelineDamage", - "incore:pipelineDamageVer2", - "incore:pipelineDamageVer3" + "ergo:nsBuildingInventoryDamageVer4" + ], + "building_functionality_level": [ + "incore:buildingFuncTargetVer1" ] }, "parameter_defaults": { - "result_name": "monte_carlo_limit_state_probability-result", - "num_cpu": 8, - "num_samples": 10, - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", - "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", + "result_name": "joplin-empirical-building-restoration", + "target_functionality_level": 0, "seed": 1234 } }, - "studio-PopulationDislocation": { + "studio-MeanDamage": { "before": { - "studio-HousingUnitAllocation": [ + "studio-RoadDamage": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "damage" } ], - "studio-BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "building_dmg" + "to": "damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "building_dmg" + "to": "damage" + } + ], + "studio-BridgeDamage": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "damage" } ], "studio-CumulativeBuildingDamage": [ { "from": "combined-result", - "to": "building_dmg" + "to": "damage" } ] }, "after": { - "studio-HousingRecoverySequential": [ + "studio-BuildingEconLoss": [ { "from": "result", - "to": "population_dislocation_block" + "to": "building_mean_dmg" } + ] + }, + "pretty_name": "Mean Damage", + "tags": [], + "manual": "mean_dmg.html", + "inputs": { + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3" ], - "studio-BuyoutDecision": [ + "dmg_ratios": [ + "ergo:buildingDamageRatios", + "ergo:bridgeDamageRatios", + "ergo:buildingContentDamageRatios", + "ergo:buildingASDamageRatios", + "ergo:buildingDSDamageRatios", + "ergo:roadDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "mean-damage-result", + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", + "num_cpu": 1 + } + }, + "studio-MonteCarloLimitStateProbability": { + "before": { + "studio-WaterFacilityDamage": [ { "from": "result", - "to": "population_dislocation" + "to": "damage" } ], - "studio-INDP": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "pop_dislocation" + "from": "ds_result", + "to": "damage" } ], - "studio-HousingValuationRecovery": [ + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-RoadDamage": [ { "from": "result", - "to": "population_dislocation" + "to": "damage" } ], - "studio-DislPostProcessTool": [ + "studio-EpfDamage": [ { "from": "result", - "to": "Dislocation Output" + "to": "damage" } - ] - }, - "pretty_name": "Population Dislocation", - "tags": [ - "Socioeconomic" - ], - "manual": "populationdislocation.html", - "inputs": { - "building_dmg": [ - "ergo:buildingInventoryVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory" ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" + "studio-BridgeDamage": [ + { + "from": "result", + "to": "damage" + } ], - "block_group_data": [ - "incore:blockGroupData" + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "damage" + } ], - "value_loss_param": [ - "incore:valuLossParam" - ] - }, - "parameter_defaults": { - "result_name": "population-dislocation-result", - "seed": 1234, - "choice_dislocation": false, - "choice_dislocation_cutoff": 0.0, - "choice_dislocation_ds": null, - "unsafe_occupancy": false, - "unsafe_occupancy_cutoff": 0.0, - "unsafe_occupancy_ds": null - } - }, - "studio-PipelineFunctionality": { - "before": { - "studio-PipelineDamageRepairRate": [ + "studio-PipelineDamage": [ { "from": "result", - "to": "pipeline_repair_rate_damage" + "to": "damage" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "damage" } ] }, @@ -566,51 +619,53 @@ "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", "to": "poles_damage_mcs_samples" } ], - "studio-CapitalShocks": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], "studio-INDP": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "epf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "wf_damage_state" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", "to": "wf_failure_state" - } - ], - "studio-CommercialBuildingRecovery": [ + }, { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_damage_states", + "to": "epf_damage_state" } ], "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "wf_sample_failure_state" }, { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "pp_sample_failure_state" + } + ], + "studio-EpfRepairCost": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" } ], "studio-NciFunctionality": [ @@ -619,302 +674,272 @@ "to": "epf_subst_failure_results" } ], + "studio-ResidentialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], "studio-EpnFunctionality": [ { "from": "sample_failure_state", "to": "epf_sample_failure_state" } - ] - }, - "pretty_name": "Pipeline Functionality", - "tags": [ - "Lifeline" - ], - "manual": "pipeline_functionality.html", - "inputs": { - "pipeline_repair_rate_damage": [ - "ergo:pipelineDamageVer3" - ] - }, - "parameter_defaults": { - "result_name": "pipeline-functionality-result", - "num_samples": 100 - } - }, - "studio-PipelineRepairCost": { - "before": { - "studio-PipelineDamageRepairRate": [ + ], + "studio-CapitalShocks": [ { - "from": "result", - "to": "pipeline_dmg" + "from": "failure_probability", + "to": "failure_probability" } - ] - }, - "after": { - "studio-INDP": [ + ], + "studio-WaterFacilityRepairCost": [ { - "from": "result", - "to": "pipeline_repair_cost" + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + }, + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "studio-BuildingFailureClusterTool": [ + { + "from": "failure_probability", + "to": "Building Failure Probability" } ] }, - "pretty_name": "Pipeline Repair Cost", + "pretty_name": "Monte Carlo Limit State Probability", "tags": [ - "Lifeline" + "Decision Support" ], - "manual": "pipeline_repair_cost.html", + "manual": "mc_limit_state_prob.html", "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "replacement_cost": [ - "incore:replacementCost" - ], - "pipeline_dmg": [ - "ergo:pipelineDamageVer3" - ], - "pipeline_dmg_ratios": [ - "incore:pipelineDamageRatios" + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:waterFacilityDamageVer4", + "ergo:waterFacilityDamageVer5", + "ergo:waterFacilityDamageVer6", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3", + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3", + "incore:pipelineDamage", + "incore:pipelineDamageVer2", + "incore:pipelineDamageVer3" ] }, "parameter_defaults": { - "result_name": "pipeline-repair-cost-result", - "num_cpu": 1, - "diameter": 20, - "segment_length": 20 + "result_name": "monte_carlo_limit_state_probability-result", + "num_cpu": 8, + "num_samples": 10, + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", + "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", + "seed": 1234 } }, - "studio-PipelineRestoration": { + "studio-PopulationDislocation": { "before": { - "studio-PipelineDamageRepairRate": [ + "studio-HousingUnitAllocation": [ { "from": "result", - "to": "pipeline_damage" + "to": "housing_unit_allocation" } - ] - }, - "after": { - "studio-INDP": [ + ], + "studio-CumulativeBuildingDamage": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "combined-result", + "to": "building_dmg" } - ] - }, - "pretty_name": "Pipeline Restoration", - "tags": [ - "Lifeline" - ], - "manual": "pipeline_restoration.html", - "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" ], - "pipeline_damage": [ - "ergo:pipelineDamageVer2", - "ergo:pipelineDamageVer3" + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "building_dmg" + } ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "building_dmg" + } ] }, - "parameter_defaults": { - "result_name": "pipeline-restoration-result", - "num_cpu": 1, - "num_available_workers": 4, - "restoration_key": "Restoration ID Code" - } - }, - "studio-PipelineDamageRepairRate": { "after": { - "studio-PipelineFunctionality": [ + "studio-BuyoutDecision": [ { "from": "result", - "to": "pipeline_repair_rate_damage" + "to": "population_dislocation" } ], - "studio-PipelineRestoration": [ + "studio-HousingValuationRecovery": [ { "from": "result", - "to": "pipeline_damage" + "to": "population_dislocation" } ], - "studio-PipelineRepairCost": [ + "studio-HousingRecoverySequential": [ { "from": "result", - "to": "pipeline_dmg" + "to": "population_dislocation_block" + } + ], + "studio-INDP": [ + { + "from": "result", + "to": "pop_dislocation" + } + ], + "studio-DislPostProcessTool": [ + { + "from": "result", + "to": "Dislocation Output" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage Repair Rate", + "pretty_name": "Population Dislocation", "tags": [ - "Lifeline" + "Socioeconomic" ], - "manual": "pipeline_dmg_w_repair_rate.html", + "manual": "populationdislocation.html", "inputs": { - "hazard": [ - "earthquake", - "tsunami" + "building_dmg": [ + "ergo:buildingInventoryVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory" ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" + "housing_unit_allocation": [ + "incore:housingUnitAllocation" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "block_group_data": [ + "incore:blockGroupData" + ], + "value_loss_param": [ + "incore:valuLossParam" ] }, "parameter_defaults": { - "result_name": "pipeline-damage-repair-rate-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_fragility_key": null, - "num_cpu": 1, - "liquefaction_geology_dataset_id": null + "result_name": "population-dislocation-result", + "seed": 1234, + "choice_dislocation": false, + "choice_dislocation_cutoff": 0.0, + "choice_dislocation_ds": null, + "unsafe_occupancy": false, + "unsafe_occupancy_cutoff": 0.0, + "unsafe_occupancy_ds": null } }, - "studio-CapitalShocks": { - "before": { - "studio-PipelineFunctionality": [ + "studio-BuildingStructuralDamage": { + "after": { + "studio-MeanDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "damage" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "failure_probability" - } - ], - "studio-WfnFunctionality": [ + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "studio-EpnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "failure_probability" - } - ] - }, - "after": { - "studio-SaltLakeCGEModel": [ + "from": "ds_result", + "to": "surge_wave_damage" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "wind_damage" } ], - "studio-SeasideCGEModel": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "studio-MlEnabledCgeJoplin": [ + "from": "ds_result", + "to": "wind_damage" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "studio-JoplinCGEModel": [ + "studio-CommercialBuildingRecovery": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-MlEnabledCgeSlc": [ + "studio-BuyoutDecision": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "studio-GalvestonCGEModel": [ + "from": "ds_result", + "to": "future_building_damage" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "past_building_damage" } - ] - }, - "pretty_name": "Capital Shocks", - "tags": [ - "Economic" - ], - "manual": "capital_shocks.html", - "inputs": { - "buildings": [ - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "buildings_to_sectors": [ - "incore:buildingsToSectors" ], - "failure_probability": [ - "incore:failureProbability" - ] - }, - "parameter_defaults": { - "result_name": "capital-shocks-result" - } - }, - "studio-CommercialBuildingRecovery": { - "before": { - "studio-BuildingStructuralDamage": [ + "studio-PopulationDislocation": [ { "from": "ds_result", "to": "building_dmg" } ], - "studio-WfnFunctionality": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "studio-EpnFunctionality": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "mcs_failure" - }, - { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "ds_result", + "to": "damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { "from": "ds_result", "to": "building_dmg" } ], - "studio-PipelineFunctionality": [ + "studio-MaxDamageStateTool": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "Output dataset" } ] }, - "after": {}, - "pretty_name": "Commercial Building Recovery", + "before": {}, + "pretty_name": "Building Structural Damage", "tags": [ - "Socioeconomic" + "Building" ], - "manual": "commercial_building_recovery.html", + "manual": "building_structural_dmg.html", "inputs": { + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", @@ -924,298 +949,449 @@ "dfr3_mapping_set": [ "incore:dfr3MappingSet" ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "mcs_failure": [ - "incore:failureProbability" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" - ], - "building_dmg": [ - "ergo:buildingDamageVer6" + "retrofit_strategy": [ + "incore:retrofitStrategy" ] }, "parameter_defaults": { - "result_name": "commercial-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 + "result_name": "building-struct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "use_hazard_uncertainty": false, + "num_cpu": 1, + "seed": 1234, + "liquefaction_geology_dataset_id": null } }, - "studio-NciFunctionality": { + "studio-INDP": { "before": { - "studio-EpnFunctionality": [ - { - "from": "failure_probability", - "to": "epf_subst_failure_results" - } - ], - "studio-WaterFacilityDamage": [ + "studio-WaterFacilityRestoration": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "repair_times", + "to": "wf_restoration_time" } ], "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "epf_damage_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "wf_damage_state" } ], "studio-WfnFunctionality": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "studio-WaterFacilityRestoration": [ + "studio-EpnFunctionality": [ { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "time_results", - "to": "wds_time_results" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "sample_failure_state", + "to": "epf_failure_state" } ], "studio-PipelineFunctionality": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "studio-EpfRestoration": [ + "studio-PipelineRestoration": [ { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ], + "studio-PopulationDislocation": [ + { + "from": "result", + "to": "pop_dislocation" + } + ], + "studio-EpfRepairCost": [ + { + "from": "result", + "to": "epf_repair_cost" }, { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "result", + "to": "wf_repair_cost" + } + ], + "studio-WaterFacilityRepairCost": [ + { + "from": "result", + "to": "epf_repair_cost" }, { - "from": "time_results", - "to": "epf_time_results" + "from": "result", + "to": "wf_repair_cost" } ], - "studio-EpfDamage": [ + "studio-EpfRestoration": [ + { + "from": "repair_times", + "to": "epf_restoration_time" + } + ], + "studio-PipelineRepairCost": [ { "from": "result", - "to": "epf_damage" + "to": "pipeline_repair_cost" } ] }, "after": {}, - "pretty_name": "Network Cascading Interdependency Functionality", + "pretty_name": "Infrastructure Network Disruption Planning", "tags": [ "Decision Support" ], - "manual": "nci_functionality.html", + "manual": "indp.html", "inputs": { - "epf_network": [ - "incore:epnNetwork" - ], - "wds_network": [ - "incore:waterNetwork" + "wf_repair_cost": [ + "incore:repairCost" ], - "epf_wds_intdp_table": [ - "incore:networkInterdependencyTable" + "wf_restoration_time": [ + "incore:waterFacilityRepairTime" ], - "wds_epf_intdp_table": [ - "incore:networkInterdependencyTable" + "epf_repair_cost": [ + "incore:repairCost" ], - "epf_subst_failure_results": [ - "incore:failureProbability" + "epf_restoration_time": [ + "incore:epfRepairTime" ], - "epf_inventory_rest_map": [ - "incore:inventoryRestorationMap" + "pipeline_repair_cost": [ + "incore:pipelineRepairCost" ], - "epf_time_results": [ - "incore:epfRestorationTime" + "pipeline_restoration_time": [ + "incore:pipelineRestorationVer1" ], - "wds_dmg_results": [ - "ergo:waterFacilityDamageVer6" + "power_network": [ + "incore:epnNetwork" ], - "wds_inventory_rest_map": [ - "incore:inventoryRestorationMap" + "water_network": [ + "incore:waterNetwork" ], - "wds_time_results": [ - "incore:waterFacilityRestorationTime" + "powerline_supply_demand_info": [ + "incore:powerLineSupplyDemandInfo" ], - "epf_damage": [ - "incore:epfDamageVer3" + "epf_supply_demand_info": [ + "incore:epfSupplyDemandInfo" + ], + "wf_supply_demand_info": [ + "incore:waterFacilitySupplyDemandInfo" + ], + "pipeline_supply_demand_info": [ + "incore:pipelineSupplyDemandInfo" + ], + "interdep": [ + "incore:interdep" + ], + "wf_failure_state": [ + "incore:sampleFailureState" + ], + "wf_damage_state": [ + "incore:sampleDamageState" + ], + "pipeline_failure_state": [ + "incore:sampleFailureState" + ], + "epf_failure_state": [ + "incore:sampleFailureState" + ], + "epf_damage_state": [ + "incore:sampleDamageState" + ], + "dt_params": [ + "incore:dTParams" + ], + "pop_dislocation": [ + "incore:popDislocation" + ], + "bldgs2elec": [ + "incore:bldgs2elec" + ], + "bldgs2wter": [ + "incore:bldgs2wter" ] }, "parameter_defaults": { - "result_name": "nci-functionality-result", - "discretized_days": "[1, 3, 7, 30, 90]" + "network_type": "from_csv", + "MAGS": "[1000]", + "sample_range": "[0]", + "dislocation_data_type": "incore", + "return_model": "step_function", + "testbed_name": null, + "extra_commodity": null, + "RC": null, + "layers": null, + "method": "INDP", + "t_steps": 10, + "time_resource": true, + "save_model": false, + "solver_engine": null, + "solver_path": null, + "solver_time_limit": null } }, - "studio-EpnFunctionality": { + "studio-PipelineRepairCost": { "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "result", + "to": "pipeline_repair_cost" } - ], - "studio-CapitalShocks": [ + ] + }, + "before": { + "studio-PipelineDamageRepairRate": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "pipeline_dmg" } + ] + }, + "pretty_name": "Pipeline Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_repair_cost.html", + "inputs": { + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "replacement_cost": [ + "incore:replacementCost" ], + "pipeline_dmg": [ + "ergo:pipelineDamageVer3" + ], + "pipeline_dmg_ratios": [ + "incore:pipelineDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-repair-cost-result", + "num_cpu": 1, + "diameter": 20, + "segment_length": 20 + } + }, + "studio-EpfRepairCost": { + "after": { "studio-INDP": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "result", + "to": "wf_repair_cost" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "result", + "to": "epf_repair_cost" } - ], - "studio-CommercialBuildingRecovery": [ + ] + }, + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_damage_states", + "to": "sample_damage_states" } + ] + }, + "pretty_name": "Electric Power Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "epf_repair_cost.html", + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } + "replacement_cost": [ + "incore:replacementCost" ], - "studio-NciFunctionality": [ - { - "from": "failure_probability", - "to": "epf_subst_failure_results" - } + "sample_damage_states": [ + "incore:sampleDamageState" ], - "studio-EpnFunctionality": [ + "epf_dmg_ratios": [ + "incore:epfDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "epf-repair-cost-result", + "num_cpu": 1 + } + }, + "studio-WaterFacilityRepairCost": { + "after": { + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" } ] }, "before": { - "studio-EpnFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sample_damage_states", + "to": "sample_damage_states" } + ] + }, + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_repair_cost.html", + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" ], - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } + "replacement_cost": [ + "incore:replacementCost" ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } + "sample_damage_states": [ + "incore:sampleDamageState" ], - "studio-WfnFunctionality": [ + "wf_dmg_ratios": [ + "incore:waterFacilityDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "water-facility-repair-cost-result", + "num_cpu": 1 + } + }, + "studio-BuildingEconLoss": { + "before": { + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "building_mean_dmg" } ] }, - "pretty_name": "Electric Power Network Functionality", + "after": {}, + "pretty_name": "Building Economic Loss", "tags": [ - "Lifeline" + "Building" ], - "manual": "epn_functionality.html", + "manual": "building_loss.html", "inputs": { - "epn_network": [ - "incore:epnNetwork" + "buildings": [ + "ergo:buildingInventory", + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "epf_sample_failure_state": [ - "incore:sampleFailureState" + "building_mean_dmg": [ + "ergo:meanDamage" + ], + "occupancy_multiplier": [ + "incore:buildingOccupancyMultiplier" ] }, "parameter_defaults": { - "result_name": "epn-functionality-result", - "gate_station_node_list": null + "result_name": "building-econ-loss-result", + "inflation_factor": 0.0 } }, - "studio-WfnFunctionality": { + "studio-PipelineFunctionality": { + "before": { + "studio-PipelineDamageRepairRate": [ + { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + ] + }, "after": { "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", "to": "poles_damage_mcs_samples" } ], - "studio-CapitalShocks": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], "studio-INDP": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", "to": "wf_failure_state" } ], - "studio-CommercialBuildingRecovery": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "wf_sample_failure_state" }, { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "pp_sample_failure_state" } ], "studio-NciFunctionality": [ @@ -1229,228 +1405,260 @@ "from": "sample_failure_state", "to": "epf_sample_failure_state" } - ] - }, - "before": { - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "studio-CapitalShocks": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-CommercialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "failure_probability", + "to": "mcs_failure" } - ], - "studio-PipelineFunctionality": [ + ] + }, + "pretty_name": "Pipeline Functionality", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_functionality.html", + "inputs": { + "pipeline_repair_rate_damage": [ + "ergo:pipelineDamageVer3" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-functionality-result", + "num_samples": 100 + } + }, + "studio-PipelineRestoration": { + "before": { + "studio-PipelineDamageRepairRate": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, + "from": "result", + "to": "pipeline_damage" + } + ] + }, + "after": { + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ] }, - "pretty_name": "Water Facility Network Functionality", + "pretty_name": "Pipeline Restoration", "tags": [ "Lifeline" ], - "manual": "wfn_functionality.html", + "manual": "pipeline_restoration.html", "inputs": { - "wfn_network": [ - "incore:waterNetwork" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], - "wf_sample_failure_state": [ - "incore:sampleFailureState" + "pipeline_damage": [ + "ergo:pipelineDamageVer2", + "ergo:pipelineDamageVer3" ], - "pp_sample_failure_state": [ - "incore:sampleFailureState" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ] }, "parameter_defaults": { - "result_name": "wfn-functionality-result", - "tank_node_list": "[]", - "pumpstation_node_list": "[]" + "result_name": "pipeline-restoration-result", + "num_cpu": 1, + "num_available_workers": 4, + "restoration_key": "Restoration ID Code" } }, - "studio-CombinedWindWaveSurgeBuildingDamage": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "studio-PipelineDamageRepairRate": { + "after": { + "studio-PipelineFunctionality": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "pipeline_repair_rate_damage" } ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "wind_damage" - }, + "studio-PipelineRepairCost": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "result", + "to": "pipeline_dmg" } ], - "studio-BuildingNonStructDamage": [ + "studio-PipelineRestoration": [ { "from": "result", - "to": "flood_damage" + "to": "pipeline_damage" } ] }, - "after": { - "studio-CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "eq_bldg_dmg" - }, - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - } + "before": {}, + "pretty_name": "Pipeline Damage Repair Rate", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_dmg_w_repair_rate.html", + "inputs": { + "hazard": [ + "earthquake", + "tsunami" ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "ds_result", - "to": "damage" - } + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-damage-repair-rate-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null + } + }, + "studio-HousingRecoverySequential": { + "before": { + "studio-SocialVulnerabilityScore": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "sv_result", + "to": "sv_result" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "studio-PopulationDislocation": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "population_dislocation_block" } + ] + }, + "after": {}, + "pretty_name": "Housing Recovery Sequential", + "tags": [ + "Socioeconomic", + "Decision Support" + ], + "manual": "housing_household_recovery.html", + "inputs": { + "population_dislocation_block": [ + "incore:popDislocation" ], - "studio-CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "tpm": [ + "incore:houseRecTransitionProbMatrix" ], - "studio-BuyoutDecision": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, - { - "from": "ds_result", - "to": "future_building_damage" - } + "initial_stage_probabilities": [ + "incore:houseRecInitialStageProbability" ], - "studio-MeanDamage": [ - { - "from": "ds_result", - "to": "damage" - } + "sv_result": [ + "incore:socialVulnerabilityScore" ], - "studio-JoplinEmpiricalBuildingRestoration": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "zone_def_sv": [ + "incore:zoneDefinitionsSocialVulnerability" ], + "zone_def_hhinc": [ + "incore:zoneDefinitionsHouseholdIncome" + ] + }, + "parameter_defaults": { + "result_name": "housing-recovery-sequential-result", + "t_delta": null, + "t_final": null, + "seed": 1234, + "num_cpu": 4 + } + }, + "studio-HousingValuationRecovery": { + "before": { "studio-PopulationDislocation": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "population_dislocation" } ] }, - "pretty_name": "Combined Wind Wave Surge Building Damage", + "after": {}, + "pretty_name": "Housing Valuation Recovery", "tags": [ - "Building" + "Socioeconomic" ], - "manual": "combined_wind_wave_surge_building_dmg.html", + "manual": "housing_recovery.html", "inputs": { - "wind_damage": [ - "ergo:buildingDamageVer6" + "population_dislocation": [ + "incore:popDislocation" ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" + "building_area": [ + "incore:buildingInventoryArea" ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" + "census_block_groups_data": [ + "incore:censusBlockGroupsData" + ], + "census_appraisal_data": [ + "incore:censusAppraisalData" ] }, "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-damage-result" + "base_year": 2008, + "result_name": "housing-valuation-recovery-result" } }, - "studio-CombinedWindWaveSurgeBuildingLoss": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "studio-SocialVulnerabilityScore": { + "after": { + "studio-HousingRecoverySequential": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "sv_result", + "to": "sv_result" } + ] + }, + "before": {}, + "pretty_name": "Social Vulnerability Score", + "tags": [ + "Socioeconomic" + ], + "manual": "social_vulnerability_score.html", + "inputs": { + "national_vulnerability_feature_averages": [ + "incore:socialVulnerabilityFeatureAverages" ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "wind_damage" - }, + "social_vulnerability_demographic_factors": [ + "incore:socialVulnerabilityDemFactors" + ] + }, + "parameter_defaults": { + "result_name": "social-vulnerability-score-result" + } + }, + "studio-HousingUnitAllocation": { + "after": { + "studio-BuyoutDecision": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "result", + "to": "housing_unit_allocation" } ], - "studio-BuildingNonStructDamage": [ + "studio-PopulationDislocation": [ { "from": "result", - "to": "flood_damage" + "to": "housing_unit_allocation" } ] }, - "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss", + "before": {}, + "pretty_name": "Housing Unit Allocation", "tags": [ - "Building" + "Socioeconomic" ], - "manual": "combined_wind_wave_surge_building_loss.html", + "manual": "housingunitallocation.html", "inputs": { "buildings": [ "ergo:buildingInventoryVer4", @@ -1458,98 +1666,135 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "wind_damage": [ - "ergo:buildingDamageVer6" - ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" - ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" - ], - "structural_cost": [ - "incore:structuralCostRatio" + "housing_unit_inventory": [ + "incore:housingUnitInventory" ], - "content_cost": [ - "incore:contentCostRatio" + "address_point_inventory": [ + "incore:addressPoints" ] }, "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-loss-result" + "result_name": "housing-unit-allocation-result", + "seed": 1234, + "iterations": 10 } }, - "studio-BuildingNonStructDamage": { - "after": { - "studio-MonteCarloLimitStateProbability": [ + "studio-NciFunctionality": { + "before": { + "studio-WaterFacilityDamage": [ { "from": "result", - "to": "damage" + "to": "wds_dmg_results" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-EpfRestoration": [ { - "from": "result", - "to": "flood_damage" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" } ], - "studio-MeanDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ + "studio-WaterFacilityRestoration": [ { - "from": "result", - "to": "flood_damage" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" } ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-PipelineFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "studio-EpfDamage": [ { "from": "result", - "to": "building_dmg" + "to": "epf_damage" + } + ], + "studio-WfnFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" } ] }, - "before": {}, - "pretty_name": "Building Non-Structural Damage", + "after": {}, + "pretty_name": "Network Cascading Interdependency Functionality", "tags": [ - "Building" + "Decision Support" ], - "manual": "building_nonstructural_dmg.html", + "manual": "nci_functionality.html", "inputs": { - "hazard": [ - "earthquake", - "flood", - "hurricane" + "epf_network": [ + "incore:epnNetwork" ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "wds_network": [ + "incore:waterNetwork" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "epf_wds_intdp_table": [ + "incore:networkInterdependencyTable" ], - "retrofit_strategy": [ - "incore:retrofitStrategy" + "wds_epf_intdp_table": [ + "incore:networkInterdependencyTable" + ], + "epf_subst_failure_results": [ + "incore:failureProbability" + ], + "epf_inventory_rest_map": [ + "incore:inventoryRestorationMap" + ], + "epf_time_results": [ + "incore:epfRestorationTime" + ], + "wds_dmg_results": [ + "ergo:waterFacilityDamageVer6" + ], + "wds_inventory_rest_map": [ + "incore:inventoryRestorationMap" + ], + "wds_time_results": [ + "incore:waterFacilityRestorationTime" + ], + "epf_damage": [ + "incore:epfDamageVer3" ] }, "parameter_defaults": { - "result_name": "building-nonstruct-dmg-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": "Acceleration-Sensitive Fragility ID Code", - "use_liquefaction": true, - "liq_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 + "result_name": "nci-functionality-result", + "discretized_days": "[1, 3, 7, 30, 90]" } }, - "studio-EpfRestoration": { + "studio-WaterFacilityRestoration": { "before": { - "studio-EpfDamage": [ + "studio-WaterFacilityDamage": [ { "from": "result", "to": "damage" @@ -1557,57 +1802,60 @@ ] }, "after": { + "studio-INDP": [ + { + "from": "repair_times", + "to": "wf_restoration_time" + } + ], "studio-NciFunctionality": [ { "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "to": "wds_inventory_rest_map" }, { "from": "time_results", - "to": "epf_time_results" + "to": "wds_time_results" }, { "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - } - ], - "studio-INDP": [ - { - "from": "repair_times", - "to": "epf_restoration_time" + "to": "epf_inventory_rest_map" } ] }, - "pretty_name": "Electric Power Facility Restoration", + "pretty_name": "Water Facility Restoration", "tags": [ - "LifeLine" + "Lifeline" ], - "manual": "epf_restoration.html", + "manual": "water_facility_restoration.html", "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf" + "water_facilities": [ + "ergo:waterFacilityTopo" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ], "damage": [ - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3" + "ergo:waterFacilityDamageVer6" ] }, "parameter_defaults": { - "result_name": "epf-restoration-result", - "restoration_key": null, - "end_time": 365.0, + "result_name": "water-facility-restoration-result", + "restoration_key": "Restoration ID Code", + "end_time": 100.0, "time_interval": 1.0, - "pf_interval": 0.1, + "pf_interval": 0.05, "discretized_days": "[1, 3, 7, 30, 90]" } }, - "studio-EpfDamage": { + "studio-WaterFacilityDamage": { "after": { + "studio-WaterFacilityRestoration": [ + { + "from": "result", + "to": "damage" + } + ], "studio-MonteCarloLimitStateProbability": [ { "from": "result", @@ -1617,10 +1865,49 @@ "studio-NciFunctionality": [ { "from": "result", - "to": "epf_damage" + "to": "wds_dmg_results" + } + ] + }, + "before": {}, + "pretty_name": "Water Facility Damage", + "tags": [ + "Lifeline" + ], + "manual": "waterfacility_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tsunami" + ], + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "water-facility-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "liquefaction_fragility_key": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + } + }, + "studio-BridgeDamage": { + "after": { + "studio-MeanDamage": [ + { + "from": "result", + "to": "damage" } ], - "studio-EpfRestoration": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" @@ -1634,11 +1921,11 @@ ] }, "before": {}, - "pretty_name": "Electric Power Facility Damage", + "pretty_name": "Bridge Damage", "tags": [ - "Lifeline" + "Bridge" ], - "manual": "epf_dmg.html", + "manual": "bridge_dmg.html", "inputs": { "hazard": [ "earthquake", @@ -1647,103 +1934,93 @@ "flood", "tsunami" ], - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" + "bridges": [ + "ergo:bridges", + "ergo:bridgesVer2", + "ergo:bridgesVer3" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ] }, "parameter_defaults": { - "result_name": "epf-damage-result", - "hazard_type": null, - "hazard_id": null, + "result_name": "bridge-damage-result", "fragility_key": null, - "liquefaction_fragility_key": null, "use_liquefaction": false, "liquefaction_geology_dataset_id": null, "use_hazard_uncertainty": false, - "num_cpu": 1 + "num_cpu": 4, + "hazard_id": null, + "hazard_type": null } }, - "studio-WaterFacilityRestoration": { + "studio-RoadDamage": { "after": { - "studio-NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, + "studio-MeanDamage": [ { - "from": "time_results", - "to": "wds_time_results" + "from": "result", + "to": "damage" } ], - "studio-INDP": [ - { - "from": "repair_times", - "to": "wf_restoration_time" - } - ] - }, - "before": { - "studio-WaterFacilityDamage": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ] }, - "pretty_name": "Water Facility Restoration", + "before": {}, + "pretty_name": "Road Damage", "tags": [ "Lifeline" ], - "manual": "water_facility_restoration.html", + "manual": "road_dmg.html", "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" + "hazard": [ + "earthquake", + "hurricane", + "tsunami" + ], + "roads": [ + "ergo:roadLinkTopo", + "incore:roads", + "ergo:roadLinkTopoVer2" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" - ], - "damage": [ - "ergo:waterFacilityDamageVer6" ] }, "parameter_defaults": { - "result_name": "water-facility-restoration-result", - "restoration_key": "Restoration ID Code", - "end_time": 100.0, - "time_interval": 1.0, - "pf_interval": 0.05, - "discretized_days": "[1, 3, 7, 30, 90]" + "result_name": "road-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 } }, "studio-BuildingFunctionality": { "before": { - "studio-WfnFunctionality": [ + "studio-PipelineFunctionality": [ { "from": "sample_failure_state", "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "poles_damage_mcs_samples" } ], - "studio-EpnFunctionality": [ + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", @@ -1751,31 +2028,31 @@ }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "substations_damage_mcs_samples" } ], "studio-MonteCarloLimitStateProbability": [ { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "poles_damage_mcs_samples" } ], - "studio-PipelineFunctionality": [ + "studio-EpnFunctionality": [ { "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", @@ -1814,537 +2091,388 @@ "result_name": "bldg-functionality-result" } }, - "studio-INDP": { + "studio-EpnFunctionality": { "before": { - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "epf_sample_failure_state" } ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "studio-PipelineFunctionality": [ { "from": "sample_failure_state", - "to": "epf_failure_state" - } - ], - "studio-PopulationDislocation": [ - { - "from": "result", - "to": "pop_dislocation" + "to": "epf_sample_failure_state" } ], - "studio-EpfRepairCost": [ - { - "from": "result", - "to": "epf_repair_cost" - }, + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-PipelineRepairCost": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "pipeline_repair_cost" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, + ] + }, + "after": { + "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_damage_states", - "to": "wf_damage_state" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "poles_damage_mcs_samples" } ], - "studio-WfnFunctionality": [ + "studio-INDP": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "wf_failure_state" } ], - "studio-WaterFacilityRepairCost": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-EpfRestoration": [ + "studio-NciFunctionality": [ { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-WaterFacilityRestoration": [ + "studio-EpnFunctionality": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-PipelineRestoration": [ + "studio-CapitalShocks": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" } ] }, - "after": {}, - "pretty_name": "Infrastructure Network Disruption Planning", + "pretty_name": "Electric Power Network Functionality", "tags": [ - "Decision Support" + "Lifeline" ], - "manual": "indp.html", + "manual": "epn_functionality.html", "inputs": { - "wf_repair_cost": [ - "incore:repairCost" - ], - "wf_restoration_time": [ - "incore:waterFacilityRepairTime" - ], - "epf_repair_cost": [ - "incore:repairCost" - ], - "epf_restoration_time": [ - "incore:epfRepairTime" - ], - "pipeline_repair_cost": [ - "incore:pipelineRepairCost" - ], - "pipeline_restoration_time": [ - "incore:pipelineRestorationVer1" - ], - "power_network": [ + "epn_network": [ "incore:epnNetwork" ], - "water_network": [ - "incore:waterNetwork" - ], - "powerline_supply_demand_info": [ - "incore:powerLineSupplyDemandInfo" - ], - "epf_supply_demand_info": [ - "incore:epfSupplyDemandInfo" - ], - "wf_supply_demand_info": [ - "incore:waterFacilitySupplyDemandInfo" - ], - "pipeline_supply_demand_info": [ - "incore:pipelineSupplyDemandInfo" - ], - "interdep": [ - "incore:interdep" - ], - "wf_failure_state": [ - "incore:sampleFailureState" - ], - "wf_damage_state": [ - "incore:sampleDamageState" - ], - "pipeline_failure_state": [ - "incore:sampleFailureState" - ], - "epf_failure_state": [ + "epf_sample_failure_state": [ "incore:sampleFailureState" - ], - "epf_damage_state": [ - "incore:sampleDamageState" - ], - "dt_params": [ - "incore:dTParams" - ], - "pop_dislocation": [ - "incore:popDislocation" - ], - "bldgs2elec": [ - "incore:bldgs2elec" - ], - "bldgs2wter": [ - "incore:bldgs2wter" ] }, "parameter_defaults": { - "network_type": "from_csv", - "MAGS": "[1000]", - "sample_range": "[0]", - "dislocation_data_type": "incore", - "return_model": "step_function", - "testbed_name": null, - "extra_commodity": null, - "RC": null, - "layers": null, - "method": "INDP", - "t_steps": 10, - "time_resource": true, - "save_model": false, - "solver_engine": null, - "solver_path": null, - "solver_time_limit": null + "result_name": "epn-functionality-result", + "gate_station_node_list": null } }, - "studio-BuyoutDecision": { + "studio-WfnFunctionality": { "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-WfnFunctionality": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-PopulationDislocation": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "population_dislocation" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-HousingUnitAllocation": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "studio-BuildingStructuralDamage": [ + "studio-PipelineFunctionality": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" }, { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ] }, - "after": {}, - "pretty_name": "Buyout Decision", - "tags": [ - "Decision Support" - ], - "manual": "buyout_decision.html", - "inputs": { - "past_building_damage": [ - "ergo:buildingDamageVer6" - ], - "future_building_damage": [ - "ergo:buildingDamageVer6" - ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" - ], - "population_dislocation": [ - "incore:popDislocation" - ] - }, - "parameter_defaults": { - "fema_buyout_cap": 250000.0, - "residential_archetypes": null, - "result_name": "buyout-decision-result" - } - }, - "studio-BuildingStructuralDamage": { "after": { - "studio-CumulativeBuildingDamage": [ + "studio-BuildingFunctionality": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "ds_result", - "to": "damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-INDP": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-CommercialBuildingRecovery": [ + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "studio-BuyoutDecision": [ + "studio-WfnFunctionality": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-MeanDamage": [ + "studio-NciFunctionality": [ { - "from": "ds_result", - "to": "damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-PopulationDislocation": [ + "studio-CapitalShocks": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-MaxDamageStateTool": [ + "studio-CommercialBuildingRecovery": [ { - "from": "ds_result", - "to": "Output dataset" + "from": "failure_probability", + "to": "mcs_failure" } ] }, - "before": {}, - "pretty_name": "Building Structural Damage", + "pretty_name": "Water Facility Network Functionality", "tags": [ - "Building" + "Lifeline" ], - "manual": "building_structural_dmg.html", + "manual": "wfn_functionality.html", "inputs": { - "hazard": [ - "earthquake", - "tornado", - "hurricane", - "flood", - "tsunami" - ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "wfn_network": [ + "incore:waterNetwork" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "wf_sample_failure_state": [ + "incore:sampleFailureState" ], - "retrofit_strategy": [ - "incore:retrofitStrategy" + "pp_sample_failure_state": [ + "incore:sampleFailureState" ] }, "parameter_defaults": { - "result_name": "building-struct-dmg-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "use_hazard_uncertainty": false, - "num_cpu": 1, - "seed": 1234, - "liquefaction_geology_dataset_id": null + "result_name": "wfn-functionality-result", + "tank_node_list": "[]", + "pumpstation_node_list": "[]" } }, - "studio-EpfRepairCost": { - "before": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ] - }, + "studio-EpfRestoration": { "after": { - "studio-INDP": [ + "studio-NciFunctionality": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "time_results", + "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } - ] - }, - "pretty_name": "Electric Power Facility Repair Cost", - "tags": [ - "Lifeline" - ], - "manual": "epf_repair_cost.html", - "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" - ], - "replacement_cost": [ - "incore:replacementCost" - ], - "sample_damage_states": [ - "incore:sampleDamageState" ], - "epf_dmg_ratios": [ - "incore:epfDamageRatios" + "studio-INDP": [ + { + "from": "repair_times", + "to": "epf_restoration_time" + } ] }, - "parameter_defaults": { - "result_name": "epf-repair-cost-result", - "num_cpu": 1 - } - }, - "studio-ResidentialBuildingRecovery": { "before": { - "studio-MonteCarloLimitStateProbability": [ + "studio-EpfDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Residential Building Recovery", + "pretty_name": "Electric Power Facility Restoration", "tags": [ - "Socioeconomic", - "Decision Support" + "LifeLine" ], - "manual": "residential_building_recovery.html", + "manual": "epf_restoration.html", "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "epfs": [ + "incore:epf", + "ergo:epf" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "socio_demographic_data": [ - "incore:socioDemograhicData" - ], - "financial_resources": [ - "incore:householdFinancialResources" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" + "damage": [ + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3" ] }, "parameter_defaults": { - "result_name": "residential-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 + "result_name": "epf-restoration-result", + "restoration_key": null, + "end_time": 365.0, + "time_interval": 1.0, + "pf_interval": 0.1, + "discretized_days": "[1, 3, 7, 30, 90]" } }, - "studio-WaterFacilityRepairCost": { + "studio-CapitalShocks": { "before": { + "studio-WfnFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-PipelineFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-EpnFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" } ] }, "after": { - "studio-INDP": [ + "studio-MlEnabledCgeJoplin": [ { - "from": "result", - "to": "wf_repair_cost" - }, + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-JoplinCGEModel": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-SaltLakeCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-MlEnabledCgeSlc": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-GalvestonCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-SeasideCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Water Facility Repair Cost", + "pretty_name": "Capital Shocks", "tags": [ - "Lifeline" - ], - "manual": "water_facility_repair_cost.html", - "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "replacement_cost": [ - "incore:replacementCost" + "Economic" + ], + "manual": "capital_shocks.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "sample_damage_states": [ - "incore:sampleDamageState" + "buildings_to_sectors": [ + "incore:buildingsToSectors" ], - "wf_dmg_ratios": [ - "incore:waterFacilityDamageRatios" + "failure_probability": [ + "incore:failureProbability" ] }, "parameter_defaults": { - "result_name": "water-facility-repair-cost-result", - "num_cpu": 1 + "result_name": "capital-shocks-result" } }, "studio-GalvestonCGEModel": { @@ -2619,344 +2747,140 @@ }, { "from": "pre-disaster-factor-demand", - "to": "Pre Demand" - }, - { - "from": "post-disaster-factor-demand", - "to": "Post Demand" - } - ] - }, - "pretty_name": "Salt Lake CGE Model", - "tags": [ - "Economic" - ], - "manual": "slc_cge.html", - "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "JOBCR": [ - "incore:CGEjobcr" - ], - "OUTCR": [ - "incore:CGEoutcr" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] - }, - "parameter_defaults": { - "model_iterations": 1, - "solver_path": null - } - }, - "studio-SeasideCGEModel": { - "before": { - "studio-CapitalShocks": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "after": {}, - "pretty_name": "Seaside CGE Model", - "tags": [ - "Economic" - ], - "manual": "seaside_cge.html", - "inputs": { - "SAM": [ - "incore:SeasideCGEsam" - ], - "BB": [ - "incore:SeasideCGEbb" - ], - "HHTABLE": [ - "incore:SeasideCGEhhtable" - ], - "EMPLOY": [ - "incore:SeasideCGEemploy" - ], - "JOBCR": [ - "incore:SeasideCGEjobcr" - ], - "SIMS": [ - "incore:SeasideCGEsim" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] - }, - "parameter_defaults": { - "print_solver_output": false, - "solver_path": null - } - }, - "studio-HousingUnitAllocation": { - "after": { - "studio-BuyoutDecision": [ - { - "from": "result", - "to": "housing_unit_allocation" - } - ], - "studio-PopulationDislocation": [ - { - "from": "result", - "to": "housing_unit_allocation" - } - ] - }, - "before": {}, - "pretty_name": "Housing Unit Allocation", - "tags": [ - "Socioeconomic" - ], - "manual": "housingunitallocation.html", - "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "housing_unit_inventory": [ - "incore:housingUnitInventory" - ], - "address_point_inventory": [ - "incore:addressPoints" - ] - }, - "parameter_defaults": { - "result_name": "housing-unit-allocation-result", - "seed": 1234, - "iterations": 10 - } - }, - "studio-RoadDamage": { - "after": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-MeanDamage": [ - { - "from": "result", - "to": "damage" - } - ] - }, - "before": {}, - "pretty_name": "Road Damage", - "tags": [ - "Lifeline" - ], - "manual": "road_dmg.html", - "inputs": { - "hazard": [ - "earthquake", - "hurricane", - "tsunami" - ], - "roads": [ - "ergo:roadLinkTopo", - "incore:roads", - "ergo:roadLinkTopoVer2" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, - "parameter_defaults": { - "result_name": "road-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - } - }, - "studio-WaterFacilityDamage": { - "after": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-NciFunctionality": [ - { - "from": "result", - "to": "wds_dmg_results" - } - ], - "studio-WaterFacilityRestoration": [ - { - "from": "result", - "to": "damage" - } - ] - }, - "before": {}, - "pretty_name": "Water Facility Damage", - "tags": [ - "Lifeline" - ], - "manual": "waterfacility_dmg.html", - "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, - "parameter_defaults": { - "result_name": "water-facility-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "liquefaction_fragility_key": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - } - }, - "studio-HousingRecoverySequential": { - "before": { - "studio-SocialVulnerabilityScore": [ - { - "from": "sv_result", - "to": "sv_result" - } - ], - "studio-PopulationDislocation": [ + "to": "Pre Demand" + }, { - "from": "result", - "to": "population_dislocation_block" + "from": "post-disaster-factor-demand", + "to": "Post Demand" } ] }, - "after": {}, - "pretty_name": "Housing Recovery Sequential", + "pretty_name": "Salt Lake CGE Model", "tags": [ - "Socioeconomic", - "Decision Support" + "Economic" ], - "manual": "housing_household_recovery.html", + "manual": "slc_cge.html", "inputs": { - "population_dislocation_block": [ - "incore:popDislocation" + "SAM": [ + "incore:CGEsam" ], - "tpm": [ - "incore:houseRecTransitionProbMatrix" + "BB": [ + "incore:CGEbb" ], - "initial_stage_probabilities": [ - "incore:houseRecInitialStageProbability" + "IOUT": [ + "incore:CGEiout" ], - "sv_result": [ - "incore:socialVulnerabilityScore" + "MISC": [ + "incore:CGEmisc" ], - "zone_def_sv": [ - "incore:zoneDefinitionsSocialVulnerability" + "MISCH": [ + "incore:CGEmisch" ], - "zone_def_hhinc": [ - "incore:zoneDefinitionsHouseholdIncome" + "EMPLOY": [ + "incore:CGEemploy" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" ] }, "parameter_defaults": { - "result_name": "housing-recovery-sequential-result", - "t_delta": null, - "t_final": null, - "seed": 1234, - "num_cpu": 4 + "model_iterations": 1, + "solver_path": null } }, - "studio-HousingValuationRecovery": { + "studio-SeasideCGEModel": { "before": { - "studio-PopulationDislocation": [ + "studio-CapitalShocks": [ { - "from": "result", - "to": "population_dislocation" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, "after": {}, - "pretty_name": "Housing Valuation Recovery", + "pretty_name": "Seaside CGE Model", "tags": [ - "Socioeconomic" + "Economic" ], - "manual": "housing_recovery.html", + "manual": "seaside_cge.html", "inputs": { - "population_dislocation": [ - "incore:popDislocation" + "SAM": [ + "incore:SeasideCGEsam" ], - "building_area": [ - "incore:buildingInventoryArea" + "BB": [ + "incore:SeasideCGEbb" ], - "census_block_groups_data": [ - "incore:censusBlockGroupsData" + "HHTABLE": [ + "incore:SeasideCGEhhtable" ], - "census_appraisal_data": [ - "incore:censusAppraisalData" + "EMPLOY": [ + "incore:SeasideCGEemploy" + ], + "JOBCR": [ + "incore:SeasideCGEjobcr" + ], + "SIMS": [ + "incore:SeasideCGEsim" + ], + "sector_shocks": [ + "incore:capitalShocks" ] }, "parameter_defaults": { - "base_year": 2008, - "result_name": "housing-valuation-recovery-result" + "print_solver_output": false, + "solver_path": null } }, - "studio-SocialVulnerabilityScore": { - "after": { - "studio-HousingRecoverySequential": [ + "studio-ResidentialBuildingRecovery": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "sv_result", - "to": "sv_result" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "before": {}, - "pretty_name": "Social Vulnerability Score", + "after": {}, + "pretty_name": "Residential Building Recovery", "tags": [ - "Socioeconomic" + "Socioeconomic", + "Decision Support" ], - "manual": "social_vulnerability_score.html", + "manual": "residential_building_recovery.html", "inputs": { - "national_vulnerability_feature_averages": [ - "incore:socialVulnerabilityFeatureAverages" + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "social_vulnerability_demographic_factors": [ - "incore:socialVulnerabilityDemFactors" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "socio_demographic_data": [ + "incore:socioDemograhicData" + ], + "financial_resources": [ + "incore:householdFinancialResources" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" ] }, "parameter_defaults": { - "result_name": "social-vulnerability-score-result" + "result_name": "residential-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 } }, "studio-PipelineDamage": { @@ -2996,7 +2920,7 @@ "liquefaction_geology_dataset_id": null } }, - "studio-BridgeDamage": { + "studio-BuildingNonStructDamage": { "after": { "studio-MonteCarloLimitStateProbability": [ { @@ -3004,12 +2928,87 @@ "to": "damage" } ], + "studio-JoplinEmpiricalBuildingRestoration": [ + { + "from": "result", + "to": "building_dmg" + } + ], "studio-MeanDamage": [ { "from": "result", "to": "damage" } ], + "studio-CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "result", + "to": "flood_damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "result", + "to": "flood_damage" + } + ] + }, + "before": {}, + "pretty_name": "Building Non-Structural Damage", + "tags": [ + "Building" + ], + "manual": "building_nonstructural_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "flood", + "hurricane" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" + ] + }, + "parameter_defaults": { + "result_name": "building-nonstruct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": "Acceleration-Sensitive Fragility ID Code", + "use_liquefaction": true, + "liq_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + } + }, + "studio-EpfDamage": { + "after": { + "studio-NciFunctionality": [ + { + "from": "result", + "to": "epf_damage" + } + ], + "studio-EpfRestoration": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ], "studio-MaxDamageStateTool": [ { "from": "ds_result", @@ -3018,11 +3017,11 @@ ] }, "before": {}, - "pretty_name": "Bridge Damage", + "pretty_name": "Electric Power Facility Damage", "tags": [ - "Bridge" + "Lifeline" ], - "manual": "bridge_dmg.html", + "manual": "epf_dmg.html", "inputs": { "hazard": [ "earthquake", @@ -3031,24 +3030,25 @@ "flood", "tsunami" ], - "bridges": [ - "ergo:bridges", - "ergo:bridgesVer2", - "ergo:bridgesVer3" + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ] }, "parameter_defaults": { - "result_name": "bridge-damage-result", + "result_name": "epf-damage-result", + "hazard_type": null, + "hazard_id": null, "fragility_key": null, + "liquefaction_fragility_key": null, "use_liquefaction": false, "liquefaction_geology_dataset_id": null, "use_hazard_uncertainty": false, - "num_cpu": 4, - "hazard_id": null, - "hazard_type": null + "num_cpu": 1 } }, "studio-BuildingClusterRecovery": { @@ -3253,7 +3253,8 @@ "Output dataset": [ "ergo:buildingDamageVer6" ] - } + }, + "parameter_defaults": {} }, "studio-BuildingDamageSummaryTool": { "before": { @@ -3283,7 +3284,8 @@ "Archetype Mapping": [ "Archetype Mapping type" ] - } + }, + "parameter_defaults": {} }, "studio-CGEPostProcessTool": { "before": { @@ -3420,7 +3422,8 @@ "Post Demand": [ "incore:FactorDemand" ] - } + }, + "parameter_defaults": {} }, "studio-DislPostProcessTool": { "before": { @@ -3441,7 +3444,8 @@ "Dislocation Output": [ "incore:popDislocation" ] - } + }, + "parameter_defaults": {} }, "studio-BuildingFailureClusterTool": { "before": { @@ -3471,7 +3475,8 @@ "Archetype Mapping": [ "Archetype Mapping type" ] - } + }, + "parameter_defaults": {} }, "studio-BuildingFunctionalityClusterTool": { "before": { @@ -3501,6 +3506,7 @@ "Archetype Mapping": [ "Archetype Mapping type" ] - } + }, + "parameter_defaults": {} } } \ No newline at end of file From 5535dcb34cbedbf0a44b19e6d68a77681d020ee0 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Mon, 21 Apr 2025 16:42:18 -0400 Subject: [PATCH 15/19] update archetype mapping input type --- .../pyincore_utils/create_dependency_graph.py | 6 +- utils/pyincore_utils/dependencyGraph.json | 3284 ++++++++--------- 2 files changed, 1645 insertions(+), 1645 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 3f13514..5a80b69 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -465,7 +465,7 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7", ], - "Archetype Mapping": ["Archetype Mapping type"], + "Archetype Mapping": ["ncsa:archetype-mapping"], }, "parameter_defaults": {}, }, @@ -551,7 +551,7 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7", ], - "Archetype Mapping": ["Archetype Mapping type"], + "Archetype Mapping": ["ncsa:archetype-mapping"], }, "parameter_defaults": {}, }, @@ -573,7 +573,7 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7", ], - "Archetype Mapping": ["Archetype Mapping type"], + "Archetype Mapping": ["ncsa:archetype-mapping"], }, "parameter_defaults": {}, }, diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index f78dd43..1a0c15b 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -1,771 +1,1225 @@ { - "studio-BuyoutDecision": { + "studio-INDP": { "before": { - "studio-HousingUnitAllocation": [ + "studio-EpfRepairCost": [ { "from": "result", - "to": "housing_unit_allocation" - } - ], - "studio-PopulationDislocation": [ + "to": "wf_repair_cost" + }, { "from": "result", - "to": "population_dislocation" + "to": "epf_repair_cost" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-WfnFunctionality": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "ds_result", - "to": "past_building_damage" - } - ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" } - ] - }, - "after": {}, - "pretty_name": "Buyout Decision", - "tags": [ - "Decision Support" - ], - "manual": "buyout_decision.html", - "inputs": { - "past_building_damage": [ - "ergo:buildingDamageVer6" - ], - "future_building_damage": [ - "ergo:buildingDamageVer6" - ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" - ], - "population_dislocation": [ - "incore:popDislocation" - ] - }, - "parameter_defaults": { - "fema_buyout_cap": 250000.0, - "residential_archetypes": null, - "result_name": "buyout-decision-result" - } - }, - "studio-CombinedWindWaveSurgeBuildingDamage": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-PipelineFunctionality": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "studio-BuildingNonStructDamage": [ + "studio-PipelineRepairCost": [ { "from": "result", - "to": "flood_damage" - } - ] - }, - "after": { - "studio-MeanDamage": [ - { - "from": "ds_result", - "to": "damage" + "to": "pipeline_repair_cost" } ], - "studio-CumulativeBuildingDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "ds_result", - "to": "eq_bldg_dmg" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_damage_states", + "to": "wf_damage_state" }, { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "surge_wave_damage" - } - ], - "studio-CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-BuyoutDecision": [ - { - "from": "ds_result", - "to": "future_building_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "ds_result", - "to": "past_building_damage" + "from": "sample_damage_states", + "to": "epf_damage_state" } ], "studio-PopulationDislocation": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "pop_dislocation" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-WaterFacilityRestoration": [ { - "from": "ds_result", - "to": "damage" + "from": "repair_times", + "to": "wf_restoration_time" } ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" - } - ] - }, - "pretty_name": "Combined Wind Wave Surge Building Damage", - "tags": [ - "Building" - ], - "manual": "combined_wind_wave_surge_building_dmg.html", - "inputs": { - "wind_damage": [ - "ergo:buildingDamageVer6" - ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" - ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" - ] - }, - "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-damage-result" - } - }, - "studio-CombinedWindWaveSurgeBuildingLoss": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "studio-BuildingStructuralDamage": [ + "studio-PipelineRestoration": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ], + "studio-WaterFacilityRepairCost": [ + { + "from": "result", + "to": "epf_repair_cost" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "wf_repair_cost" } ], - "studio-BuildingNonStructDamage": [ + "studio-EpfRestoration": [ { - "from": "result", - "to": "flood_damage" + "from": "repair_times", + "to": "epf_restoration_time" } ] }, "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss", + "pretty_name": "Infrastructure Network Disruption Planning", "tags": [ - "Building" + "Decision Support" ], - "manual": "combined_wind_wave_surge_building_loss.html", + "manual": "indp.html", "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "wf_repair_cost": [ + "incore:repairCost" ], - "wind_damage": [ - "ergo:buildingDamageVer6" + "wf_restoration_time": [ + "incore:waterFacilityRepairTime" ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" + "epf_repair_cost": [ + "incore:repairCost" ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" + "epf_restoration_time": [ + "incore:epfRepairTime" ], - "structural_cost": [ - "incore:structuralCostRatio" + "pipeline_repair_cost": [ + "incore:pipelineRepairCost" ], - "content_cost": [ - "incore:contentCostRatio" - ] - }, - "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-loss-result" - } - }, - "studio-CommercialBuildingRecovery": { + "pipeline_restoration_time": [ + "incore:pipelineRestorationVer1" + ], + "power_network": [ + "incore:epnNetwork" + ], + "water_network": [ + "incore:waterNetwork" + ], + "powerline_supply_demand_info": [ + "incore:powerLineSupplyDemandInfo" + ], + "epf_supply_demand_info": [ + "incore:epfSupplyDemandInfo" + ], + "wf_supply_demand_info": [ + "incore:waterFacilitySupplyDemandInfo" + ], + "pipeline_supply_demand_info": [ + "incore:pipelineSupplyDemandInfo" + ], + "interdep": [ + "incore:interdep" + ], + "wf_failure_state": [ + "incore:sampleFailureState" + ], + "wf_damage_state": [ + "incore:sampleDamageState" + ], + "pipeline_failure_state": [ + "incore:sampleFailureState" + ], + "epf_failure_state": [ + "incore:sampleFailureState" + ], + "epf_damage_state": [ + "incore:sampleDamageState" + ], + "dt_params": [ + "incore:dTParams" + ], + "pop_dislocation": [ + "incore:popDislocation" + ], + "bldgs2elec": [ + "incore:bldgs2elec" + ], + "bldgs2wter": [ + "incore:bldgs2wter" + ] + }, + "parameter_defaults": { + "network_type": "from_csv", + "MAGS": "[1000]", + "sample_range": "[0]", + "dislocation_data_type": "incore", + "return_model": "step_function", + "testbed_name": null, + "extra_commodity": null, + "RC": null, + "layers": null, + "method": "INDP", + "t_steps": 10, + "time_resource": true, + "save_model": false, + "solver_engine": null, + "solver_path": null, + "solver_time_limit": null + } + }, + "studio-EpfRepairCost": { + "after": { + "studio-INDP": [ + { + "from": "result", + "to": "epf_repair_cost" + }, + { + "from": "result", + "to": "wf_repair_cost" + } + ] + }, "before": { - "studio-WfnFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_damage_states", + "to": "sample_damage_states" } + ] + }, + "pretty_name": "Electric Power Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "epf_repair_cost.html", + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" ], - "studio-MonteCarloLimitStateProbability": [ + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "epf_dmg_ratios": [ + "incore:epfDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "epf-repair-cost-result", + "num_cpu": 1 + } + }, + "studio-WaterFacilityRepairCost": { + "after": { + "studio-INDP": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "epf_repair_cost" }, + { + "from": "result", + "to": "wf_repair_cost" + } + ] + }, + "before": { + "studio-MonteCarloLimitStateProbability": [ { "from": "sample_damage_states", "to": "sample_damage_states" } + ] + }, + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_repair_cost.html", + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "wf_dmg_ratios": [ + "incore:waterFacilityDamageRatios" + ] + }, + "parameter_defaults": { + "result_name": "water-facility-repair-cost-result", + "num_cpu": 1 + } + }, + "studio-PipelineRestoration": { + "after": { + "studio-INDP": [ + { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ] + }, + "before": { + "studio-PipelineDamageRepairRate": [ + { + "from": "result", + "to": "pipeline_damage" + } + ] + }, + "pretty_name": "Pipeline Restoration", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_restoration.html", + "inputs": { + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "pipeline_damage": [ + "ergo:pipelineDamageVer2", + "ergo:pipelineDamageVer3" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "pipeline-restoration-result", + "num_cpu": 1, + "num_available_workers": 4, + "restoration_key": "Restoration ID Code" + } + }, + "studio-CombinedWindWaveSurgeBuildingDamage": { + "before": { + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "flood_damage" + } + ] + }, + "after": { + "studio-CommercialBuildingRecovery": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-BuyoutDecision": [ + { + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" + } + ], + "studio-MeanDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ], + "studio-PopulationDislocation": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-JoplinEmpiricalBuildingRestoration": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ] + }, + "pretty_name": "Combined Wind Wave Surge Building Damage", + "tags": [ + "Building" + ], + "manual": "combined_wind_wave_surge_building_dmg.html", + "inputs": { + "wind_damage": [ + "ergo:buildingDamageVer6" + ], + "surge_wave_damage": [ + "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" + ] + }, + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-damage-result" + } + }, + "studio-CombinedWindWaveSurgeBuildingLoss": { + "before": { + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "flood_damage" + } + ] + }, + "after": {}, + "pretty_name": "Combined Wind Wave Surge Building Loss", + "tags": [ + "Building" + ], + "manual": "combined_wind_wave_surge_building_loss.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "wind_damage": [ + "ergo:buildingDamageVer6" + ], + "surge_wave_damage": [ + "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" + ], + "structural_cost": [ + "incore:structuralCostRatio" + ], + "content_cost": [ + "incore:contentCostRatio" + ] + }, + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-loss-result" + } + }, + "studio-JoplinEmpiricalBuildingRestoration": { + "before": { + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "building_dmg" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "building_dmg" + } + ] + }, + "after": {}, + "pretty_name": "Joplin Empirical Building Restoration", + "tags": [ + "Building" + ], + "manual": "", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "building_dmg": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4" + ], + "building_functionality_level": [ + "incore:buildingFuncTargetVer1" + ] + }, + "parameter_defaults": { + "result_name": "joplin-empirical-building-restoration", + "target_functionality_level": 0, + "seed": 1234 + } + }, + "studio-MeanDamage": { + "before": { + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-RoadDamage": [ + { + "from": "result", + "to": "damage" + } ], - "studio-BuildingStructuralDamage": [ + "studio-BuildingNonStructDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } ], - "studio-EpnFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "combined-result", + "to": "damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-BridgeDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } - ], - "studio-PipelineFunctionality": [ + ] + }, + "after": { + "studio-BuildingEconLoss": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "building_mean_dmg" } ] }, - "after": {}, - "pretty_name": "Commercial Building Recovery", - "tags": [ - "Socioeconomic" - ], - "manual": "commercial_building_recovery.html", + "pretty_name": "Mean Damage", + "tags": [], + "manual": "mean_dmg.html", "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "mcs_failure": [ - "incore:failureProbability" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3" ], - "building_dmg": [ - "ergo:buildingDamageVer6" + "dmg_ratios": [ + "ergo:buildingDamageRatios", + "ergo:bridgeDamageRatios", + "ergo:buildingContentDamageRatios", + "ergo:buildingASDamageRatios", + "ergo:buildingDSDamageRatios", + "ergo:roadDamageRatios" ] }, "parameter_defaults": { - "result_name": "commercial-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 + "result_name": "mean-damage-result", + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", + "num_cpu": 1 } }, - "studio-CumulativeBuildingDamage": { + "studio-MonteCarloLimitStateProbability": { "before": { + "studio-EpfDamage": [ + { + "from": "result", + "to": "damage" + } + ], "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + "to": "damage" + } + ], + "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "damage" } ], - "studio-CumulativeBuildingDamage": [ + "studio-RoadDamage": [ { - "from": "combined-result", - "to": "eq_bldg_dmg" - }, + "from": "result", + "to": "damage" + } + ], + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-WaterFacilityDamage": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-CumulativeBuildingDamage": [ { "from": "combined-result", - "to": "tsunami_bldg_dmg" + "to": "damage" } ], - "studio-BuildingStructuralDamage": [ + "studio-BridgeDamage": [ { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + "from": "result", + "to": "damage" + } + ], + "studio-PipelineDamage": [ { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "result", + "to": "damage" } ] }, "after": { - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-BuildingFunctionality": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-WfnFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ], - "studio-MeanDamage": [ + "studio-INDP": [ { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "epf_damage_state" + }, + { + "from": "sample_damage_states", + "to": "wf_damage_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "studio-PopulationDislocation": [ + "studio-NciFunctionality": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-CumulativeBuildingDamage": [ + "studio-WaterFacilityRepairCost": [ { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "studio-CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-EpfRepairCost": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], + "studio-ResidentialBuildingRecovery": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ], + "studio-BuildingFailureClusterTool": [ + { + "from": "failure_probability", + "to": "Building Failure Probability" } ] }, - "pretty_name": "Cumulative Building Damage", + "pretty_name": "Monte Carlo Limit State Probability", "tags": [ - "Building" + "Decision Support" ], - "manual": "cumulative_building_dmg.html", + "manual": "mc_limit_state_prob.html", "inputs": { - "eq_bldg_dmg": [ - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" - ], - "tsunami_bldg_dmg": [ + "damage": [ + "ergo:buildingDamageVer4", "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:waterFacilityDamageVer4", + "ergo:waterFacilityDamageVer5", + "ergo:waterFacilityDamageVer6", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3", + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3", + "incore:pipelineDamage", + "incore:pipelineDamageVer2", + "incore:pipelineDamageVer3" ] }, "parameter_defaults": { - "result_name": "cumulative-building-damage-result", - "num_cpu": 4 + "result_name": "monte_carlo_limit_state_probability-result", + "num_cpu": 8, + "num_samples": 10, + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", + "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", + "seed": 1234 } }, - "studio-JoplinEmpiricalBuildingRestoration": { - "before": { - "studio-CumulativeBuildingDamage": [ + "studio-BuildingNonStructDamage": { + "after": { + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "result", + "to": "flood_damage" } ], - "studio-BuildingNonStructDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "result", - "to": "building_dmg" + "to": "flood_damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "ds_result", + "from": "result", "to": "building_dmg" } ], - "studio-BuildingStructuralDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" + } + ], + "studio-MeanDamage": [ + { + "from": "result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Joplin Empirical Building Restoration", + "before": {}, + "pretty_name": "Building Non-Structural Damage", "tags": [ "Building" ], - "manual": "", + "manual": "building_nonstructural_dmg.html", "inputs": { + "hazard": [ + "earthquake", + "flood", + "hurricane" + ], "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "building_dmg": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ], - "building_functionality_level": [ - "incore:buildingFuncTargetVer1" + "retrofit_strategy": [ + "incore:retrofitStrategy" ] }, "parameter_defaults": { - "result_name": "joplin-empirical-building-restoration", - "target_functionality_level": 0, - "seed": 1234 + "result_name": "building-nonstruct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": "Acceleration-Sensitive Fragility ID Code", + "use_liquefaction": true, + "liq_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 } }, - "studio-MeanDamage": { - "before": { - "studio-RoadDamage": [ + "studio-RoadDamage": { + "after": { + "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-MeanDamage": [ { - "from": "ds_result", + "from": "result", "to": "damage" } + ] + }, + "before": {}, + "pretty_name": "Road Damage", + "tags": [ + "Lifeline" + ], + "manual": "road_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "hurricane", + "tsunami" + ], + "roads": [ + "ergo:roadLinkTopo", + "incore:roads", + "ergo:roadLinkTopoVer2" ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "road-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + } + }, + "studio-BuyoutDecision": { + "before": { "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "damage" + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } ], - "studio-BridgeDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", - "to": "damage" + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } ], - "studio-BuildingNonStructDamage": [ + "studio-PopulationDislocation": [ { "from": "result", - "to": "damage" + "to": "population_dislocation" } ], - "studio-CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "damage" - } - ] - }, - "after": { - "studio-BuildingEconLoss": [ + "studio-HousingUnitAllocation": [ { "from": "result", - "to": "building_mean_dmg" + "to": "housing_unit_allocation" } ] }, - "pretty_name": "Mean Damage", - "tags": [], - "manual": "mean_dmg.html", + "after": {}, + "pretty_name": "Buyout Decision", + "tags": [ + "Decision Support" + ], + "manual": "buyout_decision.html", "inputs": { - "damage": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3" + "past_building_damage": [ + "ergo:buildingDamageVer6" ], - "dmg_ratios": [ - "ergo:buildingDamageRatios", - "ergo:bridgeDamageRatios", - "ergo:buildingContentDamageRatios", - "ergo:buildingASDamageRatios", - "ergo:buildingDSDamageRatios", - "ergo:roadDamageRatios" + "future_building_damage": [ + "ergo:buildingDamageVer6" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "housing_unit_allocation": [ + "incore:housingUnitAllocation" + ], + "population_dislocation": [ + "incore:popDislocation" ] }, "parameter_defaults": { - "result_name": "mean-damage-result", - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", - "num_cpu": 1 + "fema_buyout_cap": 250000.0, + "residential_archetypes": null, + "result_name": "buyout-decision-result" } }, - "studio-MonteCarloLimitStateProbability": { + "studio-CommercialBuildingRecovery": { "before": { - "studio-WaterFacilityDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "from": "failure_probability", + "to": "mcs_failure" + }, { - "from": "ds_result", - "to": "damage" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "studio-BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "damage" - } - ], - "studio-RoadDamage": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-EpfDamage": [ - { - "from": "result", - "to": "damage" + "to": "building_dmg" } ], - "studio-BridgeDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-BuildingNonStructDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-PipelineDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", - "to": "damage" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-CumulativeBuildingDamage": [ + "studio-WfnFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ] }, - "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } + "after": {}, + "pretty_name": "Commercial Building Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "commercial_building_recovery.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "mcs_failure": [ + "incore:failureProbability" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ], + "building_dmg": [ + "ergo:buildingDamageVer6" + ] + }, + "parameter_defaults": { + "result_name": "commercial-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + } + }, + "studio-CumulativeBuildingDamage": { + "before": { + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "combined-result", + "to": "eq_bldg_dmg" }, { - "from": "sample_damage_states", - "to": "epf_damage_state" + "from": "combined-result", + "to": "tsunami_bldg_dmg" } ], - "studio-WfnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "studio-EpfRepairCost": [ + "studio-BuildingStructuralDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ], - "studio-NciFunctionality": [ + "from": "ds_result", + "to": "eq_bldg_dmg" + }, { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "tsunami_bldg_dmg" } - ], - "studio-ResidentialBuildingRecovery": [ + ] + }, + "after": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "combined-result", + "to": "damage" } ], - "studio-EpnFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ], - "studio-CapitalShocks": [ + "from": "combined-result", + "to": "eq_bldg_dmg" + }, { - "from": "failure_probability", - "to": "failure_probability" + "from": "combined-result", + "to": "tsunami_bldg_dmg" } ], - "studio-WaterFacilityRepairCost": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "combined-result", + "to": "building_dmg" } ], - "studio-CommercialBuildingRecovery": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - }, + "studio-MeanDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "combined-result", + "to": "damage" } ], - "studio-BuildingFailureClusterTool": [ + "studio-PopulationDislocation": [ { - "from": "failure_probability", - "to": "Building Failure Probability" + "from": "combined-result", + "to": "building_dmg" } ] }, - "pretty_name": "Monte Carlo Limit State Probability", + "pretty_name": "Cumulative Building Damage", "tags": [ - "Decision Support" + "Building" ], - "manual": "mc_limit_state_prob.html", + "manual": "cumulative_building_dmg.html", "inputs": { - "damage": [ - "ergo:buildingDamageVer4", + "eq_bldg_dmg": [ "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:waterFacilityDamageVer4", - "ergo:waterFacilityDamageVer5", - "ergo:waterFacilityDamageVer6", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3", - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3", - "incore:pipelineDamage", - "incore:pipelineDamageVer2", - "incore:pipelineDamageVer3" + "ergo:buildingDamageVer6" + ], + "tsunami_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" ] }, "parameter_defaults": { - "result_name": "monte_carlo_limit_state_probability-result", - "num_cpu": 8, - "num_samples": 10, - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", - "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", - "seed": 1234 + "result_name": "cumulative-building-damage-result", + "num_cpu": 4 } }, "studio-PopulationDislocation": { "before": { - "studio-HousingUnitAllocation": [ - { - "from": "result", - "to": "housing_unit_allocation" - } - ], - "studio-CumulativeBuildingDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "combined-result", + "from": "ds_result", "to": "building_dmg" } ], @@ -775,18 +1229,24 @@ "to": "building_dmg" } ], - "studio-BuildingStructuralDamage": [ + "studio-HousingUnitAllocation": [ { - "from": "ds_result", + "from": "result", + "to": "housing_unit_allocation" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", "to": "building_dmg" } ] }, "after": { - "studio-BuyoutDecision": [ + "studio-HousingRecoverySequential": [ { "from": "result", - "to": "population_dislocation" + "to": "population_dislocation_block" } ], "studio-HousingValuationRecovery": [ @@ -795,16 +1255,16 @@ "to": "population_dislocation" } ], - "studio-HousingRecoverySequential": [ + "studio-INDP": [ { "from": "result", - "to": "population_dislocation_block" + "to": "pop_dislocation" } ], - "studio-INDP": [ + "studio-BuyoutDecision": [ { "from": "result", - "to": "pop_dislocation" + "to": "population_dislocation" } ], "studio-DislPostProcessTool": [ @@ -849,23 +1309,13 @@ }, "studio-BuildingStructuralDamage": { "after": { - "studio-MeanDamage": [ - { - "from": "ds_result", - "to": "damage" - } - ], - "studio-CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, + "studio-CommercialBuildingRecovery": [ { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "building_dmg" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { "from": "ds_result", "to": "surge_wave_damage" @@ -875,30 +1325,30 @@ "to": "wind_damage" } ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ + "studio-BuyoutDecision": [ { "from": "ds_result", - "to": "wind_damage" + "to": "past_building_damage" }, { "from": "ds_result", - "to": "surge_wave_damage" + "to": "future_building_damage" } ], - "studio-CommercialBuildingRecovery": [ + "studio-MeanDamage": [ { "from": "ds_result", - "to": "building_dmg" + "to": "damage" } ], - "studio-BuyoutDecision": [ + "studio-CumulativeBuildingDamage": [ { "from": "ds_result", - "to": "future_building_damage" + "to": "tsunami_bldg_dmg" }, { "from": "ds_result", - "to": "past_building_damage" + "to": "eq_bldg_dmg" } ], "studio-PopulationDislocation": [ @@ -913,6 +1363,16 @@ "to": "damage" } ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" + } + ], "studio-JoplinEmpiricalBuildingRestoration": [ { "from": "ds_result", @@ -965,393 +1425,301 @@ "liquefaction_geology_dataset_id": null } }, - "studio-INDP": { - "before": { - "studio-WaterFacilityRestoration": [ - { - "from": "repair_times", - "to": "wf_restoration_time" - } - ], - "studio-MonteCarloLimitStateProbability": [ + "studio-WaterFacilityRestoration": { + "after": { + "studio-NciFunctionality": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" }, { - "from": "sample_damage_states", - "to": "epf_damage_state" + "from": "time_results", + "to": "wds_time_results" }, { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + } + ], + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "from": "repair_times", + "to": "wf_restoration_time" + } + ] + }, + "before": { + "studio-WaterFacilityDamage": [ { - "from": "sample_damage_states", - "to": "wf_damage_state" + "from": "result", + "to": "damage" } + ] + }, + "pretty_name": "Water Facility Restoration", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_restoration.html", + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" ], - "studio-WfnFunctionality": [ + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "damage": [ + "ergo:waterFacilityDamageVer6" + ] + }, + "parameter_defaults": { + "result_name": "water-facility-restoration-result", + "restoration_key": "Restoration ID Code", + "end_time": 100.0, + "time_interval": 1.0, + "pf_interval": 0.05, + "discretized_days": "[1, 3, 7, 30, 90]" + } + }, + "studio-BuildingFunctionality": { + "before": { + "studio-PipelineFunctionality": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "building_damage_mcs_samples" } ], "studio-EpnFunctionality": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "building_damage_mcs_samples" } ], - "studio-PipelineFunctionality": [ + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "epf_failure_state" - } - ], - "studio-PipelineRestoration": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ], - "studio-PopulationDislocation": [ - { - "from": "result", - "to": "pop_dislocation" - } - ], - "studio-EpfRepairCost": [ - { - "from": "result", - "to": "epf_repair_cost" - }, - { - "from": "result", - "to": "wf_repair_cost" + "to": "building_damage_mcs_samples" } ], - "studio-WaterFacilityRepairCost": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "result", - "to": "wf_repair_cost" - } - ], - "studio-EpfRestoration": [ - { - "from": "repair_times", - "to": "epf_restoration_time" - } - ], - "studio-PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_repair_cost" - } - ] - }, - "after": {}, - "pretty_name": "Infrastructure Network Disruption Planning", - "tags": [ - "Decision Support" - ], - "manual": "indp.html", - "inputs": { - "wf_repair_cost": [ - "incore:repairCost" - ], - "wf_restoration_time": [ - "incore:waterFacilityRepairTime" - ], - "epf_repair_cost": [ - "incore:repairCost" - ], - "epf_restoration_time": [ - "incore:epfRepairTime" - ], - "pipeline_repair_cost": [ - "incore:pipelineRepairCost" - ], - "pipeline_restoration_time": [ - "incore:pipelineRestorationVer1" - ], - "power_network": [ - "incore:epnNetwork" - ], - "water_network": [ - "incore:waterNetwork" - ], - "powerline_supply_demand_info": [ - "incore:powerLineSupplyDemandInfo" - ], - "epf_supply_demand_info": [ - "incore:epfSupplyDemandInfo" - ], - "wf_supply_demand_info": [ - "incore:waterFacilitySupplyDemandInfo" - ], - "pipeline_supply_demand_info": [ - "incore:pipelineSupplyDemandInfo" - ], - "interdep": [ - "incore:interdep" - ], - "wf_failure_state": [ - "incore:sampleFailureState" - ], - "wf_damage_state": [ - "incore:sampleDamageState" - ], - "pipeline_failure_state": [ - "incore:sampleFailureState" - ], - "epf_failure_state": [ - "incore:sampleFailureState" - ], - "epf_damage_state": [ - "incore:sampleDamageState" - ], - "dt_params": [ - "incore:dTParams" - ], - "pop_dislocation": [ - "incore:popDislocation" - ], - "bldgs2elec": [ - "incore:bldgs2elec" - ], - "bldgs2wter": [ - "incore:bldgs2wter" - ] - }, - "parameter_defaults": { - "network_type": "from_csv", - "MAGS": "[1000]", - "sample_range": "[0]", - "dislocation_data_type": "incore", - "return_model": "step_function", - "testbed_name": null, - "extra_commodity": null, - "RC": null, - "layers": null, - "method": "INDP", - "t_steps": 10, - "time_resource": true, - "save_model": false, - "solver_engine": null, - "solver_path": null, - "solver_time_limit": null - } - }, - "studio-PipelineRepairCost": { - "after": { - "studio-INDP": [ - { - "from": "result", - "to": "pipeline_repair_cost" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ] }, - "before": { - "studio-PipelineDamageRepairRate": [ + "after": { + "studio-BuildingFunctionalityClusterTool": [ { - "from": "result", - "to": "pipeline_dmg" + "from": "functionality_probability", + "to": "Functionality Probability" } ] }, - "pretty_name": "Pipeline Repair Cost", + "pretty_name": "Building Functionality", "tags": [ - "Lifeline" + "Building" ], - "manual": "pipeline_repair_cost.html", + "manual": "building_func.html", "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" + "building_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "replacement_cost": [ - "incore:replacementCost" + "substations_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "pipeline_dmg": [ - "ergo:pipelineDamageVer3" + "poles_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "pipeline_dmg_ratios": [ - "incore:pipelineDamageRatios" + "interdependency_dictionary": [ + "incore:buildingInterdependencyDict" ] }, "parameter_defaults": { - "result_name": "pipeline-repair-cost-result", - "num_cpu": 1, - "diameter": 20, - "segment_length": 20 + "result_name": "bldg-functionality-result" } }, - "studio-EpfRepairCost": { - "after": { - "studio-INDP": [ + "studio-EpnFunctionality": { + "before": { + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "wf_repair_cost" - }, + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], + "studio-WfnFunctionality": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ] - }, - "before": { + ], + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "pretty_name": "Electric Power Facility Repair Cost", - "tags": [ - "Lifeline" - ], - "manual": "epf_repair_cost.html", - "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" - ], - "replacement_cost": [ - "incore:replacementCost" + "after": { + "studio-BuildingFunctionality": [ + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + } ], - "sample_damage_states": [ - "incore:sampleDamageState" + "studio-WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } ], - "epf_dmg_ratios": [ - "incore:epfDamageRatios" - ] - }, - "parameter_defaults": { - "result_name": "epf-repair-cost-result", - "num_cpu": 1 - } - }, - "studio-WaterFacilityRepairCost": { - "after": { "studio-INDP": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } - ] - }, - "before": { - "studio-MonteCarloLimitStateProbability": [ + ], + "studio-NciFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "epf_subst_failure_results" } - ] - }, - "pretty_name": "Water Facility Repair Cost", - "tags": [ - "Lifeline" - ], - "manual": "water_facility_repair_cost.html", - "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" ], - "replacement_cost": [ - "incore:replacementCost" + "studio-CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } ], - "sample_damage_states": [ - "incore:sampleDamageState" + "studio-CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } ], - "wf_dmg_ratios": [ - "incore:waterFacilityDamageRatios" - ] - }, - "parameter_defaults": { - "result_name": "water-facility-repair-cost-result", - "num_cpu": 1 - } - }, - "studio-BuildingEconLoss": { - "before": { - "studio-MeanDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "after": {}, - "pretty_name": "Building Economic Loss", + "pretty_name": "Electric Power Network Functionality", "tags": [ - "Building" + "Lifeline" ], - "manual": "building_loss.html", + "manual": "epn_functionality.html", "inputs": { - "buildings": [ - "ergo:buildingInventory", - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "building_mean_dmg": [ - "ergo:meanDamage" + "epn_network": [ + "incore:epnNetwork" ], - "occupancy_multiplier": [ - "incore:buildingOccupancyMultiplier" + "epf_sample_failure_state": [ + "incore:sampleFailureState" ] }, "parameter_defaults": { - "result_name": "building-econ-loss-result", - "inflation_factor": 0.0 + "result_name": "epn-functionality-result", + "gate_station_node_list": null } }, - "studio-PipelineFunctionality": { + "studio-WfnFunctionality": { "before": { - "studio-PipelineDamageRepairRate": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "studio-WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "studio-PipelineFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ] }, @@ -1359,39 +1727,39 @@ "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", "to": "poles_damage_mcs_samples" } ], - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "pp_sample_failure_state" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "wf_sample_failure_state" } ], - "studio-WfnFunctionality": [ + "studio-INDP": [ { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], "studio-NciFunctionality": [ @@ -1400,12 +1768,6 @@ "to": "epf_subst_failure_results" } ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ], "studio-CapitalShocks": [ { "from": "failure_probability", @@ -1417,114 +1779,122 @@ "from": "failure_probability", "to": "mcs_failure" } + ], + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } ] }, - "pretty_name": "Pipeline Functionality", + "pretty_name": "Water Facility Network Functionality", "tags": [ "Lifeline" ], - "manual": "pipeline_functionality.html", + "manual": "wfn_functionality.html", "inputs": { - "pipeline_repair_rate_damage": [ - "ergo:pipelineDamageVer3" + "wfn_network": [ + "incore:waterNetwork" + ], + "wf_sample_failure_state": [ + "incore:sampleFailureState" + ], + "pp_sample_failure_state": [ + "incore:sampleFailureState" ] }, "parameter_defaults": { - "result_name": "pipeline-functionality-result", - "num_samples": 100 + "result_name": "wfn-functionality-result", + "tank_node_list": "[]", + "pumpstation_node_list": "[]" } }, - "studio-PipelineRestoration": { - "before": { - "studio-PipelineDamageRepairRate": [ + "studio-PipelineFunctionality": { + "after": { + "studio-BuildingFunctionality": [ { - "from": "result", - "to": "pipeline_damage" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } - ] - }, - "after": { + ], + "studio-WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } + ], "studio-INDP": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } - ] - }, - "pretty_name": "Pipeline Restoration", - "tags": [ - "Lifeline" - ], - "manual": "pipeline_restoration.html", - "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" ], - "pipeline_damage": [ - "ergo:pipelineDamageVer2", - "ergo:pipelineDamageVer3" + "studio-NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, - "parameter_defaults": { - "result_name": "pipeline-restoration-result", - "num_cpu": 1, - "num_available_workers": 4, - "restoration_key": "Restoration ID Code" - } - }, - "studio-PipelineDamageRepairRate": { - "after": { - "studio-PipelineFunctionality": [ + "studio-CapitalShocks": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-PipelineRepairCost": [ + "studio-CommercialBuildingRecovery": [ { - "from": "result", - "to": "pipeline_dmg" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-PipelineRestoration": [ + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ] + }, + "before": { + "studio-PipelineDamageRepairRate": [ { "from": "result", - "to": "pipeline_damage" + "to": "pipeline_repair_rate_damage" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage Repair Rate", + "pretty_name": "Pipeline Functionality", "tags": [ "Lifeline" ], - "manual": "pipeline_dmg_w_repair_rate.html", + "manual": "pipeline_functionality.html", "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "pipeline_repair_rate_damage": [ + "ergo:pipelineDamageVer3" ] }, "parameter_defaults": { - "result_name": "pipeline-damage-repair-rate-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_fragility_key": null, - "num_cpu": 1, - "liquefaction_geology_dataset_id": null + "result_name": "pipeline-functionality-result", + "num_samples": 100 } }, "studio-HousingRecoverySequential": { @@ -1577,40 +1947,6 @@ "num_cpu": 4 } }, - "studio-HousingValuationRecovery": { - "before": { - "studio-PopulationDislocation": [ - { - "from": "result", - "to": "population_dislocation" - } - ] - }, - "after": {}, - "pretty_name": "Housing Valuation Recovery", - "tags": [ - "Socioeconomic" - ], - "manual": "housing_recovery.html", - "inputs": { - "population_dislocation": [ - "incore:popDislocation" - ], - "building_area": [ - "incore:buildingInventoryArea" - ], - "census_block_groups_data": [ - "incore:censusBlockGroupsData" - ], - "census_appraisal_data": [ - "incore:censusAppraisalData" - ] - }, - "parameter_defaults": { - "base_year": 2008, - "result_name": "housing-valuation-recovery-result" - } - }, "studio-SocialVulnerabilityScore": { "after": { "studio-HousingRecoverySequential": [ @@ -1631,63 +1967,16 @@ "incore:socialVulnerabilityFeatureAverages" ], "social_vulnerability_demographic_factors": [ - "incore:socialVulnerabilityDemFactors" - ] - }, - "parameter_defaults": { - "result_name": "social-vulnerability-score-result" - } - }, - "studio-HousingUnitAllocation": { - "after": { - "studio-BuyoutDecision": [ - { - "from": "result", - "to": "housing_unit_allocation" - } - ], - "studio-PopulationDislocation": [ - { - "from": "result", - "to": "housing_unit_allocation" - } - ] - }, - "before": {}, - "pretty_name": "Housing Unit Allocation", - "tags": [ - "Socioeconomic" - ], - "manual": "housingunitallocation.html", - "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "housing_unit_inventory": [ - "incore:housingUnitInventory" - ], - "address_point_inventory": [ - "incore:addressPoints" + "incore:socialVulnerabilityDemFactors" ] }, "parameter_defaults": { - "result_name": "housing-unit-allocation-result", - "seed": 1234, - "iterations": 10 + "result_name": "social-vulnerability-score-result" } }, "studio-NciFunctionality": { "before": { - "studio-WaterFacilityDamage": [ - { - "from": "result", - "to": "wds_dmg_results" - } - ], - "studio-EpfRestoration": [ + "studio-WaterFacilityRestoration": [ { "from": "inventory_restoration_map", "to": "epf_inventory_rest_map" @@ -1698,23 +1987,23 @@ }, { "from": "time_results", - "to": "epf_time_results" + "to": "wds_time_results" } ], - "studio-EpnFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "studio-WaterFacilityRestoration": [ + "studio-EpfRestoration": [ { "from": "inventory_restoration_map", "to": "epf_inventory_rest_map" }, { "from": "time_results", - "to": "wds_time_results" + "to": "epf_time_results" }, { "from": "inventory_restoration_map", @@ -1727,19 +2016,25 @@ "to": "epf_subst_failure_results" } ], + "studio-WaterFacilityDamage": [ + { + "from": "result", + "to": "wds_dmg_results" + } + ], "studio-EpfDamage": [ { "from": "result", "to": "epf_damage" } ], - "studio-WfnFunctionality": [ + "studio-EpnFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-WfnFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" @@ -1792,127 +2087,20 @@ "discretized_days": "[1, 3, 7, 30, 90]" } }, - "studio-WaterFacilityRestoration": { - "before": { - "studio-WaterFacilityDamage": [ - { - "from": "result", - "to": "damage" - } - ] - }, - "after": { - "studio-INDP": [ - { - "from": "repair_times", - "to": "wf_restoration_time" - } - ], - "studio-NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - { - "from": "time_results", - "to": "wds_time_results" - }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - } - ] - }, - "pretty_name": "Water Facility Restoration", - "tags": [ - "Lifeline" - ], - "manual": "water_facility_restoration.html", - "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "damage": [ - "ergo:waterFacilityDamageVer6" - ] - }, - "parameter_defaults": { - "result_name": "water-facility-restoration-result", - "restoration_key": "Restoration ID Code", - "end_time": 100.0, - "time_interval": 1.0, - "pf_interval": 0.05, - "discretized_days": "[1, 3, 7, 30, 90]" - } - }, - "studio-WaterFacilityDamage": { + "studio-BridgeDamage": { "after": { - "studio-WaterFacilityRestoration": [ - { - "from": "result", - "to": "damage" - } - ], "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } ], - "studio-NciFunctionality": [ - { - "from": "result", - "to": "wds_dmg_results" - } - ] - }, - "before": {}, - "pretty_name": "Water Facility Damage", - "tags": [ - "Lifeline" - ], - "manual": "waterfacility_dmg.html", - "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, - "parameter_defaults": { - "result_name": "water-facility-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "liquefaction_fragility_key": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - } - }, - "studio-BridgeDamage": { - "after": { "studio-MeanDamage": [ { "from": "result", "to": "damage" } ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], "studio-MaxDamageStateTool": [ { "from": "ds_result", @@ -1954,525 +2142,500 @@ "hazard_type": null } }, - "studio-RoadDamage": { + "studio-EpfRestoration": { "after": { - "studio-MeanDamage": [ + "studio-NciFunctionality": [ { - "from": "result", - "to": "damage" + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-INDP": [ + { + "from": "repair_times", + "to": "epf_restoration_time" + } + ] + }, + "before": { + "studio-EpfDamage": [ { "from": "result", "to": "damage" } ] }, - "before": {}, - "pretty_name": "Road Damage", + "pretty_name": "Electric Power Facility Restoration", "tags": [ - "Lifeline" + "LifeLine" ], - "manual": "road_dmg.html", + "manual": "epf_restoration.html", "inputs": { - "hazard": [ - "earthquake", - "hurricane", - "tsunami" - ], - "roads": [ - "ergo:roadLinkTopo", - "incore:roads", - "ergo:roadLinkTopoVer2" + "epfs": [ + "incore:epf", + "ergo:epf" ], "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, - "parameter_defaults": { - "result_name": "road-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - } - }, - "studio-BuildingFunctionality": { - "before": { - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } - ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } - ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - } + "incore:dfr3MappingSet" + ], + "damage": [ + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3" ] }, + "parameter_defaults": { + "result_name": "epf-restoration-result", + "restoration_key": null, + "end_time": 365.0, + "time_interval": 1.0, + "pf_interval": 0.1, + "discretized_days": "[1, 3, 7, 30, 90]" + } + }, + "studio-PipelineDamage": { "after": { - "studio-BuildingFunctionalityClusterTool": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "functionality_probability", - "to": "Functionality Probability" + "from": "result", + "to": "damage" } ] }, - "pretty_name": "Building Functionality", + "before": {}, + "pretty_name": "Pipeline Damage", "tags": [ - "Building" + "Lifeline" ], - "manual": "building_func.html", + "manual": "pipeline_dmg.html", "inputs": { - "building_damage_mcs_samples": [ - "incore:sampleFailureState" - ], - "substations_damage_mcs_samples": [ - "incore:sampleFailureState" + "hazard": [ + "earthquake", + "tsunami" ], - "poles_damage_mcs_samples": [ - "incore:sampleFailureState" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], - "interdependency_dictionary": [ - "incore:buildingInterdependencyDict" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ] }, "parameter_defaults": { - "result_name": "bldg-functionality-result" + "result_name": "pipeline-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null } }, - "studio-EpnFunctionality": { + "studio-CapitalShocks": { "before": { - "studio-WfnFunctionality": [ + "studio-EpnFunctionality": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-PipelineFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-PipelineFunctionality": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-EpnFunctionality": [ + "studio-WfnFunctionality": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "failure_probability", + "to": "failure_probability" } ] }, "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } - ], - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "studio-GalvestonCGEModel": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-JoplinCGEModel": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-NciFunctionality": [ + "studio-MlEnabledCgeSlc": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-EpnFunctionality": [ + "studio-SaltLakeCGEModel": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-CapitalShocks": [ + "studio-MlEnabledCgeJoplin": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-CommercialBuildingRecovery": [ + "studio-SeasideCGEModel": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Electric Power Network Functionality", + "pretty_name": "Capital Shocks", "tags": [ - "Lifeline" + "Economic" ], - "manual": "epn_functionality.html", + "manual": "capital_shocks.html", "inputs": { - "epn_network": [ - "incore:epnNetwork" + "buildings": [ + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "epf_sample_failure_state": [ - "incore:sampleFailureState" + "buildings_to_sectors": [ + "incore:buildingsToSectors" + ], + "failure_probability": [ + "incore:failureProbability" ] }, "parameter_defaults": { - "result_name": "epn-functionality-result", - "gate_station_node_list": null + "result_name": "capital-shocks-result" } }, - "studio-WfnFunctionality": { - "before": { - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - } - ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } - ], - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } - ] - }, + "studio-WaterFacilityDamage": { "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } - ], - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - } - ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - } - ], "studio-NciFunctionality": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" - } - ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "wds_dmg_results" } ], - "studio-CapitalShocks": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "damage" } ], - "studio-CommercialBuildingRecovery": [ + "studio-WaterFacilityRestoration": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "damage" } ] }, - "pretty_name": "Water Facility Network Functionality", + "before": {}, + "pretty_name": "Water Facility Damage", "tags": [ "Lifeline" ], - "manual": "wfn_functionality.html", + "manual": "waterfacility_dmg.html", "inputs": { - "wfn_network": [ - "incore:waterNetwork" + "hazard": [ + "earthquake", + "tsunami" ], - "wf_sample_failure_state": [ - "incore:sampleFailureState" + "water_facilities": [ + "ergo:waterFacilityTopo" ], - "pp_sample_failure_state": [ - "incore:sampleFailureState" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ] }, "parameter_defaults": { - "result_name": "wfn-functionality-result", - "tank_node_list": "[]", - "pumpstation_node_list": "[]" + "result_name": "water-facility-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "liquefaction_fragility_key": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 } }, - "studio-EpfRestoration": { + "studio-PipelineRepairCost": { "after": { - "studio-NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, - { - "from": "time_results", - "to": "epf_time_results" - }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - } - ], "studio-INDP": [ { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "result", + "to": "pipeline_repair_cost" } ] }, "before": { - "studio-EpfDamage": [ + "studio-PipelineDamageRepairRate": [ { "from": "result", - "to": "damage" + "to": "pipeline_dmg" } ] }, - "pretty_name": "Electric Power Facility Restoration", + "pretty_name": "Pipeline Repair Cost", "tags": [ - "LifeLine" + "Lifeline" ], - "manual": "epf_restoration.html", + "manual": "pipeline_repair_cost.html", "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "replacement_cost": [ + "incore:replacementCost" ], - "damage": [ - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3" + "pipeline_dmg": [ + "ergo:pipelineDamageVer3" + ], + "pipeline_dmg_ratios": [ + "incore:pipelineDamageRatios" ] }, "parameter_defaults": { - "result_name": "epf-restoration-result", - "restoration_key": null, - "end_time": 365.0, - "time_interval": 1.0, - "pf_interval": 0.1, - "discretized_days": "[1, 3, 7, 30, 90]" + "result_name": "pipeline-repair-cost-result", + "num_cpu": 1, + "diameter": 20, + "segment_length": 20 } }, - "studio-CapitalShocks": { + "studio-HousingValuationRecovery": { "before": { - "studio-WfnFunctionality": [ + "studio-PopulationDislocation": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "population_dislocation" } + ] + }, + "after": {}, + "pretty_name": "Housing Valuation Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "housing_recovery.html", + "inputs": { + "population_dislocation": [ + "incore:popDislocation" ], - "studio-PipelineFunctionality": [ + "building_area": [ + "incore:buildingInventoryArea" + ], + "census_block_groups_data": [ + "incore:censusBlockGroupsData" + ], + "census_appraisal_data": [ + "incore:censusAppraisalData" + ] + }, + "parameter_defaults": { + "base_year": 2008, + "result_name": "housing-valuation-recovery-result" + } + }, + "studio-EpfDamage": { + "after": { + "studio-EpfRestoration": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "damage" } ], "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "damage" } ], - "studio-EpnFunctionality": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ] - }, - "after": { - "studio-MlEnabledCgeJoplin": [ + "studio-NciFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "epf_damage" } ], - "studio-JoplinCGEModel": [ + "studio-MaxDamageStateTool": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "Output dataset" } + ] + }, + "before": {}, + "pretty_name": "Electric Power Facility Damage", + "tags": [ + "Lifeline" + ], + "manual": "epf_dmg.html", + "inputs": { + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" ], - "studio-SaltLakeCGEModel": [ + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + }, + "parameter_defaults": { + "result_name": "epf-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "liquefaction_fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + } + }, + "studio-ResidentialBuildingRecovery": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_damage_states", + "to": "sample_damage_states" } + ] + }, + "after": {}, + "pretty_name": "Residential Building Recovery", + "tags": [ + "Socioeconomic", + "Decision Support" + ], + "manual": "residential_building_recovery.html", + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "studio-MlEnabledCgeSlc": [ + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "socio_demographic_data": [ + "incore:socioDemograhicData" + ], + "financial_resources": [ + "incore:householdFinancialResources" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ] + }, + "parameter_defaults": { + "result_name": "residential-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + } + }, + "studio-BuildingEconLoss": { + "before": { + "studio-MeanDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "building_mean_dmg" } + ] + }, + "after": {}, + "pretty_name": "Building Economic Loss", + "tags": [ + "Building" + ], + "manual": "building_loss.html", + "inputs": { + "buildings": [ + "ergo:buildingInventory", + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "studio-GalvestonCGEModel": [ + "building_mean_dmg": [ + "ergo:meanDamage" + ], + "occupancy_multiplier": [ + "incore:buildingOccupancyMultiplier" + ] + }, + "parameter_defaults": { + "result_name": "building-econ-loss-result", + "inflation_factor": 0.0 + } + }, + "studio-HousingUnitAllocation": { + "after": { + "studio-BuyoutDecision": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "housing_unit_allocation" } ], - "studio-SeasideCGEModel": [ + "studio-PopulationDislocation": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "housing_unit_allocation" } ] }, - "pretty_name": "Capital Shocks", + "before": {}, + "pretty_name": "Housing Unit Allocation", "tags": [ - "Economic" + "Socioeconomic" ], - "manual": "capital_shocks.html", + "manual": "housingunitallocation.html", "inputs": { "buildings": [ + "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "buildings_to_sectors": [ - "incore:buildingsToSectors" + "housing_unit_inventory": [ + "incore:housingUnitInventory" ], - "failure_probability": [ - "incore:failureProbability" + "address_point_inventory": [ + "incore:addressPoints" ] }, "parameter_defaults": { - "result_name": "capital-shocks-result" + "result_name": "housing-unit-allocation-result", + "seed": 1234, + "iterations": 10 } }, "studio-GalvestonCGEModel": { @@ -2837,218 +3000,55 @@ "solver_path": null } }, - "studio-ResidentialBuildingRecovery": { - "before": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ] - }, - "after": {}, - "pretty_name": "Residential Building Recovery", - "tags": [ - "Socioeconomic", - "Decision Support" - ], - "manual": "residential_building_recovery.html", - "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "socio_demographic_data": [ - "incore:socioDemograhicData" - ], - "financial_resources": [ - "incore:householdFinancialResources" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" - ] - }, - "parameter_defaults": { - "result_name": "residential-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 - } - }, - "studio-PipelineDamage": { - "after": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ] - }, - "before": {}, - "pretty_name": "Pipeline Damage", - "tags": [ - "Lifeline" - ], - "manual": "pipeline_dmg.html", - "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, - "parameter_defaults": { - "result_name": "pipeline-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "num_cpu": 1, - "liquefaction_geology_dataset_id": null - } - }, - "studio-BuildingNonStructDamage": { - "after": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-JoplinEmpiricalBuildingRestoration": [ - { - "from": "result", - "to": "building_dmg" - } - ], - "studio-MeanDamage": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "result", - "to": "flood_damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "result", - "to": "flood_damage" - } - ] - }, - "before": {}, - "pretty_name": "Building Non-Structural Damage", - "tags": [ - "Building" - ], - "manual": "building_nonstructural_dmg.html", - "inputs": { - "hazard": [ - "earthquake", - "flood", - "hurricane" - ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "retrofit_strategy": [ - "incore:retrofitStrategy" - ] - }, - "parameter_defaults": { - "result_name": "building-nonstruct-dmg-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": "Acceleration-Sensitive Fragility ID Code", - "use_liquefaction": true, - "liq_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - } - }, - "studio-EpfDamage": { + "studio-PipelineDamageRepairRate": { "after": { - "studio-NciFunctionality": [ + "studio-PipelineRestoration": [ { "from": "result", - "to": "epf_damage" + "to": "pipeline_damage" } ], - "studio-EpfRestoration": [ + "studio-PipelineRepairCost": [ { "from": "result", - "to": "damage" + "to": "pipeline_dmg" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-PipelineFunctionality": [ { "from": "result", - "to": "damage" - } - ], - "studio-MaxDamageStateTool": [ - { - "from": "ds_result", - "to": "Output dataset" + "to": "pipeline_repair_rate_damage" } ] }, "before": {}, - "pretty_name": "Electric Power Facility Damage", + "pretty_name": "Pipeline Damage Repair Rate", "tags": [ "Lifeline" ], - "manual": "epf_dmg.html", + "manual": "pipeline_dmg_w_repair_rate.html", "inputs": { "hazard": [ "earthquake", - "tornado", - "hurricane", - "flood", "tsunami" ], - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ] }, "parameter_defaults": { - "result_name": "epf-damage-result", + "result_name": "pipeline-damage-repair-rate-result", "hazard_type": null, "hazard_id": null, "fragility_key": null, - "liquefaction_fragility_key": null, "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 + "liquefaction_fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null } }, "studio-BuildingClusterRecovery": { @@ -3282,7 +3282,7 @@ "ergo:buildingInventoryVer7" ], "Archetype Mapping": [ - "Archetype Mapping type" + "ncsa:archetype-mapping" ] }, "parameter_defaults": {} @@ -3473,7 +3473,7 @@ "ergo:buildingInventoryVer7" ], "Archetype Mapping": [ - "Archetype Mapping type" + "ncsa:archetype-mapping" ] }, "parameter_defaults": {} @@ -3504,7 +3504,7 @@ "ergo:buildingInventoryVer7" ], "Archetype Mapping": [ - "Archetype Mapping type" + "ncsa:archetype-mapping" ] }, "parameter_defaults": {} From c661cbd1b8ad5abc8effee6b43abdbbe69aa48bf Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Thu, 24 Apr 2025 12:13:15 -0400 Subject: [PATCH 16/19] update script to use inbuilt default values --- .../pyincore_utils/create_dependency_graph.py | 290 +- utils/pyincore_utils/dependencyGraph.json | 3656 ++++++++--------- 2 files changed, 2112 insertions(+), 1834 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 5a80b69..7931729 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -128,232 +128,512 @@ "name": "Bridge Damage", "tags": ["Bridge"], "manual": "bridge_dmg.html", + "parameter_defaults": { + "result_name": "bridge-damage-result", + "fragility_key": None, + "use_liquefaction": False, + "liquefaction_geology_dataset_id": None, + "use_hazard_uncertainty": False, + "num_cpu": 4, + "hazard_id": None, + "hazard_type": None, + }, }, "studio-BuildingClusterRecovery": { "name": "Building Cluster Recovery", "tags": ["Building"], "manual": "building_cluster_recovery.html", + "parameter_defaults": { + "result_name": "building-recovery-result", + "uncertainty": True, + "sample_size": 35, + "random_sample_size": 50, + "no_of_weeks": 100, + "num_cpu": 4, + }, }, "studio-BuildingEconLoss": { "name": "Building Economic Loss", "tags": ["Building"], "manual": "building_loss.html", + "parameter_defaults": { + "result_name": "building-econ-loss-result", + "inflation_factor": 0.0, + }, }, "studio-BuildingFunctionality": { "name": "Building Functionality", "tags": ["Building"], "manual": "building_func.html", + "parameter_defaults": {"result_name": "bldg-functionality-result"}, }, "studio-BuildingNonStructDamage": { "name": "Building Non-Structural Damage", "tags": ["Building"], "manual": "building_nonstructural_dmg.html", + "parameter_defaults": { + "result_name": "building-nonstruct-dmg-result", + "hazard_type": None, + "hazard_id": None, + "fragility_key": "Acceleration-Sensitive Fragility ID Code", + "use_liquefaction": True, + "liq_geology_dataset_id": None, + "use_hazard_uncertainty": False, + "num_cpu": 1, + }, }, "studio-BuildingStructuralDamage": { "name": "Building Structural Damage", "tags": ["Building"], "manual": "building_structural_dmg.html", + "parameter_defaults": { + "result_name": "building-struct-dmg-result", + "hazard_type": None, + "hazard_id": None, + "fragility_key": None, + "use_liquefaction": False, + "use_hazard_uncertainty": False, + "num_cpu": 1, + "seed": 1234, + "liquefaction_geology_dataset_id": None, + }, }, "studio-BuyoutDecision": { "name": "Buyout Decision", "tags": ["Decision Support"], "manual": "buyout_decision.html", + "parameter_defaults": { + "fema_buyout_cap": 250000.0, + "residential_archetypes": None, + "result_name": "buyout-decision-result", + }, }, "studio-CapitalShocks": { "name": "Capital Shocks", "tags": ["Economic"], "manual": "capital_shocks.html", + "parameter_defaults": {"result_name": "capital-shocks-result"}, }, "studio-CombinedWindWaveSurgeBuildingDamage": { "name": "Combined Wind Wave Surge Building Damage", "tags": ["Building"], "manual": "combined_wind_wave_surge_building_dmg.html", + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-damage-result" + }, }, "studio-CombinedWindWaveSurgeBuildingLoss": { "name": "Combined Wind Wave Surge Building Loss", "tags": ["Building"], "manual": "combined_wind_wave_surge_building_loss.html", + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-loss-result" + }, }, "studio-CommercialBuildingRecovery": { "name": "Commercial Building Recovery", "tags": ["Socioeconomic"], "manual": "commercial_building_recovery.html", + "parameter_defaults": { + "result_name": "commercial-building-recovery-result", + "num_samples": 10, + "repair_key": None, + "seed": 1234, + }, }, "studio-CumulativeBuildingDamage": { "name": "Cumulative Building Damage", "tags": ["Building"], "manual": "cumulative_building_dmg.html", + "parameter_defaults": { + "result_name": "cumulative-building-damage-result", + "num_cpu": 4, + }, }, "studio-EpfDamage": { "name": "Electric Power Facility Damage", "tags": ["Lifeline"], "manual": "epf_dmg.html", + "parameter_defaults": { + "result_name": "epf-damage-result", + "hazard_type": None, + "hazard_id": None, + "fragility_key": None, + "liquefaction_fragility_key": None, + "use_liquefaction": False, + "liquefaction_geology_dataset_id": None, + "use_hazard_uncertainty": False, + "num_cpu": 1, + }, }, "studio-EpfRepairCost": { "name": "Electric Power Facility Repair Cost", "tags": ["Lifeline"], "manual": "epf_repair_cost.html", + "parameter_defaults": {"result_name": "epf-repair-cost-result", "num_cpu": 1}, }, "studio-EpfRestoration": { "name": "Electric Power Facility Restoration", "tags": ["LifeLine"], "manual": "epf_restoration.html", + "parameter_defaults": { + "result_name": "epf-restoration-result", + "restoration_key": None, + "end_time": 365.0, + "time_interval": 1.0, + "pf_interval": 0.1, + "discretized_days": "[1, 3, 7, 30, 90]", + }, }, "studio-EpnFunctionality": { "name": "Electric Power Network Functionality", "tags": ["Lifeline"], "manual": "epn_functionality.html", + "parameter_defaults": { + "result_name": "epn-functionality-result", + "gate_station_node_list": None, + }, }, "studio-GalvestonCGEModel": { "name": "Galveston CGE Model", "tags": ["Economic"], "manual": "galveston_cge.html", + "parameter_defaults": {"model_iterations": 1, "solver_path": None}, }, "studio-GasFacilityDamage": { "name": "Gas Facility Damage", "tags": ["Lifeline"], "manual": "gas_facility_damage.html", + "parameter_defaults": { + "result_name": "gas-facility-damage-result", + "fragility_key": None, + "liquefaction_fragility_key": None, + "use_liquefaction": False, + "liquefaction_geology_dataset_id": None, + "use_hazard_uncertainty": False, + "num_cpu": 1, + "hazard_id": None, + "hazard_type": None, + }, }, "studio-HousingRecoverySequential": { "name": "Housing Recovery Sequential", "tags": ["Socioeconomic", "Decision Support"], "manual": "housing_household_recovery.html", + "parameter_defaults": { + "result_name": "housing-recovery-sequential-result", + "t_delta": None, + "t_final": None, + "seed": 1234, + "num_cpu": 4, + }, }, "studio-HousingUnitAllocation": { "name": "Housing Unit Allocation", "tags": ["Socioeconomic"], "manual": "housingunitallocation.html", + "parameter_defaults": { + "result_name": "housing-unit-allocation-result", + "seed": 1234, + "iterations": 10, + }, }, "studio-HousingValuationRecovery": { "name": "Housing Valuation Recovery", "tags": ["Socioeconomic"], "manual": "housing_recovery.html", + "parameter_defaults": { + "base_year": 2008, + "result_name": "housing-valuation-recovery-result", + }, }, "studio-INDP": { "name": "Infrastructure Network Disruption Planning", "tags": ["Decision Support"], "manual": "indp.html", + "parameter_defaults": { + "network_type": "from_csv", + "MAGS": "[1000]", + "sample_range": "[0]", + "dislocation_data_type": "incore", + "return_model": "step_function", + "testbed_name": None, + "extra_commodity": None, + "RC": None, + "layers": None, + "method": "INDP", + "t_steps": 10, + "time_resource": True, + "save_model": False, + "solver_engine": None, + "solver_path": None, + "solver_time_limit": None, + }, }, "studio-JoplinCGEModel": { "name": "Joplin CGE Model", "tags": ["Economic"], "manual": "joplin_cge.html", + "parameter_defaults": {"model_iterations": 1, "solver_path": None}, }, "studio-JoplinEmpiricalBuildingRestoration": { "name": "Joplin Empirical Building Restoration", "tags": ["Building"], "manual": "", + "parameter_defaults": { + "result_name": "joplin-empirical-building-restoration", + "target_functionality_level": 0, + "seed": 1234, + }, + }, + "studio-MeanDamage": { + "name": "Mean Damage", + "tags": [], + "manual": "mean_dmg.html", + "parameter_defaults": { + "result_name": "mean-damage-result", + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", + "num_cpu": 1, + }, }, - "studio-MeanDamage": {"name": "Mean Damage", "tags": [], "manual": "mean_dmg.html"}, "studio-MlEnabledCgeSlc": { "name": "Machine Learning Enabled CGE SLC", "tags": ["Economic"], "manual": "ml_slc_cge.html", + "parameter_defaults": {"result_name": "salt-lake-ml-enabled-cge"}, }, "studio-MlEnabledCgeJoplin": { "name": "Machine Learning Enabled CGE Joplin", "tags": ["Economic"], "manual": "ml_joplin_cge.html", + "parameter_defaults": {"result_name": "joplin-ml-enabled-cge"}, }, "studio-MonteCarloLimitStateProbability": { "name": "Monte Carlo Limit State Probability", "tags": ["Decision Support"], "manual": "mc_limit_state_prob.html", + "parameter_defaults": { + "result_name": "monte_carlo_limit_state_probability-result", + "num_cpu": 8, + "num_samples": 10, + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", + "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", + "seed": 1234, + }, }, "studio-MultiObjectiveRetrofitOptimization": { "name": "Multi-Objective Retrofit Optimization", "tags": ["Decision Support"], "manual": "multi_retrofit_optimization.html", + "parameter_defaults": { + "result_name": "multiobjective-retrofit-optimization-result", + "model_solver": "ipopt", + "num_epsilon_steps": 2, + "max_budget": "default", + "budget_available": None, + "inactive_submodels": None, + "scale_data": None, + "scaling_factor": None, + }, }, "studio-NciFunctionality": { "name": "Network Cascading Interdependency Functionality", "tags": ["Decision Support"], "manual": "nci_functionality.html", + "parameter_defaults": { + "result_name": "nci-functionality-result", + "discretized_days": "[1, 3, 7, 30, 90]", + }, }, "studio-PipelineDamage": { "name": "Pipeline Damage", "tags": ["Lifeline"], "manual": "pipeline_dmg.html", + "parameter_defaults": { + "result_name": "pipeline-damage-result", + "hazard_type": None, + "hazard_id": None, + "fragility_key": None, + "num_cpu": 1, + "liquefaction_geology_dataset_id": None, + }, }, "studio-PipelineDamageRepairRate": { "name": "Pipeline Damage Repair Rate", "tags": ["Lifeline"], "manual": "pipeline_dmg_w_repair_rate.html", + "parameter_defaults": { + "result_name": "pipeline-damage-repair-rate-result", + "hazard_type": None, + "hazard_id": None, + "fragility_key": None, + "use_liquefaction": False, + "liquefaction_fragility_key": None, + "num_cpu": 1, + "liquefaction_geology_dataset_id": None, + }, }, "studio-PipelineFunctionality": { "name": "Pipeline Functionality", "tags": ["Lifeline"], "manual": "pipeline_functionality.html", + "parameter_defaults": { + "result_name": "pipeline-functionality-result", + "num_samples": 100, + }, }, "studio-PipelineRepairCost": { "name": "Pipeline Repair Cost", "tags": ["Lifeline"], "manual": "pipeline_repair_cost.html", + "parameter_defaults": { + "result_name": "pipeline-repair-cost-result", + "num_cpu": 1, + "diameter": 20, + "segment_length": 20, + }, }, "studio-PipelineRestoration": { "name": "Pipeline Restoration", "tags": ["Lifeline"], "manual": "pipeline_restoration.html", + "parameter_defaults": { + "result_name": "pipeline-restoration-result", + "num_cpu": 1, + "num_available_workers": 4, + "restoration_key": "Restoration ID Code", + }, }, "studio-PopulationDislocation": { "name": "Population Dislocation", "tags": ["Socioeconomic"], "manual": "populationdislocation.html", + "parameter_defaults": { + "result_name": "population-dislocation-result", + "seed": 1234, + "choice_dislocation": False, + "choice_dislocation_cutoff": 0.0, + "choice_dislocation_ds": None, + "unsafe_occupancy": False, + "unsafe_occupancy_cutoff": 0.0, + "unsafe_occupancy_ds": None, + }, }, "studio-ResidentialBuildingRecovery": { "name": "Residential Building Recovery", "tags": ["Socioeconomic", "Decision Support"], "manual": "residential_building_recovery.html", + "parameter_defaults": { + "result_name": "residential-building-recovery-result", + "num_samples": 10, + "repair_key": None, + "seed": 1234, + }, }, "studio-RoadDamage": { "name": "Road Damage", "tags": ["Lifeline"], "manual": "road_dmg.html", + "parameter_defaults": { + "result_name": "road-damage-result", + "hazard_type": None, + "hazard_id": None, + "fragility_key": None, + "use_liquefaction": False, + "liquefaction_geology_dataset_id": None, + "use_hazard_uncertainty": False, + "num_cpu": 1, + }, }, "studio-SaltLakeCGEModel": { "name": "Salt Lake CGE Model", "tags": ["Economic"], "manual": "slc_cge.html", + "parameter_defaults": {"model_iterations": 1, "solver_path": None}, }, "studio-SeasideCGEModel": { "name": "Seaside CGE Model", "tags": ["Economic"], "manual": "seaside_cge.html", + "parameter_defaults": {"print_solver_output": False, "solver_path": None}, }, "studio-SocialVulnerabilityScore": { "name": "Social Vulnerability Score", "tags": ["Socioeconomic"], "manual": "social_vulnerability_score.html", + "parameter_defaults": {"result_name": "social-vulnerability-score-result"}, }, "studio-TornadoEpnDamage": { "name": "Tornado Electric Power Network Damage", "tags": ["Lifeline"], "manual": "tornadoepn_dmg.html", + "parameter_defaults": { + "result_name": "tornado-epn-damage-result", + "tornado_id": None, + "seed": 1234, + }, }, "studio-TrafficFlowRecovery": { "name": "Traffic Flow Recovery", "tags": ["Decision Support", "Lifeline"], "manual": "traffic_flow_recovery.html", + "parameter_defaults": { + "num_cpu": 1, + "pm": 1, + "ini_num_population": 5, + "population_size": 3, + "num_generation": 2, + "mutation_rate": 0.1, + "crossover_rate": 1.0, + }, }, "studio-WaterFacilityDamage": { "name": "Water Facility Damage", "tags": ["Lifeline"], "manual": "waterfacility_dmg.html", + "parameter_defaults": { + "result_name": "water-facility-damage-result", + "hazard_type": None, + "hazard_id": None, + "fragility_key": None, + "use_liquefaction": False, + "liquefaction_geology_dataset_id": None, + "liquefaction_fragility_key": None, + "use_hazard_uncertainty": False, + "num_cpu": 1, + }, }, "studio-WaterFacilityRepairCost": { "name": "Water Facility Repair Cost", "tags": ["Lifeline"], "manual": "water_facility_repair_cost.html", + "parameter_defaults": { + "result_name": "water-facility-repair-cost-result", + "num_cpu": 1, + }, }, "studio-WaterFacilityRestoration": { "name": "Water Facility Restoration", "tags": ["Lifeline"], "manual": "water_facility_restoration.html", + "parameter_defaults": { + "result_name": "water-facility-restoration-result", + "restoration_key": "Restoration ID Code", + "end_time": 100.0, + "time_interval": 1.0, + "pf_interval": 0.05, + "discretized_days": "[1, 3, 7, 30, 90]", + }, }, "studio-WfnFunctionality": { "name": "Water Facility Network Functionality", "tags": ["Lifeline"], "manual": "wfn_functionality.html", + "parameter_defaults": { + "result_name": "wfn-functionality-result", + "tank_node_list": "[]", + "pumpstation_node_list": "[]", + }, }, } @@ -674,12 +954,14 @@ value["pretty_name"] = pretty_tagged_names[analysis_name]["name"] value["tags"] = pretty_tagged_names[analysis_name]["tags"] value["manual"] = pretty_tagged_names[analysis_name]["manual"] + value["parameter_defaults"] = pretty_tagged_names[analysis_name][ + "parameter_defaults" + ] # add input dataset types in dependency graph for analysis_name, analysis_class in analysis_classes.items(): spec = analysis_class.get_spec() dependency_graph[analysis_name]["inputs"] = dict() - dependency_graph[analysis_name]["parameter_defaults"] = dict() hazards = spec.get("input_hazards", []) datasets = spec.get("input_datasets", []) parameters = spec.get("input_parameters", []) @@ -691,10 +973,6 @@ dependency_graph[analysis_name]["inputs"][dataset["id"]] = ( dataset["type"] if isinstance(dataset["type"], list) else [dataset["type"]] ) - for parameter in parameters: - dependency_graph[analysis_name]["parameter_defaults"][parameter["id"]] = ( - parameter.get("studio-default", None) - ) # add tools to dependency graph for key, value in tools.items(): diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index 1a0c15b..cb0aeba 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -1,427 +1,494 @@ { - "studio-INDP": { + "studio-GalvestonCGEModel": { "before": { - "studio-EpfRepairCost": [ - { - "from": "result", - "to": "wf_repair_cost" - }, + "studio-CapitalShocks": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "studio-WfnFunctionality": [ + ] + }, + "after": { + "studio-CGEPostProcessTool": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "household-count", + "to": "Household Count" }, { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "domestic-supply", + "to": "Domestic supply" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" - } - ], - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "gross-income", + "to": "Gross Income" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "post-disaster-factor-demand", + "to": "Post Demand" } + ] + }, + "pretty_name": "Galveston CGE Model", + "tags": [ + "Economic" + ], + "manual": "galveston_cge.html", + "parameter_defaults": { + "model_iterations": 1, + "solver_path": null + }, + "inputs": { + "SAM": [ + "incore:CGEsam" ], - "studio-PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_repair_cost" - } + "BB": [ + "incore:CGEbb" ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_damage_states", - "to": "epf_damage_state" - } + "IOUT": [ + "incore:CGEiout" ], - "studio-PopulationDislocation": [ - { - "from": "result", - "to": "pop_dislocation" - } + "MISC": [ + "incore:CGEmisc" ], - "studio-WaterFacilityRestoration": [ + "MISCH": [ + "incore:CGEmisch" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-JoplinCGEModel": { + "before": { + "studio-CapitalShocks": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "sector_shocks", + "to": "sector_shocks" } - ], - "studio-EpnFunctionality": [ + ] + }, + "after": { + "studio-CGEPostProcessTool": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "household-count", + "to": "Household Count" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "domestic-supply", + "to": "Domestic supply" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" - } - ], - "studio-PipelineRestoration": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ], - "studio-WaterFacilityRepairCost": [ - { - "from": "result", - "to": "epf_repair_cost" + "from": "gross-income", + "to": "Gross Income" }, { - "from": "result", - "to": "wf_repair_cost" - } - ], - "studio-EpfRestoration": [ + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "post-disaster-factor-demand", + "to": "Post Demand" } ] }, - "after": {}, - "pretty_name": "Infrastructure Network Disruption Planning", + "pretty_name": "Joplin CGE Model", "tags": [ - "Decision Support" + "Economic" ], - "manual": "indp.html", + "manual": "joplin_cge.html", + "parameter_defaults": { + "model_iterations": 1, + "solver_path": null + }, "inputs": { - "wf_repair_cost": [ - "incore:repairCost" - ], - "wf_restoration_time": [ - "incore:waterFacilityRepairTime" - ], - "epf_repair_cost": [ - "incore:repairCost" - ], - "epf_restoration_time": [ - "incore:epfRepairTime" - ], - "pipeline_repair_cost": [ - "incore:pipelineRepairCost" - ], - "pipeline_restoration_time": [ - "incore:pipelineRestorationVer1" - ], - "power_network": [ - "incore:epnNetwork" - ], - "water_network": [ - "incore:waterNetwork" - ], - "powerline_supply_demand_info": [ - "incore:powerLineSupplyDemandInfo" - ], - "epf_supply_demand_info": [ - "incore:epfSupplyDemandInfo" - ], - "wf_supply_demand_info": [ - "incore:waterFacilitySupplyDemandInfo" + "SAM": [ + "incore:CGEsam" ], - "pipeline_supply_demand_info": [ - "incore:pipelineSupplyDemandInfo" + "BB": [ + "incore:CGEbb" ], - "interdep": [ - "incore:interdep" + "IOUT": [ + "incore:CGEiout" ], - "wf_failure_state": [ - "incore:sampleFailureState" + "MISC": [ + "incore:CGEmisc" ], - "wf_damage_state": [ - "incore:sampleDamageState" + "MISCH": [ + "incore:CGEmisch" ], - "pipeline_failure_state": [ - "incore:sampleFailureState" + "LANDCAP": [ + "incore:CGElandcap" ], - "epf_failure_state": [ - "incore:sampleFailureState" + "EMPLOY": [ + "incore:CGEemploy" ], - "epf_damage_state": [ - "incore:sampleDamageState" + "IGTD": [ + "incore:CGEigtd" ], - "dt_params": [ - "incore:dTParams" + "TAUFF": [ + "incore:CGEtauff" ], - "pop_dislocation": [ - "incore:popDislocation" + "JOBCR": [ + "incore:CGEjobcr" ], - "bldgs2elec": [ - "incore:bldgs2elec" + "OUTCR": [ + "incore:CGEoutcr" ], - "bldgs2wter": [ - "incore:bldgs2wter" + "sector_shocks": [ + "incore:capitalShocks" ] - }, - "parameter_defaults": { - "network_type": "from_csv", - "MAGS": "[1000]", - "sample_range": "[0]", - "dislocation_data_type": "incore", - "return_model": "step_function", - "testbed_name": null, - "extra_commodity": null, - "RC": null, - "layers": null, - "method": "INDP", - "t_steps": 10, - "time_resource": true, - "save_model": false, - "solver_engine": null, - "solver_path": null, - "solver_time_limit": null } }, - "studio-EpfRepairCost": { - "after": { - "studio-INDP": [ - { - "from": "result", - "to": "epf_repair_cost" - }, - { - "from": "result", - "to": "wf_repair_cost" - } - ] - }, + "studio-MlEnabledCgeSlc": { "before": { - "studio-MonteCarloLimitStateProbability": [ + "studio-CapitalShocks": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Electric Power Facility Repair Cost", - "tags": [ - "Lifeline" - ], - "manual": "epf_repair_cost.html", - "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" - ], - "replacement_cost": [ - "incore:replacementCost" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "epf_dmg_ratios": [ - "incore:epfDamageRatios" - ] - }, - "parameter_defaults": { - "result_name": "epf-repair-cost-result", - "num_cpu": 1 - } - }, - "studio-WaterFacilityRepairCost": { "after": { - "studio-INDP": [ + "studio-CGEPostProcessTool": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "household-count", + "to": "Household Count" }, { - "from": "result", - "to": "wf_repair_cost" - } - ] - }, - "before": { - "studio-MonteCarloLimitStateProbability": [ + "from": "domestic-supply", + "to": "Domestic supply" + }, { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" } ] }, - "pretty_name": "Water Facility Repair Cost", + "pretty_name": "Machine Learning Enabled CGE SLC", "tags": [ - "Lifeline" + "Economic" ], - "manual": "water_facility_repair_cost.html", + "manual": "ml_slc_cge.html", + "parameter_defaults": { + "result_name": "salt-lake-ml-enabled-cge" + }, "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "replacement_cost": [ - "incore:replacementCost" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "wf_dmg_ratios": [ - "incore:waterFacilityDamageRatios" + "sector_shocks": [ + "incore:capitalShocks" ] - }, - "parameter_defaults": { - "result_name": "water-facility-repair-cost-result", - "num_cpu": 1 } }, - "studio-PipelineRestoration": { - "after": { - "studio-INDP": [ + "studio-MlEnabledCgeJoplin": { + "before": { + "studio-CapitalShocks": [ { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "before": { - "studio-PipelineDamageRepairRate": [ + "after": { + "studio-CGEPostProcessTool": [ { - "from": "result", - "to": "pipeline_damage" + "from": "household-count", + "to": "Household Count" + }, + { + "from": "domestic-supply", + "to": "Domestic supply" + }, + { + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" } ] }, - "pretty_name": "Pipeline Restoration", + "pretty_name": "Machine Learning Enabled CGE Joplin", "tags": [ - "Lifeline" + "Economic" ], - "manual": "pipeline_restoration.html", + "manual": "ml_joplin_cge.html", + "parameter_defaults": { + "result_name": "joplin-ml-enabled-cge" + }, "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "pipeline_damage": [ - "ergo:pipelineDamageVer2", - "ergo:pipelineDamageVer3" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "sector_shocks": [ + "incore:capitalShocks" ] - }, - "parameter_defaults": { - "result_name": "pipeline-restoration-result", - "num_cpu": 1, - "num_available_workers": 4, - "restoration_key": "Restoration ID Code" } }, - "studio-CombinedWindWaveSurgeBuildingDamage": { + "studio-SaltLakeCGEModel": { "before": { - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, - { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, - { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-BuildingNonStructDamage": [ + "studio-CapitalShocks": [ { - "from": "result", - "to": "flood_damage" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, "after": { - "studio-CommercialBuildingRecovery": [ + "studio-CGEPostProcessTool": [ { - "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ + "from": "household-count", + "to": "Household Count" + }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "domestic-supply", + "to": "Domestic supply" }, { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-BuyoutDecision": [ + "from": "gross-income", + "to": "Gross Income" + }, { - "from": "ds_result", - "to": "past_building_damage" + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" }, { - "from": "ds_result", - "to": "future_building_damage" + "from": "post-disaster-factor-demand", + "to": "Post Demand" } + ] + }, + "pretty_name": "Salt Lake CGE Model", + "tags": [ + "Economic" + ], + "manual": "slc_cge.html", + "parameter_defaults": { + "model_iterations": 1, + "solver_path": null + }, + "inputs": { + "SAM": [ + "incore:CGEsam" ], - "studio-MeanDamage": [ - { - "from": "ds_result", - "to": "damage" - } + "BB": [ + "incore:CGEbb" ], - "studio-CumulativeBuildingDamage": [ - { + "IOUT": [ + "incore:CGEiout" + ], + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-SeasideCGEModel": { + "before": { + "studio-CapitalShocks": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": {}, + "pretty_name": "Seaside CGE Model", + "tags": [ + "Economic" + ], + "manual": "seaside_cge.html", + "parameter_defaults": { + "print_solver_output": false, + "solver_path": null + }, + "inputs": { + "SAM": [ + "incore:SeasideCGEsam" + ], + "BB": [ + "incore:SeasideCGEbb" + ], + "HHTABLE": [ + "incore:SeasideCGEhhtable" + ], + "EMPLOY": [ + "incore:SeasideCGEemploy" + ], + "JOBCR": [ + "incore:SeasideCGEjobcr" + ], + "SIMS": [ + "incore:SeasideCGEsim" + ], + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-CapitalShocks": { + "after": { + "studio-JoplinCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-GalvestonCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-MlEnabledCgeSlc": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-SaltLakeCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-MlEnabledCgeJoplin": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-SeasideCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "before": { + "studio-PipelineFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-EpnFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-WfnFunctionality": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "failure_probability", + "to": "failure_probability" + } + ] + }, + "pretty_name": "Capital Shocks", + "tags": [ + "Economic" + ], + "manual": "capital_shocks.html", + "parameter_defaults": { + "result_name": "capital-shocks-result" + }, + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "buildings_to_sectors": [ + "incore:buildingsToSectors" + ], + "failure_probability": [ + "incore:failureProbability" + ] + } + }, + "studio-CombinedWindWaveSurgeBuildingDamage": { + "before": { + "studio-BuildingStructuralDamage": [ + { "from": "ds_result", - "to": "tsunami_bldg_dmg" + "to": "wind_damage" }, { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "surge_wave_damage" } ], - "studio-PopulationDislocation": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "building_dmg" + "to": "surge_wave_damage" + }, + { + "from": "ds_result", + "to": "wind_damage" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-BuildingNonStructDamage": [ + { + "from": "result", + "to": "flood_damage" + } + ] + }, + "after": { + "studio-BuyoutDecision": [ + { + "from": "ds_result", + "to": "future_building_damage" + }, + { + "from": "ds_result", + "to": "past_building_damage" + } + ], + "studio-MeanDamage": [ { "from": "ds_result", "to": "damage" @@ -437,6 +504,44 @@ "to": "wind_damage" } ], + "studio-CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "studio-PopulationDislocation": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + } + ], "studio-JoplinEmpiricalBuildingRestoration": [ { "from": "ds_result", @@ -449,6 +554,9 @@ "Building" ], "manual": "combined_wind_wave_surge_building_dmg.html", + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-damage-result" + }, "inputs": { "wind_damage": [ "ergo:buildingDamageVer6" @@ -459,9 +567,6 @@ "flood_damage": [ "ergo:nsBuildingInventoryDamageVer4" ] - }, - "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-damage-result" } }, "studio-CombinedWindWaveSurgeBuildingLoss": { @@ -469,11 +574,11 @@ "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "surge_wave_damage" + "to": "wind_damage" }, { "from": "ds_result", - "to": "wind_damage" + "to": "surge_wave_damage" } ], "studio-CombinedWindWaveSurgeBuildingDamage": [ @@ -499,6 +604,9 @@ "Building" ], "manual": "combined_wind_wave_surge_building_loss.html", + "parameter_defaults": { + "result_name": "combined-wind-wave-surge-building-loss-result" + }, "inputs": { "buildings": [ "ergo:buildingInventoryVer4", @@ -521,9 +629,6 @@ "content_cost": [ "incore:contentCostRatio" ] - }, - "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-loss-result" } }, "studio-JoplinEmpiricalBuildingRestoration": { @@ -534,21 +639,21 @@ "to": "building_dmg" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-CumulativeBuildingDamage": [ { - "from": "ds_result", + "from": "combined-result", "to": "building_dmg" } ], - "studio-BuildingNonStructDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", + "from": "ds_result", "to": "building_dmg" } ], - "studio-CumulativeBuildingDamage": [ + "studio-BuildingNonStructDamage": [ { - "from": "combined-result", + "from": "result", "to": "building_dmg" } ] @@ -559,7 +664,12 @@ "Building" ], "manual": "", - "inputs": { + "parameter_defaults": { + "result_name": "joplin-empirical-building-restoration", + "target_functionality_level": 0, + "seed": 1234 + }, + "inputs": { "buildings": [ "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", @@ -579,48 +689,43 @@ "building_functionality_level": [ "incore:buildingFuncTargetVer1" ] - }, - "parameter_defaults": { - "result_name": "joplin-empirical-building-restoration", - "target_functionality_level": 0, - "seed": 1234 } }, "studio-MeanDamage": { "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-CumulativeBuildingDamage": [ { - "from": "ds_result", + "from": "combined-result", "to": "damage" } ], - "studio-BuildingStructuralDamage": [ + "studio-BridgeDamage": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "studio-RoadDamage": [ + "studio-BuildingNonStructDamage": [ { "from": "result", "to": "damage" } ], - "studio-BuildingNonStructDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ], - "studio-CumulativeBuildingDamage": [ + "studio-RoadDamage": [ { - "from": "combined-result", + "from": "result", "to": "damage" } ], - "studio-BridgeDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ] @@ -636,6 +741,11 @@ "pretty_name": "Mean Damage", "tags": [], "manual": "mean_dmg.html", + "parameter_defaults": { + "result_name": "mean-damage-result", + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", + "num_cpu": 1 + }, "inputs": { "damage": [ "ergo:buildingDamageVer4", @@ -660,11 +770,6 @@ "ergo:buildingDSDamageRatios", "ergo:roadDamageRatios" ] - }, - "parameter_defaults": { - "result_name": "mean-damage-result", - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", - "num_cpu": 1 } }, "studio-MonteCarloLimitStateProbability": { @@ -675,49 +780,49 @@ "to": "damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-CumulativeBuildingDamage": [ { - "from": "ds_result", + "from": "combined-result", "to": "damage" } ], - "studio-BuildingStructuralDamage": [ + "studio-BridgeDamage": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "studio-RoadDamage": [ + "studio-BuildingNonStructDamage": [ { "from": "result", "to": "damage" } ], - "studio-BuildingNonStructDamage": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ], - "studio-WaterFacilityDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "result", + "from": "ds_result", "to": "damage" } ], - "studio-CumulativeBuildingDamage": [ + "studio-RoadDamage": [ { - "from": "combined-result", + "from": "result", "to": "damage" } ], - "studio-BridgeDamage": [ + "studio-PipelineDamage": [ { "from": "result", "to": "damage" } ], - "studio-PipelineDamage": [ + "studio-WaterFacilityDamage": [ { "from": "result", "to": "damage" @@ -725,72 +830,56 @@ ] }, "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } - ], - "studio-WfnFunctionality": [ + "studio-CommercialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "failure_probability", + "to": "mcs_failure" } ], "studio-INDP": [ { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_damage_states", - "to": "epf_damage_state" + "to": "wf_damage_state" }, { "from": "sample_damage_states", - "to": "wf_damage_state" + "to": "epf_damage_state" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "epf_failure_state" }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "studio-NciFunctionality": [ - { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "to": "wf_failure_state" } ], - "studio-WaterFacilityRepairCost": [ + "studio-EpfRepairCost": [ { "from": "sample_damage_states", "to": "sample_damage_states" } ], - "studio-CommercialBuildingRecovery": [ + "studio-BuildingFunctionality": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" }, { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], "studio-CapitalShocks": [ @@ -799,12 +888,28 @@ "to": "failure_probability" } ], - "studio-EpfRepairCost": [ + "studio-NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "studio-WaterFacilityRepairCost": [ { "from": "sample_damage_states", "to": "sample_damage_states" } ], + "studio-WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], "studio-EpnFunctionality": [ { "from": "sample_failure_state", @@ -829,6 +934,14 @@ "Decision Support" ], "manual": "mc_limit_state_prob.html", + "parameter_defaults": { + "result_name": "monte_carlo_limit_state_probability-result", + "num_cpu": 8, + "num_samples": 10, + "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", + "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", + "seed": 1234 + }, "inputs": { "damage": [ "ergo:buildingDamageVer4", @@ -854,46 +967,38 @@ "incore:pipelineDamageVer2", "incore:pipelineDamageVer3" ] - }, - "parameter_defaults": { - "result_name": "monte_carlo_limit_state_probability-result", - "num_cpu": 8, - "num_samples": 10, - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", - "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", - "seed": 1234 } }, "studio-BuildingNonStructDamage": { "after": { - "studio-CombinedWindWaveSurgeBuildingLoss": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "result", "to": "flood_damage" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", - "to": "flood_damage" + "to": "damage" } ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-MeanDamage": [ { "from": "result", - "to": "building_dmg" + "to": "damage" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { "from": "result", - "to": "damage" + "to": "building_dmg" } ], - "studio-MeanDamage": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { "from": "result", - "to": "damage" + "to": "flood_damage" } ] }, @@ -903,6 +1008,16 @@ "Building" ], "manual": "building_nonstructural_dmg.html", + "parameter_defaults": { + "result_name": "building-nonstruct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": "Acceleration-Sensitive Fragility ID Code", + "use_liquefaction": true, + "liq_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + }, "inputs": { "hazard": [ "earthquake", @@ -921,142 +1036,63 @@ "retrofit_strategy": [ "incore:retrofitStrategy" ] - }, - "parameter_defaults": { - "result_name": "building-nonstruct-dmg-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": "Acceleration-Sensitive Fragility ID Code", - "use_liquefaction": true, - "liq_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 } }, - "studio-RoadDamage": { + "studio-PipelineDamage": { "after": { "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } - ], - "studio-MeanDamage": [ - { - "from": "result", - "to": "damage" - } ] }, "before": {}, - "pretty_name": "Road Damage", + "pretty_name": "Pipeline Damage", "tags": [ "Lifeline" ], - "manual": "road_dmg.html", + "manual": "pipeline_dmg.html", + "parameter_defaults": { + "result_name": "pipeline-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null + }, "inputs": { "hazard": [ "earthquake", - "hurricane", "tsunami" ], - "roads": [ - "ergo:roadLinkTopo", - "incore:roads", - "ergo:roadLinkTopoVer2" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ] - }, - "parameter_defaults": { - "result_name": "road-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 } }, - "studio-BuyoutDecision": { + "studio-CommercialBuildingRecovery": { "before": { - "studio-BuildingStructuralDamage": [ + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "past_building_damage" - }, + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "studio-WfnFunctionality": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, - { - "from": "ds_result", - "to": "future_building_damage" - } - ], - "studio-PopulationDislocation": [ - { - "from": "result", - "to": "population_dislocation" - } - ], - "studio-HousingUnitAllocation": [ - { - "from": "result", - "to": "housing_unit_allocation" - } - ] - }, - "after": {}, - "pretty_name": "Buyout Decision", - "tags": [ - "Decision Support" - ], - "manual": "buyout_decision.html", - "inputs": { - "past_building_damage": [ - "ergo:buildingDamageVer6" - ], - "future_building_damage": [ - "ergo:buildingDamageVer6" - ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" - ], - "population_dislocation": [ - "incore:popDislocation" - ] - }, - "parameter_defaults": { - "fema_buyout_cap": 250000.0, - "residential_archetypes": null, - "result_name": "buyout-decision-result" - } - }, - "studio-CommercialBuildingRecovery": { - "before": { - "studio-MonteCarloLimitStateProbability": [ + "studio-PipelineFunctionality": [ { "from": "failure_probability", "to": "mcs_failure" - }, - { - "from": "sample_damage_states", - "to": "sample_damage_states" } ], "studio-CombinedWindWaveSurgeBuildingDamage": [ @@ -1065,28 +1101,20 @@ "to": "building_dmg" } ], - "studio-EpnFunctionality": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "studio-PipelineFunctionality": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], "studio-BuildingStructuralDamage": [ { "from": "ds_result", "to": "building_dmg" } ], - "studio-WfnFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "failure_probability", "to": "mcs_failure" + }, + { + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, @@ -1096,6 +1124,12 @@ "Socioeconomic" ], "manual": "commercial_building_recovery.html", + "parameter_defaults": { + "result_name": "commercial-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + }, "inputs": { "buildings": [ "ergo:buildingInventoryVer4", @@ -1118,214 +1152,359 @@ "building_dmg": [ "ergo:buildingDamageVer6" ] - }, - "parameter_defaults": { - "result_name": "commercial-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 } }, - "studio-CumulativeBuildingDamage": { + "studio-EpfRepairCost": { "before": { - "studio-CumulativeBuildingDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, + "after": { + "studio-INDP": [ + { + "from": "result", + "to": "wf_repair_cost" }, { - "from": "combined-result", - "to": "tsunami_bldg_dmg" + "from": "result", + "to": "epf_repair_cost" } + ] + }, + "pretty_name": "Electric Power Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "epf_repair_cost.html", + "parameter_defaults": { + "result_name": "epf-repair-cost-result", + "num_cpu": 1 + }, + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "epf_dmg_ratios": [ + "incore:epfDamageRatios" + ] + } + }, + "studio-INDP": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "ds_result", - "to": "eq_bldg_dmg" - } - ], - "studio-BuildingStructuralDamage": [ + "from": "sample_damage_states", + "to": "wf_damage_state" + }, { - "from": "ds_result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - } - ] - }, - "after": { - "studio-MonteCarloLimitStateProbability": [ + "from": "sample_damage_states", + "to": "epf_damage_state" + }, { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "wf_failure_state" } ], - "studio-CumulativeBuildingDamage": [ + "studio-EpnFunctionality": [ { - "from": "combined-result", - "to": "eq_bldg_dmg" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "combined-result", - "to": "tsunami_bldg_dmg" - } - ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "from": "sample_failure_state", + "to": "wf_failure_state" + }, { - "from": "combined-result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "studio-MeanDamage": [ + "studio-PipelineFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "studio-PopulationDislocation": [ + "studio-WaterFacilityRepairCost": [ { - "from": "combined-result", - "to": "building_dmg" + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" } - ] - }, - "pretty_name": "Cumulative Building Damage", - "tags": [ - "Building" - ], - "manual": "cumulative_building_dmg.html", - "inputs": { - "eq_bldg_dmg": [ - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" ], - "tsunami_bldg_dmg": [ - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" - ] - }, - "parameter_defaults": { - "result_name": "cumulative-building-damage-result", - "num_cpu": 4 - } - }, - "studio-PopulationDislocation": { - "before": { - "studio-BuildingStructuralDamage": [ + "studio-EpfRepairCost": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "epf_repair_cost" + }, + { + "from": "result", + "to": "wf_repair_cost" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-PipelineRestoration": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ], - "studio-HousingUnitAllocation": [ + "studio-PopulationDislocation": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "pop_dislocation" } ], - "studio-CumulativeBuildingDamage": [ + "studio-WaterFacilityRestoration": [ { - "from": "combined-result", - "to": "building_dmg" - } - ] - }, - "after": { - "studio-HousingRecoverySequential": [ - { - "from": "result", - "to": "population_dislocation_block" + "from": "repair_times", + "to": "wf_restoration_time" } ], - "studio-HousingValuationRecovery": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "population_dislocation" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "studio-INDP": [ + "studio-EpfRestoration": [ { - "from": "result", - "to": "pop_dislocation" + "from": "repair_times", + "to": "epf_restoration_time" } ], - "studio-BuyoutDecision": [ + "studio-PipelineRepairCost": [ { "from": "result", - "to": "population_dislocation" + "to": "pipeline_repair_cost" } + ] + }, + "after": {}, + "pretty_name": "Infrastructure Network Disruption Planning", + "tags": [ + "Decision Support" + ], + "manual": "indp.html", + "parameter_defaults": { + "network_type": "from_csv", + "MAGS": "[1000]", + "sample_range": "[0]", + "dislocation_data_type": "incore", + "return_model": "step_function", + "testbed_name": null, + "extra_commodity": null, + "RC": null, + "layers": null, + "method": "INDP", + "t_steps": 10, + "time_resource": true, + "save_model": false, + "solver_engine": null, + "solver_path": null, + "solver_time_limit": null + }, + "inputs": { + "wf_repair_cost": [ + "incore:repairCost" ], - "studio-DislPostProcessTool": [ + "wf_restoration_time": [ + "incore:waterFacilityRepairTime" + ], + "epf_repair_cost": [ + "incore:repairCost" + ], + "epf_restoration_time": [ + "incore:epfRepairTime" + ], + "pipeline_repair_cost": [ + "incore:pipelineRepairCost" + ], + "pipeline_restoration_time": [ + "incore:pipelineRestorationVer1" + ], + "power_network": [ + "incore:epnNetwork" + ], + "water_network": [ + "incore:waterNetwork" + ], + "powerline_supply_demand_info": [ + "incore:powerLineSupplyDemandInfo" + ], + "epf_supply_demand_info": [ + "incore:epfSupplyDemandInfo" + ], + "wf_supply_demand_info": [ + "incore:waterFacilitySupplyDemandInfo" + ], + "pipeline_supply_demand_info": [ + "incore:pipelineSupplyDemandInfo" + ], + "interdep": [ + "incore:interdep" + ], + "wf_failure_state": [ + "incore:sampleFailureState" + ], + "wf_damage_state": [ + "incore:sampleDamageState" + ], + "pipeline_failure_state": [ + "incore:sampleFailureState" + ], + "epf_failure_state": [ + "incore:sampleFailureState" + ], + "epf_damage_state": [ + "incore:sampleDamageState" + ], + "dt_params": [ + "incore:dTParams" + ], + "pop_dislocation": [ + "incore:popDislocation" + ], + "bldgs2elec": [ + "incore:bldgs2elec" + ], + "bldgs2wter": [ + "incore:bldgs2wter" + ] + } + }, + "studio-ResidentialBuildingRecovery": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "Dislocation Output" + "from": "sample_damage_states", + "to": "sample_damage_states" } ] }, - "pretty_name": "Population Dislocation", + "after": {}, + "pretty_name": "Residential Building Recovery", "tags": [ - "Socioeconomic" + "Socioeconomic", + "Decision Support" ], - "manual": "populationdislocation.html", + "manual": "residential_building_recovery.html", + "parameter_defaults": { + "result_name": "residential-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + }, "inputs": { - "building_dmg": [ + "buildings": [ "ergo:buildingInventoryVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory" + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ], - "block_group_data": [ - "incore:blockGroupData" + "sample_damage_states": [ + "incore:sampleDamageState" ], - "value_loss_param": [ - "incore:valuLossParam" + "socio_demographic_data": [ + "incore:socioDemograhicData" + ], + "financial_resources": [ + "incore:householdFinancialResources" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" ] - }, - "parameter_defaults": { - "result_name": "population-dislocation-result", - "seed": 1234, - "choice_dislocation": false, - "choice_dislocation_cutoff": 0.0, - "choice_dislocation_ds": null, - "unsafe_occupancy": false, - "unsafe_occupancy_cutoff": 0.0, - "unsafe_occupancy_ds": null } }, - "studio-BuildingStructuralDamage": { - "after": { - "studio-CommercialBuildingRecovery": [ + "studio-WaterFacilityRepairCost": { + "before": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_damage_states", + "to": "sample_damage_states" } - ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ + ] + }, + "after": { + "studio-INDP": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "result", + "to": "wf_repair_cost" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "epf_repair_cost" } + ] + }, + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_repair_cost.html", + "parameter_defaults": { + "result_name": "water-facility-repair-cost-result", + "num_cpu": 1 + }, + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" ], - "studio-BuyoutDecision": [ + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "wf_dmg_ratios": [ + "incore:waterFacilityDamageRatios" + ] + } + }, + "studio-BuyoutDecision": { + "before": { + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", "to": "past_building_damage" @@ -1335,70 +1514,46 @@ "to": "future_building_damage" } ], - "studio-MeanDamage": [ + "studio-PopulationDislocation": [ { - "from": "ds_result", - "to": "damage" + "from": "result", + "to": "population_dislocation" } ], - "studio-CumulativeBuildingDamage": [ + "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "tsunami_bldg_dmg" + "to": "past_building_damage" }, { "from": "ds_result", - "to": "eq_bldg_dmg" + "to": "future_building_damage" } ], - "studio-PopulationDislocation": [ + "studio-HousingUnitAllocation": [ { - "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "ds_result", - "to": "damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, - { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-JoplinEmpiricalBuildingRestoration": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-MaxDamageStateTool": [ - { - "from": "ds_result", - "to": "Output dataset" + "from": "result", + "to": "housing_unit_allocation" } ] }, - "before": {}, - "pretty_name": "Building Structural Damage", + "after": {}, + "pretty_name": "Buyout Decision", "tags": [ - "Building" + "Decision Support" ], - "manual": "building_structural_dmg.html", + "manual": "buyout_decision.html", + "parameter_defaults": { + "fema_buyout_cap": 250000.0, + "residential_archetypes": null, + "result_name": "buyout-decision-result" + }, "inputs": { - "hazard": [ - "earthquake", - "tornado", - "hurricane", - "flood", - "tsunami" + "past_building_damage": [ + "ergo:buildingDamageVer6" + ], + "future_building_damage": [ + "ergo:buildingDamageVer6" ], "buildings": [ "ergo:buildingInventoryVer4", @@ -1406,577 +1561,528 @@ "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "housing_unit_allocation": [ + "incore:housingUnitAllocation" ], - "retrofit_strategy": [ - "incore:retrofitStrategy" + "population_dislocation": [ + "incore:popDislocation" ] - }, - "parameter_defaults": { - "result_name": "building-struct-dmg-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "use_hazard_uncertainty": false, - "num_cpu": 1, - "seed": 1234, - "liquefaction_geology_dataset_id": null } }, - "studio-WaterFacilityRestoration": { - "after": { - "studio-NciFunctionality": [ + "studio-PopulationDislocation": { + "before": { + "studio-BuildingStructuralDamage": [ { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-HousingUnitAllocation": [ { - "from": "time_results", - "to": "wds_time_results" - }, + "from": "result", + "to": "housing_unit_allocation" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-INDP": [ + "studio-CumulativeBuildingDamage": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "combined-result", + "to": "building_dmg" } ] }, - "before": { - "studio-WaterFacilityDamage": [ + "after": { + "studio-BuyoutDecision": [ { "from": "result", - "to": "damage" + "to": "population_dislocation" } - ] - }, - "pretty_name": "Water Facility Restoration", - "tags": [ - "Lifeline" - ], - "manual": "water_facility_restoration.html", - "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" ], - "damage": [ - "ergo:waterFacilityDamageVer6" - ] - }, - "parameter_defaults": { - "result_name": "water-facility-restoration-result", - "restoration_key": "Restoration ID Code", - "end_time": 100.0, - "time_interval": 1.0, - "pf_interval": 0.05, - "discretized_days": "[1, 3, 7, 30, 90]" - } - }, - "studio-BuildingFunctionality": { - "before": { - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "studio-HousingRecoverySequential": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "result", + "to": "population_dislocation_block" } ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "studio-HousingValuationRecovery": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "result", + "to": "population_dislocation" } ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "studio-INDP": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "result", + "to": "pop_dislocation" } ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - } - ] - }, - "after": { - "studio-BuildingFunctionalityClusterTool": [ + "studio-DislPostProcessTool": [ { - "from": "functionality_probability", - "to": "Functionality Probability" + "from": "result", + "to": "Dislocation Output" } ] }, - "pretty_name": "Building Functionality", + "pretty_name": "Population Dislocation", "tags": [ - "Building" + "Socioeconomic" ], - "manual": "building_func.html", + "manual": "populationdislocation.html", + "parameter_defaults": { + "result_name": "population-dislocation-result", + "seed": 1234, + "choice_dislocation": false, + "choice_dislocation_cutoff": 0.0, + "choice_dislocation_ds": null, + "unsafe_occupancy": false, + "unsafe_occupancy_cutoff": 0.0, + "unsafe_occupancy_ds": null + }, "inputs": { - "building_damage_mcs_samples": [ - "incore:sampleFailureState" + "building_dmg": [ + "ergo:buildingInventoryVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory" ], - "substations_damage_mcs_samples": [ - "incore:sampleFailureState" + "housing_unit_allocation": [ + "incore:housingUnitAllocation" ], - "poles_damage_mcs_samples": [ - "incore:sampleFailureState" + "block_group_data": [ + "incore:blockGroupData" ], - "interdependency_dictionary": [ - "incore:buildingInterdependencyDict" + "value_loss_param": [ + "incore:valuLossParam" ] - }, - "parameter_defaults": { - "result_name": "bldg-functionality-result" } }, - "studio-EpnFunctionality": { - "before": { - "studio-PipelineFunctionality": [ + "studio-HousingUnitAllocation": { + "after": { + "studio-BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "housing_unit_allocation" } ], - "studio-WfnFunctionality": [ + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "housing_unit_allocation" } + ] + }, + "before": {}, + "pretty_name": "Housing Unit Allocation", + "tags": [ + "Socioeconomic" + ], + "manual": "housingunitallocation.html", + "parameter_defaults": { + "result_name": "housing-unit-allocation-result", + "seed": 1234, + "iterations": 10 + }, + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "studio-EpnFunctionality": [ + "housing_unit_inventory": [ + "incore:housingUnitInventory" + ], + "address_point_inventory": [ + "incore:addressPoints" + ] + } + }, + "studio-HousingRecoverySequential": { + "before": { + "studio-SocialVulnerabilityScore": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sv_result", + "to": "sv_result" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "result", + "to": "population_dislocation_block" } ] }, - "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - } + "after": {}, + "pretty_name": "Housing Recovery Sequential", + "tags": [ + "Socioeconomic", + "Decision Support" + ], + "manual": "housing_household_recovery.html", + "parameter_defaults": { + "result_name": "housing-recovery-sequential-result", + "t_delta": null, + "t_final": null, + "seed": 1234, + "num_cpu": 4 + }, + "inputs": { + "population_dislocation_block": [ + "incore:popDislocation" ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } + "tpm": [ + "incore:houseRecTransitionProbMatrix" ], - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - } + "initial_stage_probabilities": [ + "incore:houseRecInitialStageProbability" ], - "studio-NciFunctionality": [ + "sv_result": [ + "incore:socialVulnerabilityScore" + ], + "zone_def_sv": [ + "incore:zoneDefinitionsSocialVulnerability" + ], + "zone_def_hhinc": [ + "incore:zoneDefinitionsHouseholdIncome" + ] + } + }, + "studio-SocialVulnerabilityScore": { + "after": { + "studio-HousingRecoverySequential": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "sv_result", + "to": "sv_result" } + ] + }, + "before": {}, + "pretty_name": "Social Vulnerability Score", + "tags": [ + "Socioeconomic" + ], + "manual": "social_vulnerability_score.html", + "parameter_defaults": { + "result_name": "social-vulnerability-score-result" + }, + "inputs": { + "national_vulnerability_feature_averages": [ + "incore:socialVulnerabilityFeatureAverages" ], - "studio-CapitalShocks": [ + "social_vulnerability_demographic_factors": [ + "incore:socialVulnerabilityDemFactors" + ] + } + }, + "studio-BridgeDamage": { + "after": { + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "damage" } ], - "studio-CommercialBuildingRecovery": [ + "studio-MeanDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "result", + "to": "damage" } ], - "studio-EpnFunctionality": [ + "studio-MaxDamageStateTool": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "Output dataset" } ] }, - "pretty_name": "Electric Power Network Functionality", + "before": {}, + "pretty_name": "Bridge Damage", "tags": [ - "Lifeline" + "Bridge" ], - "manual": "epn_functionality.html", + "manual": "bridge_dmg.html", + "parameter_defaults": { + "result_name": "bridge-damage-result", + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 4, + "hazard_id": null, + "hazard_type": null + }, "inputs": { - "epn_network": [ - "incore:epnNetwork" + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" ], - "epf_sample_failure_state": [ - "incore:sampleFailureState" + "bridges": [ + "ergo:bridges", + "ergo:bridgesVer2", + "ergo:bridgesVer3" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ] - }, - "parameter_defaults": { - "result_name": "epn-functionality-result", - "gate_station_node_list": null } }, - "studio-WfnFunctionality": { + "studio-CumulativeBuildingDamage": { "before": { - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - } - ], - "studio-WfnFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "combined-result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "combined-result", + "to": "eq_bldg_dmg" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "studio-PipelineFunctionality": [ + "studio-BuildingStructuralDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "eq_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "tsunami_bldg_dmg" } ] }, "after": { - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "combined-result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "combined-result", + "to": "eq_bldg_dmg" } ], - "studio-WfnFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } - ], - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "studio-NciFunctionality": [ - { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "combined-result", + "to": "damage" } ], - "studio-CapitalShocks": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "combined-result", + "to": "building_dmg" } ], - "studio-CommercialBuildingRecovery": [ + "studio-MeanDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "combined-result", + "to": "damage" } ], - "studio-EpnFunctionality": [ + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "combined-result", + "to": "building_dmg" } ] }, - "pretty_name": "Water Facility Network Functionality", + "pretty_name": "Cumulative Building Damage", "tags": [ - "Lifeline" + "Building" ], - "manual": "wfn_functionality.html", + "manual": "cumulative_building_dmg.html", + "parameter_defaults": { + "result_name": "cumulative-building-damage-result", + "num_cpu": 4 + }, "inputs": { - "wfn_network": [ - "incore:waterNetwork" - ], - "wf_sample_failure_state": [ - "incore:sampleFailureState" + "eq_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" ], - "pp_sample_failure_state": [ - "incore:sampleFailureState" + "tsunami_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" ] - }, - "parameter_defaults": { - "result_name": "wfn-functionality-result", - "tank_node_list": "[]", - "pumpstation_node_list": "[]" } }, - "studio-PipelineFunctionality": { + "studio-BuildingStructuralDamage": { "after": { - "studio-BuildingFunctionality": [ + "studio-BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "future_building_damage" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "from": "ds_result", + "to": "past_building_damage" + } + ], + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "damage" } ], - "studio-WfnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "surge_wave_damage" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "wind_damage" } ], - "studio-INDP": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "studio-PopulationDislocation": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-NciFunctionality": [ + "studio-CommercialBuildingRecovery": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-CapitalShocks": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "damage" } ], - "studio-CommercialBuildingRecovery": [ + "studio-CumulativeBuildingDamage": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" } ], - "studio-EpnFunctionality": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } - ] - }, - "before": { - "studio-PipelineDamageRepairRate": [ + ], + "studio-MaxDamageStateTool": [ { - "from": "result", - "to": "pipeline_repair_rate_damage" + "from": "ds_result", + "to": "Output dataset" } ] }, - "pretty_name": "Pipeline Functionality", + "before": {}, + "pretty_name": "Building Structural Damage", "tags": [ - "Lifeline" + "Building" ], - "manual": "pipeline_functionality.html", + "manual": "building_structural_dmg.html", + "parameter_defaults": { + "result_name": "building-struct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "use_hazard_uncertainty": false, + "num_cpu": 1, + "seed": 1234, + "liquefaction_geology_dataset_id": null + }, "inputs": { - "pipeline_repair_rate_damage": [ - "ergo:pipelineDamageVer3" + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" + ], + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" ] - }, - "parameter_defaults": { - "result_name": "pipeline-functionality-result", - "num_samples": 100 } }, - "studio-HousingRecoverySequential": { + "studio-BuildingEconLoss": { "before": { - "studio-SocialVulnerabilityScore": [ - { - "from": "sv_result", - "to": "sv_result" - } - ], - "studio-PopulationDislocation": [ + "studio-MeanDamage": [ { "from": "result", - "to": "population_dislocation_block" + "to": "building_mean_dmg" } ] }, "after": {}, - "pretty_name": "Housing Recovery Sequential", + "pretty_name": "Building Economic Loss", "tags": [ - "Socioeconomic", - "Decision Support" + "Building" ], - "manual": "housing_household_recovery.html", + "manual": "building_loss.html", + "parameter_defaults": { + "result_name": "building-econ-loss-result", + "inflation_factor": 0.0 + }, "inputs": { - "population_dislocation_block": [ - "incore:popDislocation" - ], - "tpm": [ - "incore:houseRecTransitionProbMatrix" - ], - "initial_stage_probabilities": [ - "incore:houseRecInitialStageProbability" - ], - "sv_result": [ - "incore:socialVulnerabilityScore" + "buildings": [ + "ergo:buildingInventory", + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "zone_def_sv": [ - "incore:zoneDefinitionsSocialVulnerability" + "building_mean_dmg": [ + "ergo:meanDamage" ], - "zone_def_hhinc": [ - "incore:zoneDefinitionsHouseholdIncome" + "occupancy_multiplier": [ + "incore:buildingOccupancyMultiplier" ] - }, - "parameter_defaults": { - "result_name": "housing-recovery-sequential-result", - "t_delta": null, - "t_final": null, - "seed": 1234, - "num_cpu": 4 - } - }, - "studio-SocialVulnerabilityScore": { - "after": { - "studio-HousingRecoverySequential": [ - { - "from": "sv_result", - "to": "sv_result" - } - ] - }, - "before": {}, - "pretty_name": "Social Vulnerability Score", - "tags": [ - "Socioeconomic" - ], - "manual": "social_vulnerability_score.html", - "inputs": { - "national_vulnerability_feature_averages": [ - "incore:socialVulnerabilityFeatureAverages" - ], - "social_vulnerability_demographic_factors": [ - "incore:socialVulnerabilityDemFactors" - ] - }, - "parameter_defaults": { - "result_name": "social-vulnerability-score-result" } }, "studio-NciFunctionality": { "before": { "studio-WaterFacilityRestoration": [ + { + "from": "time_results", + "to": "wds_time_results" + }, { "from": "inventory_restoration_map", "to": "epf_inventory_rest_map" @@ -1984,18 +2090,20 @@ { "from": "inventory_restoration_map", "to": "wds_inventory_rest_map" - }, - { - "from": "time_results", - "to": "wds_time_results" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-PipelineFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], + "studio-WaterFacilityDamage": [ + { + "from": "result", + "to": "wds_dmg_results" + } + ], "studio-EpfRestoration": [ { "from": "inventory_restoration_map", @@ -2010,24 +2118,12 @@ "to": "wds_inventory_rest_map" } ], - "studio-PipelineFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "studio-WaterFacilityDamage": [ - { - "from": "result", - "to": "wds_dmg_results" - } - ], - "studio-EpfDamage": [ - { - "from": "result", - "to": "epf_damage" - } - ], "studio-EpnFunctionality": [ { "from": "failure_probability", @@ -2039,6 +2135,12 @@ "from": "failure_probability", "to": "epf_subst_failure_results" } + ], + "studio-EpfDamage": [ + { + "from": "result", + "to": "epf_damage" + } ] }, "after": {}, @@ -2047,6 +2149,10 @@ "Decision Support" ], "manual": "nci_functionality.html", + "parameter_defaults": { + "result_name": "nci-functionality-result", + "discretized_days": "[1, 3, 7, 30, 90]" + }, "inputs": { "epf_network": [ "incore:epnNetwork" @@ -2081,81 +2187,137 @@ "epf_damage": [ "incore:epfDamageVer3" ] + } + }, + "studio-WaterFacilityRestoration": { + "before": { + "studio-WaterFacilityDamage": [ + { + "from": "result", + "to": "damage" + } + ] + }, + "after": { + "studio-NciFunctionality": [ + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + } + ], + "studio-INDP": [ + { + "from": "repair_times", + "to": "wf_restoration_time" + } + ] }, + "pretty_name": "Water Facility Restoration", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_restoration.html", "parameter_defaults": { - "result_name": "nci-functionality-result", + "result_name": "water-facility-restoration-result", + "restoration_key": "Restoration ID Code", + "end_time": 100.0, + "time_interval": 1.0, + "pf_interval": 0.05, "discretized_days": "[1, 3, 7, 30, 90]" + }, + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "damage": [ + "ergo:waterFacilityDamageVer6" + ] } }, - "studio-BridgeDamage": { + "studio-WaterFacilityDamage": { "after": { - "studio-MonteCarloLimitStateProbability": [ + "studio-NciFunctionality": [ { "from": "result", - "to": "damage" + "to": "wds_dmg_results" } ], - "studio-MeanDamage": [ + "studio-WaterFacilityRestoration": [ { "from": "result", "to": "damage" } ], - "studio-MaxDamageStateTool": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "Output dataset" + "from": "result", + "to": "damage" } ] }, "before": {}, - "pretty_name": "Bridge Damage", + "pretty_name": "Water Facility Damage", "tags": [ - "Bridge" + "Lifeline" ], - "manual": "bridge_dmg.html", + "manual": "waterfacility_dmg.html", + "parameter_defaults": { + "result_name": "water-facility-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "liquefaction_fragility_key": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + }, "inputs": { "hazard": [ "earthquake", - "tornado", - "hurricane", - "flood", "tsunami" ], - "bridges": [ - "ergo:bridges", - "ergo:bridgesVer2", - "ergo:bridgesVer3" + "water_facilities": [ + "ergo:waterFacilityTopo" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ] - }, - "parameter_defaults": { - "result_name": "bridge-damage-result", - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 4, - "hazard_id": null, - "hazard_type": null } }, "studio-EpfRestoration": { + "before": { + "studio-EpfDamage": [ + { + "from": "result", + "to": "damage" + } + ] + }, "after": { "studio-NciFunctionality": [ { "from": "inventory_restoration_map", "to": "wds_inventory_rest_map" }, - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, { "from": "time_results", "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], "studio-INDP": [ @@ -2165,19 +2327,19 @@ } ] }, - "before": { - "studio-EpfDamage": [ - { - "from": "result", - "to": "damage" - } - ] - }, "pretty_name": "Electric Power Facility Restoration", "tags": [ "LifeLine" ], "manual": "epf_restoration.html", + "parameter_defaults": { + "result_name": "epf-restoration-result", + "restoration_key": null, + "end_time": 365.0, + "time_interval": 1.0, + "pf_interval": 0.1, + "discretized_days": "[1, 3, 7, 30, 90]" + }, "inputs": { "epfs": [ "incore:epf", @@ -2191,823 +2353,608 @@ "incore:epfDamageVer2", "incore:epfDamageVer3" ] - }, - "parameter_defaults": { - "result_name": "epf-restoration-result", - "restoration_key": null, - "end_time": 365.0, - "time_interval": 1.0, - "pf_interval": 0.1, - "discretized_days": "[1, 3, 7, 30, 90]" } }, - "studio-PipelineDamage": { + "studio-EpfDamage": { "after": { + "studio-EpfRestoration": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-NciFunctionality": [ + { + "from": "result", + "to": "epf_damage" + } + ], "studio-MonteCarloLimitStateProbability": [ { "from": "result", "to": "damage" } + ], + "studio-MaxDamageStateTool": [ + { + "from": "ds_result", + "to": "Output dataset" + } ] }, "before": {}, - "pretty_name": "Pipeline Damage", + "pretty_name": "Electric Power Facility Damage", "tags": [ "Lifeline" ], - "manual": "pipeline_dmg.html", + "manual": "epf_dmg.html", + "parameter_defaults": { + "result_name": "epf-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "liquefaction_fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + }, "inputs": { "hazard": [ "earthquake", + "tornado", + "hurricane", + "flood", "tsunami" ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ] - }, - "parameter_defaults": { - "result_name": "pipeline-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "num_cpu": 1, - "liquefaction_geology_dataset_id": null } }, - "studio-CapitalShocks": { + "studio-HousingValuationRecovery": { "before": { - "studio-EpnFunctionality": [ + "studio-PopulationDislocation": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "result", + "to": "population_dislocation" } + ] + }, + "after": {}, + "pretty_name": "Housing Valuation Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "housing_recovery.html", + "parameter_defaults": { + "base_year": 2008, + "result_name": "housing-valuation-recovery-result" + }, + "inputs": { + "population_dislocation": [ + "incore:popDislocation" ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "failure_probability", - "to": "failure_probability" - } + "building_area": [ + "incore:buildingInventoryArea" ], - "studio-PipelineFunctionality": [ + "census_block_groups_data": [ + "incore:censusBlockGroupsData" + ], + "census_appraisal_data": [ + "incore:censusAppraisalData" + ] + } + }, + "studio-BuildingFunctionality": { + "before": { + "studio-EpnFunctionality": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], "studio-WfnFunctionality": [ { - "from": "failure_probability", - "to": "failure_probability" - } - ] - }, - "after": { - "studio-GalvestonCGEModel": [ + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "studio-JoplinCGEModel": [ + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "studio-MlEnabledCgeSlc": [ + "studio-PipelineFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ], - "studio-SaltLakeCGEModel": [ + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "studio-MlEnabledCgeJoplin": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } - ], - "studio-SeasideCGEModel": [ + ] + }, + "after": { + "studio-BuildingFunctionalityClusterTool": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "functionality_probability", + "to": "Functionality Probability" } ] }, - "pretty_name": "Capital Shocks", + "pretty_name": "Building Functionality", "tags": [ - "Economic" + "Building" ], - "manual": "capital_shocks.html", + "manual": "building_func.html", + "parameter_defaults": { + "result_name": "bldg-functionality-result" + }, "inputs": { - "buildings": [ - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "building_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "buildings_to_sectors": [ - "incore:buildingsToSectors" + "substations_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "failure_probability": [ - "incore:failureProbability" + "poles_damage_mcs_samples": [ + "incore:sampleFailureState" + ], + "interdependency_dictionary": [ + "incore:buildingInterdependencyDict" ] - }, - "parameter_defaults": { - "result_name": "capital-shocks-result" } }, - "studio-WaterFacilityDamage": { - "after": { - "studio-NciFunctionality": [ + "studio-EpnFunctionality": { + "before": { + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-WaterFacilityRestoration": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } - ] - }, - "before": {}, - "pretty_name": "Water Facility Damage", - "tags": [ - "Lifeline" - ], - "manual": "waterfacility_dmg.html", - "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "water_facilities": [ - "ergo:waterFacilityTopo" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "studio-WfnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } ] }, - "parameter_defaults": { - "result_name": "water-facility-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "liquefaction_fragility_key": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - } - }, - "studio-PipelineRepairCost": { "after": { "studio-INDP": [ { - "from": "result", - "to": "pipeline_repair_cost" - } - ] - }, - "before": { - "studio-PipelineDamageRepairRate": [ + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, { - "from": "result", - "to": "pipeline_dmg" + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_failure_state" } - ] - }, - "pretty_name": "Pipeline Repair Cost", - "tags": [ - "Lifeline" - ], - "manual": "pipeline_repair_cost.html", - "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" ], - "replacement_cost": [ - "incore:replacementCost" + "studio-NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } ], - "pipeline_dmg": [ - "ergo:pipelineDamageVer3" + "studio-CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } ], - "pipeline_dmg_ratios": [ - "incore:pipelineDamageRatios" - ] - }, - "parameter_defaults": { - "result_name": "pipeline-repair-cost-result", - "num_cpu": 1, - "diameter": 20, - "segment_length": 20 - } - }, - "studio-HousingValuationRecovery": { - "before": { - "studio-PopulationDislocation": [ + "studio-BuildingFunctionality": [ { - "from": "result", - "to": "population_dislocation" - } - ] - }, - "after": {}, - "pretty_name": "Housing Valuation Recovery", - "tags": [ - "Socioeconomic" - ], - "manual": "housing_recovery.html", - "inputs": { - "population_dislocation": [ - "incore:popDislocation" - ], - "building_area": [ - "incore:buildingInventoryArea" - ], - "census_block_groups_data": [ - "incore:censusBlockGroupsData" - ], - "census_appraisal_data": [ - "incore:censusAppraisalData" - ] - }, - "parameter_defaults": { - "base_year": 2008, - "result_name": "housing-valuation-recovery-result" - } - }, - "studio-EpfDamage": { - "after": { - "studio-EpfRestoration": [ + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-NciFunctionality": [ + "studio-CommercialBuildingRecovery": [ { - "from": "result", - "to": "epf_damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-MaxDamageStateTool": [ + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "Output dataset" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "before": {}, - "pretty_name": "Electric Power Facility Damage", + "pretty_name": "Electric Power Network Functionality", "tags": [ "Lifeline" ], - "manual": "epf_dmg.html", - "inputs": { - "hazard": [ - "earthquake", - "tornado", - "hurricane", - "flood", - "tsunami" - ], - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, + "manual": "epn_functionality.html", "parameter_defaults": { - "result_name": "epf-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "liquefaction_fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - } - }, - "studio-ResidentialBuildingRecovery": { - "before": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_damage_states", - "to": "sample_damage_states" - } - ] + "result_name": "epn-functionality-result", + "gate_station_node_list": null }, - "after": {}, - "pretty_name": "Residential Building Recovery", - "tags": [ - "Socioeconomic", - "Decision Support" - ], - "manual": "residential_building_recovery.html", "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "socio_demographic_data": [ - "incore:socioDemograhicData" - ], - "financial_resources": [ - "incore:householdFinancialResources" + "epn_network": [ + "incore:epnNetwork" ], - "delay_factors": [ - "incore:buildingRecoveryFactors" + "epf_sample_failure_state": [ + "incore:sampleFailureState" ] - }, - "parameter_defaults": { - "result_name": "residential-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 } }, - "studio-BuildingEconLoss": { + "studio-WfnFunctionality": { "before": { - "studio-MeanDamage": [ + "studio-PipelineFunctionality": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } - ] - }, - "after": {}, - "pretty_name": "Building Economic Loss", - "tags": [ - "Building" - ], - "manual": "building_loss.html", - "inputs": { - "buildings": [ - "ergo:buildingInventory", - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" ], - "building_mean_dmg": [ - "ergo:meanDamage" - ], - "occupancy_multiplier": [ - "incore:buildingOccupancyMultiplier" - ] - }, - "parameter_defaults": { - "result_name": "building-econ-loss-result", - "inflation_factor": 0.0 - } - }, - "studio-HousingUnitAllocation": { - "after": { - "studio-BuyoutDecision": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-PopulationDislocation": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "housing_unit_allocation" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } - ] - }, - "before": {}, - "pretty_name": "Housing Unit Allocation", - "tags": [ - "Socioeconomic" - ], - "manual": "housingunitallocation.html", - "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" ], - "housing_unit_inventory": [ - "incore:housingUnitInventory" - ], - "address_point_inventory": [ - "incore:addressPoints" - ] - }, - "parameter_defaults": { - "result_name": "housing-unit-allocation-result", - "seed": 1234, - "iterations": 10 - } - }, - "studio-GalvestonCGEModel": { - "before": { - "studio-CapitalShocks": [ + "studio-WfnFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ] }, "after": { - "studio-CGEPostProcessTool": [ - { - "from": "household-count", - "to": "Household Count" - }, - { - "from": "domestic-supply", - "to": "Domestic supply" - }, + "studio-INDP": [ { - "from": "gross-income", - "to": "Gross Income" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "sample_failure_state", + "to": "wf_failure_state" } - ] - }, - "pretty_name": "Galveston CGE Model", - "tags": [ - "Economic" - ], - "manual": "galveston_cge.html", - "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "JOBCR": [ - "incore:CGEjobcr" - ], - "OUTCR": [ - "incore:CGEoutcr" + "studio-NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } ], - "sector_shocks": [ - "incore:capitalShocks" - ] - }, - "parameter_defaults": { - "model_iterations": 1, - "solver_path": null - } - }, - "studio-JoplinCGEModel": { - "before": { "studio-CapitalShocks": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "failure_probability", + "to": "failure_probability" } - ] - }, - "after": { - "studio-CGEPostProcessTool": [ + ], + "studio-BuildingFunctionality": [ { - "from": "household-count", - "to": "Household Count" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "domestic-supply", - "to": "Domestic supply" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" }, { - "from": "gross-income", - "to": "Gross Income" - }, + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + } + ], + "studio-WfnFunctionality": [ { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "pretty_name": "Joplin CGE Model", + "pretty_name": "Water Facility Network Functionality", "tags": [ - "Economic" + "Lifeline" ], - "manual": "joplin_cge.html", + "manual": "wfn_functionality.html", + "parameter_defaults": { + "result_name": "wfn-functionality-result", + "tank_node_list": "[]", + "pumpstation_node_list": "[]" + }, "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "LANDCAP": [ - "incore:CGElandcap" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "IGTD": [ - "incore:CGEigtd" - ], - "TAUFF": [ - "incore:CGEtauff" - ], - "JOBCR": [ - "incore:CGEjobcr" + "wfn_network": [ + "incore:waterNetwork" ], - "OUTCR": [ - "incore:CGEoutcr" + "wf_sample_failure_state": [ + "incore:sampleFailureState" ], - "sector_shocks": [ - "incore:capitalShocks" + "pp_sample_failure_state": [ + "incore:sampleFailureState" ] - }, - "parameter_defaults": { - "model_iterations": 1, - "solver_path": null } }, - "studio-MlEnabledCgeSlc": { - "before": { - "studio-CapitalShocks": [ - { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, + "studio-PipelineFunctionality": { "after": { - "studio-CGEPostProcessTool": [ - { - "from": "household-count", - "to": "Household Count" - }, + "studio-INDP": [ { - "from": "domestic-supply", - "to": "Domestic supply" + "from": "sample_failure_state", + "to": "pipeline_failure_state" }, { - "from": "gross-income", - "to": "Gross Income" + "from": "sample_failure_state", + "to": "epf_failure_state" }, { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" - }, + "from": "sample_failure_state", + "to": "wf_failure_state" + } + ], + "studio-NciFunctionality": [ { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "failure_probability", + "to": "epf_subst_failure_results" } - ] - }, - "pretty_name": "Machine Learning Enabled CGE SLC", - "tags": [ - "Economic" - ], - "manual": "ml_slc_cge.html", - "inputs": { - "sector_shocks": [ - "incore:capitalShocks" - ] - }, - "parameter_defaults": { - "result_name": "salt-lake-ml-enabled-cge" - } - }, - "studio-MlEnabledCgeJoplin": { - "before": { + ], "studio-CapitalShocks": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "failure_probability", + "to": "failure_probability" } - ] - }, - "after": { - "studio-CGEPostProcessTool": [ + ], + "studio-BuildingFunctionality": [ { - "from": "household-count", - "to": "Household Count" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "domestic-supply", - "to": "Domestic supply" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" }, { - "from": "gross-income", - "to": "Gross Income" - }, + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + } + ], + "studio-WfnFunctionality": [ { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "studio-CommercialBuildingRecovery": [ + { + "from": "failure_probability", + "to": "mcs_failure" + } + ], + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "pretty_name": "Machine Learning Enabled CGE Joplin", + "before": { + "studio-PipelineDamageRepairRate": [ + { + "from": "result", + "to": "pipeline_repair_rate_damage" + } + ] + }, + "pretty_name": "Pipeline Functionality", "tags": [ - "Economic" + "Lifeline" ], - "manual": "ml_joplin_cge.html", + "manual": "pipeline_functionality.html", + "parameter_defaults": { + "result_name": "pipeline-functionality-result", + "num_samples": 100 + }, "inputs": { - "sector_shocks": [ - "incore:capitalShocks" + "pipeline_repair_rate_damage": [ + "ergo:pipelineDamageVer3" ] - }, - "parameter_defaults": { - "result_name": "joplin-ml-enabled-cge" } }, - "studio-SaltLakeCGEModel": { - "before": { - "studio-CapitalShocks": [ + "studio-PipelineRepairCost": { + "after": { + "studio-INDP": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "pipeline_repair_cost" } ] }, - "after": { - "studio-CGEPostProcessTool": [ - { - "from": "household-count", - "to": "Household Count" - }, - { - "from": "domestic-supply", - "to": "Domestic supply" - }, - { - "from": "gross-income", - "to": "Gross Income" - }, - { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" - }, + "before": { + "studio-PipelineDamageRepairRate": [ { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "result", + "to": "pipeline_dmg" } ] }, - "pretty_name": "Salt Lake CGE Model", + "pretty_name": "Pipeline Repair Cost", "tags": [ - "Economic" + "Lifeline" ], - "manual": "slc_cge.html", + "manual": "pipeline_repair_cost.html", + "parameter_defaults": { + "result_name": "pipeline-repair-cost-result", + "num_cpu": 1, + "diameter": 20, + "segment_length": 20 + }, "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "EMPLOY": [ - "incore:CGEemploy" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], - "JOBCR": [ - "incore:CGEjobcr" + "replacement_cost": [ + "incore:replacementCost" ], - "OUTCR": [ - "incore:CGEoutcr" + "pipeline_dmg": [ + "ergo:pipelineDamageVer3" ], - "sector_shocks": [ - "incore:capitalShocks" + "pipeline_dmg_ratios": [ + "incore:pipelineDamageRatios" ] - }, - "parameter_defaults": { - "model_iterations": 1, - "solver_path": null } }, - "studio-SeasideCGEModel": { + "studio-PipelineRestoration": { + "after": { + "studio-INDP": [ + { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ] + }, "before": { - "studio-CapitalShocks": [ + "studio-PipelineDamageRepairRate": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "pipeline_damage" } ] }, - "after": {}, - "pretty_name": "Seaside CGE Model", + "pretty_name": "Pipeline Restoration", "tags": [ - "Economic" + "Lifeline" ], - "manual": "seaside_cge.html", + "manual": "pipeline_restoration.html", + "parameter_defaults": { + "result_name": "pipeline-restoration-result", + "num_cpu": 1, + "num_available_workers": 4, + "restoration_key": "Restoration ID Code" + }, "inputs": { - "SAM": [ - "incore:SeasideCGEsam" - ], - "BB": [ - "incore:SeasideCGEbb" - ], - "HHTABLE": [ - "incore:SeasideCGEhhtable" - ], - "EMPLOY": [ - "incore:SeasideCGEemploy" - ], - "JOBCR": [ - "incore:SeasideCGEjobcr" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], - "SIMS": [ - "incore:SeasideCGEsim" + "pipeline_damage": [ + "ergo:pipelineDamageVer2", + "ergo:pipelineDamageVer3" ], - "sector_shocks": [ - "incore:capitalShocks" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ] - }, - "parameter_defaults": { - "print_solver_output": false, - "solver_path": null } }, "studio-PipelineDamageRepairRate": { "after": { - "studio-PipelineRestoration": [ - { - "from": "result", - "to": "pipeline_damage" - } - ], "studio-PipelineRepairCost": [ { "from": "result", @@ -3019,6 +2966,12 @@ "from": "result", "to": "pipeline_repair_rate_damage" } + ], + "studio-PipelineRestoration": [ + { + "from": "result", + "to": "pipeline_damage" + } ] }, "before": {}, @@ -3027,6 +2980,16 @@ "Lifeline" ], "manual": "pipeline_dmg_w_repair_rate.html", + "parameter_defaults": { + "result_name": "pipeline-damage-repair-rate-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null + }, "inputs": { "hazard": [ "earthquake", @@ -3039,16 +3002,53 @@ "dfr3_mapping_set": [ "incore:dfr3MappingSet" ] + } + }, + "studio-RoadDamage": { + "after": { + "studio-MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-MeanDamage": [ + { + "from": "result", + "to": "damage" + } + ] }, + "before": {}, + "pretty_name": "Road Damage", + "tags": [ + "Lifeline" + ], + "manual": "road_dmg.html", "parameter_defaults": { - "result_name": "pipeline-damage-repair-rate-result", + "result_name": "road-damage-result", "hazard_type": null, "hazard_id": null, "fragility_key": null, "use_liquefaction": false, - "liquefaction_fragility_key": null, - "num_cpu": 1, - "liquefaction_geology_dataset_id": null + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 + }, + "inputs": { + "hazard": [ + "earthquake", + "hurricane", + "tsunami" + ], + "roads": [ + "ergo:roadLinkTopo", + "incore:roads", + "ergo:roadLinkTopoVer2" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] } }, "studio-BuildingClusterRecovery": { @@ -3059,6 +3059,14 @@ "Building" ], "manual": "building_cluster_recovery.html", + "parameter_defaults": { + "result_name": "building-recovery-result", + "uncertainty": true, + "sample_size": 35, + "random_sample_size": 50, + "no_of_weeks": 100, + "num_cpu": 4 + }, "inputs": { "building_data": [ "incore:portfolioBuildingInventory" @@ -3081,14 +3089,6 @@ "coefFL": [ "incore:portfolioCoefficients" ] - }, - "parameter_defaults": { - "result_name": "building-recovery-result", - "uncertainty": true, - "sample_size": 35, - "random_sample_size": 50, - "no_of_weeks": 100, - "num_cpu": 4 } }, "studio-GasFacilityDamage": { @@ -3099,17 +3099,6 @@ "Lifeline" ], "manual": "gas_facility_damage.html", - "inputs": { - "hazard": [ - "earthquake" - ], - "gas_facilities": [ - "ergo:gasFacilityInventory" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - }, "parameter_defaults": { "result_name": "gas-facility-damage-result", "fragility_key": null, @@ -3120,6 +3109,17 @@ "num_cpu": 1, "hazard_id": null, "hazard_type": null + }, + "inputs": { + "hazard": [ + "earthquake" + ], + "gas_facilities": [ + "ergo:gasFacilityInventory" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] } }, "studio-MultiObjectiveRetrofitOptimization": { @@ -3130,14 +3130,6 @@ "Decision Support" ], "manual": "multi_retrofit_optimization.html", - "inputs": { - "building_related_data": [ - "incore:multiobjectiveBuildingRelatedData" - ], - "strategy_costs_data": [ - "incore:multiobjectiveStrategyCosts" - ] - }, "parameter_defaults": { "result_name": "multiobjective-retrofit-optimization-result", "model_solver": "ipopt", @@ -3147,6 +3139,14 @@ "inactive_submodels": null, "scale_data": null, "scaling_factor": null + }, + "inputs": { + "building_related_data": [ + "incore:multiobjectiveBuildingRelatedData" + ], + "strategy_costs_data": [ + "incore:multiobjectiveStrategyCosts" + ] } }, "studio-TornadoEpnDamage": { @@ -3157,6 +3157,11 @@ "Lifeline" ], "manual": "tornadoepn_dmg.html", + "parameter_defaults": { + "result_name": "tornado-epn-damage-result", + "tornado_id": null, + "seed": 1234 + }, "inputs": { "hazard": [ "tornado" @@ -3167,11 +3172,6 @@ "tornado": [ "incore:tornadoWindfield" ] - }, - "parameter_defaults": { - "result_name": "tornado-epn-damage-result", - "tornado_id": null, - "seed": 1234 } }, "studio-TrafficFlowRecovery": { @@ -3183,6 +3183,15 @@ "Lifeline" ], "manual": "traffic_flow_recovery.html", + "parameter_defaults": { + "num_cpu": 1, + "pm": 1, + "ini_num_population": 5, + "population_size": 3, + "num_generation": 2, + "mutation_rate": 0.1, + "crossover_rate": 1.0 + }, "inputs": { "nodes": [ "ergo:roadNetwork" @@ -3204,15 +3213,6 @@ "ADT": [ "incore:ADT" ] - }, - "parameter_defaults": { - "num_cpu": 1, - "pm": 1, - "ini_num_population": 5, - "population_size": 3, - "num_generation": 2, - "mutation_rate": 0.1, - "crossover_rate": 1.0 } }, "studio-MaxDamageStateTool": { From 2ecc5149d8534d5afdbe534af9575b6600a7bc39 Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Mon, 28 Apr 2025 14:50:52 -0400 Subject: [PATCH 17/19] update some default values --- .../pyincore_utils/create_dependency_graph.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 7931729..70f3f3a 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -282,7 +282,7 @@ "end_time": 365.0, "time_interval": 1.0, "pf_interval": 0.1, - "discretized_days": "[1, 3, 7, 30, 90]", + "discretized_days": "1,3,7,30,90", }, }, "studio-EpnFunctionality": { @@ -353,8 +353,8 @@ "manual": "indp.html", "parameter_defaults": { "network_type": "from_csv", - "MAGS": "[1000]", - "sample_range": "[0]", + "MAGS": "1000", + "sample_range": "0", "dislocation_data_type": "incore", "return_model": "step_function", "testbed_name": None, @@ -392,7 +392,7 @@ "manual": "mean_dmg.html", "parameter_defaults": { "result_name": "mean-damage-result", - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", + "damage_interval_keys": "DS_0,DS_1,DS_2,DS_3,DS_4", "num_cpu": 1, }, }, @@ -416,8 +416,8 @@ "result_name": "monte_carlo_limit_state_probability-result", "num_cpu": 8, "num_samples": 10, - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", - "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", + "damage_interval_keys": "DS_0,DS_1,DS_2,DS_3", + "failure_state_keys": "DS_1,DS_2,DS_3", "seed": 1234, }, }, @@ -442,7 +442,7 @@ "manual": "nci_functionality.html", "parameter_defaults": { "result_name": "nci-functionality-result", - "discretized_days": "[1, 3, 7, 30, 90]", + "discretized_days": "1,3,7,30,90", }, }, "studio-PipelineDamage": { @@ -622,7 +622,7 @@ "end_time": 100.0, "time_interval": 1.0, "pf_interval": 0.05, - "discretized_days": "[1, 3, 7, 30, 90]", + "discretized_days": "1,3,7,30,90", }, }, "studio-WfnFunctionality": { @@ -631,8 +631,8 @@ "manual": "wfn_functionality.html", "parameter_defaults": { "result_name": "wfn-functionality-result", - "tank_node_list": "[]", - "pumpstation_node_list": "[]", + "tank_node_list": "", + "pumpstation_node_list": "", }, }, } From a907acab58a94497dec5f80738b39fe68087e75a Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Wed, 30 Apr 2025 11:14:18 -0400 Subject: [PATCH 18/19] fix typo --- utils/pyincore_utils/create_dependency_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/pyincore_utils/create_dependency_graph.py b/utils/pyincore_utils/create_dependency_graph.py index 70f3f3a..a697bda 100644 --- a/utils/pyincore_utils/create_dependency_graph.py +++ b/utils/pyincore_utils/create_dependency_graph.py @@ -274,7 +274,7 @@ }, "studio-EpfRestoration": { "name": "Electric Power Facility Restoration", - "tags": ["LifeLine"], + "tags": ["Lifeline"], "manual": "epf_restoration.html", "parameter_defaults": { "result_name": "epf-restoration-result", From e7c63542994b54da074eeb12e5734e949e509a9f Mon Sep 17 00:00:00 2001 From: Rashmil Panchani Date: Fri, 2 May 2025 11:40:58 -0400 Subject: [PATCH 19/19] update dependency graph --- utils/pyincore_utils/dependencyGraph.json | 3712 ++++++++++----------- 1 file changed, 1856 insertions(+), 1856 deletions(-) diff --git a/utils/pyincore_utils/dependencyGraph.json b/utils/pyincore_utils/dependencyGraph.json index cb0aeba..ad39762 100644 --- a/utils/pyincore_utils/dependencyGraph.json +++ b/utils/pyincore_utils/dependencyGraph.json @@ -1,913 +1,975 @@ { - "studio-GalvestonCGEModel": { + "studio-CumulativeBuildingDamage": { "before": { - "studio-CapitalShocks": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "combined-result", + "to": "eq_bldg_dmg" + }, + { + "from": "combined-result", + "to": "tsunami_bldg_dmg" + } + ], + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" + }, + { + "from": "ds_result", + "to": "eq_bldg_dmg" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "ds_result", + "to": "eq_bldg_dmg" + }, + { + "from": "ds_result", + "to": "tsunami_bldg_dmg" } ] }, "after": { - "studio-CGEPostProcessTool": [ + "studio-CumulativeBuildingDamage": [ { - "from": "household-count", - "to": "Household Count" + "from": "combined-result", + "to": "eq_bldg_dmg" }, { - "from": "domestic-supply", - "to": "Domestic supply" - }, + "from": "combined-result", + "to": "tsunami_bldg_dmg" + } + ], + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "gross-income", - "to": "Gross Income" - }, + "from": "combined-result", + "to": "building_dmg" + } + ], + "studio-PopulationDislocation": [ { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" - }, + "from": "combined-result", + "to": "building_dmg" + } + ], + "studio-MonteCarloLimitStateProbability": [ { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "combined-result", + "to": "damage" + } + ], + "studio-MeanDamage": [ + { + "from": "combined-result", + "to": "damage" } ] }, - "pretty_name": "Galveston CGE Model", + "pretty_name": "Cumulative Building Damage", "tags": [ - "Economic" + "Building" ], - "manual": "galveston_cge.html", + "manual": "cumulative_building_dmg.html", "parameter_defaults": { - "model_iterations": 1, - "solver_path": null + "result_name": "cumulative-building-damage-result", + "num_cpu": 4 }, "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "JOBCR": [ - "incore:CGEjobcr" - ], - "OUTCR": [ - "incore:CGEoutcr" + "eq_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" ], - "sector_shocks": [ - "incore:capitalShocks" + "tsunami_bldg_dmg": [ + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6" ] } }, - "studio-JoplinCGEModel": { + "studio-JoplinEmpiricalBuildingRestoration": { "before": { - "studio-CapitalShocks": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "combined-result", + "to": "building_dmg" } - ] - }, - "after": { - "studio-CGEPostProcessTool": [ - { - "from": "household-count", - "to": "Household Count" - }, - { - "from": "domestic-supply", - "to": "Domestic supply" - }, + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "gross-income", - "to": "Gross Income" - }, + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-BuildingStructuralDamage": [ { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" - }, + "from": "ds_result", + "to": "building_dmg" + } + ], + "studio-BuildingNonStructDamage": [ { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "result", + "to": "building_dmg" } ] }, - "pretty_name": "Joplin CGE Model", + "after": {}, + "pretty_name": "Joplin Empirical Building Restoration", "tags": [ - "Economic" + "Building" ], - "manual": "joplin_cge.html", + "manual": "", "parameter_defaults": { - "model_iterations": 1, - "solver_path": null + "result_name": "joplin-empirical-building-restoration", + "target_functionality_level": 0, + "seed": 1234 }, "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "LANDCAP": [ - "incore:CGElandcap" - ], - "EMPLOY": [ - "incore:CGEemploy" - ], - "IGTD": [ - "incore:CGEigtd" - ], - "TAUFF": [ - "incore:CGEtauff" - ], - "JOBCR": [ - "incore:CGEjobcr" + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "OUTCR": [ - "incore:CGEoutcr" + "building_dmg": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4" ], - "sector_shocks": [ - "incore:capitalShocks" + "building_functionality_level": [ + "incore:buildingFuncTargetVer1" ] } }, - "studio-MlEnabledCgeSlc": { + "studio-MeanDamage": { "before": { - "studio-CapitalShocks": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "ds_result", + "to": "damage" } - ] - }, - "after": { - "studio-CGEPostProcessTool": [ + ], + "studio-BuildingStructuralDamage": [ { - "from": "household-count", - "to": "Household Count" - }, + "from": "ds_result", + "to": "damage" + } + ], + "studio-BuildingNonStructDamage": [ { - "from": "domestic-supply", - "to": "Domestic supply" - }, + "from": "result", + "to": "damage" + } + ], + "studio-CumulativeBuildingDamage": [ { - "from": "gross-income", - "to": "Gross Income" - }, + "from": "combined-result", + "to": "damage" + } + ], + "studio-BridgeDamage": [ { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" - }, + "from": "result", + "to": "damage" + } + ], + "studio-RoadDamage": [ { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "result", + "to": "damage" } ] }, - "pretty_name": "Machine Learning Enabled CGE SLC", - "tags": [ - "Economic" - ], - "manual": "ml_slc_cge.html", + "after": { + "studio-BuildingEconLoss": [ + { + "from": "result", + "to": "building_mean_dmg" + } + ] + }, + "pretty_name": "Mean Damage", + "tags": [], + "manual": "mean_dmg.html", "parameter_defaults": { - "result_name": "salt-lake-ml-enabled-cge" + "result_name": "mean-damage-result", + "damage_interval_keys": "DS_0,DS_1,DS_2,DS_3,DS_4", + "num_cpu": 1 }, "inputs": { - "sector_shocks": [ - "incore:capitalShocks" + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3" + ], + "dmg_ratios": [ + "ergo:buildingDamageRatios", + "ergo:bridgeDamageRatios", + "ergo:buildingContentDamageRatios", + "ergo:buildingASDamageRatios", + "ergo:buildingDSDamageRatios", + "ergo:roadDamageRatios" ] } }, - "studio-MlEnabledCgeJoplin": { + "studio-MonteCarloLimitStateProbability": { "before": { - "studio-CapitalShocks": [ + "studio-EpfDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "damage" } - ] - }, - "after": { - "studio-CGEPostProcessTool": [ + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "household-count", - "to": "Household Count" - }, + "from": "ds_result", + "to": "damage" + } + ], + "studio-BuildingStructuralDamage": [ { - "from": "domestic-supply", - "to": "Domestic supply" - }, + "from": "ds_result", + "to": "damage" + } + ], + "studio-BuildingNonStructDamage": [ { - "from": "gross-income", - "to": "Gross Income" - }, + "from": "result", + "to": "damage" + } + ], + "studio-PipelineDamage": [ { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" - }, + "from": "result", + "to": "damage" + } + ], + "studio-CumulativeBuildingDamage": [ + { + "from": "combined-result", + "to": "damage" + } + ], + "studio-WaterFacilityDamage": [ + { + "from": "result", + "to": "damage" + } + ], + "studio-BridgeDamage": [ { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "result", + "to": "damage" } - ] - }, - "pretty_name": "Machine Learning Enabled CGE Joplin", - "tags": [ - "Economic" - ], - "manual": "ml_joplin_cge.html", - "parameter_defaults": { - "result_name": "joplin-ml-enabled-cge" - }, - "inputs": { - "sector_shocks": [ - "incore:capitalShocks" - ] - } - }, - "studio-SaltLakeCGEModel": { - "before": { - "studio-CapitalShocks": [ + ], + "studio-RoadDamage": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "result", + "to": "damage" } ] }, "after": { - "studio-CGEPostProcessTool": [ + "studio-BuildingFunctionality": [ { - "from": "household-count", - "to": "Household Count" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" }, { - "from": "domestic-supply", - "to": "Domestic supply" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" }, { - "from": "gross-income", - "to": "Gross Income" - }, + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" + } + ], + "studio-CommercialBuildingRecovery": [ { - "from": "pre-disaster-factor-demand", - "to": "Pre Demand" + "from": "sample_damage_states", + "to": "sample_damage_states" }, { - "from": "post-disaster-factor-demand", - "to": "Post Demand" + "from": "failure_probability", + "to": "mcs_failure" } - ] - }, - "pretty_name": "Salt Lake CGE Model", - "tags": [ - "Economic" - ], - "manual": "slc_cge.html", - "parameter_defaults": { - "model_iterations": 1, - "solver_path": null - }, - "inputs": { - "SAM": [ - "incore:CGEsam" - ], - "BB": [ - "incore:CGEbb" - ], - "IOUT": [ - "incore:CGEiout" - ], - "MISC": [ - "incore:CGEmisc" - ], - "MISCH": [ - "incore:CGEmisch" - ], - "EMPLOY": [ - "incore:CGEemploy" ], - "JOBCR": [ - "incore:CGEjobcr" - ], - "OUTCR": [ - "incore:CGEoutcr" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] - } - }, - "studio-SeasideCGEModel": { - "before": { - "studio-CapitalShocks": [ + "studio-INDP": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "after": {}, - "pretty_name": "Seaside CGE Model", - "tags": [ - "Economic" - ], - "manual": "seaside_cge.html", - "parameter_defaults": { - "print_solver_output": false, - "solver_path": null - }, - "inputs": { - "SAM": [ - "incore:SeasideCGEsam" - ], - "BB": [ - "incore:SeasideCGEbb" - ], - "HHTABLE": [ - "incore:SeasideCGEhhtable" - ], - "EMPLOY": [ - "incore:SeasideCGEemploy" - ], - "JOBCR": [ - "incore:SeasideCGEjobcr" - ], - "SIMS": [ - "incore:SeasideCGEsim" - ], - "sector_shocks": [ - "incore:capitalShocks" - ] - } - }, - "studio-CapitalShocks": { - "after": { - "studio-JoplinCGEModel": [ + "from": "sample_damage_states", + "to": "wf_damage_state" + }, { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + }, + { + "from": "sample_damage_states", + "to": "epf_damage_state" } ], - "studio-GalvestonCGEModel": [ + "studio-WaterFacilityRepairCost": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "studio-MlEnabledCgeSlc": [ + "studio-EpfRepairCost": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "studio-SaltLakeCGEModel": [ + "studio-EpnFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-MlEnabledCgeJoplin": [ + "studio-ResidentialBuildingRecovery": [ { - "from": "sector_shocks", - "to": "sector_shocks" + "from": "sample_damage_states", + "to": "sample_damage_states" } ], - "studio-SeasideCGEModel": [ + "studio-WfnFunctionality": [ { - "from": "sector_shocks", - "to": "sector_shocks" - } - ] - }, - "before": { - "studio-PipelineFunctionality": [ + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, { - "from": "failure_probability", - "to": "failure_probability" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-EpnFunctionality": [ + "studio-NciFunctionality": [ { "from": "failure_probability", - "to": "failure_probability" + "to": "epf_subst_failure_results" } ], - "studio-WfnFunctionality": [ + "studio-CapitalShocks": [ { "from": "failure_probability", "to": "failure_probability" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-BuildingFailureClusterTool": [ { "from": "failure_probability", - "to": "failure_probability" + "to": "Building Failure Probability" } ] }, - "pretty_name": "Capital Shocks", + "pretty_name": "Monte Carlo Limit State Probability", "tags": [ - "Economic" + "Decision Support" ], - "manual": "capital_shocks.html", + "manual": "mc_limit_state_prob.html", "parameter_defaults": { - "result_name": "capital-shocks-result" + "result_name": "monte_carlo_limit_state_probability-result", + "num_cpu": 8, + "num_samples": 10, + "damage_interval_keys": "DS_0,DS_1,DS_2,DS_3", + "failure_state_keys": "DS_1,DS_2,DS_3", + "seed": 1234 }, "inputs": { - "buildings": [ - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "buildings_to_sectors": [ - "incore:buildingsToSectors" - ], - "failure_probability": [ - "incore:failureProbability" + "damage": [ + "ergo:buildingDamageVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:nsBuildingInventoryDamage", + "ergo:nsBuildingInventoryDamageVer2", + "ergo:nsBuildingInventoryDamageVer3", + "ergo:nsBuildingInventoryDamageVer4", + "ergo:bridgeDamage", + "ergo:bridgeDamageVer2", + "ergo:bridgeDamageVer3", + "ergo:waterFacilityDamageVer4", + "ergo:waterFacilityDamageVer5", + "ergo:waterFacilityDamageVer6", + "ergo:roadDamage", + "ergo:roadDamageVer2", + "ergo:roadDamageVer3", + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3", + "incore:pipelineDamage", + "incore:pipelineDamageVer2", + "incore:pipelineDamageVer3" ] } }, - "studio-CombinedWindWaveSurgeBuildingDamage": { + "studio-PopulationDislocation": { "before": { - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "wind_damage" - }, + "studio-CumulativeBuildingDamage": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "combined-result", + "to": "building_dmg" } ], "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "surge_wave_damage" - }, + "to": "building_dmg" + } + ], + "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "wind_damage" + "to": "building_dmg" } ], - "studio-BuildingNonStructDamage": [ + "studio-HousingUnitAllocation": [ { "from": "result", - "to": "flood_damage" + "to": "housing_unit_allocation" } ] }, "after": { - "studio-BuyoutDecision": [ - { - "from": "ds_result", - "to": "future_building_damage" - }, + "studio-HousingRecoverySequential": [ { - "from": "ds_result", - "to": "past_building_damage" + "from": "result", + "to": "population_dislocation_block" } ], - "studio-MeanDamage": [ + "studio-HousingValuationRecovery": [ { - "from": "ds_result", - "to": "damage" + "from": "result", + "to": "population_dislocation" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, + "studio-BuyoutDecision": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "result", + "to": "population_dislocation" } ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "wind_damage" - }, + "studio-INDP": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "result", + "to": "pop_dislocation" } ], - "studio-PopulationDislocation": [ + "studio-DislPostProcessTool": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "Dislocation Output" } + ] + }, + "pretty_name": "Population Dislocation", + "tags": [ + "Socioeconomic" + ], + "manual": "populationdislocation.html", + "parameter_defaults": { + "result_name": "population-dislocation-result", + "seed": 1234, + "choice_dislocation": false, + "choice_dislocation_cutoff": 0.0, + "choice_dislocation_ds": null, + "unsafe_occupancy": false, + "unsafe_occupancy_cutoff": 0.0, + "unsafe_occupancy_ds": null + }, + "inputs": { + "building_dmg": [ + "ergo:buildingInventoryVer4", + "ergo:buildingDamageVer5", + "ergo:buildingDamageVer6", + "ergo:buildingInventory" ], - "studio-CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "housing_unit_allocation": [ + "incore:housingUnitAllocation" + ], + "block_group_data": [ + "incore:blockGroupData" ], + "value_loss_param": [ + "incore:valuLossParam" + ] + } + }, + "studio-RoadDamage": { + "after": { "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "studio-CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "eq_bldg_dmg" - }, - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - } - ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-MeanDamage": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "damage" } ] }, - "pretty_name": "Combined Wind Wave Surge Building Damage", + "before": {}, + "pretty_name": "Road Damage", "tags": [ - "Building" + "Lifeline" ], - "manual": "combined_wind_wave_surge_building_dmg.html", + "manual": "road_dmg.html", "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-damage-result" + "result_name": "road-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 }, "inputs": { - "wind_damage": [ - "ergo:buildingDamageVer6" + "hazard": [ + "earthquake", + "hurricane", + "tsunami" ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" + "roads": [ + "ergo:roadLinkTopo", + "incore:roads", + "ergo:roadLinkTopoVer2" ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ] } }, - "studio-CombinedWindWaveSurgeBuildingLoss": { + "studio-NciFunctionality": { "before": { - "studio-BuildingStructuralDamage": [ + "studio-PipelineFunctionality": [ { - "from": "ds_result", - "to": "wind_damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "studio-EpfRestoration": [ + { + "from": "time_results", + "to": "epf_time_results" }, { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-EpnFunctionality": [ { - "from": "ds_result", - "to": "surge_wave_damage" + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "studio-MonteCarloLimitStateProbability": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } + ], + "studio-WaterFacilityRestoration": [ + { + "from": "time_results", + "to": "wds_time_results" }, { - "from": "ds_result", - "to": "wind_damage" + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], - "studio-BuildingNonStructDamage": [ + "studio-WaterFacilityDamage": [ { "from": "result", - "to": "flood_damage" + "to": "wds_dmg_results" + } + ], + "studio-EpfDamage": [ + { + "from": "result", + "to": "epf_damage" + } + ], + "studio-WfnFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" } ] }, "after": {}, - "pretty_name": "Combined Wind Wave Surge Building Loss", + "pretty_name": "Network Cascading Interdependency Functionality", "tags": [ - "Building" + "Decision Support" ], - "manual": "combined_wind_wave_surge_building_loss.html", + "manual": "nci_functionality.html", "parameter_defaults": { - "result_name": "combined-wind-wave-surge-building-loss-result" + "result_name": "nci-functionality-result", + "discretized_days": "1,3,7,30,90" }, "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "epf_network": [ + "incore:epnNetwork" ], - "wind_damage": [ - "ergo:buildingDamageVer6" + "wds_network": [ + "incore:waterNetwork" + ], + "epf_wds_intdp_table": [ + "incore:networkInterdependencyTable" + ], + "wds_epf_intdp_table": [ + "incore:networkInterdependencyTable" + ], + "epf_subst_failure_results": [ + "incore:failureProbability" + ], + "epf_inventory_rest_map": [ + "incore:inventoryRestorationMap" + ], + "epf_time_results": [ + "incore:epfRestorationTime" ], - "surge_wave_damage": [ - "ergo:buildingDamageVer6" + "wds_dmg_results": [ + "ergo:waterFacilityDamageVer6" ], - "flood_damage": [ - "ergo:nsBuildingInventoryDamageVer4" + "wds_inventory_rest_map": [ + "incore:inventoryRestorationMap" ], - "structural_cost": [ - "incore:structuralCostRatio" + "wds_time_results": [ + "incore:waterFacilityRestorationTime" ], - "content_cost": [ - "incore:contentCostRatio" + "epf_damage": [ + "incore:epfDamageVer3" ] } }, - "studio-JoplinEmpiricalBuildingRestoration": { - "before": { - "studio-BuildingStructuralDamage": [ + "studio-WaterFacilityRestoration": { + "after": { + "studio-NciFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-CumulativeBuildingDamage": [ + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, { - "from": "combined-result", - "to": "building_dmg" + "from": "time_results", + "to": "wds_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-INDP": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "repair_times", + "to": "wf_restoration_time" } - ], - "studio-BuildingNonStructDamage": [ + ] + }, + "before": { + "studio-WaterFacilityDamage": [ { "from": "result", - "to": "building_dmg" + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Joplin Empirical Building Restoration", + "pretty_name": "Water Facility Restoration", "tags": [ - "Building" + "Lifeline" ], - "manual": "", + "manual": "water_facility_restoration.html", "parameter_defaults": { - "result_name": "joplin-empirical-building-restoration", - "target_functionality_level": 0, - "seed": 1234 + "result_name": "water-facility-restoration-result", + "restoration_key": "Restoration ID Code", + "end_time": 100.0, + "time_interval": 1.0, + "pf_interval": 0.05, + "discretized_days": "1,3,7,30,90" }, "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "water_facilities": [ + "ergo:waterFacilityTopo" ], - "building_dmg": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ], - "building_functionality_level": [ - "incore:buildingFuncTargetVer1" + "damage": [ + "ergo:waterFacilityDamageVer6" ] } }, - "studio-MeanDamage": { + "studio-CapitalShocks": { "before": { - "studio-CumulativeBuildingDamage": [ + "studio-PipelineFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-BridgeDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-BuildingNonStructDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "damage" + "from": "failure_probability", + "to": "failure_probability" + } + ] + }, + "after": { + "studio-SeasideCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-RoadDamage": [ + "studio-MlEnabledCgeSlc": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } ], - "studio-BuildingStructuralDamage": [ + "studio-SaltLakeCGEModel": [ { - "from": "ds_result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } - ] - }, - "after": { - "studio-BuildingEconLoss": [ + ], + "studio-MlEnabledCgeJoplin": [ { - "from": "result", - "to": "building_mean_dmg" + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-JoplinCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" + } + ], + "studio-GalvestonCGEModel": [ + { + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Mean Damage", - "tags": [], - "manual": "mean_dmg.html", + "pretty_name": "Capital Shocks", + "tags": [ + "Economic" + ], + "manual": "capital_shocks.html", "parameter_defaults": { - "result_name": "mean-damage-result", - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4']", - "num_cpu": 1 + "result_name": "capital-shocks-result" }, "inputs": { - "damage": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3" + "buildings": [ + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "dmg_ratios": [ - "ergo:buildingDamageRatios", - "ergo:bridgeDamageRatios", - "ergo:buildingContentDamageRatios", - "ergo:buildingASDamageRatios", - "ergo:buildingDSDamageRatios", - "ergo:roadDamageRatios" + "buildings_to_sectors": [ + "incore:buildingsToSectors" + ], + "failure_probability": [ + "incore:failureProbability" ] } }, - "studio-MonteCarloLimitStateProbability": { + "studio-CommercialBuildingRecovery": { "before": { - "studio-EpfDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-CumulativeBuildingDamage": [ + "studio-PipelineFunctionality": [ { - "from": "combined-result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-BridgeDamage": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "result", - "to": "damage" + "from": "sample_damage_states", + "to": "sample_damage_states" + }, + { + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-BuildingNonStructDamage": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "damage" + "to": "building_dmg" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-BuildingStructuralDamage": [ { "from": "ds_result", - "to": "damage" + "to": "building_dmg" } + ] + }, + "after": {}, + "pretty_name": "Commercial Building Recovery", + "tags": [ + "Socioeconomic" + ], + "manual": "commercial_building_recovery.html", + "parameter_defaults": { + "result_name": "commercial-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + }, + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "studio-RoadDamage": [ - { - "from": "result", - "to": "damage" - } + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ], - "studio-PipelineDamage": [ - { - "from": "result", - "to": "damage" - } + "sample_damage_states": [ + "incore:sampleDamageState" ], - "studio-WaterFacilityDamage": [ - { - "from": "result", - "to": "damage" - } + "mcs_failure": [ + "incore:failureProbability" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ], + "building_dmg": [ + "ergo:buildingDamageVer6" ] - }, + } + }, + "studio-EpnFunctionality": { "after": { - "studio-CommercialBuildingRecovery": [ + "studio-INDP": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "wf_failure_state" }, - { - "from": "failure_probability", - "to": "mcs_failure" - } - ], - "studio-INDP": [ { "from": "sample_failure_state", "to": "pipeline_failure_state" }, { - "from": "sample_damage_states", - "to": "wf_damage_state" - }, + "from": "sample_failure_state", + "to": "epf_failure_state" + } + ], + "studio-EpnFunctionality": [ { - "from": "sample_damage_states", - "to": "epf_damage_state" - }, + "from": "sample_failure_state", + "to": "epf_sample_failure_state" + } + ], + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "wf_sample_failure_state" }, { "from": "sample_failure_state", - "to": "wf_failure_state" + "to": "pp_sample_failure_state" } ], - "studio-EpfRepairCost": [ + "studio-CommercialBuildingRecovery": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "mcs_failure" } ], "studio-BuildingFunctionality": [ { "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "to": "building_damage_mcs_samples" }, { "from": "sample_failure_state", "to": "poles_damage_mcs_samples" } ], - "studio-CapitalShocks": [ - { - "from": "failure_probability", - "to": "failure_probability" - } - ], "studio-NciFunctionality": [ { "from": "failure_probability", "to": "epf_subst_failure_results" } ], - "studio-WaterFacilityRepairCost": [ + "studio-CapitalShocks": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "failure_probability", + "to": "failure_probability" } - ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + ] + }, + "before": { + "studio-PipelineFunctionality": [ { "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "to": "epf_sample_failure_state" } ], "studio-EpnFunctionality": [ @@ -916,319 +978,284 @@ "to": "epf_sample_failure_state" } ], - "studio-ResidentialBuildingRecovery": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-BuildingFailureClusterTool": [ + "studio-WfnFunctionality": [ { - "from": "failure_probability", - "to": "Building Failure Probability" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ] }, - "pretty_name": "Monte Carlo Limit State Probability", + "pretty_name": "Electric Power Network Functionality", "tags": [ - "Decision Support" + "Lifeline" ], - "manual": "mc_limit_state_prob.html", + "manual": "epn_functionality.html", "parameter_defaults": { - "result_name": "monte_carlo_limit_state_probability-result", - "num_cpu": 8, - "num_samples": 10, - "damage_interval_keys": "['DS_0', 'DS_1', 'DS_2', 'DS_3']", - "failure_state_keys": "['DS_1', 'DS_2', 'DS_3']", - "seed": 1234 + "result_name": "epn-functionality-result", + "gate_station_node_list": null }, "inputs": { - "damage": [ - "ergo:buildingDamageVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:nsBuildingInventoryDamage", - "ergo:nsBuildingInventoryDamageVer2", - "ergo:nsBuildingInventoryDamageVer3", - "ergo:nsBuildingInventoryDamageVer4", - "ergo:bridgeDamage", - "ergo:bridgeDamageVer2", - "ergo:bridgeDamageVer3", - "ergo:waterFacilityDamageVer4", - "ergo:waterFacilityDamageVer5", - "ergo:waterFacilityDamageVer6", - "ergo:roadDamage", - "ergo:roadDamageVer2", - "ergo:roadDamageVer3", - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3", - "incore:pipelineDamage", - "incore:pipelineDamageVer2", - "incore:pipelineDamageVer3" + "epn_network": [ + "incore:epnNetwork" + ], + "epf_sample_failure_state": [ + "incore:sampleFailureState" ] } }, - "studio-BuildingNonStructDamage": { + "studio-PipelineFunctionality": { "after": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-INDP": [ { - "from": "result", - "to": "flood_damage" + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], - "studio-MeanDamage": [ + "studio-WfnFunctionality": [ { - "from": "result", - "to": "damage" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-CommercialBuildingRecovery": [ { - "from": "result", - "to": "building_dmg" + "from": "failure_probability", + "to": "mcs_failure" } ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ + "studio-BuildingFunctionality": [ { - "from": "result", - "to": "flood_damage" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } - ] - }, - "before": {}, - "pretty_name": "Building Non-Structural Damage", - "tags": [ - "Building" - ], - "manual": "building_nonstructural_dmg.html", - "parameter_defaults": { - "result_name": "building-nonstruct-dmg-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": "Acceleration-Sensitive Fragility ID Code", - "use_liquefaction": true, - "liq_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - }, - "inputs": { - "hazard": [ - "earthquake", - "flood", - "hurricane" ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "studio-NciFunctionality": [ + { + "from": "failure_probability", + "to": "epf_subst_failure_results" + } ], - "retrofit_strategy": [ - "incore:retrofitStrategy" + "studio-CapitalShocks": [ + { + "from": "failure_probability", + "to": "failure_probability" + } ] - } - }, - "studio-PipelineDamage": { - "after": { - "studio-MonteCarloLimitStateProbability": [ + }, + "before": { + "studio-PipelineDamageRepairRate": [ { "from": "result", - "to": "damage" + "to": "pipeline_repair_rate_damage" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage", + "pretty_name": "Pipeline Functionality", "tags": [ "Lifeline" ], - "manual": "pipeline_dmg.html", + "manual": "pipeline_functionality.html", "parameter_defaults": { - "result_name": "pipeline-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "num_cpu": 1, - "liquefaction_geology_dataset_id": null + "result_name": "pipeline-functionality-result", + "num_samples": 100 }, "inputs": { - "hazard": [ - "earthquake", - "tsunami" - ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "pipeline_repair_rate_damage": [ + "ergo:pipelineDamageVer3" ] } }, - "studio-CommercialBuildingRecovery": { - "before": { + "studio-WfnFunctionality": { + "after": { + "studio-INDP": [ + { + "from": "sample_failure_state", + "to": "wf_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pipeline_failure_state" + }, + { + "from": "sample_failure_state", + "to": "epf_failure_state" + } + ], "studio-EpnFunctionality": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_failure_state", + "to": "epf_sample_failure_state" } ], "studio-WfnFunctionality": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" } ], - "studio-PipelineFunctionality": [ + "studio-CommercialBuildingRecovery": [ { "from": "failure_probability", "to": "mcs_failure" } ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "studio-BuildingFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, + { + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ], - "studio-BuildingStructuralDamage": [ + "studio-NciFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "failure_probability", + "to": "epf_subst_failure_results" } ], - "studio-MonteCarloLimitStateProbability": [ + "studio-CapitalShocks": [ { "from": "failure_probability", - "to": "mcs_failure" - }, - { - "from": "sample_damage_states", - "to": "sample_damage_states" + "to": "failure_probability" } ] }, - "after": {}, - "pretty_name": "Commercial Building Recovery", - "tags": [ - "Socioeconomic" - ], - "manual": "commercial_building_recovery.html", - "parameter_defaults": { - "result_name": "commercial-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 - }, - "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "mcs_failure": [ - "incore:failureProbability" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" - ], - "building_dmg": [ - "ergo:buildingDamageVer6" - ] - } - }, - "studio-EpfRepairCost": { "before": { + "studio-EpnFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" + } + ], "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } - ] - }, - "after": { - "studio-INDP": [ + ], + "studio-WfnFunctionality": [ { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_failure_state", + "to": "wf_sample_failure_state" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + } + ], + "studio-PipelineFunctionality": [ + { + "from": "sample_failure_state", + "to": "pp_sample_failure_state" + }, + { + "from": "sample_failure_state", + "to": "wf_sample_failure_state" } ] }, - "pretty_name": "Electric Power Facility Repair Cost", + "pretty_name": "Water Facility Network Functionality", "tags": [ "Lifeline" ], - "manual": "epf_repair_cost.html", + "manual": "wfn_functionality.html", "parameter_defaults": { - "result_name": "epf-repair-cost-result", - "num_cpu": 1 + "result_name": "wfn-functionality-result", + "tank_node_list": "", + "pumpstation_node_list": "" }, "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" - ], - "replacement_cost": [ - "incore:replacementCost" + "wfn_network": [ + "incore:waterNetwork" ], - "sample_damage_states": [ - "incore:sampleDamageState" + "wf_sample_failure_state": [ + "incore:sampleFailureState" ], - "epf_dmg_ratios": [ - "incore:epfDamageRatios" + "pp_sample_failure_state": [ + "incore:sampleFailureState" ] } }, "studio-INDP": { "before": { - "studio-MonteCarloLimitStateProbability": [ + "studio-PipelineFunctionality": [ { "from": "sample_failure_state", "to": "pipeline_failure_state" }, { - "from": "sample_damage_states", - "to": "wf_damage_state" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { "from": "sample_failure_state", "to": "epf_failure_state" - }, + } + ], + "studio-EpfRepairCost": [ { - "from": "sample_damage_states", - "to": "epf_damage_state" + "from": "result", + "to": "wf_repair_cost" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "result", + "to": "epf_repair_cost" } ], - "studio-EpnFunctionality": [ + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "pipeline_failure_state" }, { "from": "sample_failure_state", @@ -1236,13 +1263,13 @@ }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" + "to": "epf_failure_state" } ], - "studio-PipelineFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "sample_damage_states", + "to": "wf_damage_state" }, { "from": "sample_failure_state", @@ -1250,59 +1277,57 @@ }, { "from": "sample_failure_state", - "to": "pipeline_failure_state" - } - ], - "studio-WaterFacilityRepairCost": [ + "to": "epf_failure_state" + }, { - "from": "result", - "to": "wf_repair_cost" + "from": "sample_damage_states", + "to": "epf_damage_state" }, { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "studio-EpfRepairCost": [ + "studio-EpnFunctionality": [ { - "from": "result", - "to": "epf_repair_cost" + "from": "sample_failure_state", + "to": "wf_failure_state" }, { - "from": "result", - "to": "wf_repair_cost" - } - ], - "studio-PipelineRestoration": [ + "from": "sample_failure_state", + "to": "epf_failure_state" + }, { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" + "from": "sample_failure_state", + "to": "pipeline_failure_state" } ], - "studio-PopulationDislocation": [ + "studio-WaterFacilityRestoration": [ { - "from": "result", - "to": "pop_dislocation" + "from": "repair_times", + "to": "wf_restoration_time" } ], - "studio-WaterFacilityRestoration": [ + "studio-PipelineRestoration": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" } ], - "studio-WfnFunctionality": [ + "studio-WaterFacilityRepairCost": [ { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "result", + "to": "wf_repair_cost" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" - }, + "from": "result", + "to": "epf_repair_cost" + } + ], + "studio-PipelineRepairCost": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "result", + "to": "pipeline_repair_cost" } ], "studio-EpfRestoration": [ @@ -1311,10 +1336,10 @@ "to": "epf_restoration_time" } ], - "studio-PipelineRepairCost": [ + "studio-PopulationDislocation": [ { "from": "result", - "to": "pipeline_repair_cost" + "to": "pop_dislocation" } ] }, @@ -1326,8 +1351,8 @@ "manual": "indp.html", "parameter_defaults": { "network_type": "from_csv", - "MAGS": "[1000]", - "sample_range": "[0]", + "MAGS": "1000", + "sample_range": "0", "dislocation_data_type": "incore", "return_model": "step_function", "testbed_name": null, @@ -1409,60 +1434,290 @@ "bldgs2wter": [ "incore:bldgs2wter" ] - } - }, - "studio-ResidentialBuildingRecovery": { + } + }, + "studio-PipelineRestoration": { + "after": { + "studio-INDP": [ + { + "from": "pipeline_restoration", + "to": "pipeline_restoration_time" + } + ] + }, + "before": { + "studio-PipelineDamageRepairRate": [ + { + "from": "result", + "to": "pipeline_damage" + } + ] + }, + "pretty_name": "Pipeline Restoration", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_restoration.html", + "parameter_defaults": { + "result_name": "pipeline-restoration-result", + "num_cpu": 1, + "num_available_workers": 4, + "restoration_key": "Restoration ID Code" + }, + "inputs": { + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "pipeline_damage": [ + "ergo:pipelineDamageVer2", + "ergo:pipelineDamageVer3" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } + }, + "studio-EpfRepairCost": { + "before": { + "studio-MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, + "after": { + "studio-INDP": [ + { + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" + } + ] + }, + "pretty_name": "Electric Power Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "epf_repair_cost.html", + "parameter_defaults": { + "result_name": "epf-repair-cost-result", + "num_cpu": 1 + }, + "inputs": { + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" + ], + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "epf_dmg_ratios": [ + "incore:epfDamageRatios" + ] + } + }, + "studio-ResidentialBuildingRecovery": { + "before": { + "studio-MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, + "after": {}, + "pretty_name": "Residential Building Recovery", + "tags": [ + "Socioeconomic", + "Decision Support" + ], + "manual": "residential_building_recovery.html", + "parameter_defaults": { + "result_name": "residential-building-recovery-result", + "num_samples": 10, + "repair_key": null, + "seed": 1234 + }, + "inputs": { + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "socio_demographic_data": [ + "incore:socioDemograhicData" + ], + "financial_resources": [ + "incore:householdFinancialResources" + ], + "delay_factors": [ + "incore:buildingRecoveryFactors" + ] + } + }, + "studio-WaterFacilityRepairCost": { + "before": { + "studio-MonteCarloLimitStateProbability": [ + { + "from": "sample_damage_states", + "to": "sample_damage_states" + } + ] + }, + "after": { + "studio-INDP": [ + { + "from": "result", + "to": "wf_repair_cost" + }, + { + "from": "result", + "to": "epf_repair_cost" + } + ] + }, + "pretty_name": "Water Facility Repair Cost", + "tags": [ + "Lifeline" + ], + "manual": "water_facility_repair_cost.html", + "parameter_defaults": { + "result_name": "water-facility-repair-cost-result", + "num_cpu": 1 + }, + "inputs": { + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "replacement_cost": [ + "incore:replacementCost" + ], + "sample_damage_states": [ + "incore:sampleDamageState" + ], + "wf_dmg_ratios": [ + "incore:waterFacilityDamageRatios" + ] + } + }, + "studio-PipelineDamage": { + "after": { + "studio-MonteCarloLimitStateProbability": [ + { + "from": "result", + "to": "damage" + } + ] + }, + "before": {}, + "pretty_name": "Pipeline Damage", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_dmg.html", + "parameter_defaults": { + "result_name": "pipeline-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null + }, + "inputs": { + "hazard": [ + "earthquake", + "tsunami" + ], + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } + }, + "studio-EpfRestoration": { + "after": { + "studio-INDP": [ + { + "from": "repair_times", + "to": "epf_restoration_time" + } + ], + "studio-NciFunctionality": [ + { + "from": "inventory_restoration_map", + "to": "wds_inventory_rest_map" + }, + { + "from": "time_results", + "to": "epf_time_results" + }, + { + "from": "inventory_restoration_map", + "to": "epf_inventory_rest_map" + } + ] + }, "before": { - "studio-MonteCarloLimitStateProbability": [ + "studio-EpfDamage": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "result", + "to": "damage" } ] }, - "after": {}, - "pretty_name": "Residential Building Recovery", + "pretty_name": "Electric Power Facility Restoration", "tags": [ - "Socioeconomic", - "Decision Support" + "Lifeline" ], - "manual": "residential_building_recovery.html", + "manual": "epf_restoration.html", "parameter_defaults": { - "result_name": "residential-building-recovery-result", - "num_samples": 10, - "repair_key": null, - "seed": 1234 + "result_name": "epf-restoration-result", + "restoration_key": null, + "end_time": 365.0, + "time_interval": 1.0, + "pf_interval": 0.1, + "discretized_days": "1,3,7,30,90" }, "inputs": { - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "epfs": [ + "incore:epf", + "ergo:epf" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" ], - "sample_damage_states": [ - "incore:sampleDamageState" - ], - "socio_demographic_data": [ - "incore:socioDemograhicData" - ], - "financial_resources": [ - "incore:householdFinancialResources" - ], - "delay_factors": [ - "incore:buildingRecoveryFactors" + "damage": [ + "incore:epfDamage", + "incore:epfDamageVer2", + "incore:epfDamageVer3" ] } }, - "studio-WaterFacilityRepairCost": { + "studio-PipelineRepairCost": { "before": { - "studio-MonteCarloLimitStateProbability": [ + "studio-PipelineDamageRepairRate": [ { - "from": "sample_damage_states", - "to": "sample_damage_states" + "from": "result", + "to": "pipeline_dmg" } ] }, @@ -1470,194 +1725,187 @@ "studio-INDP": [ { "from": "result", - "to": "wf_repair_cost" - }, - { - "from": "result", - "to": "epf_repair_cost" + "to": "pipeline_repair_cost" } ] }, - "pretty_name": "Water Facility Repair Cost", + "pretty_name": "Pipeline Repair Cost", "tags": [ "Lifeline" ], - "manual": "water_facility_repair_cost.html", + "manual": "pipeline_repair_cost.html", "parameter_defaults": { - "result_name": "water-facility-repair-cost-result", - "num_cpu": 1 + "result_name": "pipeline-repair-cost-result", + "num_cpu": 1, + "diameter": 20, + "segment_length": 20 }, "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" ], "replacement_cost": [ "incore:replacementCost" ], - "sample_damage_states": [ - "incore:sampleDamageState" + "pipeline_dmg": [ + "ergo:pipelineDamageVer3" ], - "wf_dmg_ratios": [ - "incore:waterFacilityDamageRatios" + "pipeline_dmg_ratios": [ + "incore:pipelineDamageRatios" ] } }, - "studio-BuyoutDecision": { - "before": { - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, + "studio-PipelineDamageRepairRate": { + "after": { + "studio-PipelineFunctionality": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "result", + "to": "pipeline_repair_rate_damage" } ], - "studio-PopulationDislocation": [ + "studio-PipelineRepairCost": [ { "from": "result", - "to": "population_dislocation" + "to": "pipeline_dmg" } ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "past_building_damage" - }, + "studio-PipelineRestoration": [ { - "from": "ds_result", - "to": "future_building_damage" + "from": "result", + "to": "pipeline_damage" } + ] + }, + "before": {}, + "pretty_name": "Pipeline Damage Repair Rate", + "tags": [ + "Lifeline" + ], + "manual": "pipeline_dmg_w_repair_rate.html", + "parameter_defaults": { + "result_name": "pipeline-damage-repair-rate-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_fragility_key": null, + "num_cpu": 1, + "liquefaction_geology_dataset_id": null + }, + "inputs": { + "hazard": [ + "earthquake", + "tsunami" ], - "studio-HousingUnitAllocation": [ + "pipeline": [ + "ergo:buriedPipelineTopology", + "ergo:pipeline" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } + }, + "studio-BuildingEconLoss": { + "before": { + "studio-MeanDamage": [ { "from": "result", - "to": "housing_unit_allocation" + "to": "building_mean_dmg" } ] }, "after": {}, - "pretty_name": "Buyout Decision", + "pretty_name": "Building Economic Loss", "tags": [ - "Decision Support" + "Building" ], - "manual": "buyout_decision.html", + "manual": "building_loss.html", "parameter_defaults": { - "fema_buyout_cap": 250000.0, - "residential_archetypes": null, - "result_name": "buyout-decision-result" + "result_name": "building-econ-loss-result", + "inflation_factor": 0.0 }, "inputs": { - "past_building_damage": [ - "ergo:buildingDamageVer6" - ], - "future_building_damage": [ - "ergo:buildingDamageVer6" - ], "buildings": [ + "ergo:buildingInventory", "ergo:buildingInventoryVer4", "ergo:buildingInventoryVer5", "ergo:buildingInventoryVer6", "ergo:buildingInventoryVer7" ], - "housing_unit_allocation": [ - "incore:housingUnitAllocation" + "building_mean_dmg": [ + "ergo:meanDamage" ], - "population_dislocation": [ - "incore:popDislocation" + "occupancy_multiplier": [ + "incore:buildingOccupancyMultiplier" ] } }, - "studio-PopulationDislocation": { + "studio-BuyoutDecision": { "before": { - "studio-BuildingStructuralDamage": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-HousingUnitAllocation": [ - { - "from": "result", - "to": "housing_unit_allocation" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ + "to": "past_building_damage" + }, { "from": "ds_result", - "to": "building_dmg" + "to": "future_building_damage" } ], - "studio-CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "building_dmg" - } - ] - }, - "after": { - "studio-BuyoutDecision": [ + "studio-BuildingStructuralDamage": [ { - "from": "result", - "to": "population_dislocation" - } - ], - "studio-HousingRecoverySequential": [ + "from": "ds_result", + "to": "past_building_damage" + }, { - "from": "result", - "to": "population_dislocation_block" + "from": "ds_result", + "to": "future_building_damage" } ], - "studio-HousingValuationRecovery": [ + "studio-PopulationDislocation": [ { "from": "result", "to": "population_dislocation" } ], - "studio-INDP": [ - { - "from": "result", - "to": "pop_dislocation" - } - ], - "studio-DislPostProcessTool": [ + "studio-HousingUnitAllocation": [ { "from": "result", - "to": "Dislocation Output" + "to": "housing_unit_allocation" } ] }, - "pretty_name": "Population Dislocation", + "after": {}, + "pretty_name": "Buyout Decision", "tags": [ - "Socioeconomic" + "Decision Support" ], - "manual": "populationdislocation.html", + "manual": "buyout_decision.html", "parameter_defaults": { - "result_name": "population-dislocation-result", - "seed": 1234, - "choice_dislocation": false, - "choice_dislocation_cutoff": 0.0, - "choice_dislocation_ds": null, - "unsafe_occupancy": false, - "unsafe_occupancy_cutoff": 0.0, - "unsafe_occupancy_ds": null + "fema_buyout_cap": 250000.0, + "residential_archetypes": null, + "result_name": "buyout-decision-result" }, "inputs": { - "building_dmg": [ + "past_building_damage": [ + "ergo:buildingDamageVer6" + ], + "future_building_damage": [ + "ergo:buildingDamageVer6" + ], + "buildings": [ "ergo:buildingInventoryVer4", - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6", - "ergo:buildingInventory" + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], "housing_unit_allocation": [ "incore:housingUnitAllocation" ], - "block_group_data": [ - "incore:blockGroupData" - ], - "value_loss_param": [ - "incore:valuLossParam" + "population_dislocation": [ + "incore:popDislocation" ] } }, @@ -1702,80 +1950,54 @@ ] } }, - "studio-HousingRecoverySequential": { - "before": { - "studio-SocialVulnerabilityScore": [ + "studio-WaterFacilityDamage": { + "after": { + "studio-WaterFacilityRestoration": [ { - "from": "sv_result", - "to": "sv_result" + "from": "result", + "to": "damage" } ], - "studio-PopulationDislocation": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "result", - "to": "population_dislocation_block" + "to": "damage" } - ] - }, - "after": {}, - "pretty_name": "Housing Recovery Sequential", - "tags": [ - "Socioeconomic", - "Decision Support" - ], - "manual": "housing_household_recovery.html", - "parameter_defaults": { - "result_name": "housing-recovery-sequential-result", - "t_delta": null, - "t_final": null, - "seed": 1234, - "num_cpu": 4 - }, - "inputs": { - "population_dislocation_block": [ - "incore:popDislocation" - ], - "tpm": [ - "incore:houseRecTransitionProbMatrix" - ], - "initial_stage_probabilities": [ - "incore:houseRecInitialStageProbability" - ], - "sv_result": [ - "incore:socialVulnerabilityScore" - ], - "zone_def_sv": [ - "incore:zoneDefinitionsSocialVulnerability" ], - "zone_def_hhinc": [ - "incore:zoneDefinitionsHouseholdIncome" - ] - } - }, - "studio-SocialVulnerabilityScore": { - "after": { - "studio-HousingRecoverySequential": [ + "studio-NciFunctionality": [ { - "from": "sv_result", - "to": "sv_result" + "from": "result", + "to": "wds_dmg_results" } ] }, "before": {}, - "pretty_name": "Social Vulnerability Score", + "pretty_name": "Water Facility Damage", "tags": [ - "Socioeconomic" + "Lifeline" ], - "manual": "social_vulnerability_score.html", + "manual": "waterfacility_dmg.html", "parameter_defaults": { - "result_name": "social-vulnerability-score-result" + "result_name": "water-facility-damage-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, + "liquefaction_fragility_key": null, + "use_hazard_uncertainty": false, + "num_cpu": 1 }, "inputs": { - "national_vulnerability_feature_averages": [ - "incore:socialVulnerabilityFeatureAverages" + "hazard": [ + "earthquake", + "tsunami" ], - "social_vulnerability_demographic_factors": [ - "incore:socialVulnerabilityDemFactors" + "water_facilities": [ + "ergo:waterFacilityTopo" + ], + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" ] } }, @@ -1826,173 +2048,32 @@ ], "bridges": [ "ergo:bridges", - "ergo:bridgesVer2", - "ergo:bridgesVer3" - ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" - ] - } - }, - "studio-CumulativeBuildingDamage": { - "before": { - "studio-CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "tsunami_bldg_dmg" - }, - { - "from": "combined-result", - "to": "eq_bldg_dmg" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - }, - { - "from": "ds_result", - "to": "eq_bldg_dmg" - } - ], - "studio-BuildingStructuralDamage": [ - { - "from": "ds_result", - "to": "eq_bldg_dmg" - }, - { - "from": "ds_result", - "to": "tsunami_bldg_dmg" - } - ] - }, - "after": { - "studio-CumulativeBuildingDamage": [ - { - "from": "combined-result", - "to": "tsunami_bldg_dmg" - }, - { - "from": "combined-result", - "to": "eq_bldg_dmg" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "combined-result", - "to": "damage" - } - ], - "studio-JoplinEmpiricalBuildingRestoration": [ - { - "from": "combined-result", - "to": "building_dmg" - } - ], - "studio-MeanDamage": [ - { - "from": "combined-result", - "to": "damage" - } - ], - "studio-PopulationDislocation": [ - { - "from": "combined-result", - "to": "building_dmg" - } - ] - }, - "pretty_name": "Cumulative Building Damage", - "tags": [ - "Building" - ], - "manual": "cumulative_building_dmg.html", - "parameter_defaults": { - "result_name": "cumulative-building-damage-result", - "num_cpu": 4 - }, - "inputs": { - "eq_bldg_dmg": [ - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" - ], - "tsunami_bldg_dmg": [ - "ergo:buildingDamageVer5", - "ergo:buildingDamageVer6" - ] - } - }, - "studio-BuildingStructuralDamage": { - "after": { - "studio-BuyoutDecision": [ - { - "from": "ds_result", - "to": "future_building_damage" - }, - { - "from": "ds_result", - "to": "past_building_damage" - } - ], - "studio-MeanDamage": [ - { - "from": "ds_result", - "to": "damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingDamage": [ - { - "from": "ds_result", - "to": "surge_wave_damage" - }, - { - "from": "ds_result", - "to": "wind_damage" - } - ], - "studio-CombinedWindWaveSurgeBuildingLoss": [ - { - "from": "ds_result", - "to": "wind_damage" - }, - { - "from": "ds_result", - "to": "surge_wave_damage" - } - ], - "studio-PopulationDislocation": [ - { - "from": "ds_result", - "to": "building_dmg" - } - ], - "studio-CommercialBuildingRecovery": [ - { - "from": "ds_result", - "to": "building_dmg" - } + "ergo:bridgesVer2", + "ergo:bridgesVer3" ], - "studio-MonteCarloLimitStateProbability": [ + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ] + } + }, + "studio-EpfDamage": { + "after": { + "studio-EpfRestoration": [ { - "from": "ds_result", + "from": "result", "to": "damage" } ], - "studio-CumulativeBuildingDamage": [ - { - "from": "ds_result", - "to": "eq_bldg_dmg" - }, + "studio-MonteCarloLimitStateProbability": [ { - "from": "ds_result", - "to": "tsunami_bldg_dmg" + "from": "result", + "to": "damage" } ], - "studio-JoplinEmpiricalBuildingRestoration": [ + "studio-NciFunctionality": [ { - "from": "ds_result", - "to": "building_dmg" + "from": "result", + "to": "epf_damage" } ], "studio-MaxDamageStateTool": [ @@ -2003,21 +2084,21 @@ ] }, "before": {}, - "pretty_name": "Building Structural Damage", + "pretty_name": "Electric Power Facility Damage", "tags": [ - "Building" + "Lifeline" ], - "manual": "building_structural_dmg.html", + "manual": "epf_dmg.html", "parameter_defaults": { - "result_name": "building-struct-dmg-result", + "result_name": "epf-damage-result", "hazard_type": null, "hazard_id": null, "fragility_key": null, + "liquefaction_fragility_key": null, "use_liquefaction": false, + "liquefaction_geology_dataset_id": null, "use_hazard_uncertainty": false, - "num_cpu": 1, - "seed": 1234, - "liquefaction_geology_dataset_id": null + "num_cpu": 1 }, "inputs": { "hazard": [ @@ -2027,236 +2108,211 @@ "flood", "tsunami" ], - "buildings": [ - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" + "epfs": [ + "incore:epf", + "ergo:epf", + "incore:epfVer2" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" - ], - "retrofit_strategy": [ - "incore:retrofitStrategy" ] } }, - "studio-BuildingEconLoss": { + "studio-CombinedWindWaveSurgeBuildingDamage": { "before": { - "studio-MeanDamage": [ + "studio-BuildingNonStructDamage": [ { "from": "result", - "to": "building_mean_dmg" + "to": "flood_damage" } - ] - }, - "after": {}, - "pretty_name": "Building Economic Loss", - "tags": [ - "Building" - ], - "manual": "building_loss.html", - "parameter_defaults": { - "result_name": "building-econ-loss-result", - "inflation_factor": 0.0 - }, - "inputs": { - "buildings": [ - "ergo:buildingInventory", - "ergo:buildingInventoryVer4", - "ergo:buildingInventoryVer5", - "ergo:buildingInventoryVer6", - "ergo:buildingInventoryVer7" ], - "building_mean_dmg": [ - "ergo:meanDamage" - ], - "occupancy_multiplier": [ - "incore:buildingOccupancyMultiplier" - ] - } - }, - "studio-NciFunctionality": { - "before": { - "studio-WaterFacilityRestoration": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "time_results", - "to": "wds_time_results" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "studio-BuildingStructuralDamage": [ + { + "from": "ds_result", + "to": "wind_damage" }, { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "ds_result", + "to": "surge_wave_damage" } - ], - "studio-PipelineFunctionality": [ + ] + }, + "after": { + "studio-BuyoutDecision": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "past_building_damage" + }, + { + "from": "ds_result", + "to": "future_building_damage" } ], - "studio-WaterFacilityDamage": [ + "studio-CommercialBuildingRecovery": [ { - "from": "result", - "to": "wds_dmg_results" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-EpfRestoration": [ - { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - }, + "studio-CumulativeBuildingDamage": [ { - "from": "time_results", - "to": "epf_time_results" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], "studio-MonteCarloLimitStateProbability": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "damage" } ], - "studio-EpnFunctionality": [ + "studio-PopulationDislocation": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-WfnFunctionality": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ], - "studio-EpfDamage": [ + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "result", - "to": "epf_damage" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" + } + ], + "studio-MeanDamage": [ + { + "from": "ds_result", + "to": "damage" + } + ], + "studio-JoplinEmpiricalBuildingRestoration": [ + { + "from": "ds_result", + "to": "building_dmg" } ] }, - "after": {}, - "pretty_name": "Network Cascading Interdependency Functionality", + "pretty_name": "Combined Wind Wave Surge Building Damage", "tags": [ - "Decision Support" + "Building" ], - "manual": "nci_functionality.html", + "manual": "combined_wind_wave_surge_building_dmg.html", "parameter_defaults": { - "result_name": "nci-functionality-result", - "discretized_days": "[1, 3, 7, 30, 90]" + "result_name": "combined-wind-wave-surge-building-damage-result" }, "inputs": { - "epf_network": [ - "incore:epnNetwork" - ], - "wds_network": [ - "incore:waterNetwork" - ], - "epf_wds_intdp_table": [ - "incore:networkInterdependencyTable" - ], - "wds_epf_intdp_table": [ - "incore:networkInterdependencyTable" - ], - "epf_subst_failure_results": [ - "incore:failureProbability" - ], - "epf_inventory_rest_map": [ - "incore:inventoryRestorationMap" - ], - "epf_time_results": [ - "incore:epfRestorationTime" - ], - "wds_dmg_results": [ - "ergo:waterFacilityDamageVer6" - ], - "wds_inventory_rest_map": [ - "incore:inventoryRestorationMap" + "wind_damage": [ + "ergo:buildingDamageVer6" ], - "wds_time_results": [ - "incore:waterFacilityRestorationTime" + "surge_wave_damage": [ + "ergo:buildingDamageVer6" ], - "epf_damage": [ - "incore:epfDamageVer3" + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" ] } }, - "studio-WaterFacilityRestoration": { + "studio-CombinedWindWaveSurgeBuildingLoss": { "before": { - "studio-WaterFacilityDamage": [ + "studio-BuildingNonStructDamage": [ { "from": "result", - "to": "damage" + "to": "flood_damage" } - ] - }, - "after": { - "studio-NciFunctionality": [ - { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" - }, + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "time_results", - "to": "wds_time_results" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "studio-INDP": [ + "studio-BuildingStructuralDamage": [ { - "from": "repair_times", - "to": "wf_restoration_time" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ] }, - "pretty_name": "Water Facility Restoration", + "after": {}, + "pretty_name": "Combined Wind Wave Surge Building Loss", "tags": [ - "Lifeline" + "Building" ], - "manual": "water_facility_restoration.html", + "manual": "combined_wind_wave_surge_building_loss.html", "parameter_defaults": { - "result_name": "water-facility-restoration-result", - "restoration_key": "Restoration ID Code", - "end_time": 100.0, - "time_interval": 1.0, - "pf_interval": 0.05, - "discretized_days": "[1, 3, 7, 30, 90]" + "result_name": "combined-wind-wave-surge-building-loss-result" }, "inputs": { - "water_facilities": [ - "ergo:waterFacilityTopo" + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "wind_damage": [ + "ergo:buildingDamageVer6" ], - "damage": [ - "ergo:waterFacilityDamageVer6" + "surge_wave_damage": [ + "ergo:buildingDamageVer6" + ], + "flood_damage": [ + "ergo:nsBuildingInventoryDamageVer4" + ], + "structural_cost": [ + "incore:structuralCostRatio" + ], + "content_cost": [ + "incore:contentCostRatio" ] } }, - "studio-WaterFacilityDamage": { + "studio-BuildingNonStructDamage": { "after": { - "studio-NciFunctionality": [ + "studio-MeanDamage": [ { "from": "result", - "to": "wds_dmg_results" + "to": "damage" } ], - "studio-WaterFacilityRestoration": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { "from": "result", - "to": "damage" + "to": "building_dmg" } ], "studio-MonteCarloLimitStateProbability": [ @@ -2264,550 +2320,553 @@ "from": "result", "to": "damage" } + ], + "studio-CombinedWindWaveSurgeBuildingLoss": [ + { + "from": "result", + "to": "flood_damage" + } + ], + "studio-CombinedWindWaveSurgeBuildingDamage": [ + { + "from": "result", + "to": "flood_damage" + } ] }, "before": {}, - "pretty_name": "Water Facility Damage", + "pretty_name": "Building Non-Structural Damage", "tags": [ - "Lifeline" + "Building" ], - "manual": "waterfacility_dmg.html", + "manual": "building_nonstructural_dmg.html", "parameter_defaults": { - "result_name": "water-facility-damage-result", + "result_name": "building-nonstruct-dmg-result", "hazard_type": null, "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "liquefaction_fragility_key": null, + "fragility_key": "Acceleration-Sensitive Fragility ID Code", + "use_liquefaction": true, + "liq_geology_dataset_id": null, "use_hazard_uncertainty": false, "num_cpu": 1 }, "inputs": { "hazard": [ "earthquake", - "tsunami" + "flood", + "hurricane" ], - "water_facilities": [ - "ergo:waterFacilityTopo" + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], "dfr3_mapping_set": [ "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" ] } }, - "studio-EpfRestoration": { + "studio-GalvestonCGEModel": { "before": { - "studio-EpfDamage": [ + "studio-CapitalShocks": [ { - "from": "result", - "to": "damage" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, "after": { - "studio-NciFunctionality": [ + "studio-CGEPostProcessTool": [ { - "from": "inventory_restoration_map", - "to": "wds_inventory_rest_map" + "from": "household-count", + "to": "Household Count" }, { - "from": "time_results", - "to": "epf_time_results" + "from": "domestic-supply", + "to": "Domestic supply" }, { - "from": "inventory_restoration_map", - "to": "epf_inventory_rest_map" - } - ], - "studio-INDP": [ + "from": "gross-income", + "to": "Gross Income" + }, { - "from": "repair_times", - "to": "epf_restoration_time" + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" } ] }, - "pretty_name": "Electric Power Facility Restoration", + "pretty_name": "Galveston CGE Model", "tags": [ - "LifeLine" + "Economic" ], - "manual": "epf_restoration.html", + "manual": "galveston_cge.html", "parameter_defaults": { - "result_name": "epf-restoration-result", - "restoration_key": null, - "end_time": 365.0, - "time_interval": 1.0, - "pf_interval": 0.1, - "discretized_days": "[1, 3, 7, 30, 90]" + "model_iterations": 1, + "solver_path": null }, "inputs": { - "epfs": [ - "incore:epf", - "ergo:epf" + "SAM": [ + "incore:CGEsam" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "BB": [ + "incore:CGEbb" ], - "damage": [ - "incore:epfDamage", - "incore:epfDamageVer2", - "incore:epfDamageVer3" - ] - } - }, - "studio-EpfDamage": { - "after": { - "studio-EpfRestoration": [ - { - "from": "result", - "to": "damage" - } + "IOUT": [ + "incore:CGEiout" ], - "studio-NciFunctionality": [ - { - "from": "result", - "to": "epf_damage" - } + "MISC": [ + "incore:CGEmisc" ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } + "MISCH": [ + "incore:CGEmisch" ], - "studio-MaxDamageStateTool": [ - { - "from": "ds_result", - "to": "Output dataset" - } - ] - }, - "before": {}, - "pretty_name": "Electric Power Facility Damage", - "tags": [ - "Lifeline" - ], - "manual": "epf_dmg.html", - "parameter_defaults": { - "result_name": "epf-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "liquefaction_fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 - }, - "inputs": { - "hazard": [ - "earthquake", - "tornado", - "hurricane", - "flood", - "tsunami" + "EMPLOY": [ + "incore:CGEemploy" ], - "epfs": [ - "incore:epf", - "ergo:epf", - "incore:epfVer2" + "JOBCR": [ + "incore:CGEjobcr" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" ] } }, - "studio-HousingValuationRecovery": { + "studio-JoplinCGEModel": { "before": { - "studio-PopulationDislocation": [ + "studio-CapitalShocks": [ { - "from": "result", - "to": "population_dislocation" + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": { + "studio-CGEPostProcessTool": [ + { + "from": "household-count", + "to": "Household Count" + }, + { + "from": "domestic-supply", + "to": "Domestic supply" + }, + { + "from": "gross-income", + "to": "Gross Income" + }, + { + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, + { + "from": "post-disaster-factor-demand", + "to": "Post Demand" } ] }, - "after": {}, - "pretty_name": "Housing Valuation Recovery", + "pretty_name": "Joplin CGE Model", "tags": [ - "Socioeconomic" + "Economic" ], - "manual": "housing_recovery.html", + "manual": "joplin_cge.html", "parameter_defaults": { - "base_year": 2008, - "result_name": "housing-valuation-recovery-result" + "model_iterations": 1, + "solver_path": null }, "inputs": { - "population_dislocation": [ - "incore:popDislocation" + "SAM": [ + "incore:CGEsam" ], - "building_area": [ - "incore:buildingInventoryArea" + "BB": [ + "incore:CGEbb" ], - "census_block_groups_data": [ - "incore:censusBlockGroupsData" + "IOUT": [ + "incore:CGEiout" ], - "census_appraisal_data": [ - "incore:censusAppraisalData" + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" + ], + "LANDCAP": [ + "incore:CGElandcap" + ], + "EMPLOY": [ + "incore:CGEemploy" + ], + "IGTD": [ + "incore:CGEigtd" + ], + "TAUFF": [ + "incore:CGEtauff" + ], + "JOBCR": [ + "incore:CGEjobcr" + ], + "OUTCR": [ + "incore:CGEoutcr" + ], + "sector_shocks": [ + "incore:capitalShocks" ] } }, - "studio-BuildingFunctionality": { + "studio-MlEnabledCgeSlc": { "before": { - "studio-EpnFunctionality": [ + "studio-CapitalShocks": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": { + "studio-CGEPostProcessTool": [ { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "household-count", + "to": "Household Count" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - } - ], - "studio-WfnFunctionality": [ + "from": "domestic-supply", + "to": "Domestic supply" + }, { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "gross-income", + "to": "Gross Income" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" + "from": "post-disaster-factor-demand", + "to": "Post Demand" } - ], - "studio-PipelineFunctionality": [ + ] + }, + "pretty_name": "Machine Learning Enabled CGE SLC", + "tags": [ + "Economic" + ], + "manual": "ml_slc_cge.html", + "parameter_defaults": { + "result_name": "salt-lake-ml-enabled-cge" + }, + "inputs": { + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-MlEnabledCgeJoplin": { + "before": { + "studio-CapitalShocks": [ { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - }, + "from": "sector_shocks", + "to": "sector_shocks" + } + ] + }, + "after": { + "studio-CGEPostProcessTool": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "household-count", + "to": "Household Count" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "domestic-supply", + "to": "Domestic supply" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "gross-income", + "to": "Gross Income" }, { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - } - ] - }, - "after": { - "studio-BuildingFunctionalityClusterTool": [ + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, { - "from": "functionality_probability", - "to": "Functionality Probability" + "from": "post-disaster-factor-demand", + "to": "Post Demand" } ] }, - "pretty_name": "Building Functionality", + "pretty_name": "Machine Learning Enabled CGE Joplin", "tags": [ - "Building" + "Economic" ], - "manual": "building_func.html", + "manual": "ml_joplin_cge.html", "parameter_defaults": { - "result_name": "bldg-functionality-result" + "result_name": "joplin-ml-enabled-cge" }, "inputs": { - "building_damage_mcs_samples": [ - "incore:sampleFailureState" - ], - "substations_damage_mcs_samples": [ - "incore:sampleFailureState" - ], - "poles_damage_mcs_samples": [ - "incore:sampleFailureState" - ], - "interdependency_dictionary": [ - "incore:buildingInterdependencyDict" + "sector_shocks": [ + "incore:capitalShocks" ] } }, - "studio-EpnFunctionality": { + "studio-SaltLakeCGEModel": { "before": { - "studio-PipelineFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ], - "studio-EpnFunctionality": [ - { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ], - "studio-WfnFunctionality": [ + "studio-CapitalShocks": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, "after": { - "studio-INDP": [ + "studio-CGEPostProcessTool": [ { - "from": "sample_failure_state", - "to": "pipeline_failure_state" + "from": "household-count", + "to": "Household Count" }, { - "from": "sample_failure_state", - "to": "epf_failure_state" + "from": "domestic-supply", + "to": "Domestic supply" }, { - "from": "sample_failure_state", - "to": "wf_failure_state" - } - ], - "studio-NciFunctionality": [ + "from": "gross-income", + "to": "Gross Income" + }, { - "from": "failure_probability", - "to": "epf_subst_failure_results" - } - ], - "studio-CapitalShocks": [ + "from": "pre-disaster-factor-demand", + "to": "Pre Demand" + }, { - "from": "failure_probability", - "to": "failure_probability" + "from": "post-disaster-factor-demand", + "to": "Post Demand" } + ] + }, + "pretty_name": "Salt Lake CGE Model", + "tags": [ + "Economic" + ], + "manual": "slc_cge.html", + "parameter_defaults": { + "model_iterations": 1, + "solver_path": null + }, + "inputs": { + "SAM": [ + "incore:CGEsam" + ], + "BB": [ + "incore:CGEbb" + ], + "IOUT": [ + "incore:CGEiout" + ], + "MISC": [ + "incore:CGEmisc" + ], + "MISCH": [ + "incore:CGEmisch" ], - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" - }, - { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" - } + "EMPLOY": [ + "incore:CGEemploy" ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - } + "JOBCR": [ + "incore:CGEjobcr" ], - "studio-CommercialBuildingRecovery": [ - { - "from": "failure_probability", - "to": "mcs_failure" - } + "OUTCR": [ + "incore:CGEoutcr" ], - "studio-EpnFunctionality": [ + "sector_shocks": [ + "incore:capitalShocks" + ] + } + }, + "studio-SeasideCGEModel": { + "before": { + "studio-CapitalShocks": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "sector_shocks", + "to": "sector_shocks" } ] }, - "pretty_name": "Electric Power Network Functionality", + "after": {}, + "pretty_name": "Seaside CGE Model", "tags": [ - "Lifeline" + "Economic" ], - "manual": "epn_functionality.html", + "manual": "seaside_cge.html", "parameter_defaults": { - "result_name": "epn-functionality-result", - "gate_station_node_list": null + "print_solver_output": false, + "solver_path": null }, "inputs": { - "epn_network": [ - "incore:epnNetwork" + "SAM": [ + "incore:SeasideCGEsam" ], - "epf_sample_failure_state": [ - "incore:sampleFailureState" + "BB": [ + "incore:SeasideCGEbb" + ], + "HHTABLE": [ + "incore:SeasideCGEhhtable" + ], + "EMPLOY": [ + "incore:SeasideCGEemploy" + ], + "JOBCR": [ + "incore:SeasideCGEjobcr" + ], + "SIMS": [ + "incore:SeasideCGEsim" + ], + "sector_shocks": [ + "incore:capitalShocks" ] } }, - "studio-WfnFunctionality": { - "before": { - "studio-PipelineFunctionality": [ + "studio-BuildingStructuralDamage": { + "after": { + "studio-BuyoutDecision": [ { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "past_building_damage" }, { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "future_building_damage" } ], - "studio-MonteCarloLimitStateProbability": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-CommercialBuildingRecovery": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-EpnFunctionality": [ + "studio-CumulativeBuildingDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "tsunami_bldg_dmg" }, { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "from": "ds_result", + "to": "eq_bldg_dmg" } ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" - }, - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - } - ] - }, - "after": { - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, - { - "from": "sample_failure_state", - "to": "epf_failure_state" - }, + "studio-MonteCarloLimitStateProbability": [ { - "from": "sample_failure_state", - "to": "wf_failure_state" + "from": "ds_result", + "to": "damage" } ], - "studio-NciFunctionality": [ + "studio-PopulationDislocation": [ { - "from": "failure_probability", - "to": "epf_subst_failure_results" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-CapitalShocks": [ + "studio-CombinedWindWaveSurgeBuildingDamage": [ { - "from": "failure_probability", - "to": "failure_probability" + "from": "ds_result", + "to": "wind_damage" + }, + { + "from": "ds_result", + "to": "surge_wave_damage" } ], - "studio-BuildingFunctionality": [ - { - "from": "sample_failure_state", - "to": "substations_damage_mcs_samples" - }, + "studio-CombinedWindWaveSurgeBuildingLoss": [ { - "from": "sample_failure_state", - "to": "poles_damage_mcs_samples" + "from": "ds_result", + "to": "wind_damage" }, { - "from": "sample_failure_state", - "to": "building_damage_mcs_samples" + "from": "ds_result", + "to": "surge_wave_damage" } ], - "studio-WfnFunctionality": [ - { - "from": "sample_failure_state", - "to": "wf_sample_failure_state" - }, + "studio-MeanDamage": [ { - "from": "sample_failure_state", - "to": "pp_sample_failure_state" + "from": "ds_result", + "to": "damage" } ], - "studio-CommercialBuildingRecovery": [ + "studio-JoplinEmpiricalBuildingRestoration": [ { - "from": "failure_probability", - "to": "mcs_failure" + "from": "ds_result", + "to": "building_dmg" } ], - "studio-EpnFunctionality": [ + "studio-MaxDamageStateTool": [ { - "from": "sample_failure_state", - "to": "epf_sample_failure_state" + "from": "ds_result", + "to": "Output dataset" } ] }, - "pretty_name": "Water Facility Network Functionality", + "before": {}, + "pretty_name": "Building Structural Damage", "tags": [ - "Lifeline" + "Building" ], - "manual": "wfn_functionality.html", + "manual": "building_structural_dmg.html", "parameter_defaults": { - "result_name": "wfn-functionality-result", - "tank_node_list": "[]", - "pumpstation_node_list": "[]" + "result_name": "building-struct-dmg-result", + "hazard_type": null, + "hazard_id": null, + "fragility_key": null, + "use_liquefaction": false, + "use_hazard_uncertainty": false, + "num_cpu": 1, + "seed": 1234, + "liquefaction_geology_dataset_id": null }, "inputs": { - "wfn_network": [ - "incore:waterNetwork" + "hazard": [ + "earthquake", + "tornado", + "hurricane", + "flood", + "tsunami" ], - "wf_sample_failure_state": [ - "incore:sampleFailureState" + "buildings": [ + "ergo:buildingInventoryVer4", + "ergo:buildingInventoryVer5", + "ergo:buildingInventoryVer6", + "ergo:buildingInventoryVer7" ], - "pp_sample_failure_state": [ - "incore:sampleFailureState" + "dfr3_mapping_set": [ + "incore:dfr3MappingSet" + ], + "retrofit_strategy": [ + "incore:retrofitStrategy" ] } }, - "studio-PipelineFunctionality": { - "after": { - "studio-INDP": [ - { - "from": "sample_failure_state", - "to": "pipeline_failure_state" - }, + "studio-BuildingFunctionality": { + "before": { + "studio-EpnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_failure_state" + "to": "substations_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "wf_failure_state" - } - ], - "studio-NciFunctionality": [ - { - "from": "failure_probability", - "to": "epf_subst_failure_results" - } - ], - "studio-CapitalShocks": [ + "to": "poles_damage_mcs_samples" + }, { - "from": "failure_probability", - "to": "failure_probability" + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" } ], - "studio-BuildingFunctionality": [ + "studio-MonteCarloLimitStateProbability": [ { "from": "sample_failure_state", "to": "substations_damage_mcs_samples" @@ -2821,233 +2880,174 @@ "to": "building_damage_mcs_samples" } ], - "studio-WfnFunctionality": [ + "studio-PipelineFunctionality": [ { "from": "sample_failure_state", - "to": "wf_sample_failure_state" + "to": "poles_damage_mcs_samples" }, { "from": "sample_failure_state", - "to": "pp_sample_failure_state" - } - ], - "studio-CommercialBuildingRecovery": [ + "to": "building_damage_mcs_samples" + }, { - "from": "failure_probability", - "to": "mcs_failure" + "from": "sample_failure_state", + "to": "substations_damage_mcs_samples" } ], - "studio-EpnFunctionality": [ + "studio-WfnFunctionality": [ { "from": "sample_failure_state", - "to": "epf_sample_failure_state" - } - ] - }, - "before": { - "studio-PipelineDamageRepairRate": [ + "to": "substations_damage_mcs_samples" + }, { - "from": "result", - "to": "pipeline_repair_rate_damage" - } - ] - }, - "pretty_name": "Pipeline Functionality", - "tags": [ - "Lifeline" - ], - "manual": "pipeline_functionality.html", - "parameter_defaults": { - "result_name": "pipeline-functionality-result", - "num_samples": 100 - }, - "inputs": { - "pipeline_repair_rate_damage": [ - "ergo:pipelineDamageVer3" - ] - } - }, - "studio-PipelineRepairCost": { - "after": { - "studio-INDP": [ + "from": "sample_failure_state", + "to": "building_damage_mcs_samples" + }, { - "from": "result", - "to": "pipeline_repair_cost" + "from": "sample_failure_state", + "to": "poles_damage_mcs_samples" } ] }, - "before": { - "studio-PipelineDamageRepairRate": [ + "after": { + "studio-BuildingFunctionalityClusterTool": [ { - "from": "result", - "to": "pipeline_dmg" + "from": "functionality_probability", + "to": "Functionality Probability" } ] }, - "pretty_name": "Pipeline Repair Cost", + "pretty_name": "Building Functionality", "tags": [ - "Lifeline" + "Building" ], - "manual": "pipeline_repair_cost.html", + "manual": "building_func.html", "parameter_defaults": { - "result_name": "pipeline-repair-cost-result", - "num_cpu": 1, - "diameter": 20, - "segment_length": 20 + "result_name": "bldg-functionality-result" }, "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" + "building_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "replacement_cost": [ - "incore:replacementCost" + "substations_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "pipeline_dmg": [ - "ergo:pipelineDamageVer3" + "poles_damage_mcs_samples": [ + "incore:sampleFailureState" ], - "pipeline_dmg_ratios": [ - "incore:pipelineDamageRatios" + "interdependency_dictionary": [ + "incore:buildingInterdependencyDict" ] } }, - "studio-PipelineRestoration": { - "after": { - "studio-INDP": [ - { - "from": "pipeline_restoration", - "to": "pipeline_restoration_time" - } - ] - }, + "studio-HousingRecoverySequential": { "before": { - "studio-PipelineDamageRepairRate": [ + "studio-PopulationDislocation": [ { "from": "result", - "to": "pipeline_damage" + "to": "population_dislocation_block" + } + ], + "studio-SocialVulnerabilityScore": [ + { + "from": "sv_result", + "to": "sv_result" } ] }, - "pretty_name": "Pipeline Restoration", + "after": {}, + "pretty_name": "Housing Recovery Sequential", "tags": [ - "Lifeline" + "Socioeconomic", + "Decision Support" ], - "manual": "pipeline_restoration.html", + "manual": "housing_household_recovery.html", "parameter_defaults": { - "result_name": "pipeline-restoration-result", - "num_cpu": 1, - "num_available_workers": 4, - "restoration_key": "Restoration ID Code" + "result_name": "housing-recovery-sequential-result", + "t_delta": null, + "t_final": null, + "seed": 1234, + "num_cpu": 4 }, "inputs": { - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" + "population_dislocation_block": [ + "incore:popDislocation" ], - "pipeline_damage": [ - "ergo:pipelineDamageVer2", - "ergo:pipelineDamageVer3" + "tpm": [ + "incore:houseRecTransitionProbMatrix" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "initial_stage_probabilities": [ + "incore:houseRecInitialStageProbability" + ], + "sv_result": [ + "incore:socialVulnerabilityScore" + ], + "zone_def_sv": [ + "incore:zoneDefinitionsSocialVulnerability" + ], + "zone_def_hhinc": [ + "incore:zoneDefinitionsHouseholdIncome" ] } }, - "studio-PipelineDamageRepairRate": { - "after": { - "studio-PipelineRepairCost": [ - { - "from": "result", - "to": "pipeline_dmg" - } - ], - "studio-PipelineFunctionality": [ - { - "from": "result", - "to": "pipeline_repair_rate_damage" - } - ], - "studio-PipelineRestoration": [ + "studio-HousingValuationRecovery": { + "before": { + "studio-PopulationDislocation": [ { "from": "result", - "to": "pipeline_damage" + "to": "population_dislocation" } ] }, - "before": {}, - "pretty_name": "Pipeline Damage Repair Rate", + "after": {}, + "pretty_name": "Housing Valuation Recovery", "tags": [ - "Lifeline" + "Socioeconomic" ], - "manual": "pipeline_dmg_w_repair_rate.html", + "manual": "housing_recovery.html", "parameter_defaults": { - "result_name": "pipeline-damage-repair-rate-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_fragility_key": null, - "num_cpu": 1, - "liquefaction_geology_dataset_id": null + "base_year": 2008, + "result_name": "housing-valuation-recovery-result" }, "inputs": { - "hazard": [ - "earthquake", - "tsunami" + "population_dislocation": [ + "incore:popDislocation" ], - "pipeline": [ - "ergo:buriedPipelineTopology", - "ergo:pipeline" + "building_area": [ + "incore:buildingInventoryArea" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "census_block_groups_data": [ + "incore:censusBlockGroupsData" + ], + "census_appraisal_data": [ + "incore:censusAppraisalData" ] } }, - "studio-RoadDamage": { + "studio-SocialVulnerabilityScore": { "after": { - "studio-MonteCarloLimitStateProbability": [ - { - "from": "result", - "to": "damage" - } - ], - "studio-MeanDamage": [ + "studio-HousingRecoverySequential": [ { - "from": "result", - "to": "damage" + "from": "sv_result", + "to": "sv_result" } ] }, "before": {}, - "pretty_name": "Road Damage", + "pretty_name": "Social Vulnerability Score", "tags": [ - "Lifeline" + "Socioeconomic" ], - "manual": "road_dmg.html", + "manual": "social_vulnerability_score.html", "parameter_defaults": { - "result_name": "road-damage-result", - "hazard_type": null, - "hazard_id": null, - "fragility_key": null, - "use_liquefaction": false, - "liquefaction_geology_dataset_id": null, - "use_hazard_uncertainty": false, - "num_cpu": 1 + "result_name": "social-vulnerability-score-result" }, "inputs": { - "hazard": [ - "earthquake", - "hurricane", - "tsunami" - ], - "roads": [ - "ergo:roadLinkTopo", - "incore:roads", - "ergo:roadLinkTopoVer2" + "national_vulnerability_feature_averages": [ + "incore:socialVulnerabilityFeatureAverages" ], - "dfr3_mapping_set": [ - "incore:dfr3MappingSet" + "social_vulnerability_demographic_factors": [ + "incore:socialVulnerabilityDemFactors" ] } },