Перейти к содержимому

Power Flow Coding with AI - Two Bus Example

Dr. David Lubkeman

0:00 / 0:00

Power Flow Coding with AI - Two Bus Example

1 056 просмотров · 2 года назад
Dr. David Lubkeman
3,5 тыс. подписчиков
1 056 просмотров · 2 года назад
Generative AI is utilized to develop Python code for a two-bus power flow. Starts with review of power flow modeling and equation development for a two-bus power system with source, line and load. Then three examples using ChatGPT are provided for prompt inputs consisting of (i) minimal program requirements (ii) detailed program requirements and finally (iii) detailed program flowchart. Concludes with summarization of pros and cons of each approach. The code examples are provided in a Jupyter notebook format as well as a Python code export of the notebook cells. Both files can be downloaded at the channel Github site: https://github.com/DavidLubkeman/Powe... Other useful links: Installation of Jupyter notebook - https://jupyter.org/install Installation of data science environment that includes Jupyter notebook - https://www.anaconda.com/download/ ChatGPT account - https://openai.com/chatgpt/ 0:00 Introduction 0:24 Power Flow Model 4:09 Power Flow Equations 6:18 Two-Bus Test Case 7:04 Generative AI Overview 8:05 Example Scenarios 8:50 Example 1 - Minimal Requirements 15:35 Example 2 - Detailed Requirements 18:44 Example 3 - Flowchart 21:25 Summary