mlsanityData to 14 Oct 2026

A Categorical Framework for Modeling with Stock and Flow Diagrams

arXiv 2211.01290 ↗First posted 1 Nov 2022cs.LO cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Stock and flow diagrams are already an important tool in epidemiology, but category theory lets us go further and treat these diagrams as mathematical entities in their own right. In this chapter we use communicable disease models created with our software, StockFlow.jl, to explain the benefits of the categorical approach. We first explain the category of stock-flow diagrams and note the clear separation between the syntax of these diagrams and their semantics, demonstrating three examples of semantics already implemented in the software: ODEs, causal loop diagrams, and system structure diagrams. We then turn to two methods for building large stock-flow diagrams from smaller ones in a modular fashion: composition and stratification. Finally, we introduce the open-source ModelCollab software for diagram-based collaborative modeling. The graphical user interface of this web-based software lets modelers take advantage of the ideas discussed here without any knowledge of their categorical foundations.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 31 references that are in the map. First posted on arXiv 1 Nov 2022.

Builds on

4 of 31 references.

References · 4

  1. 2013The operad of wiring diagrams: formalizing a graphical language for databases, recursion, and plug-and-play circuitscited by 9
  2. 2021Categorical Data Structures for Technical Computingcited by 5
  3. 2022An Algebraic Framework for Structured Epidemic Modelingcited by 3
  4. 2022Compositional Modeling with Stock and Flow Diagramscited by 2

Built on by

Not cited yet.