{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,27]],"date-time":"2026-11-27T07:09:38Z","timestamp":1795763378104,"version":"4.11.3"},"reference-count":61,"publisher":"Elsevier BV","license":[{"start":{"date-parts":[[2027,1,1]],"date-time":"2027-01-01T00:00:00Z","timestamp":1798761600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.elsevier.com\/tdm\/userlicense\/1.0\/"},{"start":{"date-parts":[[2027,1,1]],"date-time":"2027-01-01T00:00:00Z","timestamp":1798761600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.elsevier.com\/legal\/tdmrep-license"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100014013","name":"UK Research and Innovation","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100014013","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100000271","name":"Science and Technology Facilities Council","doi-asserted-by":"publisher","award":["ST\/AIRR\/I-A-I\/1023"],"award-info":[{"award-number":["ST\/AIRR\/I-A-I\/1023"]}],"id":[{"id":"10.13039\/501100000271","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100031278","name":"Department for Science, Innovation and Technology","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100031278","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100006041","name":"Innovate UK","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100006041","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["elsevier.com","sciencedirect.com"],"crossmark-restriction":true},"short-container-title":["Advanced Engineering Informatics"],"published-print":{"date-parts":[[2027,1]]},"DOI":"10.1016\/j.aei.2026.105328","type":"journal-article","created":{"date-parts":[[2026,10,3]],"date-time":"2026-10-03T09:44:06Z","timestamp":1791020646000},"page":"105328","update-policy":"https:\/\/doi.org\/10.1016\/elsevier_cm_policy","source":"Crossref","is-referenced-by-count":0,"special_numbering":"P2","title":["Knowledge boundary probing and demand-guided intervention for LLM-based power system code generation"],"prefix":"10.1016","volume":"77","author":[{"given":"Hui","family":"Wu","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaoyang","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhong","family":"Fan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"78","reference":[{"key":"10.1016\/j.aei.2026.105328_b1","doi-asserted-by":"crossref","first-page":"719","DOI":"10.1146\/annurev-environ-020220-061831","article-title":"Machine learning for sustainable energy systems","volume":"46","author":"Donti","year":"2021","journal-title":"Annu. Rev. Environ. Resour."},{"key":"10.1016\/j.aei.2026.105328_b2","doi-asserted-by":"crossref","DOI":"10.1016\/j.egyai.2023.100322","article-title":"Reviewing 40 years of artificial intelligence applied to power systems\u2014A taxonomic perspective","volume":"15","author":"Heymann","year":"2024","journal-title":"Energy AI"},{"key":"10.1016\/j.aei.2026.105328_b3","series-title":"2024 IEEE Power & Energy Society General Meeting","first-page":"1","article-title":"Large foundation models for power systems","author":"Huang","year":"2024"},{"issue":"6","key":"10.1016\/j.aei.2026.105328_b4","doi-asserted-by":"crossref","first-page":"1544","DOI":"10.1016\/j.joule.2024.05.009","article-title":"Exploring the capabilities and limitations of large language models in the electric energy sector","volume":"8","author":"Majumder","year":"2024","journal-title":"Joule"},{"issue":"6","key":"10.1016\/j.aei.2026.105328_b5","doi-asserted-by":"crossref","first-page":"6510","DOI":"10.1109\/TPWRS.2018.2829021","article-title":"pandapower\u2014An open-source python tool for convenient modeling, analysis, and optimization of electric power systems","volume":"33","author":"Thurner","year":"2018","journal-title":"IEEE Trans. Power Syst."},{"key":"10.1016\/j.aei.2026.105328_b6","series-title":"2011 IEEE Power and Energy Society General Meeting","first-page":"1","article-title":"An open source platform for collaborating on smart grid research","author":"Dugan","year":"2011"},{"issue":"1","key":"10.1016\/j.aei.2026.105328_b7","doi-asserted-by":"crossref","first-page":"4","DOI":"10.5334\/jors.188","article-title":"PyPSA: Python for power system analysis","volume":"6","author":"Brown","year":"2018","journal-title":"J. Open Res. Softw."},{"key":"10.1016\/j.aei.2026.105328_b8","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1186\/s42162-025-00529-1","article-title":"AI in power systems: A systematic review of key matters of concern","volume":"8","author":"Henao","year":"2025","journal-title":"Energy Inform."},{"key":"10.1016\/j.aei.2026.105328_b9","doi-asserted-by":"crossref","DOI":"10.1016\/j.energy.2026.140027","article-title":"Secure and trustworthy energy systems: A four-layer threat model and defense-in-depth framework","volume":"344","author":"Cheng","year":"2026","journal-title":"Energy"},{"key":"10.1016\/j.aei.2026.105328_b10","series-title":"Proceedings of the 2025 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies","first-page":"6826","article-title":"LibEvolutionEval: A benchmark and study for version-specific code generation","author":"Kuhar","year":"2025"},{"key":"10.1016\/j.aei.2026.105328_b11","series-title":"Identifying and mitigating API misuse in large language models","author":"Zhuo","year":"2025"},{"key":"10.1016\/j.aei.2026.105328_b12","series-title":"Towards mitigating API hallucination in code generated by LLMs with hierarchical dependency aware","author":"Chen","year":"2025"},{"key":"10.1016\/j.aei.2026.105328_b13","series-title":"Gorilla: Large language model connected with massive APIs","author":"Patil","year":"2023"},{"key":"10.1016\/j.aei.2026.105328_b14","series-title":"A Taxonomy for Learning, Teaching, and Assessing: A Revision of Bloom\u2019s Taxonomy of Educational Objectives","author":"Anderson","year":"2001"},{"key":"10.1016\/j.aei.2026.105328_b15","doi-asserted-by":"crossref","first-page":"8925","DOI":"10.1038\/s41598-025-91940-x","article-title":"A large language model for advanced power dispatch","volume":"15","author":"Cheng","year":"2025","journal-title":"Sci. Rep."},{"key":"10.1016\/j.aei.2026.105328_b16","series-title":"GridMind: LLMs-powered agents for power system analysis and operations","author":"Jin","year":"2025"},{"issue":"5","key":"10.1016\/j.aei.2026.105328_b17","doi-asserted-by":"crossref","first-page":"93","DOI":"10.1109\/MPE.2025.3579718","article-title":"PowerAgent: A road map toward agentic intelligence in power systems: Foundation model, model context protocol, and workflow","volume":"23","author":"Zhang","year":"2025","journal-title":"IEEE Power Energy Mag."},{"key":"10.1016\/j.aei.2026.105328_b18","series-title":"Evaluating large language models trained on code","author":"Chen","year":"2021"},{"key":"10.1016\/j.aei.2026.105328_b19","series-title":"Program synthesis with large language models","author":"Austin","year":"2021"},{"key":"10.1016\/j.aei.2026.105328_b20","series-title":"Advances in Neural Information Processing Systems","first-page":"20389","article-title":"Measuring coding challenge competence with APPS","volume":"Vol. 34","author":"Hendrycks","year":"2021"},{"key":"10.1016\/j.aei.2026.105328_b21","unstructured":"Y. Lai, C. Li, Y. Wang, T. Zhang, R. Zhong, L. Zettlemoyer, W.-t. Yih, D. Fried, et al., DS-1000: A Natural and Reliable Benchmark for Data Science Code Generation, in: Proceedings of the 40th International Conference on Machine Learning, 2023, pp. 18319\u201318345."},{"key":"10.1016\/j.aei.2026.105328_b22","series-title":"Advances in Neural Information Processing Systems","article-title":"SciCode: A research coding benchmark curated by scientists","author":"Tian","year":"2024"},{"key":"10.1016\/j.aei.2026.105328_b23","unstructured":"T.Y. Zhuo, M.C. Vu, J. Chim, H. Hu, W. Yu, R. Widyasari, I.N.B. Yusuf, H. Zhan, et al., BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions, in: International Conference on Learning Representations, 2025."},{"key":"10.1016\/j.aei.2026.105328_b24","series-title":"Advances in Neural Information Processing Systems","article-title":"Retrieval-augmented generation for knowledge-intensive NLP tasks","volume":"Vol. 33","author":"Lewis","year":"2020"},{"key":"10.1016\/j.aei.2026.105328_b25","doi-asserted-by":"crossref","unstructured":"F. Zhang, B. Chen, Y. Zhang, J. Keung, J. Liu, D. Zan, Y. Mao, J.-G. Lou, et al., RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation, in: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023, pp. 2471\u20132484.","DOI":"10.18653\/v1\/2023.emnlp-main.151"},{"key":"10.1016\/j.aei.2026.105328_b26","series-title":"Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)","first-page":"7036","article-title":"Adaptive-RAG: Learning to adapt retrieval-augmented large language models through question complexity","author":"Jeong","year":"2024"},{"key":"10.1016\/j.aei.2026.105328_b27","doi-asserted-by":"crossref","unstructured":"Z. Jiang, F.F. Xu, L. Gao, Z. Sun, Q. Liu, J. Dwivedi-Yu, Y. Yang, J. Callan, G. Neubig, Active Retrieval Augmented Generation, in: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023, pp. 7969\u20137992.","DOI":"10.18653\/v1\/2023.emnlp-main.495"},{"key":"10.1016\/j.aei.2026.105328_b28","unstructured":"A. Asai, Z. Wu, Y. Wang, A. Sil, H. Hajishirzi, Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection, in: The Twelfth International Conference on Learning Representations, 2024."},{"key":"10.1016\/j.aei.2026.105328_b29","series-title":"ToolLLM: Facilitating large language models to master 16000+ real-world APIs","author":"Qin","year":"2023"},{"key":"10.1016\/j.aei.2026.105328_b30","series-title":"API-bank: A comprehensive benchmark for tool-augmented LLMs","author":"Li","year":"2023"},{"key":"10.1016\/j.aei.2026.105328_b31","series-title":"Teaching large language models to self-debug","author":"Chen","year":"2023"},{"key":"10.1016\/j.aei.2026.105328_b32","series-title":"Advances in Neural Information Processing Systems","article-title":"Self-refine: Iterative refinement with self-feedback","volume":"Vol. 36","author":"Madaan","year":"2023"},{"key":"10.1016\/j.aei.2026.105328_b33","series-title":"Enhancing LLMs for power system simulations: A feedback-driven multi-agent framework","author":"Jia","year":"2024"},{"key":"10.1016\/j.aei.2026.105328_b34","unstructured":"C.E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, K. Narasimhan, SWE-bench: Can Language Models Resolve Real-World GitHub Issues?, in: International Conference on Learning Representations, 2024."},{"key":"10.1016\/j.aei.2026.105328_b35","series-title":"ElecBench: A power dispatch evaluation benchmark for large language models","author":"Zhou","year":"2024"},{"key":"10.1016\/j.aei.2026.105328_b36","series-title":"2024 IEEE Workshop on Energy Data Visualization","first-page":"12","article-title":"ChatGrid: Power grid visualization empowered by large language model","author":"Jin","year":"2024"},{"issue":"6","key":"10.1016\/j.aei.2026.105328_b37","doi-asserted-by":"crossref","first-page":"5965","DOI":"10.1109\/TPWRS.2023.3315543","article-title":"On the potential of ChatGPT to generate distribution systems for load flow studies using OpenDSS","volume":"38","author":"Bonadia","year":"2023","journal-title":"IEEE Trans. Power Syst."},{"key":"10.1016\/j.aei.2026.105328_b38","series-title":"Enabling large language models to perform power system simulations with previously unseen tools: A case of Daline","author":"Jia","year":"2024"},{"key":"10.1016\/j.aei.2026.105328_b39","doi-asserted-by":"crossref","DOI":"10.1016\/j.epsr.2024.111279","article-title":"Statistical techniques in power systems fault diagnostic: Classifications, challenges, and strategic recommendations","volume":"239","author":"Abbasi","year":"2025","journal-title":"Electr. Power Syst. Res."},{"key":"10.1016\/j.aei.2026.105328_b40","doi-asserted-by":"crossref","DOI":"10.1016\/j.aei.2025.103196","article-title":"Innovative diagnosis of transformer winding defects using fuzzy and neutrosophic cross entropy measures","volume":"65","author":"Abbasi","year":"2025","journal-title":"Adv. Eng. Inform."},{"key":"10.1016\/j.aei.2026.105328_b41","doi-asserted-by":"crossref","DOI":"10.1016\/j.asoc.2024.112667","article-title":"A data-driven approach to microgrid fault detection and classification using Taguchi-optimized CNNs and wavelet transform","volume":"170","author":"Ar\u00e9valo","year":"2025","journal-title":"Appl. Soft Comput."},{"issue":"9","key":"10.1016\/j.aei.2026.105328_b42","doi-asserted-by":"crossref","first-page":"686","DOI":"10.1007\/s11760-025-04281-7","article-title":"Enhanced YOLO-IASE for robust safety inspection in complex substation environments","volume":"19","author":"Jiang","year":"2025","journal-title":"Signal Image Video Process."},{"issue":"3","key":"10.1016\/j.aei.2026.105328_b43","doi-asserted-by":"crossref","first-page":"673","DOI":"10.3390\/en19030673","article-title":"A unified online assessment framework for pre-fault and post-fault dynamic security","volume":"19","author":"Li","year":"2026","journal-title":"Energies"},{"key":"10.1016\/j.aei.2026.105328_b44","article-title":"Scenario equivalent decoupling-based optimal cost control strategy for power systems considering N-1 security and uncertainties","author":"Wang","year":"2026","journal-title":"IEEE Trans. Ind. Inform."},{"issue":"13","key":"10.1016\/j.aei.2026.105328_b45","doi-asserted-by":"crossref","first-page":"14427","DOI":"10.1007\/s11227-023-05214-2","article-title":"Energy cost optimization in distribution network considering hybrid electric vehicle and photovoltaic using modified whale optimization algorithm","volume":"79","author":"Zadehbagheri","year":"2023","journal-title":"J. Supercomput."},{"issue":"2","key":"10.1016\/j.aei.2026.105328_b46","doi-asserted-by":"crossref","first-page":"1740","DOI":"10.1109\/TMTT.2025.3627439","article-title":"Generative AI for planar substrate integrated waveguide microwave filters: Autonomous circuit synthesis with coupling-controlled topology generation","volume":"74","author":"Zhang","year":"2026","journal-title":"IEEE Trans. Microw. Theory Tech."},{"key":"10.1016\/j.aei.2026.105328_b47","doi-asserted-by":"crossref","first-page":"4637","DOI":"10.1109\/TON.2026.3677371","article-title":"MoE2: Optimizing collaborative inference for edge large language models","volume":"34","author":"Jin","year":"2026","journal-title":"IEEE Trans. Netw."},{"issue":"2","key":"10.1016\/j.aei.2026.105328_b48","doi-asserted-by":"crossref","first-page":"694","DOI":"10.1109\/TCC.2025.3559346","article-title":"Breaking the edge: Enabling efficient neural network inference on integrated edge devices","volume":"13","author":"Zhang","year":"2025","journal-title":"IEEE Trans. Cloud Comput."},{"key":"10.1016\/j.aei.2026.105328_b49","doi-asserted-by":"crossref","DOI":"10.1016\/j.apenergy.2025.126670","article-title":"A systematic review of transformers and large language models in the energy sector: Towards agentic digital twins","volume":"401","author":"Antonesi","year":"2025","journal-title":"Appl. Energy"},{"key":"10.1016\/j.aei.2026.105328_b50","doi-asserted-by":"crossref","DOI":"10.1016\/j.apenergy.2025.127076","article-title":"Large language models meet energy systems: Opportunities, challenges, and future perspectives","volume":"403","author":"Zhang","year":"2026","journal-title":"Appl. Energy"},{"key":"10.1016\/j.aei.2026.105328_b51","series-title":"Advances in Neural Information Processing Systems","article-title":"Toolformer: Language models can teach themselves to use tools","volume":"Vol. 36","author":"Schick","year":"2023"},{"key":"10.1016\/j.aei.2026.105328_b52","unstructured":"S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, Y. Cao, ReAct: Synergizing Reasoning and Acting in Language Models, in: International Conference on Learning Representations, 2023."},{"key":"10.1016\/j.aei.2026.105328_b53","unstructured":"W. Liu, X. Huang, X. Zeng, X. Hao, S. Yu, D. Li, S. Wang, W. Gan, et al., ToolACE: Winning the Points of LLM Function Calling, in: International Conference on Learning Representations, 2025."},{"key":"10.1016\/j.aei.2026.105328_b54","series-title":"CodeUpdateArena: Benchmarking knowledge editing on API updates","author":"Liu","year":"2024"},{"issue":"10","key":"10.1016\/j.aei.2026.105328_b55","doi-asserted-by":"crossref","first-page":"420","DOI":"10.3390\/systems12100420","article-title":"Dynamic multi-granularity translation system: DAG-structured multi-granularity representation and self-attention","volume":"12","author":"Lv","year":"2024","journal-title":"Systems"},{"key":"10.1016\/j.aei.2026.105328_b56","doi-asserted-by":"crossref","first-page":"350","DOI":"10.1007\/s00530-024-01568-6","article-title":"KTMN: Knowledge-driven two-stage modulation network for visual question answering","volume":"30","author":"Shi","year":"2024","journal-title":"Multimedia Syst."},{"issue":"4","key":"10.1016\/j.aei.2026.105328_b57","first-page":"333","article-title":"The probabilistic relevance framework: BM25 and beyond","volume":"3","author":"Robertson","year":"2009","journal-title":"Found. Trends Inf. Retr."},{"key":"10.1016\/j.aei.2026.105328_b58","doi-asserted-by":"crossref","unstructured":"N. Reimers, I. Gurevych, Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks, in: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, 2019, pp. 3982\u20133992.","DOI":"10.18653\/v1\/D19-1410"},{"key":"10.1016\/j.aei.2026.105328_b59","series-title":"Advances in Neural Information Processing Systems","first-page":"601","article-title":"Correcting sample selection bias by unlabeled data","volume":"Vol. 19","author":"Huang","year":"2007"},{"issue":"1","key":"10.1016\/j.aei.2026.105328_b60","doi-asserted-by":"crossref","first-page":"12","DOI":"10.1109\/TPWRS.2010.2051168","article-title":"MATPOWER: Steady-state operations, planning, and analysis tools for power systems research and education","volume":"26","author":"Zimmerman","year":"2011","journal-title":"IEEE Trans. Power Syst."},{"issue":"2","key":"10.1016\/j.aei.2026.105328_b61","doi-asserted-by":"crossref","first-page":"1373","DOI":"10.1109\/TPWRS.2020.3017019","article-title":"Hybrid symbolic-numeric framework for power system modeling and analysis","volume":"36","author":"Cui","year":"2021","journal-title":"IEEE Trans. Power Syst."}],"container-title":["Advanced Engineering Informatics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/api.elsevier.com\/content\/article\/PII:S1474034626010207?httpAccept=text\/xml","content-type":"text\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/api.elsevier.com\/content\/article\/PII:S1474034626010207?httpAccept=text\/plain","content-type":"text\/plain","content-version":"vor","intended-application":"text-mining"}],"deposited":{"date-parts":[[2026,11,27]],"date-time":"2026-11-27T06:09:54Z","timestamp":1795759794000},"score":1,"resource":{"primary":{"URL":"https:\/\/linkinghub.elsevier.com\/retrieve\/pii\/S1474034626010207"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2027,1]]},"references-count":61,"alternative-id":["S1474034626010207"],"URL":"https:\/\/doi.org\/10.1016\/j.aei.2026.105328","relation":{},"ISSN":["1474-0346"],"issn-type":[{"value":"1474-0346","type":"print"}],"subject":[],"published":{"date-parts":[[2027,1]]},"assertion":[{"value":"Elsevier","name":"publisher","label":"This article is maintained by"},{"value":"Knowledge boundary probing and demand-guided intervention for LLM-based power system code generation","name":"articletitle","label":"Article Title"},{"value":"Advanced Engineering Informatics","name":"journaltitle","label":"Journal Title"},{"value":"https:\/\/doi.org\/10.1016\/j.aei.2026.105328","name":"articlelink","label":"CrossRef DOI link to publisher maintained version"},{"value":"article","name":"content_type","label":"Content Type"},{"value":"\u00a9 2026 The Authors. Published by Elsevier Ltd.","name":"copyright","label":"Copyright"}],"article-number":"105328"}}