small updates on KPIdefinitions.csv & TODO.txt

This commit is contained in:
Pepijn van Oort 2024-02-16 14:36:10 +01:00
parent 5399fd66df
commit 619cb5e92c
3 changed files with 26 additions and 14 deletions

View File

@ -87,8 +87,8 @@ namespace FarmmapsKPI
TimeSpan tsRemaining; TimeSpan tsRemaining;
TimeSpan tsTotalEstimated; TimeSpan tsTotalEstimated;
//for (int i = 0; i < fieldsInputs.Count; i++) for (int i = 0; i < fieldsInputs.Count; i++)
for (int i = 3; i < 4; i++) //for (int i = 3; i < 4; i++)
{ {
watch.Restart(); watch.Restart();
input = fieldsInputs[i]; input = fieldsInputs[i];

View File

@ -1,12 +1,24 @@
KPIid,KPIvariable,Description KPIid,KPIvariable,Description
A1,Yield per crop,observed yield (user input) A1,yield,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 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
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 B1,disposal,
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" 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" 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)" E1,mpb,"milieubelastingspunten. For each pesticide applied show 3 sub-mbp's: aquaticLife, groundWater, soilLife"
F1,greenness,? E1,mpb,
F2,rotationindex,farmlevel index of diversity of crops 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 ,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 ,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"""

1 KPIid KPIvariable Description
2 A1 Yield per crop yield observed yield (user input)
3 B1 Nitrogen surplus 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
4 B2 B1 Phosphate surplus disposal Phosphate surplus = P fertilizer - P removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and fertilizer applications
5 C1 B1 Effective OM supply nFixationNKgHa 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
6 B1 nDepositionNKgHa
7 B1 nFertilizerNKgHa
8 B1 sowPlantingNKgHa
9 B2 phosphate Phosphate surplus = P fertilizer - P removal through harvested product. Calculated KPI internal model & parameters and from user input: yield and fertilizer applications
10 B2 disposal
11 B2 pFertillizerNKgHa
12 B2 sowPlantingNKgHa
13 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
14 C1 fertilizerEom
15 C1 greenManureEom
16 C1 cropLeftoversEom
17 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
18 E1 mbp mpb milieubelastingspunten. 3 Quantitative sub items & 2 Qualitative (A, B, C) milieubelastingspunten. For each pesticide applied show 3 sub-mbp's: aquaticLife, groundWater, soilLife
19 F1 E1 greenness mpb ?
20 F2 E1 rotationindex mpb farmlevel index of diversity of crops ?
21 F1 greenness farmlevel index of diversity of crops
22 F2 rotationindex
23 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
24 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"

View File

@ -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). Effect of location (e.g. different atmospheric N deposition).
DONE (using KPIinput.json): slightly different N balance DONE (using KPIinput.json): slightly different N balance
KPIelementsOfBalance: Tamara
a. define elements for C1 organic matter supply
################################################################################################### ###################################################################################################
# 2. Pending # 2. Pending
################################################################################################### ###################################################################################################
@ -48,8 +51,6 @@ dataOperations: "status": "3":
"DataCropfieldCharacteristic": { "DataCropfieldCharacteristic": {
"code": "860619", //PO20231004: so what does this code mean? Can we see the code list somewhere? NOT YET TESTED "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 b. for nitrogen B1 rename disposal to nHarvestedNKgHa PARTLY
c. for phosporous B2 rename disposal to pHarvestedPKgHa PARTLY c. for phosporous B2 rename disposal to pHarvestedPKgHa PARTLY
d. for phosporous B2 rename from pFertilizerNKgHa to pFertilizerPKgHa 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 f. add straw for N & P in output
g. add 2 examples in KPIinput.json: straw yes/no removed. Bijv. nStrawLeftInField EN nStrawRemoved g. add 2 examples in KPIinput.json: straw yes/no removed. Bijv. nStrawLeftInField EN nStrawRemoved
h. update KPIdefinitions.csv h. update KPIdefinitions.csv
i. for phosporous B2 rename 'cropLeftoversEom' to 'cropResiduesEom'
MBP (E1): Pepijn: in same way as for B1 & B2