Skip to content

Repository files navigation

Introduction

Welcome to the repository for the study "Predicting the Urban Stormwater Drainage System State using the Graph-WaveNet", published in Sustainable Cities and Society. This repository contains the code used in our research to train a Graph-WaveNet model utilizing historical network state and rainfall data from SWMM simulations.

For the original PyTorch implementation of Graph-WaveNet, please refer to the paper Graph WaveNet for Deep Spatial-Temporal Graph Modeling, IJCAI 2019. (https://arxiv.org/abs/1906.00121)

Requirements

Data Preparation

Generating training data from SWMM simulations

  1. Prepare event-based SWMM output files
  2. Run 'SWMM2TrainingData.ipynb'

Generating .pkl file with adjacency matrix

  1. Extract node IDs and their distances from network data
  2. Run 'gen_adj_mx.py'

Training

python train.py

About

Repository for the study "Predicting the Urban Stormwater Drainage System State using the Graph-WaveNet"

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages