oneYear_matrix: Creates a matrix with all Input Data for one year...

View source: R/fcr_prepare_data.R

oneYear_matrixR Documentation

Creates a matrix with all Input Data for one year Concentration calculation

Description

The information of the Excel input files are used to prepare a Monte Carlo based data input for the calculation of a yearly concentration dynamic.

Usage

oneYear_matrix(dat, c_i, nFields, use_mixing_factor = FALSE)

Arguments

dat

List with all the input variables. This list is produced by function read_fcr_input() from the Excel sheets.

c_i

The initial concentration before fertilizer application

nFields

The number Monte Carlo Simulations. This can be seen as different agriculatural fields with different charactersitics.

use_mixing_factor

If TRUE, a mixing factor for porewater dilution by unpolluted groundwater is used to get the Risk quotient for Groundwater. The defahutl is FALSE. In that case pore water concentration is identical with groundwater concentration as is the approach in the Technical Guidance Document

Details

The pollutant concentration at t = 0 (c_0) already includes the fertilizer application

Value

A Matrix with all available input data for the Assessment. The columns represent the input variabls, the rows correspond to the definied number of fields aka. number of Monte Carlo cycles.


KWB-R/kwb.fcr documentation built on Nov. 14, 2023, 5:17 a.m.