Integrating Water Quality Functionality in Pywr

This #TechnicalTuesday comes from Andrew Slaughter, #teamWRc Senior Consultant, who is talking about integrating water quality functionality in Pywr and the increased capability it offers to the water industry.

Pywr is an Open Source, Python-based generalised network resource allocation model. The benefits of Pywr include its flexibility and rapid run time. Pywr is being increasingly used, both in the UK and internationally, for conducting scenario risk analysis, identifying optimal portfolios of water supply options and transfers, and to represent allocation of water in complex food-water-energy nexus systems. In the UK, water companies are starting to use Pywr to represent their bulk-water supply networks as they recognise the usefulness of the model for risk analysis and infrastructure planning.

Water quality is not fully integrated within planning for long-term security of water supply. Water quality issues relating to the colour, taste and smell of water, as well as risks posed to human health, can limit the quantity of usable water and/or increase treatment costs. Including water quality simulation functionality into Pywr would allow the integration of water quantity and quality within the quantification of future available volumes of bulk and treated water and possible water treatment costs. This integration can also allow a more rational assessment of the risks posed by changes in water quality due to climate change (such as an increasing water temperature) to water supply.

WRc has invested in implementing water quality functionality in Pywr (Pywr-WQ) over the last year. As a proof of concept, Pywr-WQ currently represents inputs of point and non-point water quality loads as well as instream water quality processes. Pywr-WQ is also dynamically integrated with Pywr, allowing simulated water quality to guide water allocation decisions in Pywr. WRc is currently engaging with water companies to present the current capability, seek further requirements and to identify case studies sites to apply this new functionality. The model has been made Open Source and is free to access here.
Created by potrace 1.16, written by Peter Selinger 2001-2019

Have your say

Head over to the WRc LinkedIn channel to join the conversation and share your thoughts with your network.

React, comment and share

Created by potrace 1.16, written by Peter Selinger 2001-2019

Start a conversation

Full name
Email address
Company name
How can we help?

Can we stay in touch?

Your details will be stored within our CRM to allow us to handle your enquiry. We'd love to keep in touch and send you our newsletters and other notifications we think may be of interest to you. Please let us know if we have your permission for this.

Andrew Slaughter

Senior Consultant Scientist

Dr. Slaughter has a background in water resources management modelling and water quality modelling. He has over ten years of professional experience. Within the UK water sector, Dr. Slaughter has participated in the development of an annual supply-demand model for England and Wales, investigated the possible impacts of the future hydrogen economy on water resources in East England, modelled water trades between major abstraction licence holders in the Ouse River Basin, and investigated the reliability of the proposed South Lincolnshire Reservoir in East England. Internationally, Dr. Slaughter has participated in the Integrated Modelling Program for Canada under the Global Water Futures program. Dr. Slaughter is also the lead developer of the Water Quality Systems Assessment Model (WQSAM), which has been applied to various catchments in southern Africa.

2023-03-21 11:06:00