arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.08373cs.LOcs.MSmath.CTq-bio.PE
收藏

基于存量与流量图的组合式建模

Compositional Modeling with Stock and Flow Diagrams

John Baez, Xiaoyan Li, Sophie Libkind, Nathaniel D. Osgood, Evan Patterson

AI总结:

研究提出基于范畴论的StockFlow包,通过装饰余范畴和无向连线图算体实现存量与流量图的组合式建模,分离语法与语义,并展示了COVID-19模型简化实现。

摘要:

存量与流量图被广泛应用于流行病学中以模拟种群动态。尽管已有工具可用于构建这些图表并模拟其所描述的系统,我们仍创建了一个名为StockFlow的新包。它是AlgebraicJulia生态系统的一部分,利用范畴论的思想来克服现有软件的显著局限性。组合性由装饰余范畴理论提供:存量与流量图可以通过无向连线图的算体形式化的直观方式组合成更大的图。我们的方法还清晰地将存量与流量图的语法与其可赋予的语义分离开来。我们考虑了常微分方程中的语义,尽管其他语义也是可能的。作为示例,我们解释了StockFlow中实现加拿大使用的COVID-19模型简化版本的代码。

英文摘要:

Stock and flow diagrams are widely used in epidemiology to model the dynamics of populations. Although tools already exist for building these diagrams and simulating the systems they describe, we have created a new package called StockFlow, part of the AlgebraicJulia ecosystem, which uses ideas from category theory to overcome notable limitations of existing software. Compositionality is provided by the theory of decorated cospans: stock and flow diagrams can be composed to form larger ones in an intuitive way formalized by the operad of undirected wiring diagrams. Our approach also cleanly separates the syntax of stock and flow diagrams from the semantics they can be assigned. We consider semantics in ordinary differential equations, although others are possible. As an example, we explain code in StockFlow that implements a simplified version of a COVID-19 model used in Canada.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