diff -ru a/inst/extdata/example_input.json b/inst/extdata/example_input.json --- a/inst/extdata/example_input.json 2026-09-29 10:32:25 +++ b/inst/extdata/example_input.json 2026-09-29 10:32:26 @@ -1,819 +1,841 @@ { - "annual_prec": 1119, - "arable_tograssland": 0, - "cba_discount_rate": 0, - "cba_years": 0, - "climate_zone": "Temperate", - "climate_zone_2": "Warm Temperate Dry", - "cropland_orgmatter": "Low, temperate/boreal, dry", - "cropland_orgmatter_ipcc": 0.95, - "cropland_system": "Long term cultivated, temperate/boreal, dry", - "cropland_system_ipcc": 0.8, - "cropland_tillage": "Full", - "cropland_tillage_ipcc": 1, - "et": 1359, - "farm_code": "Muheza", - "farm_name": "Inensive ", - "feed_basket": [ + "annual_prec": 1119, + "arable_tograssland": 0, + "cba_discount_rate": 0, + "cba_years": 0, + "climate_zone": "Temperate", + "climate_zone_2": "Warm Temperate Dry", + "cropland_orgmatter": "Low, temperate/boreal, dry", + "cropland_orgmatter_ipcc": 0.95, + "cropland_system": "Long term cultivated, temperate/boreal, dry", + "cropland_system_ipcc": 0.8, + "cropland_tillage": "Full", + "cropland_tillage_ipcc": 1, + "et": 1359, + "farm_code": "Muheza", + "farm_name": "Inensive ", + "feed_basket": [ + { + "feeds": [ { - "feeds": [ - { - "feed_item_code": "53", - "feed_type_code": "29", - "livestock": [ - { - "allocation": 10, - "livetype_code": "2" - }, - { - "allocation": 10, - "livetype_code": "6" - }, - { - "allocation": 0, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "64", - "feed_type_code": "36", - "livestock": [ - { - "allocation": 85, - "livetype_code": "2" - }, - { - "allocation": 85, - "livetype_code": "6" - }, - { - "allocation": 90, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "82", - "feed_type_code": "40", - "livestock": [ - { - "allocation": 4, - "livetype_code": "2" - }, - { - "allocation": 4, - "livetype_code": "6" - }, - { - "allocation": 10, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "17", - "feed_type_code": "43", - "livestock": [ - { - "allocation": 1, - "livetype_code": "2" - }, - { - "allocation": 1, - "livetype_code": "6" - }, - { - "allocation": 0, - "livetype_code": "7" - } - ] - } - ], - "season_name": "S1" + "feed_item_code": "53", + "feed_type_code": "29", + "livestock": [ + { + "allocation": 10, + "livetype_code": "2" + }, + { + "allocation": 10, + "livetype_code": "6" + }, + { + "allocation": 0, + "livetype_code": "7" + } + ] }, { - "feeds": [ - { - "feed_item_code": "53", - "feed_type_code": "29", - "livestock": [ - { - "allocation": 13, - "livetype_code": "2" - }, - { - "allocation": 13, - "livetype_code": "6" - }, - { - "allocation": 12, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "64", - "feed_type_code": "36", - "livestock": [ - { - "allocation": 84, - "livetype_code": "2" - }, - { - "allocation": 84, - "livetype_code": "6" - }, - { - "allocation": 86, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "82", - "feed_type_code": "40", - "livestock": [ - { - "allocation": 1, - "livetype_code": "2" - }, - { - "allocation": 1, - "livetype_code": "6" - }, - { - "allocation": 2, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "17", - "feed_type_code": "43", - "livestock": [ - { - "allocation": 2, - "livetype_code": "2" - }, - { - "allocation": 2, - "livetype_code": "6" - }, - { - "allocation": 0, - "livetype_code": "7" - } - ] - } - ], - "season_name": "S2" + "feed_item_code": "64", + "feed_type_code": "36", + "livestock": [ + { + "allocation": 85, + "livetype_code": "2" + }, + { + "allocation": 85, + "livetype_code": "6" + }, + { + "allocation": 90, + "livetype_code": "7" + } + ] }, { - "feeds": [ - { - "feed_item_code": "53", - "feed_type_code": "29", - "livestock": [ - { - "allocation": 13, - "livetype_code": "2" - }, - { - "allocation": 13, - "livetype_code": "6" - }, - { - "allocation": 5, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "64", - "feed_type_code": "36", - "livestock": [ - { - "allocation": 82, - "livetype_code": "2" - }, - { - "allocation": 82, - "livetype_code": "6" - }, - { - "allocation": 85, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "82", - "feed_type_code": "40", - "livestock": [ - { - "allocation": 4, - "livetype_code": "2" - }, - { - "allocation": 4, - "livetype_code": "6" - }, - { - "allocation": 10, - "livetype_code": "7" - } - ] - }, - { - "feed_item_code": "17", - "feed_type_code": "43", - "livestock": [ - { - "allocation": 1, - "livetype_code": "2" - }, - { - "allocation": 1, - "livetype_code": "6" - }, - { - "allocation": 0, - "livetype_code": "7" - } - ] - } - ], - "season_name": "S3" + "feed_item_code": "82", + "feed_type_code": "40", + "livestock": [ + { + "allocation": 4, + "livetype_code": "2" + }, + { + "allocation": 4, + "livetype_code": "6" + }, + { + "allocation": 10, + "livetype_code": "7" + } + ] + }, + { + "feed_item_code": "17", + "feed_type_code": "43", + "livestock": [ + { + "allocation": 1, + "livetype_code": "2" + }, + { + "allocation": 1, + "livetype_code": "6" + }, + { + "allocation": 0, + "livetype_code": "7" + } + ] } - ], - "feed_items": [ + ], + "season_name": "S1" + }, + { + "feeds": [ { - "ammonia": 0, - "ammonium_nitrate": 0, - "ammonium_sulfate": 0, - "average_dbh25": 0, - "average_dbh2550": 0, - "average_dbh50": 0, - "c_factor": 0.01, - "category": "cereal", - "cp_content": 3.9, - "cp_fresh": 0, - "crop_coefficient": 0.533333333333333, - "cut_carry_fraction": 0, - "dap": 0, - "de": 0, - "diameter_breast": 0, - "dm_content": 0.3, - "emission_factor": 0, - "energy": 365, - "energy_dm": 407.229722191231, - "establishment_cost": 0, - "establishment_labour": 0, - "feed_item_code": "53", - "feed_item_name": "Maize (Zea mays) - stover", - "feed_type_code": "29", - "feed_type_name": "Maize", - "fraction_as_fertilizer": 1, - "fraction_as_manure": 0.9, - "fresh_yield": 4.4, - "grassman": "7", - "grassman_change_factor": 1.17, - "grassman_desc": "", - "harvest_index": 0.52, - "increase_dbh25": 0, - "increase_dbh2550": 0, - "increase_dbh50": 0, - "intercrop": 0, - "intercrop_fraction": 0, - "kc_initial": 0.15, - "kc_late": 0.3, - "kc_midseason": 1.15, - "land_cover": "7", - "land_cover_desc": "", - "landcover_c_factor": 0.15, - "main_n": 0.01, - "main_product_removal": 1, - "me_content": 6.9, - "me_fresh": 0, - "n_fertilizer": 0, - "n_fixation": 0, - "n_solutions": 0, - "npk": 0, - "operational_cost": 0, - "operational_labour": 0, - "residue_burnt": 0, - "residue_n": 0, - "residue_removal": 0, - "slope": "3", - "slope_desc": "", - "slope_length": 1, - "slope_p_factor": 0.22, - "source_type": "Residue", - "time_horizon": 0, - "trees_dhb": 0, - "trees_growth": 0, - "trees_ha": 0, - "trees_ha_dbh25": 0, - "trees_ha_dbh2550": 0, - "trees_ha_dbh50": 0, - "trees_removal": 0, - "urea": 0, - "usda_value": 20314, - "water_content": 10.37, - "wfp_blue": 0.081, - "wfp_green": 0.947, - "wfp_grey": 0.194 + "feed_item_code": "53", + "feed_type_code": "29", + "livestock": [ + { + "allocation": 13, + "livetype_code": "2" + }, + { + "allocation": 13, + "livetype_code": "6" + }, + { + "allocation": 12, + "livetype_code": "7" + } + ] }, { - "ammonia": 0, - "ammonium_nitrate": 0, - "ammonium_sulfate": 0, - "average_dbh25": 0, - "average_dbh2550": 40, - "average_dbh50": 70, - "c_factor": 0.05, - "category": "grass", - "cp_content": 6, - "cp_fresh": 0, - "crop_coefficient": 0.6, - "cut_carry_fraction": 0, - "dap": 0, - "de": 0, - "diameter_breast": 0, - "dm_content": 0.29, - "emission_factor": 0, - "energy": 0, - "energy_dm": 0, - "establishment_cost": 0, - "establishment_labour": 0, - "feed_item_code": "64", - "feed_item_name": "Naturally occuring pasture - green fodder", - "feed_type_code": "36", - "feed_type_name": "Natural pasture", - "fraction_as_fertilizer": 0, - "fraction_as_manure": 0, - "fresh_yield": 45, - "grassman": "3", - "grassman_change_factor": 0.97, - "grassman_desc": "", - "harvest_index": 0.9, - "increase_dbh25": 0, - "increase_dbh2550": 2, - "increase_dbh50": 2, - "intercrop": 0, - "intercrop_fraction": 0, - "kc_initial": 0.3, - "kc_late": 0.75, - "kc_midseason": 0.75, - "land_cover": "10", - "land_cover_desc": "", - "landcover_c_factor": 0.05, - "main_n": 0.01, - "main_product_removal": 1, - "me_content": 5, - "me_fresh": 0, - "n_fertilizer": 0, - "n_fixation": 0, - "n_solutions": 0, - "npk": 0, - "operational_cost": 0, - "operational_labour": 0, - "residue_burnt": 0, - "residue_n": 0, - "residue_removal": 0, - "slope": "1", - "slope_desc": "", - "slope_length": 1, - "slope_p_factor": 0.11, - "source_type": "Main", - "time_horizon": 12, - "trees_dhb": 0, - "trees_growth": 0, - "trees_ha": 15, - "trees_ha_dbh25": 0, - "trees_ha_dbh2550": 9, - "trees_ha_dbh50": 6, - "trees_removal": 0, - "urea": 0, - "usda_value": 0, - "water_content": 0, - "wfp_blue": 0.002, - "wfp_green": 0.199, - "wfp_grey": 0.002 + "feed_item_code": "64", + "feed_type_code": "36", + "livestock": [ + { + "allocation": 84, + "livetype_code": "2" + }, + { + "allocation": 84, + "livetype_code": "6" + }, + { + "allocation": 86, + "livetype_code": "7" + } + ] }, { - "ammonia": 0, - "ammonium_nitrate": 0, - "ammonium_sulfate": 0, - "average_dbh25": 0, - "average_dbh2550": 0, - "average_dbh50": 0, - "c_factor": 0.01, - "category": "grass", - "cp_content": 7.5, - "cp_fresh": 0, - "crop_coefficient": 0.916666666666667, - "cut_carry_fraction": 0, - "dap": 0, - "de": 0, - "diameter_breast": 0, - "dm_content": 0.15, - "emission_factor": 0, - "energy": 0, - "energy_dm": 0, - "establishment_cost": 0, - "establishment_labour": 0, - "feed_item_code": "82", - "feed_item_name": "Pennisetum purpureum - forage", - "feed_type_code": "40", - "feed_type_name": "Pennisetum purpureum", - "fraction_as_fertilizer": 0, - "fraction_as_manure": 0.7, - "fresh_yield": 105, - "grassman": "3", - "grassman_change_factor": 0.97, - "grassman_desc": "", - "harvest_index": 0.9, - "increase_dbh25": 0, - "increase_dbh2550": 0, - "increase_dbh50": 0, - "intercrop": 0, - "intercrop_fraction": 0, - "kc_initial": 0.6, - "kc_late": 1.05, - "kc_midseason": 1.1, - "land_cover": "9", - "land_cover_desc": "", - "landcover_c_factor": 0.01, - "main_n": 0.01, - "main_product_removal": 1, - "me_content": 9.88, - "me_fresh": 0, - "n_fertilizer": 0, - "n_fixation": 0, - "n_solutions": 0, - "npk": 0, - "operational_cost": 0, - "operational_labour": 0, - "residue_burnt": 0, - "residue_n": 0, - "residue_removal": 0, - "slope": "1", - "slope_desc": "", - "slope_length": 1, - "slope_p_factor": 0.11, - "source_type": "Main", - "time_horizon": 0, - "trees_dhb": 0, - "trees_growth": 0, - "trees_ha": 0, - "trees_ha_dbh25": 0, - "trees_ha_dbh2550": 0, - "trees_ha_dbh50": 0, - "trees_removal": 0, - "urea": 0, - "usda_value": 0, - "water_content": 0, - "wfp_blue": 0, - "wfp_green": 0, - "wfp_grey": 0 + "feed_item_code": "82", + "feed_type_code": "40", + "livestock": [ + { + "allocation": 1, + "livetype_code": "2" + }, + { + "allocation": 1, + "livetype_code": "6" + }, + { + "allocation": 2, + "livetype_code": "7" + } + ] }, { - "ammonia": 0, - "ammonium_nitrate": 0, - "ammonium_sulfate": 0, - "average_dbh25": 0, - "average_dbh2550": 0, - "average_dbh50": 0, - "c_factor": 0, - "category": "other", - "cp_content": 16, - "cp_fresh": 0, - "crop_coefficient": 0, - "cut_carry_fraction": 0, - "dap": 0, - "de": 0, - "diameter_breast": 0, - "dm_content": 0, - "emission_factor": 0, - "energy": 0, - "energy_dm": 0, - "establishment_cost": 0, - "establishment_labour": 0, - "feed_item_code": "17", - "feed_item_name": "Concentrate (commercial)", - "feed_type_code": "43", - "feed_type_name": "Purchased", - "fraction_as_fertilizer": 0, - "fraction_as_manure": 0, - "fresh_yield": 0, - "grassman": "3", - "grassman_change_factor": 0.97, - "grassman_desc": "", - "harvest_index": 0, - "increase_dbh25": 0, - "increase_dbh2550": 0, - "increase_dbh50": 0, - "intercrop": 0, - "intercrop_fraction": 0, - "kc_initial": 0, - "kc_late": 0, - "kc_midseason": 0, - "land_cover": "1", - "land_cover_desc": "", - "landcover_c_factor": 0.001, - "main_n": 0, - "main_product_removal": 0, - "me_content": 12.1, - "me_fresh": 0, - "n_fertilizer": 0, - "n_fixation": 0, - "n_solutions": 0, - "npk": 0, - "operational_cost": 0, - "operational_labour": 0, - "residue_burnt": 0, - "residue_n": 0, - "residue_removal": 0, - "slope": "1", - "slope_desc": "", - "slope_length": 0, - "slope_p_factor": 0.11, - "source_type": "Purchased", - "time_horizon": 0, - "trees_dhb": 0, - "trees_growth": 0, - "trees_ha": 0, - "trees_ha_dbh25": 0, - "trees_ha_dbh2550": 0, - "trees_ha_dbh50": 0, - "trees_removal": 0, - "urea": 0, - "usda_value": 0, - "water_content": 0, - "wfp_blue": 0, - "wfp_green": 0, - "wfp_grey": 0 + "feed_item_code": "17", + "feed_type_code": "43", + "livestock": [ + { + "allocation": 2, + "livetype_code": "2" + }, + { + "allocation": 2, + "livetype_code": "6" + }, + { + "allocation": 0, + "livetype_code": "7" + } + ] } - ], - "fertilizer": [ + ], + "season_name": "S2" + }, + { + "feeds": [ { - "cost": 2, - "fertilizer_code": "4", - "fertilizer_desc": "Ammonium nitrate", - "fraction": 3, - "quantity": 1 - } - ], - "grassland_implevel": "Medium", - "grassland_implevel_ipcc": 1, - "grassland_management": "Nominally managed", - "grassland_management_ipcc": 1, - "grassland_toarable": 0, - "land_oppcost": 0, - "livestock": [ - { - "adult_weight": 600, - "annual_growth": 0, - "annual_milk": 3660, - "annual_wool": 0, - "birth_interval": 1.166666667, - "body_weight": 600, - "body_weight_weaning": 0, - "body_weight_year_one": 0, - "carcass_fraction": 0.48, - "cp_grazing": 0, - "cp_growth": 0, - "cp_lactation": 0, - "cp_lactmilk": 0.09, - "cp_maintenance": 0.6, - "cp_pregnancy": 12.21, - "distance_to_pasture": 0, - "energy_eggcontent": 0, - "energy_meatcontent": 2200, - "energy_milkcontent": 970, - "fat_content": 4.3, - "grazing_displacement": 0, - "herd_composition": 1, - "ipcc_ef_category_t1": "Dairy cattle", - "ipcc_ef_category_t2": "Dairy cows", - "ipcc_meth_man_category": "Dairy cows", - "ipcc_n_exc_category": "Dairy cattle", - "lactation_length": 0, - "litter_size": 0, - "live_weight_gain": 0, - "livetype_code": "2", - "livetype_desc": "Cattle - Cows (improved)", - "lw_gain": 0, - "manure_in_field": 0, - "manure_in_non_roofed_enclosure": 0, - "manure_in_stable": 0, - "manure_onfarm_fraction": 0.9, - "manure_sales_fraction": 0, - "manureman_non_roofed_enclosure": "Dry lot", - "manureman_offfarm_grazing": "Pasture / range / paddock", - "manureman_onfarm_grazing": "Dry lot", - "manureman_stable": "Solid storage", - "me_grazing": 0, - "me_growth": 0, - "me_lactation": 0, - "me_lactmilk": 0, - "me_maintenance": 0, - "me_pregnancy": 0, - "meat_price": 23, - "meat_product": "beef", - "milk_price": 1.045, - "milk_product": "cow milk", - "milk_production": 0, - "n_content": 0.029, - "oneoff_cost": 1300, - "oneoff_labour": 0, - "operational_cost": 1200, - "operational_labour": 5, - "piglets_relying_on_milk": 0, - "proportion_growth": 0, - "protein_meatcontent": 26, - "protein_milkcontent": 3.7, - "time_in_non_roofed_enclosure": 0, - "time_in_offfarm_grazing": 0, - "time_in_onfarm_grazing": 0, - "time_in_stable": 1, - "water_requirement": 140, - "work_hour": 0 + "feed_item_code": "53", + "feed_type_code": "29", + "livestock": [ + { + "allocation": 13, + "livetype_code": "2" + }, + { + "allocation": 13, + "livetype_code": "6" + }, + { + "allocation": 5, + "livetype_code": "7" + } + ] }, { - "adult_weight": 600, - "annual_growth": 120, - "annual_milk": 0, - "annual_wool": 0, - "birth_interval": 0, - "body_weight": 300, - "body_weight_weaning": 0, - "body_weight_year_one": 0, - "carcass_fraction": 0.49, - "cp_grazing": 0, - "cp_growth": 0.4, - "cp_lactation": 0, - "cp_lactmilk": 0, - "cp_maintenance": 0.3, - "cp_pregnancy": 0, - "distance_to_pasture": 0, - "energy_eggcontent": 0, - "energy_meatcontent": 2200, - "energy_milkcontent": 0, - "fat_content": 0, - "grazing_displacement": 2, - "herd_composition": 2, - "ipcc_ef_category_t1": "Other mature female-grazing", - "ipcc_ef_category_t2": "Non-dairy", - "ipcc_meth_man_category": "Other cattle", - "ipcc_n_exc_category": "Other cattle", - "lactation_length": 0, - "litter_size": 0, - "live_weight_gain": 0, - "livetype_code": "6", - "livetype_desc": "Cattle - Steers/heifers (improved)", - "lw_gain": 0, - "manure_in_field": 0, - "manure_in_non_roofed_enclosure": 0, - "manure_in_stable": 0, - "manure_onfarm_fraction": 0.9, - "manure_sales_fraction": 0, - "manureman_non_roofed_enclosure": "Dry lot", - "manureman_offfarm_grazing": "Pasture / range / paddock", - "manureman_onfarm_grazing": "Dry lot", - "manureman_stable": "Solid storage", - "me_grazing": 0, - "me_growth": 0, - "me_lactation": 0, - "me_lactmilk": 0, - "me_maintenance": 0, - "me_pregnancy": 0, - "meat_price": 23, - "meat_product": "beef", - "milk_price": 1.045, - "milk_product": "cow milk", - "milk_production": 0, - "n_content": 0.029, - "oneoff_cost": 3450, - "oneoff_labour": 0, - "operational_cost": 1650, - "operational_labour": 7.6, - "piglets_relying_on_milk": 0, - "proportion_growth": 0, - "protein_meatcontent": 26, - "protein_milkcontent": 0, - "time_in_non_roofed_enclosure": 0, - "time_in_offfarm_grazing": 0, - "time_in_onfarm_grazing": 0, - "time_in_stable": 1, - "water_requirement": 100, - "work_hour": 0 + "feed_item_code": "64", + "feed_type_code": "36", + "livestock": [ + { + "allocation": 82, + "livetype_code": "2" + }, + { + "allocation": 82, + "livetype_code": "6" + }, + { + "allocation": 85, + "livetype_code": "7" + } + ] }, { - "adult_weight": 350, - "annual_growth": 120, - "annual_milk": 0, - "annual_wool": 0, - "birth_interval": 0, - "body_weight": 90, - "body_weight_weaning": 0, - "body_weight_year_one": 0, - "carcass_fraction": 0.49, - "cp_grazing": 0, - "cp_growth": 0.4, - "cp_lactation": 0, - "cp_lactmilk": 0, - "cp_maintenance": 0.09, - "cp_pregnancy": 0, - "distance_to_pasture": 0, - "energy_eggcontent": 0, - "energy_meatcontent": 2200, - "energy_milkcontent": 0, - "fat_content": 0, - "grazing_displacement": 0, - "herd_composition": 1, - "ipcc_ef_category_t1": "Other young", - "ipcc_ef_category_t2": "Non-dairy", - "ipcc_meth_man_category": "Other cattle", - "ipcc_n_exc_category": "Other cattle", - "lactation_length": 0, - "litter_size": 0, - "live_weight_gain": 0, - "livetype_code": "7", - "livetype_desc": "Cattle - Calves", - "lw_gain": 0, - "manure_in_field": 0, - "manure_in_non_roofed_enclosure": 0, - "manure_in_stable": 0, - "manure_onfarm_fraction": 0.9, - "manure_sales_fraction": 0, - "manureman_non_roofed_enclosure": "Dry lot", - "manureman_offfarm_grazing": "Pasture / range / paddock", - "manureman_onfarm_grazing": "Dry lot", - "manureman_stable": "Solid storage", - "me_grazing": 0, - "me_growth": 0, - "me_lactation": 0, - "me_lactmilk": 0, - "me_maintenance": 0, - "me_pregnancy": 0, - "meat_price": 23, - "meat_product": "beef", - "milk_price": 1.045, - "milk_product": "cow milk", - "milk_production": 0, - "n_content": 0.029, - "oneoff_cost": 100, - "oneoff_labour": 0, - "operational_cost": 30, - "operational_labour": 5, - "piglets_relying_on_milk": 0, - "proportion_growth": 0, - "protein_meatcontent": 26, - "protein_milkcontent": 0, - "time_in_non_roofed_enclosure": 0, - "time_in_offfarm_grazing": 0, - "time_in_onfarm_grazing": 0, - "time_in_stable": 1, - "water_requirement": 50, - "work_hour": 0 - } - ], - "purchased_bedding": 0, - "purchased_compost": 0, - "purchased_manure": 0, - "purchased_organic_n": 0, - "rain_length": 6, - "region": "AFRICA", - "seasons": [ - { - "season_length": 106, - "season_name": "S1" + "feed_item_code": "82", + "feed_type_code": "40", + "livestock": [ + { + "allocation": 4, + "livetype_code": "2" + }, + { + "allocation": 4, + "livetype_code": "6" + }, + { + "allocation": 10, + "livetype_code": "7" + } + ] }, { - "season_length": 136, - "season_name": "S2" - }, - { - "season_length": 123, - "season_name": "S3" + "feed_item_code": "17", + "feed_type_code": "43", + "livestock": [ + { + "allocation": 1, + "livetype_code": "2" + }, + { + "allocation": 1, + "livetype_code": "6" + }, + { + "allocation": 0, + "livetype_code": "7" + } + ] } - ], - "soil_bulk": 1.26, - "soil_c": 33, - "soil_clay": 41, - "soil_depth": 2, - "soil_description": "Lixisol", - "soil_k_value": 0.19, - "soil_n": 2.06, - "waste_consume_meat": 0, - "waste_consume_milk": 2, - "waste_distribution_meat": 3, - "waste_distribution_milk": 3, - "waste_processing_meat": 5, - "waste_processing_milk": 5, - "waste_production_meat": 3, - "waste_production_milk": 3 + ], + "season_name": "S3" + } + ], + "feed_items": [ + { + "ammonia": 0, + "ammonium_nitrate": 0, + "ammonium_sulfate": 0, + "average_dbh25": 0, + "average_dbh2550": 0, + "average_dbh50": 0, + "c_factor": 0.01, + "category": "cereal", + "cp_content": 3.9, + "cp_fresh": 0, + "crop_coefficient": 0.533333333333333, + "cut_carry_fraction": 0, + "dap": 0, + "de": 0, + "diameter_breast": 0, + "dm_content": 30, + "emission_factor": 0, + "energy": 365, + "energy_dm": 407.229722191231, + "establishment_cost": 0, + "establishment_labour": 0, + "feed_item_code": "53", + "feed_item_name": "Maize (Zea mays) - stover", + "feed_type_code": "29", + "feed_type_name": "Maize", + "fraction_as_fertilizer": 1, + "fraction_as_manure": 0.9, + "fresh_yield": 4.4, + "grassman": "7", + "grassman_change_factor": 1.17, + "grassman_desc": "", + "harvest_index": 0.52, + "increase_dbh25": 0, + "increase_dbh2550": 0, + "increase_dbh50": 0, + "intercrop": 0, + "intercrop_fraction": 0, + "kc_initial": 0.15, + "kc_late": 0.3, + "kc_midseason": 1.15, + "land_cover": "7", + "land_cover_desc": "", + "landcover_c_factor": 0.15, + "main_n": 0.01, + "main_product_removal": 1, + "me_content": 6.9, + "me_fresh": 0, + "n_fertilizer": 0, + "n_fixation": 0, + "n_solutions": 0, + "npk": 0, + "operational_cost": 0, + "operational_labour": 0, + "residue_burnt": 0, + "residue_n": 0, + "residue_removal": 0, + "slope": "3", + "slope_desc": "", + "slope_length": 1, + "slope_p_factor": 0.22, + "source_type": "Residue", + "time_horizon": 0, + "trees_dhb": 0, + "trees_growth": 0, + "trees_ha": 0, + "trees_ha_dbh25": 0, + "trees_ha_dbh2550": 0, + "trees_ha_dbh50": 0, + "trees_removal": 0, + "urea": 0, + "usda_value": 20314, + "water_content": 10.37, + "wfp_blue": 0.081, + "wfp_green": 0.947, + "wfp_grey": 0.194, + "crop_name": "Maize (Zea mays) - stover" + }, + { + "ammonia": 0, + "ammonium_nitrate": 0, + "ammonium_sulfate": 0, + "average_dbh25": 0, + "average_dbh2550": 40, + "average_dbh50": 70, + "c_factor": 0.05, + "category": "grass", + "cp_content": 6, + "cp_fresh": 0, + "crop_coefficient": 0.6, + "cut_carry_fraction": 0, + "dap": 0, + "de": 0, + "diameter_breast": 0, + "dm_content": 29, + "emission_factor": 0, + "energy": 0, + "energy_dm": 0, + "establishment_cost": 0, + "establishment_labour": 0, + "feed_item_code": "64", + "feed_item_name": "Naturally occuring pasture - green fodder", + "feed_type_code": "36", + "feed_type_name": "Natural pasture", + "fraction_as_fertilizer": 0, + "fraction_as_manure": 0, + "fresh_yield": 45, + "grassman": "3", + "grassman_change_factor": 0.97, + "grassman_desc": "", + "harvest_index": 0.9, + "increase_dbh25": 0, + "increase_dbh2550": 2, + "increase_dbh50": 2, + "intercrop": 0, + "intercrop_fraction": 0, + "kc_initial": 0.3, + "kc_late": 0.75, + "kc_midseason": 0.75, + "land_cover": "10", + "land_cover_desc": "", + "landcover_c_factor": 0.05, + "main_n": 0.01, + "main_product_removal": 1, + "me_content": 5, + "me_fresh": 0, + "n_fertilizer": 0, + "n_fixation": 0, + "n_solutions": 0, + "npk": 0, + "operational_cost": 0, + "operational_labour": 0, + "residue_burnt": 0, + "residue_n": 0, + "residue_removal": 0, + "slope": "1", + "slope_desc": "", + "slope_length": 1, + "slope_p_factor": 0.11, + "source_type": "Main", + "time_horizon": 12, + "trees_dhb": 0, + "trees_growth": 0, + "trees_ha": 15, + "trees_ha_dbh25": 0, + "trees_ha_dbh2550": 9, + "trees_ha_dbh50": 6, + "trees_removal": 0, + "urea": 0, + "usda_value": 0, + "water_content": 0, + "wfp_blue": 0.002, + "wfp_green": 0.199, + "wfp_grey": 0.002, + "crop_name": "Naturally occuring pasture - green fodder" + }, + { + "ammonia": 0, + "ammonium_nitrate": 0, + "ammonium_sulfate": 0, + "average_dbh25": 0, + "average_dbh2550": 0, + "average_dbh50": 0, + "c_factor": 0.01, + "category": "grass", + "cp_content": 7.5, + "cp_fresh": 0, + "crop_coefficient": 0.916666666666667, + "cut_carry_fraction": 0, + "dap": 0, + "de": 0, + "diameter_breast": 0, + "dm_content": 15, + "emission_factor": 0, + "energy": 0, + "energy_dm": 0, + "establishment_cost": 0, + "establishment_labour": 0, + "feed_item_code": "82", + "feed_item_name": "Pennisetum purpureum - forage", + "feed_type_code": "40", + "feed_type_name": "Pennisetum purpureum", + "fraction_as_fertilizer": 0, + "fraction_as_manure": 0.7, + "fresh_yield": 105, + "grassman": "3", + "grassman_change_factor": 0.97, + "grassman_desc": "", + "harvest_index": 0.9, + "increase_dbh25": 0, + "increase_dbh2550": 0, + "increase_dbh50": 0, + "intercrop": 0, + "intercrop_fraction": 0, + "kc_initial": 0.6, + "kc_late": 1.05, + "kc_midseason": 1.1, + "land_cover": "9", + "land_cover_desc": "", + "landcover_c_factor": 0.01, + "main_n": 0.01, + "main_product_removal": 1, + "me_content": 9.88, + "me_fresh": 0, + "n_fertilizer": 0, + "n_fixation": 0, + "n_solutions": 0, + "npk": 0, + "operational_cost": 0, + "operational_labour": 0, + "residue_burnt": 0, + "residue_n": 0, + "residue_removal": 0, + "slope": "1", + "slope_desc": "", + "slope_length": 1, + "slope_p_factor": 0.11, + "source_type": "Main", + "time_horizon": 0, + "trees_dhb": 0, + "trees_growth": 0, + "trees_ha": 0, + "trees_ha_dbh25": 0, + "trees_ha_dbh2550": 0, + "trees_ha_dbh50": 0, + "trees_removal": 0, + "urea": 0, + "usda_value": 0, + "water_content": 0, + "wfp_blue": 0, + "wfp_green": 0, + "wfp_grey": 0, + "crop_name": "Pennisetum purpureum - forage" + }, + { + "ammonia": 0, + "ammonium_nitrate": 0, + "ammonium_sulfate": 0, + "average_dbh25": 0, + "average_dbh2550": 0, + "average_dbh50": 0, + "c_factor": 0, + "category": "other", + "cp_content": 16, + "cp_fresh": 0, + "crop_coefficient": 0, + "cut_carry_fraction": 0, + "dap": 0, + "de": 0, + "diameter_breast": 0, + "dm_content": 87, + "emission_factor": 0, + "energy": 0, + "energy_dm": 0, + "establishment_cost": 0, + "establishment_labour": 0, + "feed_item_code": "17", + "feed_item_name": "Concentrate (commercial)", + "feed_type_code": "43", + "feed_type_name": "Purchased", + "fraction_as_fertilizer": 0, + "fraction_as_manure": 0, + "fresh_yield": 0, + "grassman": "3", + "grassman_change_factor": 0.97, + "grassman_desc": "", + "harvest_index": 0, + "increase_dbh25": 0, + "increase_dbh2550": 0, + "increase_dbh50": 0, + "intercrop": 0, + "intercrop_fraction": 0, + "kc_initial": 0, + "kc_late": 0, + "kc_midseason": 0, + "land_cover": "1", + "land_cover_desc": "", + "landcover_c_factor": 0.001, + "main_n": 0, + "main_product_removal": 0, + "me_content": 12.1, + "me_fresh": 0, + "n_fertilizer": 0, + "n_fixation": 0, + "n_solutions": 0, + "npk": 0, + "operational_cost": 0, + "operational_labour": 0, + "residue_burnt": 0, + "residue_n": 0, + "residue_removal": 0, + "slope": "1", + "slope_desc": "", + "slope_length": 0, + "slope_p_factor": 0.11, + "source_type": "Purchased", + "time_horizon": 0, + "trees_dhb": 0, + "trees_growth": 0, + "trees_ha": 0, + "trees_ha_dbh25": 0, + "trees_ha_dbh2550": 0, + "trees_ha_dbh50": 0, + "trees_removal": 0, + "urea": 0, + "usda_value": 0, + "water_content": 0, + "wfp_blue": 0, + "wfp_green": 0, + "wfp_grey": 0, + "crop_name": "Concentrate (commercial)" + } + ], + "fertilizer": [ + { + "cost": 2, + "fertilizer_code": "4", + "fertilizer_desc": "Ammonium nitrate", + "fraction": 3, + "quantity": 1 + } + ], + "grassland_implevel": "Medium", + "grassland_implevel_ipcc": 1, + "grassland_management": "Nominally managed", + "grassland_management_ipcc": 1, + "grassland_toarable": 0, + "land_oppcost": 0, + "livestock": [ + { + "adult_weight": 600, + "annual_growth": 0, + "annual_milk": 3660, + "annual_wool": 0, + "birth_interval": 1.166666667, + "body_weight": 600, + "body_weight_weaning": 0, + "body_weight_year_one": 0, + "carcass_fraction": 0.48, + "cp_grazing": 0, + "cp_growth": 0, + "cp_lactation": 0, + "cp_lactmilk": 0.09, + "cp_maintenance": 0.6, + "cp_pregnancy": 12.21, + "distance_to_pasture": 0, + "energy_eggcontent": 0, + "energy_meatcontent": 2200, + "energy_milkcontent": 970, + "fat_content": 4.3, + "grazing_displacement": 0, + "herd_composition": 1, + "ipcc_ef_category_t1": "Dairy cattle", + "ipcc_ef_category_t2": "Dairy cows", + "ipcc_meth_man_category": "Dairy cows", + "ipcc_n_exc_category": "Dairy cattle", + "lactation_length": 0, + "litter_size": 0, + "live_weight_gain": 0, + "livetype_code": "2", + "livetype_desc": "Cattle - Cows (improved)", + "lw_gain": 0, + "manure_in_field": 0, + "manure_in_non_roofed_enclosure": 0, + "manure_in_stable": 0, + "manure_onfarm_fraction": 0.9, + "manure_sales_fraction": 0, + "manureman_non_roofed_enclosure": "Dry lot", + "manureman_offfarm_grazing": "Pasture / range / paddock", + "manureman_onfarm_grazing": "Dry lot", + "manureman_stable": "Solid storage", + "me_grazing": 0, + "me_growth": 0, + "me_lactation": 0, + "me_lactmilk": 0, + "me_maintenance": 0, + "me_pregnancy": 0, + "meat_price": 23, + "meat_product": "beef", + "milk_price": 1.045, + "milk_product": "cow milk", + "milk_production": 0, + "n_content": 0.029, + "oneoff_cost": 1300, + "oneoff_labour": 0, + "operational_cost": 1200, + "operational_labour": 5, + "piglets_relying_on_milk": 0, + "proportion_growth": 0, + "protein_meatcontent": 26, + "protein_milkcontent": 3.7, + "time_in_non_roofed_enclosure": 0, + "time_in_offfarm_grazing": 0, + "time_in_onfarm_grazing": 0, + "time_in_stable": 1, + "water_requirement": 140, + "work_hour": 0, + "fat_milkcontent": 4.3, + "cp_lys_pregnancy": 12.21, + "cp_lys_growth": 0, + "lw_gain_piglets": 0, + "proportion_growth_piglets_milk": 0, + "n_manure_content": 0.029 + }, + { + "adult_weight": 600, + "annual_growth": 120, + "annual_milk": 0, + "annual_wool": 0, + "birth_interval": 0, + "body_weight": 300, + "body_weight_weaning": 0, + "body_weight_year_one": 0, + "carcass_fraction": 0.49, + "cp_grazing": 0, + "cp_growth": 0.4, + "cp_lactation": 0, + "cp_lactmilk": 0, + "cp_maintenance": 0.3, + "cp_pregnancy": 0, + "distance_to_pasture": 0, + "energy_eggcontent": 0, + "energy_meatcontent": 2200, + "energy_milkcontent": 0, + "fat_content": 0, + "grazing_displacement": 2, + "herd_composition": 2, + "ipcc_ef_category_t1": "Other mature female-grazing", + "ipcc_ef_category_t2": "Non-dairy", + "ipcc_meth_man_category": "Other cattle", + "ipcc_n_exc_category": "Other cattle", + "lactation_length": 0, + "litter_size": 0, + "live_weight_gain": 0, + "livetype_code": "6", + "livetype_desc": "Cattle - Steers/heifers (improved)", + "lw_gain": 0, + "manure_in_field": 0, + "manure_in_non_roofed_enclosure": 0, + "manure_in_stable": 0, + "manure_onfarm_fraction": 0.9, + "manure_sales_fraction": 0, + "manureman_non_roofed_enclosure": "Dry lot", + "manureman_offfarm_grazing": "Pasture / range / paddock", + "manureman_onfarm_grazing": "Dry lot", + "manureman_stable": "Solid storage", + "me_grazing": 0, + "me_growth": 0, + "me_lactation": 0, + "me_lactmilk": 0, + "me_maintenance": 0, + "me_pregnancy": 0, + "meat_price": 23, + "meat_product": "beef", + "milk_price": 1.045, + "milk_product": "cow milk", + "milk_production": 0, + "n_content": 0.029, + "oneoff_cost": 3450, + "oneoff_labour": 0, + "operational_cost": 1650, + "operational_labour": 7.6, + "piglets_relying_on_milk": 0, + "proportion_growth": 0, + "protein_meatcontent": 26, + "protein_milkcontent": 0, + "time_in_non_roofed_enclosure": 0, + "time_in_offfarm_grazing": 0, + "time_in_onfarm_grazing": 0, + "time_in_stable": 1, + "water_requirement": 100, + "work_hour": 0, + "fat_milkcontent": 0, + "cp_lys_pregnancy": 0, + "cp_lys_growth": 0.4, + "lw_gain_piglets": 0, + "proportion_growth_piglets_milk": 0, + "n_manure_content": 0.029 + }, + { + "adult_weight": 350, + "annual_growth": 120, + "annual_milk": 0, + "annual_wool": 0, + "birth_interval": 0, + "body_weight": 90, + "body_weight_weaning": 0, + "body_weight_year_one": 0, + "carcass_fraction": 0.49, + "cp_grazing": 0, + "cp_growth": 0.4, + "cp_lactation": 0, + "cp_lactmilk": 0, + "cp_maintenance": 0.09, + "cp_pregnancy": 0, + "distance_to_pasture": 0, + "energy_eggcontent": 0, + "energy_meatcontent": 2200, + "energy_milkcontent": 0, + "fat_content": 0, + "grazing_displacement": 0, + "herd_composition": 1, + "ipcc_ef_category_t1": "Other young", + "ipcc_ef_category_t2": "Non-dairy", + "ipcc_meth_man_category": "Other cattle", + "ipcc_n_exc_category": "Other cattle", + "lactation_length": 0, + "litter_size": 0, + "live_weight_gain": 0, + "livetype_code": "7", + "livetype_desc": "Cattle - Calves", + "lw_gain": 0, + "manure_in_field": 0, + "manure_in_non_roofed_enclosure": 0, + "manure_in_stable": 0, + "manure_onfarm_fraction": 0.9, + "manure_sales_fraction": 0, + "manureman_non_roofed_enclosure": "Dry lot", + "manureman_offfarm_grazing": "Pasture / range / paddock", + "manureman_onfarm_grazing": "Dry lot", + "manureman_stable": "Solid storage", + "me_grazing": 0, + "me_growth": 0, + "me_lactation": 0, + "me_lactmilk": 0, + "me_maintenance": 0, + "me_pregnancy": 0, + "meat_price": 23, + "meat_product": "beef", + "milk_price": 1.045, + "milk_product": "cow milk", + "milk_production": 0, + "n_content": 0.029, + "oneoff_cost": 100, + "oneoff_labour": 0, + "operational_cost": 30, + "operational_labour": 5, + "piglets_relying_on_milk": 0, + "proportion_growth": 0, + "protein_meatcontent": 26, + "protein_milkcontent": 0, + "time_in_non_roofed_enclosure": 0, + "time_in_offfarm_grazing": 0, + "time_in_onfarm_grazing": 0, + "time_in_stable": 1, + "water_requirement": 50, + "work_hour": 0, + "fat_milkcontent": 0, + "cp_lys_pregnancy": 0, + "cp_lys_growth": 0.4, + "lw_gain_piglets": 0, + "proportion_growth_piglets_milk": 0, + "n_manure_content": 0.029 + } + ], + "purchased_bedding": 0, + "purchased_compost": 0, + "purchased_manure": 0, + "purchased_organic_n": 0, + "rain_length": 6, + "region": "AFRICA", + "seasons": [ + { + "season_length": 106, + "season_name": "S1" + }, + { + "season_length": 136, + "season_name": "S2" + }, + { + "season_length": 123, + "season_name": "S3" + } + ], + "soil_bulk": 1.26, + "soil_c": 33, + "soil_clay": 41, + "soil_depth": 2, + "soil_description": "Lixisol", + "soil_k_value": 0.19, + "soil_n": 2.06, + "waste_consume_meat": 0, + "waste_consume_milk": 2, + "waste_distribution_meat": 3, + "waste_distribution_milk": 3, + "waste_processing_meat": 5, + "waste_processing_milk": 5, + "waste_production_meat": 3, + "waste_production_milk": 3 }