Implements the P2O5 balance of Fert_Office v1.26 foglio Bilancio.
Usage
P_balance(
expected_yield_tons_ha,
crop,
olsen_value,
olsen_unit = c("P", "P2O5"),
soil_group = NULL,
clay = NULL,
sand = NULL,
advance_P2O5 = 0,
depth_cm = 30
)Arguments
- expected_yield_tons_ha
Expected yield (t/ha).
- crop
Crop name (matches
uptake_table$crop).- olsen_value
Analytical Olsen P (or P2O5) in ppm.
- olsen_unit
"P"or"P2O5", default"P".- soil_group
DPI texture group; if
NULLandclay/sandgiven, derived viacalc_soil_group_and_id_rag()and mapped to Italian Ragg.- clay, sand
Soil clay/sand percentages (%).
- advance_P2O5
Advance anni futuri (default 0 kg/ha).
- depth_cm
Soil depth for enrichment calculation (default 30 cm).