Learn R Programming

PRSim (version 1.5)

Stochastic Simulation of Streamflow Time Series using Phase Randomization

Description

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) . A detailed description and evaluation of the wavelet-based multi-site approach can be found in Brunner and Gilleland (2020) . A detailed description and evaluation of the multi-variable and multi-site weather generator can be found in Brunner et al. (2021) . A detailed description and evaluation of the non-stationary streamflow generator can be found in Brunner and Gilleland (2024) .

Copy Link

Version

Install

install.packages('PRSim')

Monthly Downloads

248

Version

1.5

License

GPL-3

Maintainer

Manuela Brunner

Last Published

April 8th, 2024

Functions in PRSim (1.5)

PRSim-package

tools:::Rd_package_title("PRSim")
pRsim.wave.nonstat

Simulate for multiple stations under non-stationary conditions
pRsim.weather

Weather simulation (temperature and precipitation) for multiple stations
pRsim

Simulate for one station
runoff_multi_sites

Sample runoff of four catchments with a similar discharge regime
runoff

Sample runoff of a catchment
weather_sim_multi_sites

Simulated temperature and precipitation for two grid cells
weather_multi_sites

Sample temperature and precipitation of four catchments derived from the ERA5-Land gridded dataset
runoff_multi_site_T

Sample runoff and temperature data of two catchments with a similar discharge regime
pRsim.wave

Simulate for multiple stations
simulations

Simulated runoff
simulations_multi_sites

Simulated runoff for four catchments