3  Model inputs

This chapter serves as a central reference for all input parameters used in ERAHUMED simulations. Parameters are grouped into four categories:

Note: The Type column and, to some extent, the Description fields in Table 3.1 refer to the internal structures and conventions of the {erahumed} R package, which is presented in detail in Chapter 9 and references therein. However, the Description generally conveys the intended meaning and usage of each parameter, regardless of whether the user is interacting through the R package or the Shiny interface. Users of the Shiny GUI do not need to understand the R-specific details, as the interface provides appropriate input controls and guidance.

3.1 Landscape parameters

Table 3.1: ERAHUMED input parameters: Landscape
Parameter Name Unit Group Type Description
date_start Start Date N/A General Date(1) A single-value Date vector (or a convertible object). Defines the starting date of the date interval for the simulation.
date_end End Date N/A General Date(1) A single-value Date vector (or a convertible object). Defines the ending date of the date interval for the simulation.
seed Simulation random seed N/A General numeric(1) Seed for random number generation used by the simulation algorithms.
outflows_df Lake outflows and levels data frame N/A Hydrology data.frame Time-series dataset that provides the observational hydrological data on the Albufera lake, along the template of albufera_outflows (the default value).
storage_curve_slope_m2 Storage curve slope Hydrology numeric(1) Slope of the (linear) storage curve of the Albufera Lake, in square meters. Multiplying this value by the change in the lake’s water level gives the corresponding change in water volume. The default numeric values are derived from the CHJ report Modelo de seguimiento de l’Albufera de Valencia con AQUATOOLDMA.
storage_curve_intercept_m3 Storage curve intercept Hydrology numeric(1) Intercept of the linear storage curve for the Albufera Lake, expressed in cubic meters. This value represents the lake’s water volume when the water level is at sea level. The default numeric values are derived from the CHJ report Modelo de seguimiento de l’Albufera de Valencia con AQUATOOLDMA.
petp_surface_m2 PET surface Hydrology numeric(1) The surface area (in square meters) used to convert precipitation and evapotranspiration per unit area into volume changes for the Albufera Lake. The default numeric value was computed by the package authors and corresponds to the average flooded surface of the Albufera lake and its irrigation ditches.
weather_df Weather data frame N/A Meteorology data.frame A dataset that provides the relevant metereological time series, along the template of albufera_weather (the default value).
ideal_flow_rate_cm Ideal flow rate cm Environmental properties numeric(1) Ideal inflow/outflow of a cluster, for days in which the cluster is scheduled to be in flux (i.e. when being simultaneously irrigated and drained). Expressed in centimeters of water depth per day.
height_thresh_cm Cluster Height Threshold cm Environmental properties numeric(1) A positive number. Height threshold for water levels, below which a cluster is considered to be emptied.
ditch_level_m Ditch water level m Environmental properties numeric(1) Constant water depth in ditches.
covmax Max interception potential 1 Environmental properties numeric(1) A number between 0 and 1. Maximum potential fraction of applied chemicals intercepted by foliage at crop maturation.
jgrow Maturation cycle length day Environmental properties numeric(1) A positive integer. Length (in days) of crop maturation cycle in rice paddies.
dact_m Depth of active sediment m Environmental properties numeric(1) A positive number. Active sediment layer depth, where “active”” refers to the portion of the sediment that is actually involved in chemical exchange or transport processes. Expressed in meters.
css_ppm Suspended solid concentration ppm Environmental properties numeric(1) A positive number. Concentration of water suspended solids, expressed in parts per million.
foc_ss Fraction of organic content in suspended solid 1 Environmental properties numeric(1) A number between 0 and 1. Fraction of organic matter content within suspended solids.
foc_sed Fraction of organic content in sediment 1 Environmental properties numeric(1) A number between 0 and 1. Fraction of organic matter content within sediment.
bd_g_cm3 Bulk density of sediment g·cm⁻² Environmental properties numeric(1) A positive number. Bulk density of the sediment (including both the solid material and the pore spaces). Expressed in grams per cubic centimeter.
qseep_m_day Seepage rate m·day⁻¹ Environmental properties numeric(1) A positive number. Seepage rate, i.e. the rate at which water seeps through the sediment or soil. Expressed in meters per day.
porosity Porosity 1 Environmental properties numeric(1) A number between 0 and 1. The fraction of the total sediment volume that is occupied by pore spaces.
rfms_map Map of rice field management systems N/A Agrochemical management erahumed_rfms_map An object of class rfms_map that defines how different rice field management systems (RFMSs) are assigned to spatial clusters within the simulation. This object also encapsulates the full set of user-defined agrochemical configurations, including custom chemicals and RFMSs, and serves as the main interface for scenario customization. See rfms for an overview of RFMS definitions and customization options.

