optigob.protein_crops.protein_crops_budget

This module contains the ProteinCropsBudget class, which is used to calculate various protein crop-related metrics such as area, emissions (CO2, CH4, N2O, CO2e), and protein yield for protein crops.

Class:

ProteinCropsBudget: Calculates area, emissions, and protein yield for protein crops.

Methods in ProteinCropsBudget:

__init__(self, optigob_data_manager): Initializes the ProteinCropsBudget with the given data manager. get_crop_area(self): Returns the area for the protein crop and abatement in hectares (multiplied by the crop area multiplier). get_crop_emission_ch4(self): Returns the CH4 emission for the protein crop and abatement in kilotons. get_crop_emission_n2o(self): Returns the N2O emission for the protein crop and abatement in kilotons. get_crop_emission_co2(self): Returns the CO2 emission for the protein crop and abatement in kilotons. get_crop_emission_co2e(self): Returns the CO2e emission for the protein crop and abatement in kilotons. get_crop_protein_yield(self): Returns the protein yield for the protein crop and abatement in kg (multiplied by the crop area multiplier).

Classes

ProteinCropsBudget

Module Contents

class optigob.protein_crops.protein_crops_budget.ProteinCropsBudget(optigob_data_manager)
data_manager_class
target_year
abatement
protein_crop_included
crop_area_multiplier
crop_protein
zero_if_not_included()
get_crop_area()

Returns the area for the protein crop and abatement in hectares (multiplied by the crop area multiplier).

get_crop_emission_ch4()

Returns the CH4 emission for the protein crop and abatement in kilotons.

get_crop_emission_n2o()

Returns the N2O emission for the protein crop and abatement in kilotons.

get_crop_emission_co2()

Returns the CO2 emission for the protein crop and abatement in kilotons.

get_crop_emission_co2e()

Returns the CO2e emission for the protein crop and abatement in kilotons.

get_crop_protein_yield()

Returns the protein yield for the protein crop and abatement in kg (multiplied by the crop area multiplier).