Back to search

University of Alberta

Decision-Focused Learning for Optimal Control under Price and Carbon Emission Uncertainty: A Case Study in Sustainable Water Treatment

Abstract

dc:description.abstract

Water treatment plants (WTPs) are critical infrastructure but also significant energy consumers, accounting for approximately 2% of energy use in the United States and contributing significantly to greenhouse gas emissions. In this thesis, we consider the problem of optimal control for the sustainable operation of a water treatment plant equipped with solar panels and batteries under uncertainty in electricity prices and carbon emissions. We formulate it as a receding-horizon control problem in which input parameters, such as future prices and carbon intensity, are provided by a time-series forecasting model. The traditional predict-then-optimize approach to solving a decision-making under uncertainty problem decouples training of the machine learning (ML) model from decision-making, which involves solving an optimization problem. As a result, the solver cannot provide feedback to the machine learning model during training, leading to a mismatch between the learning objective and the quality of the decisions. To address the mismatch, this thesis investigates the use of decision-focused learning (DFL) for receding horizon control of a grid-tied wastewater treatment plant. We optimize two separate goals: minimizing the plant's operating costs or carbon emissions. We first show that the structure of the underlying optimization problem depends on the chosen objective. Under some assumptions, we derive and prove a relaxation of our combinatorial optimization problem into a convex one. We then benchmark 7 state-of-the-art decision-focused learning methods designed for different types of optimization problems. We also benchmark 7 time-series forecasting models and select 2 for our experiments. Our results show that decision-focused learning can reduce operating costs by 3.8% and 2.5% with deterministic and stochastic decision-focused learning algorithms, respectively, compared to the traditional two-stage predict-then-optimize approach, underscoring the value of training forecasting models with task-specific loss functions rather than accuracy metrics such as mean squared error.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Grantor
University of Alberta
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hai, Oufan
Advisor dc:contributor.advisor
  • Ardakanian, Omid (Computing Science)

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/85931

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Hai, Oufan. Decision-Focused Learning for Optimal Control under Price and Carbon Emission Uncertainty: A Case Study in Sustainable Water Treatment. Master's thesis, University of Alberta, 2026. https://doi.org/10.7939/85931