knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
hbvPSO provides an easy way to apply particle swarm optimization to the HBV rainfall-runoff model. It uses the hydroPSO package for the optimization and the TUWmodel package for the model itself. Input parameters can optionally be supplied as configuration files written in R, and multiple optimization runs can be executed in batches. Contains some helper functions to import data and settings from HBV-light.
Developed at ITT Cologne.
You can install hbvPSO from github with:
# install.packages("devtools") devtools::install_github("jthurner/hbvPSO")
An online version of the function documentation is available here (under "Reference").
This package is still work-in-progress. Using multiple zones does not work reliably at the moment. You might also need to install patched versions of some dependencies to get full functionality:
# required to allow plotting of sim-obs graph: devtools::install_github("jthurner/hydroPSO",ref = "plotting") # adds lnNSE to the objective functions in the sim-obs graph: devtools::install_github("hzambran/hydroGOF",ref = "ggof-lnnse")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.