Package for simulation of Stock and Flow models.
See the Poietic Tool for a command-line tool that uses this library to manipulate and run the models.
The library provides the following nodes to form stock-flow models:
- Stock and Flow computation model nodes:
- Stock – value container, accumulator
- Flow – flow of material between stocks
- Auxiliary – stand-alone computation formula or a constant
- Graphical Function – a function defined by a set of 2D (x, y) points
- Visualisation nodes:
- Chart – node representing a chart plotting one or multiple nodes with a computed value
- Solvers:
- Experimental features:
- Delay node – node providing a delay of a value in time
See Metamodel for more information.
The arithmetic expression supports the following built-in functions:
abs(x), floor(x), ceiling(x), round(x), power(x,e),
sum(a,c,...), min(a,b,c,...), max(a,b,c,...).
Supported logical operations and conditionals: if(cond,true_val,false_val),
not(a), or(a,b,...), and(a,b,...).
- See Formulas documentation) for more information.
- Stock and Flow package: PoieticFlows
- Poietic Command-line Tool: repository
- Poietic Core: repository, documentation