Package: RPhosFate 2.0.1

Gerold Hepp

RPhosFate: Soil and Chemical Substance Emission and Transport Model

An enhanced version of the semi-empirical, spatially distributed emission and transport model PhosFate implemented in 'R' and 'C++'. It is based on the D-infinity, but also supports the D8 flow method. The currently available substances are suspended solids (SS) and particulate phosphorus (PP). A major feature is the allocation of substance loads entering surface waters to their sources of origin, which is a basic requirement for the identification of critical source areas and in consequence a cost-effective implementation of mitigation measures. References: Hepp et al. (2022) <doi:10.1016/j.jenvman.2022.114514>; Hepp and Zessner (2019) <doi:10.3390/w11102161>; Kovacs (2013) <http://hdl.handle.net/20.500.12708/9468>.

Authors:Gerold Hepp [aut, cre]

RPhosFate_2.0.1.tar.gz
RPhosFate_2.0.1.tar.gz(r-4.7-arm64)RPhosFate_2.0.1.tar.gz(r-4.7-x86_64)RPhosFate_2.0.1.tar.gz(r-4.6-arm64)RPhosFate_2.0.1.tar.gz(r-4.6-x86_64)
RPhosFate_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RPhosFate/json (API)
NEWS

# Install 'RPhosFate' in R:
install.packages('RPhosFate', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gisler/rphosfate/issues

Pkgdown/docs site:https://gisler.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

cppopenmp

2.70 score 3 scripts 198 downloads 20 exports 6 dependencies

Last updated from:bbd271296e. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK234
linux-devel-x86_64OK205
source / vignettesOK200
linux-release-arm64OK198
linux-release-x86_64OK205
wasm-releaseOK138

Exports:autoCalibrateautoCalibrate2calibrationQualitycatchmentdemoProjectDEMrelatedInputemissionerosionerosionPrerequisitesfirstRungetLayergetParameterimg2tifRPhosFatesaveStatesetParametersnapGaugessubsequentRuntransporttransportPrerequisites

Dependencies:backportscheckmateRcppRcppArmadilloterrayaml

Basic modelling workflow

Rendered frombasicWorkflow.Rmdusingknitr::rmarkdownon May 21 2026.

Last update: 2025-03-22
Started: 2022-09-21

Readme and manuals

Help Manual

Help pageTopics
One dimensional automatic model calibrationautoCalibrate autoCalibrate,RPhosFate-method
Two dimensional automatic model calibrationautoCalibrate2 autoCalibrate2,RPhosFate-method
Calibration qualitycalibrationQuality calibrationQuality,RPhosFate-method
Demonstration projectdemoProject
DEM related inputDEMrelatedInput
Emissionemission emission,RPhosFate-method
Erosionerosion erosion,RPhosFate-method
Erosion prerequisiteserosionPrerequisites erosionPrerequisites,RPhosFate-method
First runfirstRun firstRun,RPhosFate-method
Get layergetLayer getLayer,RPhosFate-method [,RPhosFate,ANY,ANY-method
Get parameter(s)getParameter getParameter,RPhosFate-method
Convert _ERDAS IMAGINE_ to _GeoTIFF_ raster filesimg2tif
Initialise projectcatchment RPhosFate
RPhosFate classRPhosFate-class
Save statesaveState saveState,RPhosFate-method
Set parameter(s)setParameter setParameter,RPhosFate-method
Snap gauge(s)snapGauges snapGauges,RPhosFate-method
Subsequent runsubsequentRun subsequentRun,RPhosFate-method
Transporttransport transport,RPhosFate-method
Transport prerequisitestransportPrerequisites transportPrerequisites,RPhosFate-method