optigob.livestock.baseline_livestock ==================================== .. py:module:: optigob.livestock.baseline_livestock .. autoapi-nested-parse:: BaselineLivestock Module ======================== This module defines the BaselineLivestock class, which is responsible for calculating various emissions and area usage for dairy and beef cows based on baseline data. Class: BaselineLivestock .. method:: __init__(self, optigob_data_manager) Initializes the BaselineLivestock instance. .. method:: get_dairy_cows_co2_emission(self) Calculates CO2 emissions for dairy cows. .. method:: get_dairy_cows_ch4_emission(self) Calculates CH4 emissions for dairy cows. .. method:: get_dairy_cows_n2o_emission(self) Calculates N2O emissions for dairy cows. .. method:: get_dairy_cows_co2e_emission(self) Calculates CO2e emissions for dairy cows. .. method:: get_beef_cows_co2_emission(self) Calculates CO2 emissions for beef cows. .. method:: get_beef_cows_ch4_emission(self) Calculates CH4 emissions for beef cows. .. method:: get_beef_cows_n2o_emission(self) Calculates N2O emissions for beef cows. .. method:: get_beef_cows_co2e_emission(self) Calculates CO2e emissions for beef cows. .. method:: get_total_co2_emission(self) Calculates total CO2 emissions for dairy and beef cows. .. method:: get_total_ch4_emission(self) Calculates total CH4 emissions for dairy and beef cows. .. method:: get_total_n2o_emission(self) Calculates total N2O emissions for dairy and beef cows. .. method:: get_total_co2e_emission(self) Calculates total CO2e emissions for dairy and beef cows. .. method:: get_dairy_cows_area(self) Calculates area usage for dairy cows. .. method:: get_beef_cows_area(self) Calculates area usage for beef cows. .. method:: get_total_area(self) Calculates total area usage for dairy and beef cows. .. method:: get_total_beef_protein(self) Calculates total protein production for beef and dairy+beef systems. .. method:: get_total_milk_protein(self) Calculates total milk protein production for dairy cows. Classes ------- .. autoapisummary:: optigob.livestock.baseline_livestock.BaselineLivestock Module Contents --------------- .. py:class:: BaselineLivestock(optigob_data_manager) .. py:attribute:: data_manager_class .. py:attribute:: baseline_year .. py:attribute:: dairy_cows .. py:attribute:: beef_cows .. py:attribute:: scenario :value: 1 .. py:attribute:: abatement :value: 'baseline' .. py:attribute:: _milk_protein .. py:attribute:: _beef_protein .. py:method:: get_dairy_cows_co2_emission() Calculate the CO2 emissions for dairy cows. :returns: The CO2 emissions for dairy cows in kilotons (kt). :rtype: float .. py:method:: get_dairy_cows_ch4_emission() Calculate the CH4 emissions for dairy cows. :returns: The CH4 emissions for dairy cows in kilotons (kt). :rtype: float .. py:method:: get_dairy_cows_n2o_emission() Calculate the N2O emissions for dairy cows. :returns: The N2O emissions for dairy cows in kilotons (kt). :rtype: float .. py:method:: get_dairy_cows_co2e_emission() Calculate the CO2e emissions for dairy cows. :returns: The CO2e emissions for dairy cows in kilotons (kt). :rtype: float .. py:method:: get_beef_cows_co2_emission() Calculate the CO2 emissions for beef cows. :returns: The CO2 emissions for beef cows in kilotons (kt). :rtype: float .. py:method:: get_beef_cows_ch4_emission() Calculate the CH4 emissions for beef cows. :returns: The CH4 emissions for beef cows in kilotons (kt). :rtype: float .. py:method:: get_beef_cows_n2o_emission() Calculate the N2O emissions for beef cows. :returns: The N2O emissions for beef cows in kilotons (kt). :rtype: float .. py:method:: get_beef_cows_co2e_emission() Calculate the CO2e emissions for beef cows. :returns: The CO2e emissions for beef cows in kilotons (kt). :rtype: float .. py:method:: get_total_co2_emission() Calculate the total CO2 emissions for both dairy and beef cows. :returns: The total CO2 emissions in kilotons (kt). :rtype: float .. py:method:: get_total_ch4_emission() Calculate the total CH4 emissions for both dairy and beef cows. :returns: The total CH4 emissions in kilotons (kt). :rtype: float .. py:method:: get_total_n2o_emission() Calculate the total N2O emissions for both dairy and beef cows. :returns: The total N2O emissions in kilotons (kt). :rtype: float .. py:method:: get_total_co2e_emission() Calculate the total CO2e emissions for both dairy and beef cows. :returns: The total CO2e emissions in kilotons (kt). :rtype: float .. py:method:: get_dairy_cows_area() Calculate the area usage for dairy cows. :returns: The area usage for dairy cows. :rtype: float .. py:method:: get_beef_cows_area() Calculate the area usage for beef cows. :returns: The area usage for beef cows. :rtype: float .. py:method:: get_total_area() Calculate the total area usage for both dairy and beef cows. :returns: The total area usage. :rtype: float .. py:method:: get_total_beef_protein() Calculate the total protein production for beef and dairy+beef systems. :returns: The total protein production for beef and dairy+beef systems in kg. :rtype: float .. py:method:: get_total_milk_protein() Calculate the total milk protein production for dairy cows. :returns: The total milk protein production for dairy cows in kg. :rtype: float .. py:method:: get_hnv_area() Calculate the area of high nature value (HNV) managed by beef cows. :returns: The HNV area in hectares. :rtype: float