3.1.1 Observational inputs: hydrology and weather

Hydrological and meteorological data provide the empirical starting point for ERAHUMED simulations. These observational inputs are supplied as data frames and are used to drive the water balance, pesticide transport, and evapotranspiration dynamics in the model.

Users working with historical scenarios are encouraged to provide real-world data from the corresponding time period, enabling retrospective simulations under observed environmental conditions. Conversely, for future or hypothetical scenarios, users may define synthetic datasets that reflect the expected or desired characteristics of the scenario—e.g., altered rainfall regimes or management-induced changes in outflow patterns.

By default, ERAHUMED includes representative data covering a typical agricultural year in the Albufera Natural Park:

  • Hydrological data (outflows_df) are derived from continuous measurements of water outflows and lake levels, provided by the Confederación Hidrográfica del Júcar (CHJ). These records can be accessed through the CHJ hydrological data portal.

  • Meteorological data (weather_df) originate from the Benifaió weather station, operated by the Instituto Valenciano de Investigaciones Agrarias (IVIA). This station is considered representative of the local climate within the park. Historical meteorological records are publicly available at the IVIA website.

We detail below the format and required fields for each of these data frames.

3.1.1.1 Lake outflows and levels data frame

Time-series dataset that provides the observational hydrological data on the Albufera lake, along the template of albufera_outflows (the default value).

Lake outflows and levels data frame [one row per day in the desired study frame.]
Column Description
date Date of measurement
level_m Lake level (meters above sea level)
outflow_pujol_m3_s Outflow at Pujol (cubic meters per second)
outflow_perellonet_m3_s Outflow at Perellonet (cubic meters per second)
outflow_perello_m3_s Outflow at Perello (cubic meters per second)

3.1.1.2 Weather data frame

A dataset that provides the relevant metereological time series, along the template of albufera_weather (the default value).

Weather data frame [one row per day in the desired study frame.]
Column Description
date Date of measurement
temperature_ave Daily average temperature (degrees Celsius)
temperature_min Daily minimum temperature (degrees Celsius)
temperature_max Daily maximum temperature (degrees Celsius).
precipitation_mm Daily precipitation (millimeters).
evapotranspiration_mm Daily evapotranspiration (millimeters).

3.2 Chemical parameters

Table 3.2: ERAHUMED input parameters: Chemicals
Parameter Name Unit Group Type Description
display_name Chemical display name N/A Chemical identity character(1) The common name of the chemical (e.g., “Acetamiprid”).
tmoa_id Toxic mode of action ID N/A Chemical identity character(1) Identifier for the toxic mode of action (e.g., “NicotinicAcetylcholine”).
MW Molecular weight g/mol Physicochemical properties numeric(1) Molecular weight in grams per mole.
ksetl_m_day Settling rate m/day Transport parameters numeric(1) Settling rate, representing particle-bound transfer to sediment.
sol_ppm Solubility ppm Physicochemical properties numeric(1) Water solubility.
koc_cm3_g Koc cm ³ /g Sorption numeric(1) Organic carbon-water partition coefficient (Koc).
fet_cm Foliar extraction term 1/cm Transport parameters numeric(1) Fraction of pesticide washed off from foliage per cm of rainfall.
kf_day Foliage degradation rate 1/day Degradation numeric(1) Degradation rate in foliage.
kw_day Water column degradation rate 1/day Degradation numeric(1) Degradation rate in the water column.
ks_sat_day Saturated sediment degradation rate 1/day Degradation numeric(1) Degradation rate in saturated sediment.
ks_unsat_day Unsaturated sediment degradation rate 1/day Degradation numeric(1) Degradation rate in unsaturated sediment.
kw_temp Water degradation reference temp. ° C Degradation numeric(1) Reference temperature for kw_day.
ks_sat_temp Sat. sediment degradation ref. temp. ° C Degradation numeric(1) Reference temperature for ks_sat_day.
ks_unsat_temp Unsat. sediment degradation ref. temp. ° C Degradation numeric(1) Reference temperature for ks_unsat_day.
Q10_kw Q10 for water degradation N/A Degradation numeric(1) Q10 coefficient for temperature correction of degradation in water.
Q10_ks_sat Q10 for sat. sediment degradation N/A Degradation numeric(1) Q10 coefficient for temperature correction in saturated sediment.
Q10_ks_unsat Q10 for unsat. sediment degradation N/A Degradation numeric(1) Q10 coefficient for temperature correction in unsaturated sediment.
ssd_acute_mu SSD acute mean (log10) N/A Toxicity numeric(1) Mean (log10 scale) of the acute species sensitivity distribution.
ssd_acute_sigma SSD acute std. deviation (log10) N/A Toxicity numeric(1) Standard deviation (log10 scale) of the acute species sensitivity distribution.
ssd_chronic_mu SSD chronic mean (log10) N/A Toxicity numeric(1) Mean (log10 scale) of the chronic species sensitivity distribution.
ssd_chronic_sigma SSD chronic std. deviation (log10) N/A Toxicity numeric(1) Standard deviation (log10 scale) of the chronic species sensitivity distribution.

