knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

hbvPSO (R package)

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.

Installation

You can install hbvPSO from github with:

# install.packages("devtools")
devtools::install_github("jthurner/hbvPSO")

Documentation

An online version of the function documentation is available here (under "Reference").

Status

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")


jthurner/hbvPSO documentation built on Oct. 15, 2020, midnight