@hestia-earth/engine-models 0.81.6 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +19 -0
  2. package/cjs/formulas.d.ts +86 -0
  3. package/cjs/formulas.js +180 -0
  4. package/cjs/index.d.ts +1 -0
  5. package/cjs/index.js +1 -0
  6. package/cjs/version.d.ts +1 -1
  7. package/cjs/version.js +1 -1
  8. package/esm/formulas.d.ts +86 -0
  9. package/esm/formulas.js +130 -0
  10. package/esm/index.d.ts +1 -0
  11. package/esm/index.js +1 -0
  12. package/esm/version.d.ts +1 -1
  13. package/esm/version.js +1 -1
  14. package/formulas/README.md +190 -0
  15. package/formulas/deRuijterEtAl2010/nh3ToAirCropResidueDecomposition.json +30 -0
  16. package/formulas/emepEea2019/co2ToAirFuelCombustion.json +23 -0
  17. package/formulas/emepEea2019/nh3ToAirExcreta.json +27 -0
  18. package/formulas/emepEea2019/pm10ToAirAnimalHousing.json +28 -0
  19. package/formulas/emepEea2019/pm25ToAirAnimalHousing.json +28 -0
  20. package/formulas/emepEea2019/tspToAirAnimalHousing.json +28 -0
  21. package/formulas/hestia/feedConversionRatio/feedConversionRatioCarbon.json +23 -0
  22. package/formulas/index.json +2464 -0
  23. package/formulas/ipcc2019/belowGroundCropResidue.json +31 -0
  24. package/formulas/ipcc2019/ch4ToAirAquacultureSystems.json +29 -0
  25. package/formulas/ipcc2019/ch4ToAirEntericFermentation.json +29 -0
  26. package/formulas/ipcc2019/ch4ToAirExcreta.json +36 -0
  27. package/formulas/ipcc2019/ch4ToAirFloodedRice.json +31 -0
  28. package/formulas/ipcc2019/ch4ToAirOrganicSoilCultivation.json +40 -0
  29. package/formulas/ipcc2019/co2ToAirUreaHydrolysis.json +27 -0
  30. package/formulas/ipcc2019/emissionsToAirOrganicSoilBurning.json +49 -0
  31. package/formulas/ipcc2019/n2OToAirAquacultureSystemsIndirect.json +31 -0
  32. package/formulas/ipcc2019/n2OToAirCropResidueBurningDirect.json +25 -0
  33. package/formulas/ipcc2019/n2OToAirCropResidueDecompositionDirect.json +28 -0
  34. package/formulas/ipcc2019/n2OToAirCropResidueDecompositionIndirect.json +35 -0
  35. package/formulas/ipcc2019/n2OToAirExcretaDirect.json +25 -0
  36. package/formulas/ipcc2019/n2OToAirExcretaIndirect.json +39 -0
  37. package/formulas/ipcc2019/n2OToAirFuelCombustionIndirect.json +31 -0
  38. package/formulas/ipcc2019/n2OToAirInorganicFertiliserDirect.json +28 -0
  39. package/formulas/ipcc2019/n2OToAirInorganicFertiliserIndirect.json +39 -0
  40. package/formulas/ipcc2019/n2OToAirNaturalVegetationBurningIndirect.json +31 -0
  41. package/formulas/ipcc2019/n2OToAirOrganicFertiliserDirect.json +28 -0
  42. package/formulas/ipcc2019/n2OToAirOrganicFertiliserIndirect.json +39 -0
  43. package/formulas/ipcc2019/n2OToAirOrganicSoilBurningIndirect.json +31 -0
  44. package/formulas/ipcc2019/n2OToAirOrganicSoilCultivationIndirect.json +31 -0
  45. package/formulas/ipcc2019/nh3ToAirInorganicFertiliser.json +31 -0
  46. package/formulas/ipcc2019/nh3ToAirOrganicFertiliser.json +31 -0
  47. package/formulas/ipcc2019/no3ToGroundwaterCropResidueDecomposition.json +28 -0
  48. package/formulas/ipcc2019/no3ToGroundwaterExcreta.json +28 -0
  49. package/formulas/ipcc2019/no3ToGroundwaterInorganicFertiliser.json +28 -0
  50. package/formulas/ipcc2019/no3ToGroundwaterOrganicFertiliser.json +28 -0
  51. package/formulas/ipcc2019/nonCo2EmissionsToAirNaturalVegetationBurning.json +13 -0
  52. package/formulas/ipcc2019/noxToAirInorganicFertiliser.json +31 -0
  53. package/formulas/ipcc2019/noxToAirOrganicFertiliser.json +31 -0
  54. package/formulas/ipcc2019/pastureGrass.json +556 -0
  55. package/formulas/pooreNemecek2018/ch4ToAirAquacultureSystems.json +88 -0
  56. package/formulas/pooreNemecek2018/n2OToAirAquacultureSystemsDirect.json +32 -0
  57. package/formulas/pooreNemecek2018/n2ToAirAquacultureSystems.json +32 -0
  58. package/formulas/pooreNemecek2018/nh3ToAirAquacultureSystems.json +40 -0
  59. package/formulas/pooreNemecek2018/no3ToGroundwaterCropResidueDecomposition.json +68 -0
  60. package/formulas/pooreNemecek2018/no3ToGroundwaterExcreta.json +68 -0
  61. package/formulas/pooreNemecek2018/no3ToGroundwaterInorganicFertiliser.json +68 -0
  62. package/formulas/pooreNemecek2018/no3ToGroundwaterOrganicFertiliser.json +68 -0
  63. package/formulas/pooreNemecek2018/noxToAirAquacultureSystems.json +32 -0
  64. package/formulas/schererPfister2015/nErosionSoilFlux.json +34 -0
  65. package/formulas/schererPfister2015/pErosionSoilFlux.json +109 -0
  66. package/formulas/stehfestBouwman2006/n2OToAirCropResidueDecompositionDirect.json +37 -0
  67. package/formulas/stehfestBouwman2006/n2OToAirExcretaDirect.json +37 -0
  68. package/formulas/stehfestBouwman2006/n2OToAirInorganicFertiliserDirect.json +37 -0
  69. package/formulas/stehfestBouwman2006/n2OToAirOrganicFertiliserDirect.json +37 -0
  70. package/formulas/stehfestBouwman2006/noxToAirCropResidueDecomposition.json +36 -0
  71. package/formulas/stehfestBouwman2006/noxToAirExcreta.json +36 -0
  72. package/formulas/stehfestBouwman2006/noxToAirInorganicFertiliser.json +36 -0
  73. package/formulas/stehfestBouwman2006/noxToAirOrganicFertiliser.json +36 -0
  74. package/model-links.json +626 -5
  75. package/package.json +9 -8