3.3 RFMS parameters

Table 3.3: ERAHUMED input parameters: Rice-Field Management Systems
Parameter Name Unit Group Type Description
sowing_yday Start of sowing season N/A Calendar integer(1) Day of the year marking the start of the sowing season (1–366, assuming a leap year).
harvesting_yday End of sowing season N/A Calendar integer(1) Day of the year marking the end of the sowing season (1–366, assuming a leap year).
perellona_start_yday Start of Perellona N/A Calendar integer(1) Day of the year marking the beginning of the Perellona flooding period (after harvest).
perellona_end_yday End of Perellona N/A Calendar integer(1) Day of the year marking the end of the Perellona flooding period (before sowing).
flow_height_cm Target water level (sowing) cm Hydrology numeric(1) Target water level (in cm) during the regular days of the sowing season, excluding emptying and transition days.
perellona_height_cm Target water level (Perellona) cm Hydrology numeric(1) Target water level (in cm) during the Perellona flooding period.
display_name Display name N/A Metadata character(1) Name of the management system to be displayed in output plots and summaries.

3.4 Chemical application parameters

Table 3.4: ERAHUMED input parameters: Chemical Applications
Parameter Name Unit Group Type Description
system RFMS object N/A Input object erahumed_rfms A rice field management system to which the application is added. See [rfms] for details.
chemical Chemical N/A Chemical erahumed_chemical Chemical compound to be applied. See [chemical] for details.
amount_kg_ha Application rate kg/ha Application numeric(1) Amount of active ingredient applied per hectare.
seed_day Application day after seeding days Application integer(1) Number of days after seeding when the application is performed.
type Application type N/A Application character(1) Application method, either ‘ground’ (requiring draining) or ‘aerial’.
emptying_days Emptying duration days Application numeric(1) Number of days the field remains empty before a ground application. The chemical is always assumed to be applied on the last day of this emptying period. Ignored if the application type is "aerial".

3.5 Spatial allocation parameters

Table 3.5: ERAHUMED input parameters: Rice-Field surface allocation
Parameter Name Unit Group Type Description
map Cluster map N/A Inputs erahumed_rfms_map A cluster map created with new_rfms_map() or default_rfms_map().
system Management system N/A Inputs erahumed_rfms A management system to assign, created with new_rfms() or helper functions such as bomba() or clearfield().
target_fraction Target allocation fraction 1 Allocation settings numeric(1) The fraction of surface area within the selected subset of clusters (filtered by ditches and field_type) to allocate to the given system. Must be a number between 0 and 1.
ditches Ditches N/A Allocation settings integer A vector of ditch IDs (e.g., 1:26) defining the subset of clusters to be considered for allocation. Defaults to all ditches.
field_type Field type N/A Allocation settings character(1) Type of field to consider when selecting clusters. Must be one of:

  • "regular" – only regular fields
  • "tancat" – only tancats
  • "both" – all field types (default).