Dataset for "Coupling Reservoir Operation and Rainfall-Runoff Processes for Streamflow Simulation in Watersheds"
This dataset includes all code used to run and evaluate the coupled watershed models described in 'Coupling Reservoir Operation and Rainfall-Runoff Processes for Streamflow Simulation in Watersheds.' Prior to model calibration and performance evaluation, the codes in Step_A_DataPreprocessing, and Step_B_CreateReservoirModels are to be run for creating set-up files. Outputs from the codes in both folders are already included in the dataset. Separate readme.txt files inside both folders describe each codes' application. Within the root folder, "Simulating_Coupled_Models_And_Calibrating_ResIgnore.R" is run first to obtain data in the folders "All_Para_Perf" and "Behavioral_Paras_ResIgnore". "All_Para_Perf" contains .csv files with metrics quantifying the performance of 10,000 parameter sets generated via Latin Hypercube Sampling (from Step_A_DataPreprocessing). Each row in the .csv file corresponds to a parameter set. One .csv file is generated for each watershed. "Behavioral_Paras_ResIgnore" contains .csv files with metrics quantifying the performance of models that ignore reservoir operation. One .csv file is generated for each reservoir. "Analysis.R" generates the main results in the paper. All outputs from "Analysis.R" are in the folder "Results". Comments in the code (Analysis.R) describe each statement. Apart from Analysis.R and Simulating_Coupled_Models_And_Calibrating_ResIgnore.R, all other codes in the root folder are function files. Each function's description is as follows: Selecting_Bhv_Paras_NoInflow_2.R -> To calibrate GDROM/DZTR models using criteria related to watershed outflow. Selecting_Bhv_Paras_WithInflow_2.R -> To calibrate GDROM/DZTR models using criteria related to watershed outflow and internal flux. PDSI_Monthly_To_Daily.R -> Converts monthly PDSI data to daily values. Constant daily value within each month. FlowSimulator.R -> The rainfall-runoff model; simulates natural streamflow. GDROM_Simulator_2.R -> Simulates releases using input inflow via GDROM. DZTR_Simulator.R -> Simulates releases using input inflow via DZTR. Performance_Computer.R -> Computes NSE, PBIAS and logNSE for observed and simulated time series. QuantileSummarizer_2.R -> Creates a summary of performance metrics at 0%, 25%, 50%, 75% and 100% quantiles. PlottingFDCs_5.R -> Plots errors in the flow duration curve arising from parametric uncertainties. PlottingNSEScatter_3.R -> Creates a plot with logNSE[Flux] on the x axis and logNSE[Outflow] on the y axis for a particular watershed based on GDROM and DZTR models.