@@ -0,0 +1,39 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/n2OToAirOrganicFertiliserIndirect.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "N_2O_{indirect} = \\left[(NH_3\\text{-}N + NO_x\\text{-}N) \\times EF_4 + NO_3\\text{-}N \\times EF_5\\right] \\times \\frac{44}{28}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "N_2O_{indirect}",
9
+ "description": "indirect N<sub>2</sub>O emission from organic fertiliser (the model result)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "NH_3\\text{-}N",
14
+ "description": "nitrogen volatilised as ammonia from organic fertiliser (precursor, kg N)"
15
+ },
16
+ {
17
+ "symbol": "NO_x\\text{-}N",
18
+ "description": "nitrogen volatilised as nitrogen oxides from organic fertiliser (precursor, kg N)"
19
+ },
20
+ {
21
+ "symbol": "EF_4",
22
+ "description": "emission factor for N<sub>2</sub>O from atmospheric deposition of volatilised N"
23
+ },
24
+ {
25
+ "symbol": "NO_3\\text{-}N",
26
+ "description": "nitrogen lost as nitrate via leaching/runoff (precursor, kg N)"
27
+ },
28
+ {
29
+ "symbol": "EF_5",
30
+ "description": "emission factor for N<sub>2</sub>O from leaching/runoff of N"
31
+ },
32
+ {
33
+ "symbol": "\\frac{44}{28}",
34
+ "description": "conversion of N<sub>2</sub>O-N to N<sub>2</sub>O"
35
+ }
36
+ ]
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/n2OToAirOrganicSoilBurningIndirect.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "N_2O_{indirect} = \\left[(NH_3\\text{-}N + NO_x\\text{-}N) \\times EF_4\\right] \\times \\frac{44}{28}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "N_2O_{indirect}",
9
+ "description": "indirect N<sub>2</sub>O emission from organic soil burning (the model result)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "NH_3\\text{-}N",
14
+ "description": "nitrogen volatilised as ammonia from organic soil burning (precursor, kg N)"
15
+ },
16
+ {
17
+ "symbol": "NO_x\\text{-}N",
18
+ "description": "nitrogen volatilised as nitrogen oxides from organic soil burning (precursor, kg N)"
19
+ },
20
+ {
21
+ "symbol": "EF_4",
22
+ "description": "emission factor for N<sub>2</sub>O from atmospheric deposition of volatilised N"
23
+ },
24
+ {
25
+ "symbol": "\\frac{44}{28}",
26
+ "description": "conversion of N<sub>2</sub>O-N to N<sub>2</sub>O"
27
+ }
28
+ ]
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/n2OToAirOrganicSoilCultivationIndirect.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "N_2O_{indirect} = \\left[(NH_3\\text{-}N + NO_x\\text{-}N) \\times EF_4\\right] \\times \\frac{44}{28}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "N_2O_{indirect}",
9
+ "description": "indirect N<sub>2</sub>O emission from organic soil cultivation (the model result)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "NH_3\\text{-}N",
14
+ "description": "nitrogen volatilised as ammonia from organic soil cultivation (precursor, kg N)"
15
+ },
16
+ {
17
+ "symbol": "NO_x\\text{-}N",
18
+ "description": "nitrogen volatilised as nitrogen oxides from organic soil cultivation (precursor, kg N)"
19
+ },
20
+ {
21
+ "symbol": "EF_4",
22
+ "description": "emission factor for N<sub>2</sub>O from atmospheric deposition of volatilised N"
23
+ },
24
+ {
25
+ "symbol": "\\frac{44}{28}",
26
+ "description": "conversion of N<sub>2</sub>O-N to N<sub>2</sub>O"
27
+ }
28
+ ]
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/nh3ToAirInorganicFertiliser.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NH_3 = \\sum_i F_{SN,i} \\times Frac_{GASF,i} \\times \\frac{17}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NH_3",
9
+ "description": "total ammonia emission from inorganic fertilisers (kg NH<sub>3</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{SN,i}",
14
+ "description": "nitrogen applied as synthetic fertiliser input $i$ (kg N)",
15
+ "key": "input_values",
16
+ "column": "N"
17
+ },
18
+ {
19
+ "symbol": "Frac_{GASF,i}",
20
+ "description": "fraction of that nitrogen volatilised as NH<sub>3</sub> for input $i$",
21
+ "key": "input_values",
22
+ "column": "value"
23
+ },
24
+ {
25
+ "symbol": "\\frac{17}{14}",
26
+ "description": "conversion of NH<sub>3</sub>-N to NH<sub>3</sub>"
27
+ }
28
+ ]
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/nh3ToAirOrganicFertiliser.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NH_3 = \\sum_i F_{ON,i} \\times Frac_{GASM,i} \\times \\frac{17}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NH_3",
9
+ "description": "total ammonia emission from organic fertilisers (kg NH<sub>3</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{ON,i}",
14
+ "description": "nitrogen applied as organic fertiliser input $i$ (kg N)",
15
+ "key": "input_values",
16
+ "column": "N"
17
+ },
18
+ {
19
+ "symbol": "Frac_{GASM,i}",
20
+ "description": "fraction of that nitrogen volatilised as NH<sub>3</sub> for input $i$",
21
+ "key": "input_values",
22
+ "column": "value"
23
+ },
24
+ {
25
+ "symbol": "\\frac{17}{14}",
26
+ "description": "conversion of NH<sub>3</sub>-N to NH<sub>3</sub>"
27
+ }
28
+ ]
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/no3ToGroundwaterCropResidueDecomposition.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NO_3 = F_{CR} \\times Frac_{LEACH} \\times \\frac{62}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NO_3",
9
+ "description": "nitrate leached to groundwater (kg NO<sub>3</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{CR}",
14
+ "description": "nitrogen released from crop residue decomposition (kg N)",
15
+ "key": "N_crop_residue"
16
+ },
17
+ {
18
+ "symbol": "Frac_{LEACH}",
19
+ "description": "fraction of nitrogen lost through leaching"
20
+ },
21
+ {
22
+ "symbol": "\\frac{62}{14}",
23
+ "description": "conversion of NO<sub>3</sub>-N to NO<sub>3</sub>"
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/no3ToGroundwaterExcreta.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NO_3 = F_{excreta} \\times Frac_{LEACH} \\times \\frac{62}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NO_3",
9
+ "description": "nitrate leached to groundwater (kg NO<sub>3</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{excreta}",
14
+ "description": "nitrogen from animal excreta inputs (kg N)",
15
+ "key": "N_excreta"
16
+ },
17
+ {
18
+ "symbol": "Frac_{LEACH}",
19
+ "description": "fraction of nitrogen lost through leaching"
20
+ },
21
+ {
22
+ "symbol": "\\frac{62}{14}",
23
+ "description": "conversion of NO<sub>3</sub>-N to NO<sub>3</sub>"
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/no3ToGroundwaterInorganicFertiliser.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NO_3 = F_{SN} \\times Frac_{LEACH} \\times \\frac{62}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NO_3",
9
+ "description": "nitrate leached to groundwater (kg NO<sub>3</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{SN}",
14
+ "description": "synthetic nitrogen applied (kg N)",
15
+ "key": "N_inorganic_fertiliser"
16
+ },
17
+ {
18
+ "symbol": "Frac_{LEACH}",
19
+ "description": "fraction of nitrogen lost through leaching"
20
+ },
21
+ {
22
+ "symbol": "\\frac{62}{14}",
23
+ "description": "conversion of NO<sub>3</sub>-N to NO<sub>3</sub>"
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/no3ToGroundwaterOrganicFertiliser.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NO_3 = F_{ON} \\times Frac_{LEACH} \\times \\frac{62}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NO_3",
9
+ "description": "nitrate leached to groundwater (kg NO<sub>3</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{ON}",
14
+ "description": "organic nitrogen applied (kg N)",
15
+ "key": "N_organic_fertiliser"
16
+ },
17
+ {
18
+ "symbol": "Frac_{LEACH}",
19
+ "description": "fraction of nitrogen lost through leaching"
20
+ },
21
+ {
22
+ "symbol": "\\frac{62}{14}",
23
+ "description": "conversion of NO<sub>3</sub>-N to NO<sub>3</sub>"
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/nonCo2EmissionsToAirNaturalVegetationBurning.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "M = A * B_{region} * F_{fuel}",
6
+ "bindings": []
7
+ },
8
+ {
9
+ "formula": "L_{fire} = M * G_{emission, fuel}",
10
+ "bindings": []
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/noxToAirInorganicFertiliser.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NO_x = \\sum_i F_{SN,i} \\times Frac_{GASF,NOx,i} \\times \\frac{46}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NO_x",
9
+ "description": "total nitrogen oxides emission from inorganic fertilisers (kg NO<sub>x</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{SN,i}",
14
+ "description": "nitrogen applied as synthetic fertiliser input $i$ (kg N)",
15
+ "key": "input_values",
16
+ "column": "N"
17
+ },
18
+ {
19
+ "symbol": "Frac_{GASF,NOx,i}",
20
+ "description": "fraction of that nitrogen volatilised as NO<sub>x</sub> for input $i$",
21
+ "key": "input_values",
22
+ "column": "value"
23
+ },
24
+ {
25
+ "symbol": "\\frac{46}{14}",
26
+ "description": "conversion of NO<sub>x</sub>-N to NO<sub>x</sub> (as NO<sub>2</sub>)"
27
+ }
28
+ ]
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "docPath": "hestia_earth/models/ipcc2019/noxToAirOrganicFertiliser.md",
3
+ "formulas": [
4
+ {
5
+ "formula": "NO_x = \\sum_i F_{ON,i} \\times Frac_{GASF,NOx,i} \\times \\frac{46}{14}",
6
+ "bindings": [
7
+ {
8
+ "symbol": "NO_x",
9
+ "description": "total nitrogen oxides emission from organic fertilisers (kg NO<sub>x</sub>)",
10
+ "key": "value"
11
+ },
12
+ {
13
+ "symbol": "F_{ON,i}",
14
+ "description": "nitrogen applied as organic fertiliser input $i$ (kg N)",
15
+ "key": "input_values",
16
+ "column": "N"
17
+ },
18
+ {
19
+ "symbol": "Frac_{GASF,NOx,i}",
20
+ "description": "fraction of that nitrogen volatilised as NO<sub>x</sub> for input $i$",
21
+ "key": "input_values",
22
+ "column": "value"
23
+ },
24
+ {
25
+ "symbol": "\\frac{46}{14}",
26
+ "description": "conversion of NO<sub>x</sub>-N to NO<sub>x</sub> (as NO<sub>2</sub>)"
27
+ }
28
+ ]
29
+ }
30
+ ]
31
+ }