University of Saskatchewan
Enabling Compositional System Dynamics Modeling via Category Theory
Abstract
dc:description.abstractThis dissertation develops a novel, modular, compositional, and relational framework for System Dynamics (SD) modeling, leveraging the higher mathematics of Applied Category Theory (ACT). System Dynamics, a methodology for understanding and managing complex systems over time, has been widely used in various fields such as public health, business, and environmental management. Despite its strengths, traditional SD modeling methods face several critical limitations, including a lack of modularity, inadequate representation of complex relationships, stratification that obscures model transparency, rigid coupling of model syntax and semantics, and limited support for model composition and reuse. These challenges hinder the scalability, flexibility, and accuracy of models, especially for large or interdisciplinary systems. To address these limitations, this dissertation introduces a new framework based on ACT, which provides a mathematical foundation for representing, relating, composing, and stratifying complex systems. Key contributions include the development of a categorical framework for modular representation of commonly used SD tools such as Causal Loop Diagrams, System Structure Diagrams, and Stock and Flow Diagrams using co-presheaves; a compositional framework for open systems based on Decorated / Structured Cospans, enabling modular design and reuse; and a separation of graphical syntax (diagrams) from mathematical semantics (e.g., Ordinary Differential Equations), enhancing clarity and adaptability. Additionally, the dissertation defines functor mappings to establish relationships among SD diagrams, introduces a stratification framework for constructing hierarchical models from aggregate structures, and implements these theoretical advancements in the Julia-based software \texttt{StockFlow.jl}. The utility of this framework is demonstrated through several case studies, mainly focused on models of communicable diseases and other models in public health area, highlighting the efficiency and flexibility of the modular approach compared to traditional methods. While addressing many challenges in SD modeling, this dissertation also acknowledges limitations, such as the need for enhanced representation of feedback loops in Causal Loop Diagrams and improved support for stratified systems with complex mixing structures. Future work will aim to refine the mathematical frameworks, enhance software implementation, and explore broader applications across other domains. This research establishes a next-generation SD modeling approach, bridging mathematical rigor and practical utility, and significantly advances the capabilities and scope of System Dynamics for researchers and practitioners in diverse fields.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy (Ph.D.)
- Level thesis:degree_level
- Doctoral
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- University of Saskatchewan
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Li, Xiaoyan
- Advisor dc:contributor.advisor
-
- Osgood, Nathaniel D.
- Committee members dc:contributor.committeemember
-
- Dutchyn, Christopher
- Liu, Juxin
- Weekes, Alex
- Subrahmanian, Eswaran
- ORCID person:identifier.orcid
Subjects
dc:subject × 8Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10388/16983