MATLAB framework for building-scale rainwater harvesting and greywater reuse simulation
Abstract
This repository provides a MATLAB-based simulation framework for assessing decentralised water supply systems at building scale, with a focus on rainwater harvesting and greywater reuse under sub-daily temporal resolution. The framework is designed to interface with stochastic end-use water demand and wastewater discharge time series generated using a modified version of the SIMDEUM model (not included). SIMDEUM must be obtained separately under licence from KWR Water Research Institute, and reproduction of the case studies requires authorisation and access to a modified SIMDEUM version provided by the authors. The software supports scenario-based analysis of decentralised system configurations and is intended for research applications in urban water management and sustainable building design. This software accompanies the following peer-reviewed publication, which describes the development and application of the framework. A comprehensive description of the model formulation, inputs, equations, and assumptions is provided in the accompanying Supplementary Information: Jacque, H., Mozafari, B., Dereli, R. K., & Cotterill, S. (2026). Stochastic end-use modelling of greywater reuse and rainwater harvesting systems in buildings. Cleaner Water, 7, 100287. https://doi.org/10.1016/j.clwat.2026.100287
Fields of Study & Subjects
Urban Stormwater Management Solutions
Wastewater Treatment and Reuse
Water resources management and optimization
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 13 January 2026
- Language
- EN