- The
generate_rainfall_temporal_patterns.ipynb
andgenerate_rainfall_temporal_patterns.py
scripts generate SWMM files from rainfall temporal patterns - inputs:
- from
Inputs_FE_Assignment_3
directory:- from
ECsouth
directory:ECsouth_AllStats.csv
file that contains the burst durationECsouth_Increments.csv
file that contains the temporal patterns
- from
depths_33.8774_151.093
folder:depths_-33.8774_151.093_all_design.csv
file that contains the precipitation depths
971007_SW5.inp
file that contain the pre-configured SWMM file. The modiication is in the line '704'
- from
- from
- outputs:
- the
Output_SWMM_directory
directory is created which contains all SWMM file outputs. The format of the SWMM file name is{frequent-intermediate-rare}__{freq_AEP}__{duration: from 10 to 120 minutes}__{pattern: from 1 to 10}.inp
- the
- other input variables:
timestep
= 5starting_date
= dt.datetime(year=2023, month=1, day=1, hour=0, minute=5, second=0)rain_gauge
= 'RainSeries1'orig_SWMM_file
= '../Inputs_FE_Assignment_3/971007_SW5.inp'output_directory
= 'Output_SWMM_directory'
- the
simulate_obtain_SWMM_hydrographs_files.ipynb
andsimulate_obtain_SWMM_hydrographs_files.py
scripts run simulations by using SWMM files (*.inp), generate timeseries and store them in a parquet file (*.parquet) - inputs:
- the SWMM files are simmulated are from the
Output_SWMM_directory
directory. The SWMM files has the following format:{frequent-intermediate-rare}__{freq_AEP}__{duration: from 10 to 120 minutes}__{pattern: from 1 to 10}.inp
- the SWMM files are simmulated are from the
- outputs:
- the hydrograph timeseries are stored in
Output_SWMM_directory
following the same name format:{frequent-intermediate-rare}__{freq_AEP}__{duration: from 10 to 120 minutes}__{pattern: from 1 to 10}.parquet
- the hydrograph timeseries are stored in
- other input variables:
Link_ID
= 116
- the
generate_stats_plot_SWMM_hydrograph.ipynb
script does the statistical analysis from the SWMM results (parquet files) - inputs:
- from
Output_SWMM_directory
directory, SWMM reports in parquet extension. Their name formats are:{frequent-intermediate-rare}__{freq_AEP}__{duration: from 10 to 120 minutes}__{pattern: from 1 to 10}.parquet
- from
- outputs:
GSPSWMMH_max_flows.csv
file that contains the maximum flow for each hydrograph through all the SWMM simulationsGSPSWMMH_statistics.csv
file that contains the statistical analysis of all the flows for each duration and frequencyGSPSWMMH_design_flows.csv
file that contains the design flows, boundary limits, median and average for each frequencyGSPSWMMH__{frequent-intermediate-rare}__{freq_AEP}.png
files that are box-plots for each frequencyGSPSWMMH_design_flows.png
file that is a logarithmic plot that contains all the design flows, and boundary limits