Development of Cost Optimization Resource Allocation Model (CORAM) version 1.0: A Case Study of Saudi Arabia
Abstract. Freshwater scarcity is a major challenge in arid regions such as Saudi Arabia, where water, energy, and agricultural systems are tightly interconnected. Existing models often lack the regional specificity and integrated representation needed to assess trade-offs across these sectors, particularly in desalination-dependent economies. This study presents the development of Cost-Optimized Resource Allocation Model (CORAM), a novel nonlinear optimization framework that links water supply, agriculture, trade, energy use, and associated emissions within a unified system, and illustrates its application through a case study of Saudi Arabia. CORAM is calibrated to national data for 2023 and applied to evaluate alternative groundwater management scenarios (no limit, 10 BCM, 5 BCM) under an exogenous energy pathway. The model incorporates crop-level decision-making, water supply cost curves, electricity requirements for water production, and investments for new water production plants. The energy module is fully exogenous, applying a baseline grid emissions factor to the water-sector energy demand to estimate the associated CO₂ emissions. Results show that groundwater availability is the primary driver of water allocation and agricultural production. Stricter groundwater constraints reduce domestic crop output, increase reliance on imports, and shift the supply mix toward desalination and wastewater reuse. Since the energy module is exogenous, the assumed grid decarbonization pathway influences emissions through changes in grid carbon intensity while having limited effect on overall system costs. CORAM provides a reproducible optimization framework for analyzing water–energy–food interactions in arid systems, with relationships defined as explicit equations The results illustrate how the modeling framework captures trade-offs among water sustainability, food production, and investment costs.