optigob.static_ag.static_ag_budget

This module contains the StaticAgBudget class, which is responsible for calculating various emissions and areas related to static agriculture, including livestock (pig, poultry, sheep) and crops. The class interacts with an OptigobDataManager instance to retrieve necessary data and perform calculations for CO2, CH4, N2O, and CO2e emissions, as well as the total area used for agriculture.

Classes:

StaticAgBudget: A class to calculate emissions and areas for static agriculture.

optigob.static_ag.static_ag_budget.__init__(optigob_data_manager)

Initializes the StaticAgBudget with a data manager.

optigob.static_ag.static_ag_budget.get_pig_and_poultry_co2_emission()

Returns CO2 emissions for pig and poultry.

optigob.static_ag.static_ag_budget.get_pig_and_poultry_ch4_emission()

Returns CH4 emissions for pig and poultry.

optigob.static_ag.static_ag_budget.get_pig_and_poultry_n2o_emission()

Returns N2O emissions for pig and poultry.

optigob.static_ag.static_ag_budget.get_pig_and_poultry_co2e_emission()

Returns CO2e emissions for pig and poultry.

optigob.static_ag.static_ag_budget.get_sheep_co2_emission()

Returns CO2 emissions for sheep.

optigob.static_ag.static_ag_budget.get_sheep_ch4_emission()

Returns CH4 emissions for sheep.

optigob.static_ag.static_ag_budget.get_sheep_n2o_emission()

Returns N2O emissions for sheep.

optigob.static_ag.static_ag_budget.get_sheep_co2e_emission()

Returns CO2e emissions for sheep.

optigob.static_ag.static_ag_budget.get_crop_co2_emission()

Returns CO2 emissions for crops.

optigob.static_ag.static_ag_budget.get_crop_ch4_emission()

Returns CH4 emissions for crops.

optigob.static_ag.static_ag_budget.get_crop_n2o_emission()

Returns N2O emissions for crops.

optigob.static_ag.static_ag_budget.get_crop_co2e_emission()

Returns CO2e emissions for crops.

optigob.static_ag.static_ag_budget.get_total_static_ag_co2e()

Returns total CO2e emissions for all static agriculture.

optigob.static_ag.static_ag_budget.get_total_static_ag_co2()

Returns total CO2 emissions for all static agriculture.

optigob.static_ag.static_ag_budget.get_total_static_ag_ch4()

Returns total CH4 emissions for all static agriculture.

optigob.static_ag.static_ag_budget.get_total_static_ag_n2o()

Returns total N2O emissions for all static agriculture.

optigob.static_ag.static_ag_budget.get_sheep_area()

Returns the area used for sheep farming.

optigob.static_ag.static_ag_budget.get_pig_and_poultry_area()

Returns the area used for pig and poultry farming.

optigob.static_ag.static_ag_budget.get_crop_area()

Returns the area used for crop farming.

optigob.static_ag.static_ag_budget.get_total_static_ag_area()

Returns the total area used for all static agriculture.

optigob.static_ag.static_ag_budget.get_sheep_protein()

Get the protein value for Sheep systems.

optigob.static_ag.static_ag_budget.get_pig_and_poultry_protein()

Get the protein value for Pig and Poultry systems.

optigob.static_ag.static_ag_budget.get_total_static_ag_protein()

Get the total protein value for all static agricultural systems.

Classes

StaticAgBudget

Module Contents

class optigob.static_ag.static_ag_budget.StaticAgBudget(optigob_data_manager)
data_manager_class
target_year
abatement_type
pig_and_poultry_protein
sheep_protein
crop_protein
_pig_poultry_multiplier
get_pig_and_poultry_co2_emission()

Returns CO2 emissions for pig and poultry.

Returns:

CO2 emissions for pig and poultry.

Return type:

float

get_pig_and_poultry_ch4_emission()

Returns CH4 emissions for pig and poultry.

Returns:

CH4 emissions for pig and poultry.

Return type:

float

get_pig_and_poultry_n2o_emission()

Returns N2O emissions for pig and poultry.

Returns:

N2O emissions for pig and poultry.

Return type:

float

get_pig_and_poultry_co2e_emission()

Returns CO2e emissions for pig and poultry.

Returns:

CO2e emissions for pig and poultry.

Return type:

float

get_sheep_co2_emission()

Returns CO2 emissions for sheep.

Returns:

CO2 emissions for sheep.

Return type:

float

get_sheep_ch4_emission()

Returns CH4 emissions for sheep.

Returns:

CH4 emissions for sheep.

Return type:

float

get_sheep_n2o_emission()

Returns N2O emissions for sheep.

Returns:

N2O emissions for sheep.

Return type:

float

get_sheep_co2e_emission()

Returns CO2e emissions for sheep.

Returns:

CO2e emissions for sheep.

Return type:

float

get_crop_co2_emission()

Returns CO2 emissions for crops.

Returns:

CO2 emissions for crops.

Return type:

float

get_crop_ch4_emission()

Returns CH4 emissions for crops.

Returns:

CH4 emissions for crops.

Return type:

float

get_crop_n2o_emission()

Returns N2O emissions for crops.

Returns:

N2O emissions for crops.

Return type:

float

get_crop_co2e_emission()

Returns CO2e emissions for crops.

Returns:

CO2e emissions for crops.

Return type:

float

get_total_static_ag_co2e()

Returns total CO2e emissions for all static agriculture.

Returns:

Total CO2e emissions for all static agriculture.

Return type:

float

get_total_static_ag_co2()

Returns total CO2 emissions for all static agriculture.

Returns:

Total CO2 emissions for all static agriculture.

Return type:

float

get_total_static_ag_ch4()

Returns total CH4 emissions for all static agriculture.

Returns:

Total CH4 emissions for all static agriculture.

Return type:

float

get_total_static_ag_n2o()

Returns total N2O emissions for all static agriculture.

Returns:

Total N2O emissions for all static agriculture.

Return type:

float

get_sheep_area()

Returns the area used for sheep farming.

Returns:

Area used for sheep farming.

Return type:

float

get_pig_and_poultry_area()

Returns the area used for pig and poultry farming.

Returns:

Area used for pig and poultry farming.

Return type:

float

get_crop_area()

Returns the area used for crop farming.

Returns:

Area used for crop farming.

Return type:

float

get_total_static_ag_area()

Returns the total area used for all static agriculture.

Returns:

Total area used for all static agriculture.

Return type:

float

get_sheep_protein()

Get the protein value for Sheep systems.

Returns:

The protein value in kg.

Return type:

float

get_pig_and_poultry_protein()

Get the protein value for Pig and Poultry systems.

Returns:

The protein value in kg.

Return type:

float

get_crop_protein()

Get the protein value for crop systems.

Returns:

The protein value in kg.

Return type:

float

get_total_static_ag_protein()

Get the total protein value for all static agricultural systems.

Returns:

The total protein value in kg.

Return type:

float

get_pig_and_poultry_population()

Returns the population of pig and poultry in number of animals.

Returns:

Population of pig and poultry.

Return type:

float