From 619cb5e92cfe72bbf0ff96206cf183a9f542905e Mon Sep 17 00:00:00 2001 From: Pepijn van Oort Date: Fri, 16 Feb 2024 14:36:10 +0100 Subject: [PATCH] small updates on KPIdefinitions.csv & TODO.txt --- FarmmapsKPI/KPIApplication.cs | 4 ++-- FarmmapsKPI/KPIdefinitions.csv | 28 ++++++++++++++++++++-------- FarmmapsKPI/TODO.txt | 8 ++++---- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/FarmmapsKPI/KPIApplication.cs b/FarmmapsKPI/KPIApplication.cs index 0416615..92be0ab 100644 --- a/FarmmapsKPI/KPIApplication.cs +++ b/FarmmapsKPI/KPIApplication.cs @@ -87,8 +87,8 @@ namespace FarmmapsKPI TimeSpan tsRemaining; TimeSpan tsTotalEstimated; - //for (int i = 0; i < fieldsInputs.Count; i++) - for (int i = 3; i < 4; i++) + for (int i = 0; i < fieldsInputs.Count; i++) + //for (int i = 3; i < 4; i++) { watch.Restart(); input = fieldsInputs[i]; diff --git a/FarmmapsKPI/KPIdefinitions.csv b/FarmmapsKPI/KPIdefinitions.csv index 556520a..b26da88 100644 --- a/FarmmapsKPI/KPIdefinitions.csv +++ b/FarmmapsKPI/KPIdefinitions.csv @@ -1,12 +1,24 @@ KPIid,KPIvariable,Description -A1,Yield per crop,observed yield (user input) -B1,Nitrogen surplus,Nitrogen surplus = N artifical fertilizer + N manure+ N atmospheric deposition + N fixation by crop - N removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and fertilizer/manure applications. N fixation (legumes only): internal equations. N depostition: RIVM maps -B2,Phosphate surplus,Phosphate surplus = P fertilizer - P removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and fertilizer applications -C1,Effective OM supply,"Organic matter surplus = Organic matter from manure + Crop residues to soil - organic matter removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and manure applications. ""Effective"" means netto, after correction for carbon respiration by soil microbial activity" +A1,yield,observed yield (user input) +B1,nitrogen,Nitrogen surplus = N artifical fertilizer + N manure+ N atmospheric deposition + N fixation by crop - N removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and fertilizer/manure applications. N fixation (legumes only): internal equations. N depostition: RIVM maps +B1,disposal, +B1,nFixationNKgHa, +B1,nDepositionNKgHa, +B1,nFertilizerNKgHa, +B1,sowPlantingNKgHa, +B2,phosphate,Phosphate surplus = P fertilizer - P removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and fertilizer applications +B2,disposal, +B2,pFertillizerNKgHa, +B2,sowPlantingNKgHa, +C1,organic matter supply,"Organic matter surplus = Organic matter from manure + Crop residues to soil - organic matter removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and manure applications. ""Effective"" means netto, after correction for carbon respiration by soil microbial activity" +C1,fertilizerEom, +C1,greenManureEom, +C1,cropLeftoversEom, D1,pesticides,"kg/ha of active ingredient. Sum over kg a.i. of the different crop protection agents applied, with concentration (kg a.i. / kg or litre) of crop protection agents retrieved from CTBG" -E1,mbp,"milieubelastingspunten. 3 Quantitative sub items & 2 Qualitative (A, B, C)" -F1,greenness,? -F2,rotationindex,farmlevel index of diversity of crops +E1,mpb,"milieubelastingspunten. For each pesticide applied show 3 sub-mbp's: aquaticLife, groundWater, soilLife" +E1,mpb, +E1,mpb,? +F1,greenness,farmlevel index of diversity of crops +F2,rotationindex, ,KPItargetvalue,target value as in benchmark value for same crop in same region. E.g. cropyield target is from Central Bureau of Statistics (CBS) for same crop in region in which the cropfield (geometry) is located ,KPIthresholdValue,threshold from ??? Ask farmmaps. Surplus nitrogen / phosphate / pesticides must not be above threshold. Surplus organic matter supply must be above threshold -,totalNapplied,"Not a KPI output, simply calculated from the input operations with their respective ""n"" in their ""data""" diff --git a/FarmmapsKPI/TODO.txt b/FarmmapsKPI/TODO.txt index dfbbb93..fda88ee 100644 --- a/FarmmapsKPI/TODO.txt +++ b/FarmmapsKPI/TODO.txt @@ -30,6 +30,9 @@ Effect of soiltype (e.g. different N concents in crop depending on soiltype? (CL Effect of location (e.g. different atmospheric N deposition). DONE (using KPIinput.json): slightly different N balance +KPIelementsOfBalance: Tamara + a. define elements for C1 organic matter supply + ################################################################################################### # 2. Pending ################################################################################################### @@ -48,8 +51,6 @@ dataOperations: "status": "3": "DataCropfieldCharacteristic": { "code": "860619", //PO20231004: so what does this code mean? Can we see the code list somewhere? NOT YET TESTED -KPIelementsOfBalance: Tamara - a. define elements for C1 organic matter supply DONE b. for nitrogen B1 rename disposal to nHarvestedNKgHa PARTLY c. for phosporous B2 rename disposal to pHarvestedPKgHa PARTLY d. for phosporous B2 rename from pFertilizerNKgHa to pFertilizerPKgHa PARTLY @@ -57,5 +58,4 @@ KPIelementsOfBalance: Tamara f. add straw for N & P in output g. add 2 examples in KPIinput.json: straw yes/no removed. Bijv. nStrawLeftInField EN nStrawRemoved h. update KPIdefinitions.csv - -MBP (E1): Pepijn: in same way as for B1 & B2 + i. for phosporous B2 rename 'cropLeftoversEom' to 'cropResiduesEom' \ No newline at end of file