Harder, better, faster, stronger: understanding and improving the tractability of large energy system models

IF 4.6 3区 工程技术 Q2 ENERGY & FUELS
Manuel Bröchin, Bryn Pickering, Tim Tröndle, Stefan Pfenninger
{"title":"Harder, better, faster, stronger: understanding and improving the tractability of large energy system models","authors":"Manuel Bröchin,&nbsp;Bryn Pickering,&nbsp;Tim Tröndle,&nbsp;Stefan Pfenninger","doi":"10.1186/s13705-024-00458-z","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><p>Energy system models based on linear programming have been growing in size with the increasing need to model renewables with high spatial and temporal detail. Larger models lead to high computational requirements. Furthermore, seemingly small changes in a model can lead to drastic differences in runtime. Here, we investigate measures to address this issue.</p><h3>Results</h3><p>We review the mathematical structure of a typical energy system model, and discuss issues of sparsity, degeneracy and large numerical range. We introduce and test a method to automatically scale models to improve numerical range. We test this method as well as tweaks to model formulation and solver preferences, finding that adjustments can have a substantial impact on runtime. In particular, the barrier method without crossover can be very fast, but affects the structure of the resulting optimal solution.</p><h3>Conclusions</h3><p>We conclude with a range of recommendations for energy system modellers: first, on large and difficult models, manually select the barrier method or barrier+crossover method. Second, use appropriate units that minimize the model’s numerical range or apply an automatic scaling procedure like the one we introduce here to derive them automatically. Third, be wary of model formulations with cost-free technologies and dummy costs, as those can dramatically worsen the numerical properties of the model. Finally, as a last resort, know the basic solver tolerance settings for your chosen solver and adjust them if necessary.</p></div>","PeriodicalId":539,"journal":{"name":"Energy, Sustainability and Society","volume":"14 1","pages":""},"PeriodicalIF":4.6000,"publicationDate":"2024-06-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://energsustainsoc.biomedcentral.com/counter/pdf/10.1186/s13705-024-00458-z","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Energy, Sustainability and Society","FirstCategoryId":"5","ListUrlMain":"https://link.springer.com/article/10.1186/s13705-024-00458-z","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0

Abstract

Background

Energy system models based on linear programming have been growing in size with the increasing need to model renewables with high spatial and temporal detail. Larger models lead to high computational requirements. Furthermore, seemingly small changes in a model can lead to drastic differences in runtime. Here, we investigate measures to address this issue.

Results

We review the mathematical structure of a typical energy system model, and discuss issues of sparsity, degeneracy and large numerical range. We introduce and test a method to automatically scale models to improve numerical range. We test this method as well as tweaks to model formulation and solver preferences, finding that adjustments can have a substantial impact on runtime. In particular, the barrier method without crossover can be very fast, but affects the structure of the resulting optimal solution.

Conclusions

We conclude with a range of recommendations for energy system modellers: first, on large and difficult models, manually select the barrier method or barrier+crossover method. Second, use appropriate units that minimize the model’s numerical range or apply an automatic scaling procedure like the one we introduce here to derive them automatically. Third, be wary of model formulations with cost-free technologies and dummy costs, as those can dramatically worsen the numerical properties of the model. Finally, as a last resort, know the basic solver tolerance settings for your chosen solver and adjust them if necessary.

更难、更好、更快、更强:理解和改进大型能源系统模型的可操作性
背景基于线性规划的能源系统模型的规模不断扩大,因为越来越需要对可再生能源进行高空间和时间细节的建模。模型越大,计算要求越高。此外,模型中看似微小的变化也会导致运行时间的巨大差异。结果我们回顾了典型能源系统模型的数学结构,并讨论了稀疏性、退化和大数值范围等问题。我们介绍并测试了一种自动缩放模型以改善数值范围的方法。我们测试了这种方法以及对模型表述和求解器偏好的调整,发现调整会对运行时间产生重大影响。结论最后,我们向能源系统建模人员提出了一系列建议:首先,在大型和困难模型上,手动选择障碍法或障碍+交叉法。其次,使用适当的单位,使模型的数值范围最小化,或应用自动缩放程序,如我们在此介绍的自动缩放程序。第三,警惕使用无成本技术和虚假成本的模型公式,因为这些会大大恶化模型的数值特性。最后,在万不得已的情况下,了解所选求解器的基本求解容差设置,并在必要时进行调整。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Energy, Sustainability and Society
Energy, Sustainability and Society Energy-Energy Engineering and Power Technology
CiteScore
9.60
自引率
4.10%
发文量
45
审稿时长
13 weeks
期刊介绍: Energy, Sustainability and Society is a peer-reviewed open access journal published under the brand SpringerOpen. It covers topics ranging from scientific research to innovative approaches for technology implementation to analysis of economic, social and environmental impacts of sustainable energy systems.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信