Easily Build, Simulate, and Visualise Stock-and-Flow Models
Remainder and modulus
Round Half-Up (as in Insight Maker)
Create step function
Print overview of stock-and-flow model
Length of vector or string
View all standard units
Check if user has internet
Convert unit in equation
Create data frame of simulation results
Convert stock-and-flow model to data frame
Create, modify or remove variables
Clean variable name(s)
Check if needle is in haystack
Debug stock-and-flow model
Drop unit in equation
Run ensemble simulations
Expit function
Save plot to a file
Find dependencies
Generate code to build stock-and-flow model
Get regular expressions for time units in Julia
Get regular expressions for units in Julia
Modify header of stock-and-flow model
Find index of needle in haystack
Import Insight Maker model
Install, update, or remove Julia environment
Check status of Julia installation and environment
Logistic function
Logit function
Create, modify or remove a global variable or function
Create, modify or remove custom units
Safely check whether x is less than zero
Plot timeseries of ensemble
Plot timeseries of simulation
Plot stock-and-flow diagram
Print method for summary.sdbuildR_xmile
Create pulse function
Create ramp function
Generate random logical value
Generate random number from custom distribution
Internal function to save data frame at specific times
Create a seasonal wave function
Modify simulation specifications
Simulate stock-and-flow model
Check or translate between deSolve and Julia DifferentialEquations sol...
Specify unit in equations
Show unit prefixes
Extract Insight Maker model from URL
Start Julia and activate environment
Set up threaded ensemble simulations
Create a new stock-and-flow model
Stock-and-flow models are a computational method from the field of system dynamics. They represent how systems change over time and are mathematically equivalent to ordinary differential equations. 'sdbuildR' (system dynamics builder) provides an intuitive interface for constructing stock-and-flow models without requiring extensive domain knowledge. Models can quickly be simulated and revised, supporting iterative development. 'sdbuildR' simulates models in 'R' and 'Julia', where 'Julia' offers unit support and large-scale ensemble simulations. Additionally, 'sdbuildR' can import models created in 'Insight Maker' (<https://insightmaker.com/>).
Useful links