Electronic Proceedings in Theoretical Computer Science · 2023 · 12 citations · 14 references
ArchitectureComputer ScienceMathematicsBiological Systems ModelingDiagrammingDynamical SystemsCategory TheoryComplex Systems ModelingDiagrammatic RepresentationGraphical RepresentationPopulation Dynamics ModelingSystem DiagramsCategory-theoretic DiagramsComposition ModelingCompositional ModelingFlow DiagramsGraphical Representation Of ModelsModel Composition SemanticsStock DiagramsWiring Diagrams
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.
14
Julia: A Fresh Approach to Numerical Computing
Jeff Bezanson, Alan Edelman, Stefan Karpinski et al. · SIAM Review · 2017 · 6.3K citations
Learning in and about complex systems
John D. Sterman · System Dynamics Review · 1994 · 1.3K citations
An application of the theory of probabilities to the study of a priori pathometry.—Part I
Ronald Ross · Proceedings of the Royal Society of London Series A Containing Papers of a Mathematical and Physical Character · 1916 · 480 citations · Full text
Veterinary Medicine, Infectious Diseases, Cancer Epidemiology +10