CRAN/E | PRSim

PRSim

Stochastic Simulation of Streamflow Time Series using Phase Randomization

Installation

About

Provides a simulation framework to simulate streamflow time series with similar main characteristics as observed data. These characteristics include the distribution of daily streamflow values and their temporal correlation as expressed by short- and long-range dependence. The approach is based on the randomization of the phases of the Fourier transform or the phases of the wavelet transform. The function prsim() is applicable to single site simulation and uses the Fourier transform. The function prsim.wave() extends the approach to multiple sites and is based on the complex wavelet transform. The function prsim.weather() extends the approach to multiple variables for weather generation. We further use the flexible four-parameter Kappa distribution, which allows for the extrapolation to yet unobserved low and high flows. Alternatively, the empirical or any other distribution can be used. A detailed description of the simulation approach for single sites and an application example can be found in Brunner et al. (2019) doi:10.5194/hess-23-3175-2019. A detailed description and evaluation of the wavelet-based multi-site approach can be found in Brunner and Gilleland (2020) doi:10.5194/hess-24-3967-2020. A detailed description and evaluation of the multi-variable and multi-site weather generator can be found in Brunner et al. (2021) doi:10.5194/esd-12-621-2021. A detailed description and evaluation of the non-stationary streamflow generator can be found in Brunner and Gilleland (2024) doi:10.1029/2023EF004238.

git.math.uzh.ch/reinhard.furrer/PRSim-devel
Bug report File report

Key Metrics

Version 1.5
R ≥ 3.5.0
Published 2024-04-08 24 days ago
Needs compilation? yes
License GPL-3
CRAN checks PRSim results

Downloads

Yesterday 7 0%
Last 7 days 72 -32%
Last 30 days 430 +40%
Last 90 days 1.005 -9%
Last 365 days 3.698 +29%

Maintainer

Maintainer

Manuela Brunner

manuela.brunner@env.ethz.ch

Authors

Manuela Brunner

aut / cre

Reinhard Furrer

aut

R Core Teamn

ctb / cph

(ks_test.c)

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

PRSim archive

Depends

R ≥ 3.5.0

Imports

stats
methods
lmomco
mev
goftest
wavScalogram
splus2R

Suggests

lattice
ismev
evd
GB2
boot
MASS