Skip to content

Commit

Permalink
Merge pull request #16 from jinyan1214/master
Browse files Browse the repository at this point in the history
Add rewet
  • Loading branch information
fmckenna authored Apr 16, 2024
2 parents e5b5621 + a549d65 commit cdd5957
Show file tree
Hide file tree
Showing 186 changed files with 363,745 additions and 1 deletion.
319 changes: 319 additions & 0 deletions E15REWET/inputRWHALE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,319 @@
{
"Applications": {
"Assets": {
"WaterDistributionNetwork": {
"Application": "GEOJSON_TO_ASSET",
"ApplicationData": {
"Junction": {
"filter": "1"
},
"Pipe": {
"filter": "1-3"
},
"Reservoir": {
"filter": "1"
},
"assetSourceFile": "/Users/jinyanzhao/Desktop/REWETfiles/new_input_data/input_data/sc_inpFileGeoJSON.json",
"inpFile": "/Users/jinyanzhao/Desktop/REWETfiles/new_input_data/input_data/waterNetwork.inp"
}
}
},
"DL": {
"WaterDistributionNetwork": {
"Application": "Pelicun3",
"ApplicationData": {
"DL_Method": "HAZUS MH EQ IM",
"Realizations": 5,
"auto_script": "PelicunDefault/Hazus_Earthquake_IM.py",
"coupled_EDP": true,
"detailed_results": false,
"event_time": "off",
"ground_failure": true,
"log_file": true,
"regional": "true"
}
}
},
"Events": [
{
"Application": "SimCenterEvent",
"ApplicationData": {
},
"EventClassification": "Earthquake"
}
],
"Modeling": {
"WaterDistributionNetwork": {
"Application": "None",
"ApplicationData": {
}
},
"WaterNetworkNodes": {
"Application": "None",
"ApplicationData": {
}
},
"WaterNewtworkPipelines": {
"Application": "None",
"ApplicationData": {
}
}
},
"SystemPerformance": {
"WaterDistributionNetwork": {
"Application": "REWETRecovery",
"ApplicationData": {
}
}
},
"RegionalEvent": {
"Application": "UserInputGM",
"ApplicationData": {
}
},
"RegionalMapping": {
"WaterDistributionNetwork": {
"Application": "NearestNeighborEvents",
"ApplicationData": {
"neighbors": 4,
"samples": 2,
"seed": 836
}
},
"WaterNetworkNodes": {
"Application": "NearestNeighborEvents",
"ApplicationData": {
"neighbors": 0,
"samples": 0,
"seed": 836
}
},
"WaterNetworkPipelines": {
"Application": "NearestNeighborEvents",
"ApplicationData": {
"neighbors": 0,
"samples": 0,
"seed": 836
}
}
},
"Simulation": {
"WaterDistributionNetwork": {
"Application": "IMasEDP",
"ApplicationData": {
}
},
"WaterNetworkNodes": {
"Application": "IMasEDP",
"ApplicationData": {
}
},
"WaterNetworkPipelines": {
"Application": "IMasEDP",
"ApplicationData": {
}
}
},
"UQ": {
"WaterDistributionNetwork": {
"Application": "None",
"ApplicationData": {
}
},
"WaterNetworkNodes": {
"Application": "None",
"ApplicationData": {
}
},
"WaterNewtworkPipelines": {
"Application": "None",
"ApplicationData": {
}
}
}
},
"Assets": {
"WaterDistributionNetwork": {
}
},
"Author": "SimCenter",
"DL": {
"WaterDistributionNetwork": {
}
},
"DefaultValues": {
"driverFile": "driver",
"edpFiles": [
"EDP.json"
],
"filenameDL": "BIM.json",
"filenameEDP": "EDP.json",
"filenameEVENT": "EVENT.json",
"filenameSAM": "SAM.json",
"filenameSIM": "SIM.json",
"rvFiles": [
"SAM.json",
"EVENT.json",
"SIM.json"
],
"workflowInput": "scInput.json",
"workflowOutput": "EDP.json"
},
"Modeling": {
"WaterDistributionNetwork": {
},
"WaterNetworkNodes": {
},
"WaterNewtworkPipelines": {
}
},
"Name": "E14 - HAZUS Transportation",
"SystemPerformance": {
"WaterDistributionNetwork": {
"Application": "REWETRecovery",
"Node_Leak_Based": true,
"Node_Time_Based": false,
"Pipe_Leak_Based": true,
"Pipe_Time_Based": false,
"Policy Definition": "exampe_config.txt",
"Policy DefinitionPath": "/Users/jinyanzhao/Desktop/REWETfiles/new_input_data/input_data/",
"Restoration_on": true,
"Solver": "ModifiedEPANETV2.2",
"last_sequence_termination": false,
"minimum_job_time": 3600,
"minimum_pressure": -1,
"eventTime":7200,
"node_damage_model": [
[
0.0036,
1,
0,
0,
-0.877,
1,
0,
0,
0.0248,
1,
1,
0,
0,
0
]
],
"node_demand_temination": false,
"node_demand_termination_ratio": 0.95,
"node_demand_termination_time": 10800,
"node_leak_amount": 0.001,
"node_leak_time": 43200,
"node_time_discovery_ratio": [
[
0,
1
]
],
"pipe_damage_model": [
[
"CI",
-0.0038,
0.1096,
0.0196,
2,
1
]
],
"pipe_leak_amount": 0.025,
"pipe_leak_time": 43200,
"pipe_time_discovery_ratio": [
[
0,
1
]
],
"pump_time_discovery_ratio": [
[
0,
1
]
],
"required_pressure": -1,
"simulationTime": 864000,
"simulationTimeStep": 3600,
"tank_time_discovery_ratio": [
[
0,
1
]
]
}
},
"RegionalEvent": {
"eventFile": "EventGrid.csv",
"eventFilePath": "/Users/jinyanzhao/Desktop/REWETfiles/new_input_data/input_data",
"units": {
"PGA": "inchps2",
"PGD_h": "inch",
"PGD_v": "inch",
"SA_0.3": "inchps2",
"SA_1.0": "inchps2"
}
},
"RegionalMapping": {
"WaterDistributionNetwork": {
},
"WaterNetworkNodes": {
},
"WaterNetworkPipelines": {
}
},
"Simulation": {
"WaterDistributionNetwork": {
"type": "IMasEDP"
},
"WaterNetworkNodes": {
"type": "IMasEDP"
},
"WaterNetworkPipelines": {
"type": "IMasEDP"
}
},
"UQ": {
"WaterDistributionNetwork": {
},
"WaterNetworkNodes": {
},
"WaterNewtworkPipelines": {
}
},
"WorkflowType": "Regional Simulation",
"assets": {
"buildings": false,
"gas": false,
"soil": false,
"transportation": false,
"waste": false,
"water": true
},
"commonFileDir": "input_data",
"localAppDir": "/Users/jinyanzhao/Desktop/SimCenterBuild/SimCenterBackendApplications",
"outputs": {
"AIM": false,
"DM": true,
"DV": true,
"EDP": true,
"IM": false,
"every_realization": false
},
"randomVariables": [
],
"remoteAppDir": "C:/Users/naeim/OneDrive/Desktop/R2DTool/build",
"runDir": "/Users/jinyanzhao/Desktop/REWETfiles/workdir/tmp.SimCenter",
"runType": "runningLocal",
"type": "Earthquake",
"units": {
"force": "kips",
"length": "inch",
"time": "sec"
},
"workingDir": "/Users/jinyanzhao/Desktop/REWETfiles/workdir"
}
3 changes: 3 additions & 0 deletions E15REWET/input_data/Crew_Data/Net3DA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DistYardID,Curr.-X-Coord,Curr.-Y-Coord,Home-X-Coord,Home-Y-Coord,Number,Shift
Northern,10,10,10,10,1,D
Northern,10,10,10,10,1,N
3 changes: 3 additions & 0 deletions E15REWET/input_data/Crew_Data/Net3RA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DistYardID,Curr.-X-Coord,Curr.-Y-Coord,Home-X-Coord,Home-Y-Coord,Number,Shift
Northern,20,20,20,20,1,D
Northern,20,20,20,20,1,N
Loading

0 comments on commit cdd5957

Please sign in to comment.