Movatterモバイル変換


[0]ホーム

URL:


sdbuildR:Easily Build, Simulate, and Visualise Stock-and-Flow Models in R

R-CMD-checkCodecov test coverageCRAN status

Model systems as stock-and-flow models in R. Stock-and-flow modelsare foundational to system dynamics, and help to understand systemscomplicated by nonlinearities, delays, and feedback loops. sdbuildR aimsto make stock-and-flow modeling accessible and effortless, enabling youto dedicate your expertise to what matters most: building insightful,high-quality models. Get started athttps://kcevers.github.io/sdbuildR/!

Features

All package capabilities are described in the vignettes:

Installation

The release version can be installed from CRAN:

install.packages("sdbuildR")

The development version can be installed from GitHub:

if (!require("remotes"))install.packages("remotes")remotes::install_github("KCEvers/sdbuildR")

sdbuildR offers two simulation engines: R and Julia (supported byJuliaConnectoR).If you would like to run ensemble simulations and use units, you willneed to install and set up the Julia environment. Seethisvignette for guidance.

Citation

To cite sdbuildR, please use:

citation("sdbuildR")#> To cite package 'sdbuildR' in publications use:#>#>   Evers K (2025). _sdbuildR: Easily Build, Simulate, and Visualise#>   Stock-and-Flow Models_. R package version 1.0.7.9000,#>   https://github.com/KCEvers/sdbuildR,#>   <https://kcevers.github.io/sdbuildR/>.#>#> A BibTeX entry for LaTeX users is#>#>   @Manual{,#>     title = {sdbuildR: Easily Build, Simulate, and Visualise Stock-and-Flow Models},#>     author = {Kyra Caitlin Evers},#>     year = {2025},#>     note = {R package version 1.0.7.9000, https://github.com/KCEvers/sdbuildR},#>     url = {https://kcevers.github.io/sdbuildR/},#>   }

Limitations

Other system dynamicssoftware

sdbuildR is heavily based on common system dynamics software such asVensim,Powersim,Stella, andInsight Maker. To translate xmilemodels to R, see the R packagereadsdr. To buildstock-and-flow models with the R packagedeSolve, the bookSystemDynamics Modeling with R by Jim Duggan will prove useful. In Python,stock-and-flow models are supported byPySD.

Troubleshooting

sdbuildR is under active development. While thoroughly tested, thepackage may have bugs, particularly in complex model translations. Weencourage users to reportissues on GitHub -your input helps the package improve! Usedebugger() todiagnose model errors, and use the vignettes for guidance.


[8]ページ先頭

©2009-2025 Movatter.jp