The rapid digitalization of energy sectors has led to a significant increase in coding tasks for engineers and researchers. This research article explores the potential of leveraging ChatGPT, an advanced AI language model, to revolutionize programming in the energy domain. Here, we propose a generic interactive programming framework based on ChatGPT, covering three distinct applications in energy systems ranging from simple to complex. For routine tasks such as daily unit commitment, ChatGPT can increase efficiency by automatic modelling, coding, debugging and scaling and thus re-ducing repetitive work. For complex tasks such as decentralized optimization of an integrated energy system (IES) where engineers have no prior knowledge, ChatGPT can reduce the learning cost by recommending appropriate algo-rithms. For new problems without readily available solutions such as ultra-fast unit commitment, ChatGPT can organize potential technology roadmap and provide algorithm recommendation and auto-coding for each step. The findings demonstrate the potential of ChatGPT as a powerful tool in the domain of energy sectors in terms of auto coding, new knowledge learning and new problem solving.
翻译:能源行业的快速数字化导致工程师和研究人员的编程任务显著增加。本研究探讨了利用先进AI语言模型ChatGPT推动能源领域编程变革的潜力。本文提出了一种基于ChatGPT的通用交互式编程框架,涵盖能源系统中从简单到复杂的三类不同应用。对于日常机组组合等常规任务,ChatGPT可通过自动建模、编码、调试和扩展提高效率,从而减少重复性工作。对于工程师缺乏先验知识的复杂任务(如综合能源系统(IES)的分散式优化),ChatGPT可通过推荐合适算法降低学习成本。对于尚无现成解决方案的新问题(如超快速机组组合),ChatGPT可组织潜在技术路线图,并为每个步骤提供算法推荐与自动编码。研究结果表明,ChatGPT在自动编码、新知识学习与新问题求解方面具有成为能源领域强大工具的潜力。