Zhiyu014 / MARL-UDS

Source code for the MARL-enabled real-time control of urban drainage system
GNU General Public License v3.0
9 stars 1 forks source link
a2c combined-sewer-overflow dqn graph-algorithms iql multiagent-reinforcement-learning ppo qmix real-time-control reinforcement-learning stormwater swmm tensorflow-keras urban-flooding vdn

MARL-UDS

Source code, data and figures for the MARL-enabled real-time control of urban drainage systems. Refer to the published article:

UDS Environments

  1. Astlingen: A benchmark SWMM model Astlingen of a combined sewer system with 6 storage tanks and 4 controllable outflow orifices. Thanks to Dr. Sun and other contributors for developing this model.

    • Sun C, Lorenz Svensen J, Borup M, Puig V, Cembrano G, Vezzaro L. An MPC-Enabled SWMM Implementation of the Astlingen RTC Benchmarking Network. Water. 2020; 12(4):1034. https://doi.org/10.3390/w12041034
    • Schütze, M.; Lange, M.; Pabst, M.; Haas, U. Astlingen—A benchmark for real time control (RTC). Water Sci. Technol. 2017, 2, 552–560. https://doi.org/10.2166/wst.2018.172
  2. Chaohu: A real-case model of a combined sewer system with 2 pump stations and forebays. Papers using this model:

    • Liao, Z., Gu, X., Xie, J., Wang, X., & Chen, J. (2019). An integrated assessment of drainage system reconstruction based on a drainage networkmodel. Environmental Science and Pollution Research, 26(26), 26563–26576. https://doi.org/10.1007/s11356-019-05280-1
    • Zhi, G., Liao, Z., Tian, W., Wang, X., & Chen, J. (2019). A 3D dynamic visualization method coupled with an urban drainage model. Journal ofHydrology, 577, 123988. https://doi.org/10.1016/j.jhydrol.2019.123988
    • Tian, W., Liao, Z., Zhi, G., Zhang, Z.&Wang, X., 2022b. Combined Sewer Overflow and Flooding Mitigation Through a Reliable Real-Time Control Based on Multi-Reinforcement Learning and Model Predictive Control. Water Resources Research, 58(7): e2021WR030703. https://doi.org/10.1029/2021WR030703
    • Tian, W., Liao, Z., Zhang, Z., Wu, H.&Xin, K., 2022a. Flooding and Overflow Mitigation Using Deep Reinforcement Learning Based on Koopman Operator of Urban Drainage Systems. Water Resources Research, 58(7): e2021WR030939. https://doi.org/10.1029/2021WR030939

Algorithms

  1. DQN: Deep Q-learning (double & dueling network)
  2. IQL: Independent Q-learning
  3. VDN: Value Decomposition Network
  4. QMIX: Monotonic Value Function Factorisation
  5. A2C & MAA2C: advantage actor-critic
  6. PPO & MAPPO:
  7. Behavior Cloning (demo)
  8. GAIL (demo): Generative adversarial imitation learning

Tricks

Requirements