optigob.static_ag.baseline_static_ag
This module defines the BaselineStaticAg class, which is responsible for calculating various types of emissions (CO2, CH4, N2O, and CO2e) and areas for different agricultural systems (Pig_Poultry, Sheep, and Crops) based on baseline data. The class interacts with an OptigobDataManager instance to retrieve necessary data for these calculations.
- Classes:
BaselineStaticAg: A class to calculate emissions and areas for static agricultural systems.
- optigob.static_ag.baseline_static_ag.get_pig_and_poultry_co2_emission()
Get the CO2 emission for Pig and Poultry systems.
- optigob.static_ag.baseline_static_ag.get_pig_and_poultry_ch4_emission()
Get the CH4 emission for Pig and Poultry systems.
- optigob.static_ag.baseline_static_ag.get_pig_and_poultry_n2o_emission()
Get the N2O emission for Pig and Poultry systems.
- optigob.static_ag.baseline_static_ag.get_pig_and_poultry_co2e_emission()
Get the CO2e emission for Pig and Poultry systems.
- optigob.static_ag.baseline_static_ag.get_sheep_co2_emission()
Get the CO2 emission for Sheep systems.
- optigob.static_ag.baseline_static_ag.get_sheep_ch4_emission()
Get the CH4 emission for Sheep systems.
- optigob.static_ag.baseline_static_ag.get_sheep_n2o_emission()
Get the N2O emission for Sheep systems.
- optigob.static_ag.baseline_static_ag.get_sheep_co2e_emission()
Get the CO2e emission for Sheep systems.
- optigob.static_ag.baseline_static_ag.get_crop_co2_emission()
Get the CO2 emission for Crop systems.
- optigob.static_ag.baseline_static_ag.get_crop_ch4_emission()
Get the CH4 emission for Crop systems.
- optigob.static_ag.baseline_static_ag.get_crop_n2o_emission()
Get the N2O emission for Crop systems.
- optigob.static_ag.baseline_static_ag.get_crop_co2e_emission()
Get the CO2e emission for Crop systems.
- optigob.static_ag.baseline_static_ag.get_total_static_ag_co2e()
Get the total CO2e emission for all static agricultural systems.
- optigob.static_ag.baseline_static_ag.get_total_static_ag_co2()
Get the total CO2 emission for all static agricultural systems.
- optigob.static_ag.baseline_static_ag.get_total_static_ag_ch4()
Get the total CH4 emission for all static agricultural systems.
- optigob.static_ag.baseline_static_ag.get_total_static_ag_n2o()
Get the total N2O emission for all static agricultural systems.
- optigob.static_ag.baseline_static_ag.get_sheep_area()
Get the area for Sheep systems.
- optigob.static_ag.baseline_static_ag.get_pig_and_poultry_area()
Get the area for Pig and Poultry systems.
- optigob.static_ag.baseline_static_ag.get_crop_area()
Get the area for Crop systems.
- optigob.static_ag.baseline_static_ag.get_total_static_ag_area()
Get the total area for all static agricultural systems.
- optigob.static_ag.baseline_static_ag.get_sheep_protein()
Get the protein value for Sheep systems.
- optigob.static_ag.baseline_static_ag.get_pig_and_poultry_protein()
Get the protein value for Pig and Poultry systems.
- optigob.static_ag.baseline_static_ag.get_total_static_ag_protein()
Get the total protein value for all static agricultural systems.
Classes
Module Contents
- class optigob.static_ag.baseline_static_ag.BaselineStaticAg(optigob_data_manager)
- data_manager_class
- baseline_year
- abatement_type = 'baseline'
- pig_and_poultry_protein
- sheep_protein
- crop_protein
- get_pig_and_poultry_co2_emission()
Get the CO2 emission for Pig and Poultry systems.
- Returns:
The CO2 emission value.
- Return type:
float
- get_pig_and_poultry_ch4_emission()
Get the CH4 emission for Pig and Poultry systems.
- Returns:
The CH4 emission value.
- Return type:
float
- get_pig_and_poultry_n2o_emission()
Get the N2O emission for Pig and Poultry systems.
- Returns:
The N2O emission value.
- Return type:
float
- get_pig_and_poultry_co2e_emission()
Get the CO2e emission for Pig and Poultry systems.
- Returns:
The CO2e emission value.
- Return type:
float
- get_sheep_co2_emission()
Get the CO2 emission for Sheep systems.
- Returns:
The CO2 emission value.
- Return type:
float
- get_sheep_ch4_emission()
Get the CH4 emission for Sheep systems.
- Returns:
The CH4 emission value.
- Return type:
float
- get_sheep_n2o_emission()
Get the N2O emission for Sheep systems.
- Returns:
The N2O emission value.
- Return type:
float
- get_sheep_co2e_emission()
Get the CO2e emission for Sheep systems.
- Returns:
The CO2e emission value.
- Return type:
float
- get_crop_co2_emission()
Get the CO2 emission for Crop systems.
- Returns:
The CO2 emission value.
- Return type:
float
- get_crop_ch4_emission()
Get the CH4 emission for Crop systems.
- Returns:
The CH4 emission value.
- Return type:
float
- get_crop_n2o_emission()
Get the N2O emission for Crop systems.
- Returns:
The N2O emission value.
- Return type:
float
- get_crop_co2e_emission()
Get the CO2e emission for Crop systems.
- Returns:
The CO2e emission value.
- Return type:
float
- get_total_static_ag_co2e()
Get the total CO2e emission for all static agricultural systems.
- Returns:
The total CO2e emission value.
- Return type:
float
- get_total_static_ag_co2()
Get the total CO2 emission for all static agricultural systems.
- Returns:
The total CO2 emission value.
- Return type:
float
- get_total_static_ag_ch4()
Get the total CH4 emission for all static agricultural systems.
- Returns:
The total CH4 emission value.
- Return type:
float
- get_total_static_ag_n2o()
Get the total N2O emission for all static agricultural systems.
- Returns:
The total N2O emission value.
- Return type:
float
- get_sheep_area()
Get the area for Sheep systems.
- Returns:
The area value in hectares.
- Return type:
float
- get_pig_and_poultry_area()
Get the area for Pig and Poultry systems.
- Returns:
The area value in hectares.
- Return type:
float
- get_crop_area()
Get the area for Crop systems.
- Returns:
The area value in hectares.
- Return type:
float
- get_total_static_ag_area()
Get the total area for all static agricultural systems.
- Returns:
The total area value in hectares.
- 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