ChatPySD: Embedding and Simulating System Dynamics Models in ChatGPT‐4
Bo Hu
System Dynamics Review, 2025, vol. 41, issue 1
Abstract:
This paper presents a novel approach for seamlessly integrating system dynamics models into the ChatGPT‐4 conversational AI. By transforming system dynamics models with PySD and embedding them into ChatGPT's conversational context, users can explore even complex models through natural language interactions. ChatGPT‐4 is capable of running simulations based on user‐provided parameters and offering explanations and analyses of the simulation results, leveraging its extensive knowledge base. Because of the constraints of ChatGPT's analytical and computational capacity, it is crucial to provide additional essential information alongside the system dynamics model and to thoroughly verify and implement ChatGPT's responses. ChatGPT, in turn, can dynamically generate executable Python code, creating a bidirectional interface that empowers modelers to engage with ChatGPT using programming languages. This complements existing natural language and image‐based interactions, enhancing the overall efficiency of communication. Successfully integrating system dynamics models with ChatGPT not only makes the models more accessible but also enhances various aspects of system dynamics, including modeling, simulation, discussion, and education. Furthermore, the inherent rigor and transparency of system dynamics models can be extended to ChatGPT conversations, thereby expanding ChatGPT's capabilities.
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://doi.org/10.1002/sdr.1797
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:bla:sysdyn:v:41:y:2025:i:1:n:e1797
Ordering information: This journal article can be ordered from
http://www.blackwell ... bs.asp?ref=0883-7066
Access Statistics for this article
More articles in System Dynamics Review from System Dynamics Society
Bibliographic data for series maintained by Wiley Content Delivery ().